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.DescribeSlotType

Description

Gets metadata information about a slot type.

Synopsis

Creating a Request

data DescribeSlotType Source #

See: newDescribeSlotType smart constructor.

Constructors

DescribeSlotType' 

Fields

  • slotTypeId :: Text

    The identifier of the slot type.

  • botId :: Text

    The identifier of the bot associated with the slot type.

  • botVersion :: Text

    The version of the bot associated with the slot type.

  • localeId :: Text

    The identifier of the language and locale of the slot type to describe. The string must match one of the supported locales. For more information, see Supported languages.

Instances

Instances details
ToHeaders DescribeSlotType Source # 
Instance details

Defined in Amazonka.LexV2Models.DescribeSlotType

ToPath DescribeSlotType Source # 
Instance details

Defined in Amazonka.LexV2Models.DescribeSlotType

ToQuery DescribeSlotType Source # 
Instance details

Defined in Amazonka.LexV2Models.DescribeSlotType

AWSRequest DescribeSlotType Source # 
Instance details

Defined in Amazonka.LexV2Models.DescribeSlotType

Associated Types

type AWSResponse DescribeSlotType #

Generic DescribeSlotType Source # 
Instance details

Defined in Amazonka.LexV2Models.DescribeSlotType

Associated Types

type Rep DescribeSlotType :: Type -> Type #

Read DescribeSlotType Source # 
Instance details

Defined in Amazonka.LexV2Models.DescribeSlotType

Show DescribeSlotType Source # 
Instance details

Defined in Amazonka.LexV2Models.DescribeSlotType

NFData DescribeSlotType Source # 
Instance details

Defined in Amazonka.LexV2Models.DescribeSlotType

Methods

rnf :: DescribeSlotType -> () #

Eq DescribeSlotType Source # 
Instance details

Defined in Amazonka.LexV2Models.DescribeSlotType

Hashable DescribeSlotType Source # 
Instance details

Defined in Amazonka.LexV2Models.DescribeSlotType

type AWSResponse DescribeSlotType Source # 
Instance details

Defined in Amazonka.LexV2Models.DescribeSlotType

type Rep DescribeSlotType Source # 
Instance details

Defined in Amazonka.LexV2Models.DescribeSlotType

type Rep DescribeSlotType = D1 ('MetaData "DescribeSlotType" "Amazonka.LexV2Models.DescribeSlotType" "amazonka-lexv2-models-2.0-5mExjJXBfuO6j0ascNcayE" 'False) (C1 ('MetaCons "DescribeSlotType'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "slotTypeId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "botId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)) :*: (S1 ('MetaSel ('Just "botVersion") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "localeId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))

newDescribeSlotType Source #

Create a value of DescribeSlotType 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:

DescribeSlotType, describeSlotType_slotTypeId - The identifier of the slot type.

DescribeSlotType, describeSlotType_botId - The identifier of the bot associated with the slot type.

DescribeSlotType, describeSlotType_botVersion - The version of the bot associated with the slot type.

DescribeSlotType, describeSlotType_localeId - The identifier of the language and locale of the slot type to describe. The string must match one of the supported locales. For more information, see Supported languages.

Request Lenses

describeSlotType_slotTypeId :: Lens' DescribeSlotType Text Source #

The identifier of the slot type.

describeSlotType_botId :: Lens' DescribeSlotType Text Source #

The identifier of the bot associated with the slot type.

describeSlotType_botVersion :: Lens' DescribeSlotType Text Source #

The version of the bot associated with the slot type.

describeSlotType_localeId :: Lens' DescribeSlotType Text Source #

The identifier of the language and locale of the slot type to describe. The string must match one of the supported locales. For more information, see Supported languages.

Destructuring the Response

data DescribeSlotTypeResponse Source #

See: newDescribeSlotTypeResponse smart constructor.

Constructors

DescribeSlotTypeResponse' 

Fields

Instances

Instances details
Generic DescribeSlotTypeResponse Source # 
Instance details

Defined in Amazonka.LexV2Models.DescribeSlotType

Associated Types

type Rep DescribeSlotTypeResponse :: Type -> Type #

Read DescribeSlotTypeResponse Source # 
Instance details

Defined in Amazonka.LexV2Models.DescribeSlotType

Show DescribeSlotTypeResponse Source # 
Instance details

Defined in Amazonka.LexV2Models.DescribeSlotType

NFData DescribeSlotTypeResponse Source # 
Instance details

Defined in Amazonka.LexV2Models.DescribeSlotType

Eq DescribeSlotTypeResponse Source # 
Instance details

Defined in Amazonka.LexV2Models.DescribeSlotType

type Rep DescribeSlotTypeResponse Source # 
Instance details

Defined in Amazonka.LexV2Models.DescribeSlotType

type Rep DescribeSlotTypeResponse = D1 ('MetaData "DescribeSlotTypeResponse" "Amazonka.LexV2Models.DescribeSlotType" "amazonka-lexv2-models-2.0-5mExjJXBfuO6j0ascNcayE" 'False) (C1 ('MetaCons "DescribeSlotTypeResponse'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "botId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "botVersion") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "compositeSlotTypeSetting") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe CompositeSlotTypeSetting)))) :*: ((S1 ('MetaSel ('Just "creationDateTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: S1 ('MetaSel ('Just "description") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "externalSourceSetting") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ExternalSourceSetting)) :*: S1 ('MetaSel ('Just "lastUpdatedDateTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX))))) :*: ((S1 ('MetaSel ('Just "localeId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "parentSlotTypeSignature") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "slotTypeId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 ('MetaSel ('Just "slotTypeName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "slotTypeValues") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (NonEmpty SlotTypeValue)))) :*: (S1 ('MetaSel ('Just "valueSelectionSetting") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe SlotValueSelectionSetting)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))))

