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

Description

Deletes the specified bot alias.

Synopsis

Creating a Request

data DeleteBotAlias Source #

See: newDeleteBotAlias smart constructor.

Constructors

DeleteBotAlias' 

Fields

  • skipResourceInUseCheck :: Maybe Bool

    When this parameter is true, Amazon Lex doesn't check to see if any other resource is using the alias before it is deleted.

  • botAliasId :: Text

    The unique identifier of the bot alias to delete.

  • botId :: Text

    The unique identifier of the bot associated with the alias to delete.

Instances

Instances details
ToHeaders DeleteBotAlias Source # 
Instance details

Defined in Amazonka.LexV2Models.DeleteBotAlias

ToPath DeleteBotAlias Source # 
Instance details

Defined in Amazonka.LexV2Models.DeleteBotAlias

ToQuery DeleteBotAlias Source # 
Instance details

Defined in Amazonka.LexV2Models.DeleteBotAlias

AWSRequest DeleteBotAlias Source # 
Instance details

Defined in Amazonka.LexV2Models.DeleteBotAlias

Associated Types

type AWSResponse DeleteBotAlias #

Generic DeleteBotAlias Source # 
Instance details

Defined in Amazonka.LexV2Models.DeleteBotAlias

Associated Types

type Rep DeleteBotAlias :: Type -> Type #

Read DeleteBotAlias Source # 
Instance details

Defined in Amazonka.LexV2Models.DeleteBotAlias

Show DeleteBotAlias Source # 
Instance details

Defined in Amazonka.LexV2Models.DeleteBotAlias

NFData DeleteBotAlias Source # 
Instance details

Defined in Amazonka.LexV2Models.DeleteBotAlias

Methods

rnf :: DeleteBotAlias -> () #

Eq DeleteBotAlias Source # 
Instance details

Defined in Amazonka.LexV2Models.DeleteBotAlias

Hashable DeleteBotAlias Source # 
Instance details

Defined in Amazonka.LexV2Models.DeleteBotAlias

type AWSResponse DeleteBotAlias Source # 
Instance details

Defined in Amazonka.LexV2Models.DeleteBotAlias

type Rep DeleteBotAlias Source # 
Instance details

Defined in Amazonka.LexV2Models.DeleteBotAlias

type Rep DeleteBotAlias = D1 ('MetaData "DeleteBotAlias" "Amazonka.LexV2Models.DeleteBotAlias" "amazonka-lexv2-models-2.0-5mExjJXBfuO6j0ascNcayE" 'False) (C1 ('MetaCons "DeleteBotAlias'" 'PrefixI 'True) (S1 ('MetaSel ('Just "skipResourceInUseCheck") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: (S1 ('MetaSel ('Just "botAliasId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "botId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))

newDeleteBotAlias Source #

Create a value of DeleteBotAlias 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:skipResourceInUseCheck:DeleteBotAlias', deleteBotAlias_skipResourceInUseCheck - When this parameter is true, Amazon Lex doesn't check to see if any other resource is using the alias before it is deleted.

DeleteBotAlias, deleteBotAlias_botAliasId - The unique identifier of the bot alias to delete.

DeleteBotAlias, deleteBotAlias_botId - The unique identifier of the bot associated with the alias to delete.

Request Lenses

deleteBotAlias_skipResourceInUseCheck :: Lens' DeleteBotAlias (Maybe Bool) Source #

When this parameter is true, Amazon Lex doesn't check to see if any other resource is using the alias before it is deleted.

deleteBotAlias_botAliasId :: Lens' DeleteBotAlias Text Source #

The unique identifier of the bot alias to delete.

deleteBotAlias_botId :: Lens' DeleteBotAlias Text Source #

The unique identifier of the bot associated with the alias to delete.

Destructuring the Response

data DeleteBotAliasResponse Source #

See: newDeleteBotAliasResponse smart constructor.

Constructors

DeleteBotAliasResponse' 

Fields

  • botAliasId :: Maybe Text

    The unique identifier of the bot alias to delete.

  • botAliasStatus :: Maybe BotAliasStatus

    The current status of the alias. The status is Deleting while the alias is in the process of being deleted. Once the alias is deleted, it will no longer appear in the list of aliases returned by the ListBotAliases operation.

  • botId :: Maybe Text

    The unique identifier of the bot that contains the alias to delete.

  • httpStatus :: Int

    The response's http status code.

Instances

Instances details
Generic DeleteBotAliasResponse Source # 
Instance details

Defined in Amazonka.LexV2Models.DeleteBotAlias

Associated Types

type Rep DeleteBotAliasResponse :: Type -> Type #

Read DeleteBotAliasResponse Source # 
Instance details

Defined in Amazonka.LexV2Models.DeleteBotAlias

Show DeleteBotAliasResponse Source # 
Instance details

Defined in Amazonka.LexV2Models.DeleteBotAlias

NFData DeleteBotAliasResponse Source # 
Instance details

Defined in Amazonka.LexV2Models.DeleteBotAlias

Methods

rnf :: DeleteBotAliasResponse -> () #

Eq DeleteBotAliasResponse Source # 
Instance details

Defined in Amazonka.LexV2Models.DeleteBotAlias

type Rep DeleteBotAliasResponse Source # 
Instance details

Defined in Amazonka.LexV2Models.DeleteBotAlias

type Rep DeleteBotAliasResponse = D1 ('MetaData "DeleteBotAliasResponse" "Amazonka.LexV2Models.DeleteBotAlias" "amazonka-lexv2-models-2.0-5mExjJXBfuO6j0ascNcayE" 'False) (C1 ('MetaCons "DeleteBotAliasResponse'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "botAliasId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "botAliasStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe BotAliasStatus))) :*: (S1 ('MetaSel ('Just "botId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newDeleteBotAliasResponse Source #

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

DeleteBotAlias, deleteBotAliasResponse_botAliasId - The unique identifier of the bot alias to delete.

DeleteBotAliasResponse, deleteBotAliasResponse_botAliasStatus - The current status of the alias. The status is Deleting while the alias is in the process of being deleted. Once the alias is deleted, it will no longer appear in the list of aliases returned by the ListBotAliases operation.

DeleteBotAlias, deleteBotAliasResponse_botId - The unique identifier of the bot that contains the alias to delete.

$sel:httpStatus:DeleteBotAliasResponse', deleteBotAliasResponse_httpStatus - The response's http status code.

Response Lenses

deleteBotAliasResponse_botAliasId :: Lens' DeleteBotAliasResponse (Maybe Text) Source #

The unique identifier of the bot alias to delete.

deleteBotAliasResponse_botAliasStatus :: Lens' DeleteBotAliasResponse (Maybe BotAliasStatus) Source #

The current status of the alias. The status is Deleting while the alias is in the process of being deleted. Once the alias is deleted, it will no longer appear in the list of aliases returned by the ListBotAliases operation.

deleteBotAliasResponse_botId :: Lens' DeleteBotAliasResponse (Maybe Text) Source #

The unique identifier of the bot that contains the alias to delete.