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

Description

Updates the configuration of an existing slot type.

Synopsis

Creating a Request

data UpdateSlotType Source #

See: newUpdateSlotType smart constructor.

Constructors

UpdateSlotType' 

Fields

Instances

Instances details
ToJSON UpdateSlotType Source # 
Instance details

Defined in Amazonka.LexV2Models.UpdateSlotType

ToHeaders UpdateSlotType Source # 
Instance details

Defined in Amazonka.LexV2Models.UpdateSlotType

ToPath UpdateSlotType Source # 
Instance details

Defined in Amazonka.LexV2Models.UpdateSlotType

ToQuery UpdateSlotType Source # 
Instance details

Defined in Amazonka.LexV2Models.UpdateSlotType

AWSRequest UpdateSlotType Source # 
Instance details

Defined in Amazonka.LexV2Models.UpdateSlotType

Associated Types

type AWSResponse UpdateSlotType #

Generic UpdateSlotType Source # 
Instance details

Defined in Amazonka.LexV2Models.UpdateSlotType

Associated Types

type Rep UpdateSlotType :: Type -> Type #

Read UpdateSlotType Source # 
Instance details

Defined in Amazonka.LexV2Models.UpdateSlotType

Show UpdateSlotType Source # 
Instance details

Defined in Amazonka.LexV2Models.UpdateSlotType

NFData UpdateSlotType Source # 
Instance details

Defined in Amazonka.LexV2Models.UpdateSlotType

Methods

rnf :: UpdateSlotType -> () #

Eq UpdateSlotType Source # 
Instance details

Defined in Amazonka.LexV2Models.UpdateSlotType

Hashable UpdateSlotType Source # 
Instance details

Defined in Amazonka.LexV2Models.UpdateSlotType

type AWSResponse UpdateSlotType Source # 
Instance details

Defined in Amazonka.LexV2Models.UpdateSlotType

type Rep UpdateSlotType Source # 
Instance details

Defined in Amazonka.LexV2Models.UpdateSlotType

type Rep UpdateSlotType = D1 ('MetaData "UpdateSlotType" "Amazonka.LexV2Models.UpdateSlotType" "amazonka-lexv2-models-2.0-5mExjJXBfuO6j0ascNcayE" 'False) (C1 ('MetaCons "UpdateSlotType'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "compositeSlotTypeSetting") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe CompositeSlotTypeSetting)) :*: S1 ('MetaSel ('Just "description") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "externalSourceSetting") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ExternalSourceSetting)) :*: (S1 ('MetaSel ('Just "parentSlotTypeSignature") '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 "slotTypeId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "slotTypeName") '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))))))

newUpdateSlotType Source #

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

UpdateSlotType, updateSlotType_compositeSlotTypeSetting - Specifications for a composite slot type.

UpdateSlotType, updateSlotType_description - The new description of the slot type.

UpdateSlotType, updateSlotType_externalSourceSetting - Undocumented member.

UpdateSlotType, updateSlotType_parentSlotTypeSignature - The new built-in slot type that should be used as the parent of this slot type.

UpdateSlotType, updateSlotType_slotTypeValues - A new list of values and their optional synonyms that define the values that the slot type can take.

UpdateSlotType, updateSlotType_valueSelectionSetting - The strategy that Amazon Lex should use when deciding on a value from the list of slot type values.

UpdateSlotType, updateSlotType_slotTypeId - The unique identifier of the slot type to update.

UpdateSlotType, updateSlotType_slotTypeName - The new name of the slot type.

UpdateSlotType, updateSlotType_botId - The identifier of the bot that contains the slot type.

UpdateSlotType, updateSlotType_botVersion - The version of the bot that contains the slot type. Must be DRAFT.

UpdateSlotType, updateSlotType_localeId - The identifier of the language and locale that contains the slot type. The string must match one of the supported locales. For more information, see Supported languages.

Request Lenses

updateSlotType_description :: Lens' UpdateSlotType (Maybe Text) Source #

The new description of the slot type.

updateSlotType_parentSlotTypeSignature :: Lens' UpdateSlotType (Maybe Text) Source #

The new built-in slot type that should be used as the parent of this slot type.

updateSlotType_slotTypeValues :: Lens' UpdateSlotType (Maybe (NonEmpty SlotTypeValue)) Source #

A new list of values and their optional synonyms that define the values that the slot type can take.

updateSlotType_valueSelectionSetting :: Lens' UpdateSlotType (Maybe SlotValueSelectionSetting) Source #

The strategy that Amazon Lex should use when deciding on a value from the list of slot type values.

updateSlotType_slotTypeId :: Lens' UpdateSlotType Text Source #

The unique identifier of the slot type to update.

updateSlotType_slotTypeName :: Lens' UpdateSlotType Text Source #

The new name of the slot type.

updateSlotType_botId :: Lens' UpdateSlotType Text Source #