newDescribeSlotTypeResponse Source #

Create a value of DescribeSlotTypeResponse 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:

DescribeSlotType, describeSlotTypeResponse_botId - The identifier of the bot associated with the slot type.

DescribeSlotType, describeSlotTypeResponse_botVersion - The version of the bot associated with the slot type.

$sel:compositeSlotTypeSetting:DescribeSlotTypeResponse', describeSlotTypeResponse_compositeSlotTypeSetting - Specifications for a composite slot type.

DescribeSlotTypeResponse, describeSlotTypeResponse_creationDateTime - A timestamp of the date and time that the slot type was created.

DescribeSlotTypeResponse, describeSlotTypeResponse_description - The description specified for the slot type.

$sel:externalSourceSetting:DescribeSlotTypeResponse', describeSlotTypeResponse_externalSourceSetting - Undocumented member.

DescribeSlotTypeResponse, describeSlotTypeResponse_lastUpdatedDateTime - A timestamp of the date and time that the slot type was last updated.

DescribeSlotType, describeSlotTypeResponse_localeId - The language and locale specified for the slot type.

DescribeSlotTypeResponse, describeSlotTypeResponse_parentSlotTypeSignature - The built in slot type used as a parent to this slot type.

DescribeSlotType, describeSlotTypeResponse_slotTypeId - The unique identifier for the slot type.

DescribeSlotTypeResponse, describeSlotTypeResponse_slotTypeName - The name specified for the slot type.

$sel:slotTypeValues:DescribeSlotTypeResponse', describeSlotTypeResponse_slotTypeValues - The values that the slot type can take. Includes any synonyms for the slot type values.

$sel:valueSelectionSetting:DescribeSlotTypeResponse', describeSlotTypeResponse_valueSelectionSetting - The strategy that Amazon Lex uses to choose a value from a list of possible values.

$sel:httpStatus:DescribeSlotTypeResponse', describeSlotTypeResponse_httpStatus - The response's http status code.

Response Lenses

describeSlotTypeResponse_botId :: Lens' DescribeSlotTypeResponse (Maybe Text) Source #

The identifier of the bot associated with the slot type.

describeSlotTypeResponse_botVersion :: Lens' DescribeSlotTypeResponse (Maybe Text) Source #

The version of the bot associated with the slot type.

describeSlotTypeResponse_creationDateTime :: Lens' DescribeSlotTypeResponse (Maybe UTCTime) Source #

A timestamp of the date and time that the slot type was created.

describeSlotTypeResponse_description :: Lens' DescribeSlotTypeResponse (Maybe Text) Source #

The description specified for the slot type.

describeSlotTypeResponse_lastUpdatedDateTime :: Lens' DescribeSlotTypeResponse (Maybe UTCTime) Source #

A timestamp of the date and time that the slot type was last updated.

describeSlotTypeResponse_localeId :: Lens' DescribeSlotTypeResponse (Maybe Text) Source #

The language and locale specified for the slot type.

describeSlotTypeResponse_parentSlotTypeSignature :: Lens' DescribeSlotTypeResponse (Maybe Text) Source #

The built in slot type used as a parent to this slot type.

describeSlotTypeResponse_slotTypeValues :: Lens' DescribeSlotTypeResponse (Maybe (NonEmpty SlotTypeValue)) Source #

The values that the slot type can take. Includes any synonyms for the slot type values.

describeSlotTypeResponse_valueSelectionSetting :: Lens' DescribeSlotTypeResponse (Maybe SlotValueSelectionSetting) Source #

The strategy that Amazon Lex uses to choose a value from a list of possible values.