#[non_exhaustive]pub struct CreateBotVersionOutput {
pub bot_id: Option<String>,
pub description: Option<String>,
pub bot_version: Option<String>,
pub bot_version_locale_specification: Option<HashMap<String, BotVersionLocaleDetails>>,
pub bot_status: Option<BotStatus>,
pub creation_date_time: Option<DateTime>,
/* 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 bot identifier specified in the request.
description: Option<String>
The description of the version specified in the request.
bot_version: Option<String>
The version number assigned to the version.
bot_version_locale_specification: Option<HashMap<String, BotVersionLocaleDetails>>
The source versions used for each locale in the new version.
bot_status: Option<BotStatus>
When you send a request to create or update a bot, Amazon Lex sets the status response element to Creating
. After Amazon Lex builds the bot, it sets status to Available
. If Amazon Lex can't build the bot, it sets status to Failed
.
creation_date_time: Option<DateTime>
A timestamp of the date and time that the version was created.
Implementations§
source§impl CreateBotVersionOutput
impl CreateBotVersionOutput
sourcepub fn description(&self) -> Option<&str>
pub fn description(&self) -> Option<&str>
The description of the version specified in the request.
sourcepub fn bot_version(&self) -> Option<&str>
pub fn bot_version(&self) -> Option<&str>
The version number assigned to the version.
sourcepub fn bot_version_locale_specification(
&self
) -> Option<&HashMap<String, BotVersionLocaleDetails>>
pub fn bot_version_locale_specification( &self ) -> Option<&HashMap<String, BotVersionLocaleDetails>>
The source versions used for each locale in the new version.
sourcepub fn bot_status(&self) -> Option<&BotStatus>
pub fn bot_status(&self) -> Option<&BotStatus>
When you send a request to create or update a bot, Amazon Lex sets the status response element to Creating
. After Amazon Lex builds the bot, it sets status to Available
. If Amazon Lex can't build the bot, it sets status to Failed
.
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 version was created.
source§impl CreateBotVersionOutput
impl CreateBotVersionOutput
sourcepub fn builder() -> CreateBotVersionOutputBuilder
pub fn builder() -> CreateBotVersionOutputBuilder
Creates a new builder-style object to manufacture CreateBotVersionOutput
.
Trait Implementations§
source§impl Clone for CreateBotVersionOutput
impl Clone for CreateBotVersionOutput
source§fn clone(&self) -> CreateBotVersionOutput
fn clone(&self) -> CreateBotVersionOutput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for CreateBotVersionOutput
impl Debug for CreateBotVersionOutput
source§impl PartialEq for CreateBotVersionOutput
impl PartialEq for CreateBotVersionOutput
source§fn eq(&self, other: &CreateBotVersionOutput) -> bool
fn eq(&self, other: &CreateBotVersionOutput) -> bool
self
and other
values to be equal, and is used
by ==
.source§impl RequestId for CreateBotVersionOutput
impl RequestId for CreateBotVersionOutput
source§fn request_id(&self) -> Option<&str>
fn request_id(&self) -> Option<&str>
None
if the service could not be reached.