Struct aws_sdk_lexmodelsv2::operation::create_bot::CreateBotOutput
source · #[non_exhaustive]pub struct CreateBotOutput {
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 bot_tags: Option<HashMap<String, String>>,
pub test_bot_alias_tags: Option<HashMap<String, String>>,
pub bot_type: Option<BotType>,
pub bot_members: Option<Vec<BotMember>>,
/* 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>
A unique identifier for a particular bot. You use this to identify the bot when you call other Amazon Lex API operations.
bot_name: Option<String>
The name specified for the bot.
description: Option<String>
The description specified for the bot.
role_arn: Option<String>
The IAM role specified for the bot.
data_privacy: Option<DataPrivacy>
The data privacy settings specified for the bot.
idle_session_ttl_in_seconds: Option<i32>
The session idle time specified for the bot.
bot_status: Option<BotStatus>
Shows the current status of the bot. The bot is first in the Creating
status. Once the bot is read for use, it changes to the Available
status. After the bot is created, you can use the DRAFT
version of the bot.
creation_date_time: Option<DateTime>
A timestamp indicating the date and time that the bot was created.
A list of tags associated with the bot.
A list of tags associated with the test alias for the bot.
bot_type: Option<BotType>
The type of a bot that was created.
bot_members: Option<Vec<BotMember>>
The list of bots in a network that was created.
Implementations§
source§impl CreateBotOutput
impl CreateBotOutput
sourcepub fn bot_id(&self) -> Option<&str>
pub fn bot_id(&self) -> Option<&str>
A unique identifier for a particular bot. You use this to identify the bot when you call other Amazon Lex API operations.
sourcepub fn description(&self) -> Option<&str>
pub fn description(&self) -> Option<&str>
The description specified for the bot.
sourcepub fn data_privacy(&self) -> Option<&DataPrivacy>
pub fn data_privacy(&self) -> Option<&DataPrivacy>
The data privacy settings specified for the bot.
sourcepub fn idle_session_ttl_in_seconds(&self) -> Option<i32>
pub fn idle_session_ttl_in_seconds(&self) -> Option<i32>
The session idle time specified for the bot.
sourcepub fn bot_status(&self) -> Option<&BotStatus>
pub fn bot_status(&self) -> Option<&BotStatus>
Shows the current status of the bot. The bot is first in the Creating
status. Once the bot is read for use, it changes to the Available
status. After the bot is created, you can use the DRAFT
version of the bot.
sourcepub fn creation_date_time(&self) -> Option<&DateTime>
pub fn creation_date_time(&self) -> Option<&DateTime>
A timestamp indicating the date and time that the bot was created.
A list of tags associated with the bot.
A list of tags associated with the test alias for the bot.
sourcepub fn bot_members(&self) -> &[BotMember]
pub fn bot_members(&self) -> &[BotMember]
The list of bots in a network that was created.
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()
.
source§impl CreateBotOutput
impl CreateBotOutput
sourcepub fn builder() -> CreateBotOutputBuilder
pub fn builder() -> CreateBotOutputBuilder
Creates a new builder-style object to manufacture CreateBotOutput
.
Trait Implementations§
source§impl Clone for CreateBotOutput
impl Clone for CreateBotOutput
source§fn clone(&self) -> CreateBotOutput
fn clone(&self) -> CreateBotOutput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for CreateBotOutput
impl Debug for CreateBotOutput
source§impl PartialEq for CreateBotOutput
impl PartialEq for CreateBotOutput
source§fn eq(&self, other: &CreateBotOutput) -> bool
fn eq(&self, other: &CreateBotOutput) -> bool
self
and other
values to be equal, and is used
by ==
.source§impl RequestId for CreateBotOutput
impl RequestId for CreateBotOutput
source§fn request_id(&self) -> Option<&str>
fn request_id(&self) -> Option<&str>
None
if the service could not be reached.