libZSservicesZSamazonka-lex-modelsZSamazonka-lex-models
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

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
Eq DeleteSlotTypeVersion Source # 
Instance details

Defined in Amazonka.LexModels.DeleteSlotTypeVersion

Read DeleteSlotTypeVersion Source # 
Instance details

Defined in Amazonka.LexModels.DeleteSlotTypeVersion

Show DeleteSlotTypeVersion Source # 
Instance details

Defined in Amazonka.LexModels.DeleteSlotTypeVersion

Generic DeleteSlotTypeVersion Source # 
Instance details

Defined in Amazonka.LexModels.DeleteSlotTypeVersion

Associated Types

type Rep DeleteSlotTypeVersion :: Type -> Type #

NFData DeleteSlotTypeVersion Source # 
Instance details

Defined in Amazonka.LexModels.DeleteSlotTypeVersion

Methods

rnf :: DeleteSlotTypeVersion -> () #

Hashable DeleteSlotTypeVersion Source # 
Instance details

Defined in Amazonka.LexModels.DeleteSlotTypeVersion

AWSRequest DeleteSlotTypeVersion Source # 
Instance details

Defined in Amazonka.LexModels.DeleteSlotTypeVersion

Associated Types

type AWSResponse DeleteSlotTypeVersion #

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

type Rep DeleteSlotTypeVersion Source # 
Instance details

Defined in Amazonka.LexModels.DeleteSlotTypeVersion

type Rep DeleteSlotTypeVersion = D1 ('MetaData "DeleteSlotTypeVersion" "Amazonka.LexModels.DeleteSlotTypeVersion" "libZSservicesZSamazonka-lex-modelsZSamazonka-lex-models" 'False) (C1 ('MetaCons "DeleteSlotTypeVersion'" 'PrefixI 'True) (S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "version") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse DeleteSlotTypeVersion Source # 
Instance details

Defined in Amazonka.LexModels.DeleteSlotTypeVersion

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:

$sel:name:DeleteSlotTypeVersion', deleteSlotTypeVersion_name - The name of the slot type.

$sel:version: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
Eq DeleteSlotTypeVersionResponse Source # 
Instance details

Defined in Amazonka.LexModels.DeleteSlotTypeVersion

Read DeleteSlotTypeVersionResponse Source # 
Instance details

Defined in Amazonka.LexModels.DeleteSlotTypeVersion

Show DeleteSlotTypeVersionResponse Source # 
Instance details

Defined in Amazonka.LexModels.DeleteSlotTypeVersion

Generic DeleteSlotTypeVersionResponse Source # 
Instance details

Defined in Amazonka.LexModels.DeleteSlotTypeVersion

Associated Types

type Rep DeleteSlotTypeVersionResponse :: Type -> Type #

NFData 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" "libZSservicesZSamazonka-lex-modelsZSamazonka-lex-models" '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.