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

Description

Provides metadata about a version of a bot.

Synopsis

Creating a Request

data DescribeBotVersion Source #

See: newDescribeBotVersion smart constructor.

Constructors

DescribeBotVersion' 

Fields

  • botId :: Text

    The identifier of the bot containing the version to return metadata for.

  • botVersion :: Text

    The version of the bot to return metadata for.

Instances

Instances details
ToHeaders DescribeBotVersion Source # 
Instance details

Defined in Amazonka.LexV2Models.DescribeBotVersion

ToPath DescribeBotVersion Source # 
Instance details

Defined in Amazonka.LexV2Models.DescribeBotVersion

ToQuery DescribeBotVersion Source # 
Instance details

Defined in Amazonka.LexV2Models.DescribeBotVersion

AWSRequest DescribeBotVersion Source # 
Instance details

Defined in Amazonka.LexV2Models.DescribeBotVersion

Associated Types

type AWSResponse DescribeBotVersion #

Generic DescribeBotVersion Source # 
Instance details

Defined in Amazonka.LexV2Models.DescribeBotVersion

Associated Types

type Rep DescribeBotVersion :: Type -> Type #

Read DescribeBotVersion Source # 
Instance details

Defined in Amazonka.LexV2Models.DescribeBotVersion

Show DescribeBotVersion Source # 
Instance details

Defined in Amazonka.LexV2Models.DescribeBotVersion

NFData DescribeBotVersion Source # 
Instance details

Defined in Amazonka.LexV2Models.DescribeBotVersion

Methods

rnf :: DescribeBotVersion -> () #

Eq DescribeBotVersion Source # 
Instance details

Defined in Amazonka.LexV2Models.DescribeBotVersion

Hashable DescribeBotVersion Source # 
Instance details

Defined in Amazonka.LexV2Models.DescribeBotVersion

type AWSResponse DescribeBotVersion Source # 
Instance details

Defined in Amazonka.LexV2Models.DescribeBotVersion

type Rep DescribeBotVersion Source # 
Instance details

Defined in Amazonka.LexV2Models.DescribeBotVersion

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

newDescribeBotVersion Source #

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

DescribeBotVersion, describeBotVersion_botId - The identifier of the bot containing the version to return metadata for.

DescribeBotVersion, describeBotVersion_botVersion - The version of the bot to return metadata for.

Request Lenses

describeBotVersion_botId :: Lens' DescribeBotVersion Text Source #

The identifier of the bot containing the version to return metadata for.

describeBotVersion_botVersion :: Lens' DescribeBotVersion Text Source #

The version of the bot to return metadata for.

Destructuring the Response

data DescribeBotVersionResponse Source #

See: newDescribeBotVersionResponse smart constructor.

Constructors

DescribeBotVersionResponse' 

Fields

Instances

Instances details
Generic DescribeBotVersionResponse Source # 
Instance details

Defined in Amazonka.LexV2Models.DescribeBotVersion

Associated Types

type Rep DescribeBotVersionResponse :: Type -> Type #

Read DescribeBotVersionResponse Source # 
Instance details

Defined in Amazonka.LexV2Models.DescribeBotVersion

Show DescribeBotVersionResponse Source # 
Instance details

Defined in Amazonka.LexV2Models.DescribeBotVersion

NFData DescribeBotVersionResponse Source # 
Instance details

Defined in Amazonka.LexV2Models.DescribeBotVersion

Eq DescribeBotVersionResponse Source # 
Instance details

Defined in Amazonka.LexV2Models.DescribeBotVersion

type Rep DescribeBotVersionResponse Source # 
Instance details

Defined in Amazonka.LexV2Models.DescribeBotVersion

type Rep DescribeBotVersionResponse = D1 ('MetaData "DescribeBotVersionResponse" "Amazonka.LexV2Models.DescribeBotVersion" "amazonka-lexv2-models-2.0-5mExjJXBfuO6j0ascNcayE" 'False) (C1 ('MetaCons "DescribeBotVersionResponse'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "botId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "botName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "botStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe BotStatus)) :*: (S1 ('MetaSel ('Just "botVersion") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "creationDateTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX))))) :*: ((S1 ('MetaSel ('Just "dataPrivacy") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe DataPrivacy)) :*: (S1 ('MetaSel ('Just "description") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "failureReasons") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])))) :*: (S1 ('MetaSel ('Just "idleSessionTTLInSeconds") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: (S1 ('MetaSel ('Just "roleArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))))

newDescribeBotVersionResponse Source #

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

DescribeBotVersion, describeBotVersionResponse_botId - The identifier of the bot that contains the version.

DescribeBotVersionResponse, describeBotVersionResponse_botName - The name of the bot that contains the version.

DescribeBotVersionResponse, describeBotVersionResponse_botStatus - The current status of the bot. When the status is Available, the bot version is ready for use.

DescribeBotVersion, describeBotVersionResponse_botVersion - The version of the bot to describe.

DescribeBotVersionResponse, describeBotVersionResponse_creationDateTime - A timestamp of the date and time that the bot version was created.

DescribeBotVersionResponse, describeBotVersionResponse_dataPrivacy - Data privacy settings for the bot version.

DescribeBotVersionResponse, describeBotVersionResponse_description - The description specified for the bot.

$sel:failureReasons:DescribeBotVersionResponse', describeBotVersionResponse_failureReasons - If the botStatus is Failed, this contains a list of reasons that the version couldn't be built.

DescribeBotVersionResponse, describeBotVersionResponse_idleSessionTTLInSeconds - The number of seconds that a session with the bot remains active before it is discarded by Amazon Lex.

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

$sel:httpStatus:DescribeBotVersionResponse', describeBotVersionResponse_httpStatus - The response's http status code.

Response Lenses

describeBotVersionResponse_botId :: Lens' DescribeBotVersionResponse (Maybe Text) Source #

The identifier of the bot that contains the version.

describeBotVersionResponse_botName :: Lens' DescribeBotVersionResponse (Maybe Text) Source #

The name of the bot that contains the version.

describeBotVersionResponse_botStatus :: Lens' DescribeBotVersionResponse (Maybe BotStatus) Source #

The current status of the bot. When the status is Available, the bot version is ready for use.

describeBotVersionResponse_creationDateTime :: Lens' DescribeBotVersionResponse (Maybe UTCTime) Source #

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

describeBotVersionResponse_failureReasons :: Lens' DescribeBotVersionResponse (Maybe [Text]) Source #

If the botStatus is Failed, this contains a list of reasons that the version couldn't be built.

describeBotVersionResponse_idleSessionTTLInSeconds :: Lens' DescribeBotVersionResponse (Maybe Natural) Source #

The number of seconds that a session with the bot remains active before it is discarded by Amazon Lex.

describeBotVersionResponse_roleArn :: Lens' DescribeBotVersionResponse (Maybe Text) Source #

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