amazonka-lexv2-models-2.0: Amazon Lex Model Building V2 SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.LexV2Models.Types.RelativeAggregationDuration

Description

 
Synopsis

Documentation

data RelativeAggregationDuration Source #

Specifies the time window that utterance statistics are returned for. The time window is always relative to the last time that the that utterances were aggregated. For example, if the ListAggregatedUtterances operation is called at 1600, the time window is set to 1 hour, and the last refresh time was 1530, only utterances made between 1430 and 1530 are returned.

You can choose the time window that statistics should be returned for.

  • Hours - You can request utterance statistics for 1, 3, 6, 12, or 24 hour time windows. Statistics are refreshed every half hour for 1 hour time windows, and hourly for the other time windows.
  • Days - You can request utterance statistics for 3 days. Statistics are refreshed every 6 hours.
  • Weeks - You can see statistics for one or two weeks. Statistics are refreshed every 12 hours for one week time windows, and once per day for two week time windows.

See: newRelativeAggregationDuration smart constructor.

Constructors

RelativeAggregationDuration' 

Fields

  • timeDimension :: TimeDimension

    The type of time period that the timeValue field represents.

  • timeValue :: Natural

    The period of the time window to gather statistics for. The valid value depends on the setting of the timeDimension field.

    • Hours - 1/3/6/12/24
    • Days - 3
    • Weeks - 1/2

Instances

Instances details
FromJSON RelativeAggregationDuration Source # 
Instance details

Defined in Amazonka.LexV2Models.Types.RelativeAggregationDuration

ToJSON RelativeAggregationDuration Source # 
Instance details

Defined in Amazonka.LexV2Models.Types.RelativeAggregationDuration

Generic RelativeAggregationDuration Source # 
Instance details

Defined in Amazonka.LexV2Models.Types.RelativeAggregationDuration

Associated Types

type Rep RelativeAggregationDuration :: Type -> Type #

Read RelativeAggregationDuration Source # 
Instance details

Defined in Amazonka.LexV2Models.Types.RelativeAggregationDuration

Show RelativeAggregationDuration Source # 
Instance details

Defined in Amazonka.LexV2Models.Types.RelativeAggregationDuration

NFData RelativeAggregationDuration Source # 
Instance details

Defined in Amazonka.LexV2Models.Types.RelativeAggregationDuration

Eq RelativeAggregationDuration Source # 
Instance details

Defined in Amazonka.LexV2Models.Types.RelativeAggregationDuration

Hashable RelativeAggregationDuration Source # 
Instance details

Defined in Amazonka.LexV2Models.Types.RelativeAggregationDuration

type Rep RelativeAggregationDuration Source # 
Instance details

Defined in Amazonka.LexV2Models.Types.RelativeAggregationDuration

type Rep RelativeAggregationDuration = D1 ('MetaData "RelativeAggregationDuration" "Amazonka.LexV2Models.Types.RelativeAggregationDuration" "amazonka-lexv2-models-2.0-5mExjJXBfuO6j0ascNcayE" 'False) (C1 ('MetaCons "RelativeAggregationDuration'" 'PrefixI 'True) (S1 ('MetaSel ('Just "timeDimension") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 TimeDimension) :*: S1 ('MetaSel ('Just "timeValue") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Natural)))

newRelativeAggregationDuration Source #

Create a value of RelativeAggregationDuration with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:timeDimension:RelativeAggregationDuration', relativeAggregationDuration_timeDimension - The type of time period that the timeValue field represents.

$sel:timeValue:RelativeAggregationDuration', relativeAggregationDuration_timeValue - The period of the time window to gather statistics for. The valid value depends on the setting of the timeDimension field.

  • Hours - 1/3/6/12/24
  • Days - 3
  • Weeks - 1/2

relativeAggregationDuration_timeDimension :: Lens' RelativeAggregationDuration TimeDimension Source #

The type of time period that the timeValue field represents.

relativeAggregationDuration_timeValue :: Lens' RelativeAggregationDuration Natural Source #

The period of the time window to gather statistics for. The valid value depends on the setting of the timeDimension field.

  • Hours - 1/3/6/12/24
  • Days - 3
  • Weeks - 1/2