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

Description

Deletes the specified slot from an intent.

Synopsis

Creating a Request

data DeleteSlot Source #

See: newDeleteSlot smart constructor.

Constructors

DeleteSlot' 

Fields

  • slotId :: Text

    The identifier of the slot to delete.

  • botId :: Text

    The identifier of the bot associated with the slot to delete.

  • botVersion :: Text

    The version of the bot associated with the slot to delete.

  • localeId :: Text

    The identifier of the language and locale that the slot will be deleted from. The string must match one of the supported locales. For more information, see Supported languages.

  • intentId :: Text

    The identifier of the intent associated with the slot.

Instances

Instances details
ToHeaders DeleteSlot Source # 
Instance details

Defined in Amazonka.LexV2Models.DeleteSlot

Methods

toHeaders :: DeleteSlot -> [Header] #

ToPath DeleteSlot Source # 
Instance details

Defined in Amazonka.LexV2Models.DeleteSlot

ToQuery DeleteSlot Source # 
Instance details

Defined in Amazonka.LexV2Models.DeleteSlot

AWSRequest DeleteSlot Source # 
Instance details

Defined in Amazonka.LexV2Models.DeleteSlot

Associated Types

type AWSResponse DeleteSlot #

Generic DeleteSlot Source # 
Instance details

Defined in Amazonka.LexV2Models.DeleteSlot

Associated Types

type Rep DeleteSlot :: Type -> Type #

Read DeleteSlot Source # 
Instance details

Defined in Amazonka.LexV2Models.DeleteSlot

Show DeleteSlot Source # 
Instance details

Defined in Amazonka.LexV2Models.DeleteSlot

NFData DeleteSlot Source # 
Instance details

Defined in Amazonka.LexV2Models.DeleteSlot

Methods

rnf :: DeleteSlot -> () #

Eq DeleteSlot Source # 
Instance details

Defined in Amazonka.LexV2Models.DeleteSlot

Hashable DeleteSlot Source # 
Instance details

Defined in Amazonka.LexV2Models.DeleteSlot

type AWSResponse DeleteSlot Source # 
Instance details

Defined in Amazonka.LexV2Models.DeleteSlot

type Rep DeleteSlot Source # 
Instance details

Defined in Amazonka.LexV2Models.DeleteSlot

type Rep DeleteSlot = D1 ('MetaData "DeleteSlot" "Amazonka.LexV2Models.DeleteSlot" "amazonka-lexv2-models-2.0-5mExjJXBfuO6j0ascNcayE" 'False) (C1 ('MetaCons "DeleteSlot'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "slotId") '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) :*: S1 ('MetaSel ('Just "intentId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))))

newDeleteSlot Source #

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

DeleteSlot, deleteSlot_slotId - The identifier of the slot to delete.

DeleteSlot, deleteSlot_botId - The identifier of the bot associated with the slot to delete.

DeleteSlot, deleteSlot_botVersion - The version of the bot associated with the slot to delete.

DeleteSlot, deleteSlot_localeId - The identifier of the language and locale that the slot will be deleted from. The string must match one of the supported locales. For more information, see Supported languages.

DeleteSlot, deleteSlot_intentId - The identifier of the intent associated with the slot.

Request Lenses

deleteSlot_slotId :: Lens' DeleteSlot Text Source #

The identifier of the slot to delete.

deleteSlot_botId :: Lens' DeleteSlot Text Source #

The identifier of the bot associated with the slot to delete.

deleteSlot_botVersion :: Lens' DeleteSlot Text Source #

The version of the bot associated with the slot to delete.

deleteSlot_localeId :: Lens' DeleteSlot Text Source #

The identifier of the language and locale that the slot will be deleted from. The string must match one of the supported locales. For more information, see Supported languages.

deleteSlot_intentId :: Lens' DeleteSlot Text Source #

The identifier of the intent associated with the slot.

Destructuring the Response

data DeleteSlotResponse Source #

See: newDeleteSlotResponse smart constructor.

Constructors

DeleteSlotResponse' 

newDeleteSlotResponse :: DeleteSlotResponse Source #

Create a value of DeleteSlotResponse with all optional fields omitted.

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