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

Description

Deletes a specific version of a bot. To delete all versions of a bot, use the DeleteBot operation.

This operation requires permissions for the lex:DeleteBotVersion action.

Synopsis

Creating a Request

data DeleteBotVersion Source #

See: newDeleteBotVersion smart constructor.

Constructors

DeleteBotVersion' 

Fields

  • name :: Text

    The name of the bot.

  • version :: Text

    The version of the bot to delete. You cannot delete the $LATEST version of the bot. To delete the $LATEST version, use the DeleteBot operation.

Instances

Instances details
Eq DeleteBotVersion Source # 
Instance details

Defined in Amazonka.LexModels.DeleteBotVersion

Read DeleteBotVersion Source # 
Instance details

Defined in Amazonka.LexModels.DeleteBotVersion

Show DeleteBotVersion Source # 
Instance details

Defined in Amazonka.LexModels.DeleteBotVersion

Generic DeleteBotVersion Source # 
Instance details

Defined in Amazonka.LexModels.DeleteBotVersion

Associated Types

type Rep DeleteBotVersion :: Type -> Type #

NFData DeleteBotVersion Source # 
Instance details

Defined in Amazonka.LexModels.DeleteBotVersion

Methods

rnf :: DeleteBotVersion -> () #

Hashable DeleteBotVersion Source # 
Instance details

Defined in Amazonka.LexModels.DeleteBotVersion

AWSRequest DeleteBotVersion Source # 
Instance details

Defined in Amazonka.LexModels.DeleteBotVersion

Associated Types

type AWSResponse DeleteBotVersion #

ToHeaders DeleteBotVersion Source # 
Instance details

Defined in Amazonka.LexModels.DeleteBotVersion

ToPath DeleteBotVersion Source # 
Instance details

Defined in Amazonka.LexModels.DeleteBotVersion

ToQuery DeleteBotVersion Source # 
Instance details

Defined in Amazonka.LexModels.DeleteBotVersion

type Rep DeleteBotVersion Source # 
Instance details

Defined in Amazonka.LexModels.DeleteBotVersion

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

Defined in Amazonka.LexModels.DeleteBotVersion

newDeleteBotVersion Source #

Create a value of DeleteBotVersion 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:DeleteBotVersion', deleteBotVersion_name - The name of the bot.

$sel:version:DeleteBotVersion', deleteBotVersion_version - The version of the bot to delete. You cannot delete the $LATEST version of the bot. To delete the $LATEST version, use the DeleteBot operation.

Request Lenses

deleteBotVersion_version :: Lens' DeleteBotVersion Text Source #

The version of the bot to delete. You cannot delete the $LATEST version of the bot. To delete the $LATEST version, use the DeleteBot operation.

Destructuring the Response

data DeleteBotVersionResponse Source #

See: newDeleteBotVersionResponse smart constructor.

Instances

Instances details
Eq DeleteBotVersionResponse Source # 
Instance details

Defined in Amazonka.LexModels.DeleteBotVersion

Read DeleteBotVersionResponse Source # 
Instance details

Defined in Amazonka.LexModels.DeleteBotVersion

Show DeleteBotVersionResponse Source # 
Instance details

Defined in Amazonka.LexModels.DeleteBotVersion

Generic DeleteBotVersionResponse Source # 
Instance details

Defined in Amazonka.LexModels.DeleteBotVersion

Associated Types

type Rep DeleteBotVersionResponse :: Type -> Type #

NFData DeleteBotVersionResponse Source # 
Instance details

Defined in Amazonka.LexModels.DeleteBotVersion

type Rep DeleteBotVersionResponse Source # 
Instance details

Defined in Amazonka.LexModels.DeleteBotVersion

type Rep DeleteBotVersionResponse = D1 ('MetaData "DeleteBotVersionResponse" "Amazonka.LexModels.DeleteBotVersion" "libZSservicesZSamazonka-lex-modelsZSamazonka-lex-models" 'False) (C1 ('MetaCons "DeleteBotVersionResponse'" 'PrefixI 'False) (U1 :: Type -> Type))

newDeleteBotVersionResponse :: DeleteBotVersionResponse Source #

Create a value of DeleteBotVersionResponse with all optional fields omitted.

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