Struct aws_sdk_lexmodelsv2::operation::describe_bot_resource_generation::DescribeBotResourceGenerationOutput
source · #[non_exhaustive]pub struct DescribeBotResourceGenerationOutput {
pub bot_id: Option<String>,
pub bot_version: Option<String>,
pub locale_id: Option<String>,
pub generation_id: Option<String>,
pub failure_reasons: Option<Vec<String>>,
pub generation_status: Option<GenerationStatus>,
pub generation_input_prompt: Option<String>,
pub generated_bot_locale_url: Option<String>,
pub creation_date_time: Option<DateTime>,
pub model_arn: Option<String>,
pub last_updated_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 unique identifier of the bot for which the generation request was made.
bot_version: Option<String>
The version of the bot for which the generation request was made.
locale_id: Option<String>
The locale of the bot for which the generation request was made.
generation_id: Option<String>
The generation ID for which to return the generation details.
failure_reasons: Option<Vec<String>>
A list of reasons why the generation of bot resources through natural language description failed.
generation_status: Option<GenerationStatus>
The status of the generation request.
generation_input_prompt: Option<String>
The prompt used in the generation request.
generated_bot_locale_url: Option<String>
The Amazon S3 location of the generated bot locale configuration.
creation_date_time: Option<DateTime>
The date and time at which the item was generated.
model_arn: Option<String>
The ARN of the model used to generate the bot resources.
last_updated_date_time: Option<DateTime>
The date and time at which the generated item was updated.
Implementations§
source§impl DescribeBotResourceGenerationOutput
impl DescribeBotResourceGenerationOutput
sourcepub fn bot_id(&self) -> Option<&str>
pub fn bot_id(&self) -> Option<&str>
The unique identifier of the bot for which the generation request was made.
sourcepub fn bot_version(&self) -> Option<&str>
pub fn bot_version(&self) -> Option<&str>
The version of the bot for which the generation request was made.
sourcepub fn locale_id(&self) -> Option<&str>
pub fn locale_id(&self) -> Option<&str>
The locale of the bot for which the generation request was made.
sourcepub fn generation_id(&self) -> Option<&str>
pub fn generation_id(&self) -> Option<&str>
The generation ID for which to return the generation details.
sourcepub fn failure_reasons(&self) -> &[String]
pub fn failure_reasons(&self) -> &[String]
A list of reasons why the generation of bot resources through natural language description failed.
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()
.
sourcepub fn generation_status(&self) -> Option<&GenerationStatus>
pub fn generation_status(&self) -> Option<&GenerationStatus>
The status of the generation request.
sourcepub fn generation_input_prompt(&self) -> Option<&str>
pub fn generation_input_prompt(&self) -> Option<&str>
The prompt used in the generation request.
sourcepub fn generated_bot_locale_url(&self) -> Option<&str>
pub fn generated_bot_locale_url(&self) -> Option<&str>
The Amazon S3 location of the generated bot locale configuration.
sourcepub fn creation_date_time(&self) -> Option<&DateTime>
pub fn creation_date_time(&self) -> Option<&DateTime>
The date and time at which the item was generated.
sourcepub fn model_arn(&self) -> Option<&str>
pub fn model_arn(&self) -> Option<&str>
The ARN of the model used to generate the bot resources.
sourcepub fn last_updated_date_time(&self) -> Option<&DateTime>
pub fn last_updated_date_time(&self) -> Option<&DateTime>
The date and time at which the generated item was updated.
source§impl DescribeBotResourceGenerationOutput
impl DescribeBotResourceGenerationOutput
sourcepub fn builder() -> DescribeBotResourceGenerationOutputBuilder
pub fn builder() -> DescribeBotResourceGenerationOutputBuilder
Creates a new builder-style object to manufacture DescribeBotResourceGenerationOutput
.
Trait Implementations§
source§impl Clone for DescribeBotResourceGenerationOutput
impl Clone for DescribeBotResourceGenerationOutput
source§fn clone(&self) -> DescribeBotResourceGenerationOutput
fn clone(&self) -> DescribeBotResourceGenerationOutput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl PartialEq for DescribeBotResourceGenerationOutput
impl PartialEq for DescribeBotResourceGenerationOutput
source§fn eq(&self, other: &DescribeBotResourceGenerationOutput) -> bool
fn eq(&self, other: &DescribeBotResourceGenerationOutput) -> bool
self
and other
values to be equal, and is used
by ==
.source§impl RequestId for DescribeBotResourceGenerationOutput
impl RequestId for DescribeBotResourceGenerationOutput
source§fn request_id(&self) -> Option<&str>
fn request_id(&self) -> Option<&str>
None
if the service could not be reached.