#[non_exhaustive]pub struct DescribeBotOutput {
pub bot_id: Option<String>,
pub bot_name: Option<String>,
pub description: Option<String>,
pub role_arn: Option<String>,
pub data_privacy: Option<DataPrivacy>,
pub idle_session_ttl_in_seconds: Option<i32>,
pub bot_status: Option<BotStatus>,
pub creation_date_time: Option<DateTime>,
pub last_updated_date_time: Option<DateTime>,
pub bot_type: Option<BotType>,
pub bot_members: Option<Vec<BotMember>>,
pub failure_reasons: Option<Vec<String>>,
/* private fields */
}Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.bot_id: Option<String>The unique identifier of the bot.
bot_name: Option<String>The name of the bot.
description: Option<String>The description of the bot.
role_arn: Option<String>The Amazon Resource Name (ARN) of an IAM role that has permission to access the bot.
data_privacy: Option<DataPrivacy>Settings for managing data privacy of the bot and its conversations with users.
idle_session_ttl_in_seconds: Option<i32>The maximum time in seconds that Amazon Lex retains the data gathered in a conversation.
bot_status: Option<BotStatus>The current status of the bot. When the status is Available the bot is ready to be used in conversations with users.
creation_date_time: Option<DateTime>A timestamp of the date and time that the bot was created.
last_updated_date_time: Option<DateTime>A timestamp of the date and time that the bot was last updated.
bot_type: Option<BotType>The type of the bot that was described.
bot_members: Option<Vec<BotMember>>The list of bots in the network that was described.
failure_reasons: Option<Vec<String>>If the botStatus is Failed, this contains a list of reasons that the bot couldn't be built.
Implementations§
source§impl DescribeBotOutput
impl DescribeBotOutput
sourcepub fn description(&self) -> Option<&str>
pub fn description(&self) -> Option<&str>
The description of the bot.
sourcepub fn role_arn(&self) -> Option<&str>
pub fn role_arn(&self) -> Option<&str>
The Amazon Resource Name (ARN) of an IAM role that has permission to access the bot.
sourcepub fn data_privacy(&self) -> Option<&DataPrivacy>
pub fn data_privacy(&self) -> Option<&DataPrivacy>
Settings for managing data privacy of the bot and its conversations with users.
sourcepub fn idle_session_ttl_in_seconds(&self) -> Option<i32>
pub fn idle_session_ttl_in_seconds(&self) -> Option<i32>
The maximum time in seconds that Amazon Lex retains the data gathered in a conversation.
sourcepub fn bot_status(&self) -> Option<&BotStatus>
pub fn bot_status(&self) -> Option<&BotStatus>
The current status of the bot. When the status is Available the bot is ready to be used in conversations with users.
sourcepub fn creation_date_time(&self) -> Option<&DateTime>
pub fn creation_date_time(&self) -> Option<&DateTime>
A timestamp of the date and time that the bot was created.
sourcepub fn last_updated_date_time(&self) -> Option<&DateTime>
pub fn last_updated_date_time(&self) -> Option<&DateTime>
A timestamp of the date and time that the bot was last updated.
sourcepub fn bot_members(&self) -> &[BotMember]
pub fn bot_members(&self) -> &[BotMember]
The list of bots in the network that was described.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .bot_members.is_none().
sourcepub fn failure_reasons(&self) -> &[String]
pub fn failure_reasons(&self) -> &[String]
If the botStatus is Failed, this contains a list of reasons that the bot couldn't be built.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .failure_reasons.is_none().
source§impl DescribeBotOutput
impl DescribeBotOutput
sourcepub fn builder() -> DescribeBotOutputBuilder
pub fn builder() -> DescribeBotOutputBuilder
Creates a new builder-style object to manufacture DescribeBotOutput.
Trait Implementations§
source§impl Clone for DescribeBotOutput
impl Clone for DescribeBotOutput
source§fn clone(&self) -> DescribeBotOutput
fn clone(&self) -> DescribeBotOutput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for DescribeBotOutput
impl Debug for DescribeBotOutput
source§impl PartialEq for DescribeBotOutput
impl PartialEq for DescribeBotOutput
source§fn eq(&self, other: &DescribeBotOutput) -> bool
fn eq(&self, other: &DescribeBotOutput) -> bool
self and other values to be equal, and is used
by ==.source§impl RequestId for DescribeBotOutput
impl RequestId for DescribeBotOutput
source§fn request_id(&self) -> Option<&str>
fn request_id(&self) -> Option<&str>
None if the service could not be reached.