The identifier of the bot that contains the slot type.

updateSlotType_botVersion :: Lens' UpdateSlotType Text Source #

The version of the bot that contains the slot type. Must be DRAFT.

updateSlotType_localeId :: Lens' UpdateSlotType Text Source #

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

Destructuring the Response

data UpdateSlotTypeResponse Source #

See: newUpdateSlotTypeResponse smart constructor.

Constructors

UpdateSlotTypeResponse' 

Fields

Instances

Instances details
Generic UpdateSlotTypeResponse Source # 
Instance details

Defined in Amazonka.LexV2Models.UpdateSlotType

Associated Types

type Rep UpdateSlotTypeResponse :: Type -> Type #

Read UpdateSlotTypeResponse Source # 
Instance details

Defined in Amazonka.LexV2Models.UpdateSlotType

Show UpdateSlotTypeResponse Source # 
Instance details

Defined in Amazonka.LexV2Models.UpdateSlotType

NFData UpdateSlotTypeResponse Source # 
Instance details

Defined in Amazonka.LexV2Models.UpdateSlotType

Methods

rnf :: UpdateSlotTypeResponse -> () #

Eq UpdateSlotTypeResponse Source # 
Instance details

Defined in Amazonka.LexV2Models.UpdateSlotType

type Rep UpdateSlotTypeResponse Source # 
Instance details

Defined in Amazonka.LexV2Models.UpdateSlotType

type Rep UpdateSlotTypeResponse = D1 ('MetaData "UpdateSlotTypeResponse" "Amazonka.LexV2Models.UpdateSlotType" "amazonka-lexv2-models-2.0-5mExjJXBfuO6j0ascNcayE" 'False) (C1 ('MetaCons "UpdateSlotTypeResponse'" '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))))))

newUpdateSlotTypeResponse Source #

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

UpdateSlotType, updateSlotTypeResponse_botId - The identifier of the bot that contains the slot type.

UpdateSlotType, updateSlotTypeResponse_botVersion - The version of the bot that contains the slot type. This is always DRAFT.

UpdateSlotType, updateSlotTypeResponse_compositeSlotTypeSetting - Specifications for a composite slot type.

UpdateSlotTypeResponse, updateSlotTypeResponse_creationDateTime - The timestamp of the date and time that the slot type was created.

UpdateSlotType, updateSlotTypeResponse_description - The updated description of the slot type.

UpdateSlotType, updateSlotTypeResponse_externalSourceSetting - Undocumented member.

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

UpdateSlotType, updateSlotTypeResponse_localeId - The language and locale of the updated slot type.

UpdateSlotType, updateSlotTypeResponse_parentSlotTypeSignature - The updated signature of the built-in slot type that is the parent of this slot type.

UpdateSlotType, updateSlotTypeResponse_slotTypeId - The unique identifier of the updated slot type.

UpdateSlotType, updateSlotTypeResponse_slotTypeName - The updated name of the slot type.

UpdateSlotType, updateSlotTypeResponse_slotTypeValues - The updated values that the slot type provides.

UpdateSlotType, updateSlotTypeResponse_valueSelectionSetting - The updated strategy that Amazon Lex uses to determine which value to select from the slot type.

$sel:httpStatus:UpdateSlotTypeResponse', updateSlotTypeResponse_httpStatus - The response's http status code.

Response Lenses

updateSlotTypeResponse_botId :: Lens' UpdateSlotTypeResponse (Maybe Text) Source #

The identifier of the bot that contains the slot type.

updateSlotTypeResponse_botVersion :: Lens' UpdateSlotTypeResponse (Maybe Text) Source #

The version of the bot that contains the slot type. This is always DRAFT.

updateSlotTypeResponse_creationDateTime :: Lens' UpdateSlotTypeResponse (Maybe UTCTime) Source #

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

updateSlotTypeResponse_description :: Lens' UpdateSlotTypeResponse (Maybe Text) Source #

The updated description of the slot type.

updateSlotTypeResponse_lastUpdatedDateTime :: Lens' UpdateSlotTypeResponse (Maybe UTCTime) Source #

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

updateSlotTypeResponse_localeId :: Lens' UpdateSlotTypeResponse (Maybe Text) Source #

The language and locale of the updated slot type.

updateSlotTypeResponse_parentSlotTypeSignature :: Lens' UpdateSlotTypeResponse (Maybe Text) Source #

The updated signature of the built-in slot type that is the parent of this slot type.

updateSlotTypeResponse_slotTypeId :: Lens' UpdateSlotTypeResponse (Maybe Text) Source #

The unique identifier of the updated slot type.

updateSlotTypeResponse_valueSelectionSetting :: Lens' UpdateSlotTypeResponse (Maybe SlotValueSelectionSetting) Source #

The updated strategy that Amazon Lex uses to determine which value to select from the slot type.