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

Description

Provides metadata information about a bot.

Synopsis

Creating a Request

data DescribeBot Source #

See: newDescribeBot smart constructor.

Constructors

DescribeBot' 

Fields

  • botId :: Text

    The unique identifier of the bot to describe.

Instances

Instances details
ToHeaders DescribeBot Source # 
Instance details

Defined in Amazonka.LexV2Models.DescribeBot

Methods

toHeaders :: DescribeBot -> [Header] #

ToPath DescribeBot Source # 
Instance details

Defined in Amazonka.LexV2Models.DescribeBot

ToQuery DescribeBot Source # 
Instance details

Defined in Amazonka.LexV2Models.DescribeBot

AWSRequest DescribeBot Source # 
Instance details

Defined in Amazonka.LexV2Models.DescribeBot

Associated Types

type AWSResponse DescribeBot #

Generic DescribeBot Source # 
Instance details

Defined in Amazonka.LexV2Models.DescribeBot

Associated Types

type Rep DescribeBot :: Type -> Type #

Read DescribeBot Source # 
Instance details

Defined in Amazonka.LexV2Models.DescribeBot

Show DescribeBot Source # 
Instance details

Defined in Amazonka.LexV2Models.DescribeBot

NFData DescribeBot Source # 
Instance details

Defined in Amazonka.LexV2Models.DescribeBot

Methods

rnf :: DescribeBot -> () #

Eq DescribeBot Source # 
Instance details

Defined in Amazonka.LexV2Models.DescribeBot

Hashable DescribeBot Source # 
Instance details

Defined in Amazonka.LexV2Models.DescribeBot

type AWSResponse DescribeBot Source # 
Instance details

Defined in Amazonka.LexV2Models.DescribeBot

type Rep DescribeBot Source # 
Instance details

Defined in Amazonka.LexV2Models.DescribeBot

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

newDescribeBot Source #

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

DescribeBot, describeBot_botId - The unique identifier of the bot to describe.

Request Lenses

describeBot_botId :: Lens' DescribeBot Text Source #

The unique identifier of the bot to describe.

Destructuring the Response

data DescribeBotResponse Source #

See: newDescribeBotResponse smart constructor.

Constructors

DescribeBotResponse' 

Fields

Instances

Instances details
Generic DescribeBotResponse Source # 
Instance details

Defined in Amazonka.LexV2Models.DescribeBot

Associated Types

type Rep DescribeBotResponse :: Type -> Type #

Read DescribeBotResponse Source # 
Instance details

Defined in Amazonka.LexV2Models.DescribeBot

Show DescribeBotResponse Source # 
Instance details

Defined in Amazonka.LexV2Models.DescribeBot

NFData DescribeBotResponse Source # 
Instance details

Defined in Amazonka.LexV2Models.DescribeBot

Methods

rnf :: DescribeBotResponse -> () #

Eq DescribeBotResponse Source # 
Instance details

Defined in Amazonka.LexV2Models.DescribeBot

type Rep DescribeBotResponse Source # 
Instance details

Defined in Amazonka.LexV2Models.DescribeBot

newDescribeBotResponse Source #

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

DescribeBot, describeBotResponse_botId - The unique identifier of the bot.

DescribeBotResponse, describeBotResponse_botName - The name of the bot.

DescribeBotResponse, describeBotResponse_botStatus - The current status of the bot. When the status is Available the bot is ready to be used in conversations with users.

DescribeBotResponse, describeBotResponse_creationDateTime - A timestamp of the date and time that the bot was created.

DescribeBotResponse, describeBotResponse_dataPrivacy - Settings for managing data privacy of the bot and its conversations with users.

DescribeBotResponse, describeBotResponse_description - The description of the bot.

DescribeBotResponse, describeBotResponse_idleSessionTTLInSeconds - The maximum time in seconds that Amazon Lex retains the data gathered in a conversation.

DescribeBotResponse, describeBotResponse_lastUpdatedDateTime - A timestamp of the date and time that the bot was last updated.

DescribeBotResponse, describeBotResponse_roleArn - The Amazon Resource Name (ARN) of an IAM role that has permission to access the bot.

$sel:httpStatus:DescribeBotResponse', describeBotResponse_httpStatus - The response's http status code.

Response Lenses

describeBotResponse_botId :: Lens' DescribeBotResponse (Maybe Text) Source #

The unique identifier of the bot.

describeBotResponse_botStatus :: Lens' DescribeBotResponse (Maybe BotStatus) Source #

The current status of the bot. When the status is Available the bot is ready to be used in conversations with users.

describeBotResponse_creationDateTime :: Lens' DescribeBotResponse (Maybe UTCTime) Source #

A timestamp of the date and time that the bot was created.

describeBotResponse_dataPrivacy :: Lens' DescribeBotResponse (Maybe DataPrivacy) Source #

Settings for managing data privacy of the bot and its conversations with users.

describeBotResponse_idleSessionTTLInSeconds :: Lens' DescribeBotResponse (Maybe Natural) Source #

The maximum time in seconds that Amazon Lex retains the data gathered in a conversation.

describeBotResponse_lastUpdatedDateTime :: Lens' DescribeBotResponse (Maybe UTCTime) Source #

A timestamp of the date and time that the bot was last updated.

describeBotResponse_roleArn :: Lens' DescribeBotResponse (Maybe Text) Source #

The Amazon Resource Name (ARN) of an IAM role that has permission to access the bot.