Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Provides metadata about a version of a bot.
Synopsis
- data DescribeBotVersion = DescribeBotVersion' {
- botId :: Text
- botVersion :: Text
- newDescribeBotVersion :: Text -> Text -> DescribeBotVersion
- describeBotVersion_botId :: Lens' DescribeBotVersion Text
- describeBotVersion_botVersion :: Lens' DescribeBotVersion Text
- data DescribeBotVersionResponse = DescribeBotVersionResponse' {}
- newDescribeBotVersionResponse :: Int -> DescribeBotVersionResponse
- describeBotVersionResponse_botId :: Lens' DescribeBotVersionResponse (Maybe Text)
- describeBotVersionResponse_botName :: Lens' DescribeBotVersionResponse (Maybe Text)
- describeBotVersionResponse_botStatus :: Lens' DescribeBotVersionResponse (Maybe BotStatus)
- describeBotVersionResponse_botVersion :: Lens' DescribeBotVersionResponse (Maybe Text)
- describeBotVersionResponse_creationDateTime :: Lens' DescribeBotVersionResponse (Maybe UTCTime)
- describeBotVersionResponse_dataPrivacy :: Lens' DescribeBotVersionResponse (Maybe DataPrivacy)
- describeBotVersionResponse_description :: Lens' DescribeBotVersionResponse (Maybe Text)
- describeBotVersionResponse_failureReasons :: Lens' DescribeBotVersionResponse (Maybe [Text])
- describeBotVersionResponse_idleSessionTTLInSeconds :: Lens' DescribeBotVersionResponse (Maybe Natural)
- describeBotVersionResponse_roleArn :: Lens' DescribeBotVersionResponse (Maybe Text)
- describeBotVersionResponse_httpStatus :: Lens' DescribeBotVersionResponse Int
Creating a Request
data DescribeBotVersion Source #
See: newDescribeBotVersion
smart constructor.
DescribeBotVersion' | |
|
Instances
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.
DescribeBotVersionResponse' | |
|
Instances
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_botVersion :: Lens' DescribeBotVersionResponse (Maybe Text) Source #
The version of the bot to describe.
describeBotVersionResponse_creationDateTime :: Lens' DescribeBotVersionResponse (Maybe UTCTime) Source #
A timestamp of the date and time that the bot version was created.
describeBotVersionResponse_dataPrivacy :: Lens' DescribeBotVersionResponse (Maybe DataPrivacy) Source #
Data privacy settings for the bot version.
describeBotVersionResponse_description :: Lens' DescribeBotVersionResponse (Maybe Text) Source #
The description specified for the bot.
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.
describeBotVersionResponse_httpStatus :: Lens' DescribeBotVersionResponse Int Source #
The response's http status code.