amazonka-lex-models-2.0: Amazon Lex Model Building Service 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.LexModels.DeleteSlotTypeVersion

Description

Deletes a specific version of a slot type. To delete all versions of a slot type, use the DeleteSlotType operation.

This operation requires permissions for the lex:DeleteSlotTypeVersion action.

Synopsis

Creating a Request

data DeleteSlotTypeVersion Source #

See: newDeleteSlotTypeVersion smart constructor.

Constructors

DeleteSlotTypeVersion' 

Fields

  • name :: Text

    The name of the slot type.

  • version :: Text

    The version of the slot type to delete. You cannot delete the $LATEST version of the slot type. To delete the $LATEST version, use the DeleteSlotType operation.

Instances

Instances details
ToHeaders DeleteSlotTypeVersion Source # 
Instance details

Defined in Amazonka.LexModels.DeleteSlotTypeVersion

ToPath DeleteSlotTypeVersion Source # 
Instance details

Defined in Amazonka.LexModels.DeleteSlotTypeVersion

ToQuery DeleteSlotTypeVersion Source # 
Instance details

Defined in Amazonka.LexModels.DeleteSlotTypeVersion

AWSRequest DeleteSlotTypeVersion Source # 
Instance details

Defined in Amazonka.LexModels.DeleteSlotTypeVersion

Associated Types

type AWSResponse DeleteSlotTypeVersion #

Generic DeleteSlotTypeVersion Source # 
Instance details

Defined in Amazonka.LexModels.DeleteSlotTypeVersion

Associated Types

type Rep DeleteSlotTypeVersion :: Type -> Type #

Read DeleteSlotTypeVersion Source # 
Instance details

Defined in Amazonka.LexModels.DeleteSlotTypeVersion

Show DeleteSlotTypeVersion Source # 
Instance details

Defined in Amazonka.LexModels.DeleteSlotTypeVersion

NFData DeleteSlotTypeVersion Source # 
Instance details

Defined in Amazonka.LexModels.DeleteSlotTypeVersion

Methods

rnf :: DeleteSlotTypeVersion -> () #

Eq DeleteSlotTypeVersion Source # 
Instance details

Defined in Amazonka.LexModels.DeleteSlotTypeVersion

Hashable DeleteSlotTypeVersion Source # 
Instance details

Defined in Amazonka.LexModels.DeleteSlotTypeVersion

type AWSResponse DeleteSlotTypeVersion Source # 
Instance details

Defined in Amazonka.LexModels.DeleteSlotTypeVersion

type Rep DeleteSlotTypeVersion Source # 
Instance details

Defined in Amazonka.LexModels.DeleteSlotTypeVersion

type Rep DeleteSlotTypeVersion = D1 ('MetaData "DeleteSlotTypeVersion" "Amazonka.LexModels.DeleteSlotTypeVersion" "amazonka-lex-models-2.0-8Q1WIjnrCCIAMPuyNOCiG7" 'False) (C1 ('MetaCons "DeleteSlotTypeVersion'" 'PrefixI 'True) (S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "version") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newDeleteSlotTypeVersion Source #

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

DeleteSlotTypeVersion, deleteSlotTypeVersion_name - The name of the slot type.

DeleteSlotTypeVersion, deleteSlotTypeVersion_version - The version of the slot type to delete. You cannot delete the $LATEST version of the slot type. To delete the $LATEST version, use the DeleteSlotType operation.

Request Lenses

deleteSlotTypeVersion_version :: Lens' DeleteSlotTypeVersion Text Source #

The version of the slot type to delete. You cannot delete the $LATEST version of the slot type. To delete the $LATEST version, use the DeleteSlotType operation.

Destructuring the Response

data DeleteSlotTypeVersionResponse Source #

See: newDeleteSlotTypeVersionResponse smart constructor.

Instances

Instances details
Generic DeleteSlotTypeVersionResponse Source # 
Instance details

Defined in Amazonka.LexModels.DeleteSlotTypeVersion

Associated Types

type Rep DeleteSlotTypeVersionResponse :: Type -> Type #

Read DeleteSlotTypeVersionResponse Source # 
Instance details

Defined in Amazonka.LexModels.DeleteSlotTypeVersion

Show DeleteSlotTypeVersionResponse Source # 
Instance details

Defined in Amazonka.LexModels.DeleteSlotTypeVersion

NFData DeleteSlotTypeVersionResponse Source # 
Instance details

Defined in Amazonka.LexModels.DeleteSlotTypeVersion

Eq DeleteSlotTypeVersionResponse Source # 
Instance details

Defined in Amazonka.LexModels.DeleteSlotTypeVersion

type Rep DeleteSlotTypeVersionResponse Source # 
Instance details

Defined in Amazonka.LexModels.DeleteSlotTypeVersion

type Rep DeleteSlotTypeVersionResponse = D1 ('MetaData "DeleteSlotTypeVersionResponse" "Amazonka.LexModels.DeleteSlotTypeVersion" "amazonka-lex-models-2.0-8Q1WIjnrCCIAMPuyNOCiG7" 'False) (C1 ('MetaCons "DeleteSlotTypeVersionResponse'" 'PrefixI 'False) (U1 :: Type -> Type))

newDeleteSlotTypeVersionResponse :: DeleteSlotTypeVersionResponse Source #

Create a value of DeleteSlotTypeVersionResponse with all optional fields omitted.

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