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

Description

Returns information about an Amazon Lex bot alias. For more information about aliases, see versioning-aliases.

This operation requires permissions for the lex:GetBotAlias action.

Synopsis

Creating a Request

data GetBotAlias Source #

See: newGetBotAlias smart constructor.

Constructors

GetBotAlias' 

Fields

  • name :: Text

    The name of the bot alias. The name is case sensitive.

  • botName :: Text

    The name of the bot.

Instances

Instances details
Eq GetBotAlias Source # 
Instance details

Defined in Amazonka.LexModels.GetBotAlias

Read GetBotAlias Source # 
Instance details

Defined in Amazonka.LexModels.GetBotAlias

Show GetBotAlias Source # 
Instance details

Defined in Amazonka.LexModels.GetBotAlias

Generic GetBotAlias Source # 
Instance details

Defined in Amazonka.LexModels.GetBotAlias

Associated Types

type Rep GetBotAlias :: Type -> Type #

NFData GetBotAlias Source # 
Instance details

Defined in Amazonka.LexModels.GetBotAlias

Methods

rnf :: GetBotAlias -> () #

Hashable GetBotAlias Source # 
Instance details

Defined in Amazonka.LexModels.GetBotAlias

AWSRequest GetBotAlias Source # 
Instance details

Defined in Amazonka.LexModels.GetBotAlias

Associated Types

type AWSResponse GetBotAlias #

ToHeaders GetBotAlias Source # 
Instance details

Defined in Amazonka.LexModels.GetBotAlias

Methods

toHeaders :: GetBotAlias -> [Header] #

ToPath GetBotAlias Source # 
Instance details

Defined in Amazonka.LexModels.GetBotAlias

ToQuery GetBotAlias Source # 
Instance details

Defined in Amazonka.LexModels.GetBotAlias

type Rep GetBotAlias Source # 
Instance details

Defined in Amazonka.LexModels.GetBotAlias

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

Defined in Amazonka.LexModels.GetBotAlias

newGetBotAlias Source #

Create a value of GetBotAlias 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:GetBotAlias', getBotAlias_name - The name of the bot alias. The name is case sensitive.

$sel:botName:GetBotAlias', getBotAlias_botName - The name of the bot.

Request Lenses

getBotAlias_name :: Lens' GetBotAlias Text Source #

The name of the bot alias. The name is case sensitive.

Destructuring the Response

data GetBotAliasResponse Source #

See: newGetBotAliasResponse smart constructor.

Constructors

GetBotAliasResponse' 

Fields

Instances

Instances details
Eq GetBotAliasResponse Source # 
Instance details

Defined in Amazonka.LexModels.GetBotAlias

Read GetBotAliasResponse Source # 
Instance details

Defined in Amazonka.LexModels.GetBotAlias

Show GetBotAliasResponse Source # 
Instance details

Defined in Amazonka.LexModels.GetBotAlias

Generic GetBotAliasResponse Source # 
Instance details

Defined in Amazonka.LexModels.GetBotAlias

Associated Types

type Rep GetBotAliasResponse :: Type -> Type #

NFData GetBotAliasResponse Source # 
Instance details

Defined in Amazonka.LexModels.GetBotAlias

Methods

rnf :: GetBotAliasResponse -> () #

type Rep GetBotAliasResponse Source # 
Instance details

Defined in Amazonka.LexModels.GetBotAlias

newGetBotAliasResponse Source #

Create a value of GetBotAliasResponse 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:checksum:GetBotAliasResponse', getBotAliasResponse_checksum - Checksum of the bot alias.

$sel:botVersion:GetBotAliasResponse', getBotAliasResponse_botVersion - The version of the bot that the alias points to.

$sel:botName:GetBotAlias', getBotAliasResponse_botName - The name of the bot that the alias points to.

$sel:createdDate:GetBotAliasResponse', getBotAliasResponse_createdDate - The date that the bot alias was created.

$sel:name:GetBotAlias', getBotAliasResponse_name - The name of the bot alias.

$sel:conversationLogs:GetBotAliasResponse', getBotAliasResponse_conversationLogs - The settings that determine how Amazon Lex uses conversation logs for the alias.

$sel:lastUpdatedDate:GetBotAliasResponse', getBotAliasResponse_lastUpdatedDate - The date that the bot alias was updated. When you create a resource, the creation date and the last updated date are the same.

$sel:description:GetBotAliasResponse', getBotAliasResponse_description - A description of the bot alias.

$sel:httpStatus:GetBotAliasResponse', getBotAliasResponse_httpStatus - The response's http status code.

Response Lenses

getBotAliasResponse_botVersion :: Lens' GetBotAliasResponse (Maybe Text) Source #

The version of the bot that the alias points to.

getBotAliasResponse_botName :: Lens' GetBotAliasResponse (Maybe Text) Source #

The name of the bot that the alias points to.

getBotAliasResponse_createdDate :: Lens' GetBotAliasResponse (Maybe UTCTime) Source #

The date that the bot alias was created.

getBotAliasResponse_conversationLogs :: Lens' GetBotAliasResponse (Maybe ConversationLogsResponse) Source #

The settings that determine how Amazon Lex uses conversation logs for the alias.

getBotAliasResponse_lastUpdatedDate :: Lens' GetBotAliasResponse (Maybe UTCTime) Source #

The date that the bot alias was updated. When you create a resource, the creation date and the last updated date are the same.