#[non_exhaustive]pub struct CreateIntentOutput {Show 18 fields
pub intent_id: Option<String>,
pub intent_name: Option<String>,
pub description: Option<String>,
pub parent_intent_signature: Option<String>,
pub sample_utterances: Option<Vec<SampleUtterance>>,
pub dialog_code_hook: Option<DialogCodeHookSettings>,
pub fulfillment_code_hook: Option<FulfillmentCodeHookSettings>,
pub intent_confirmation_setting: Option<IntentConfirmationSetting>,
pub intent_closing_setting: Option<IntentClosingSetting>,
pub input_contexts: Option<Vec<InputContext>>,
pub output_contexts: Option<Vec<OutputContext>>,
pub kendra_configuration: Option<KendraConfiguration>,
pub bot_id: Option<String>,
pub bot_version: Option<String>,
pub locale_id: Option<String>,
pub creation_date_time: Option<DateTime>,
pub initial_response_setting: Option<InitialResponseSetting>,
pub qn_a_intent_configuration: Option<QnAIntentConfiguration>,
/* 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.intent_id: Option<String>
A unique identifier for the intent.
intent_name: Option<String>
The name specified for the intent.
description: Option<String>
The description specified for the intent.
parent_intent_signature: Option<String>
The signature of the parent intent specified for the intent.
sample_utterances: Option<Vec<SampleUtterance>>
The sample utterances specified for the intent.
dialog_code_hook: Option<DialogCodeHookSettings>
The dialog Lambda function specified for the intent.
fulfillment_code_hook: Option<FulfillmentCodeHookSettings>
The fulfillment Lambda function specified for the intent.
intent_confirmation_setting: Option<IntentConfirmationSetting>
The confirmation setting specified for the intent.
intent_closing_setting: Option<IntentClosingSetting>
The closing setting specified for the intent.
input_contexts: Option<Vec<InputContext>>
The list of input contexts specified for the intent.
output_contexts: Option<Vec<OutputContext>>
The list of output contexts specified for the intent.
kendra_configuration: Option<KendraConfiguration>
Configuration for searching a Amazon Kendra index specified for the intent.
bot_id: Option<String>
The identifier of the bot associated with the intent.
bot_version: Option<String>
The version of the bot associated with the intent.
locale_id: Option<String>
The locale that the intent is specified to use.
creation_date_time: Option<DateTime>
A timestamp of the date and time that the intent was created.
initial_response_setting: Option<InitialResponseSetting>
Configuration settings for the response that is sent to the user at the beginning of a conversation, before eliciting slot values.
qn_a_intent_configuration: Option<QnAIntentConfiguration>
Details about the the configuration of the built-in Amazon.QnAIntent
.
Implementations§
source§impl CreateIntentOutput
impl CreateIntentOutput
sourcepub fn intent_name(&self) -> Option<&str>
pub fn intent_name(&self) -> Option<&str>
The name specified for the intent.
sourcepub fn description(&self) -> Option<&str>
pub fn description(&self) -> Option<&str>
The description specified for the intent.
sourcepub fn parent_intent_signature(&self) -> Option<&str>
pub fn parent_intent_signature(&self) -> Option<&str>
The signature of the parent intent specified for the intent.
sourcepub fn sample_utterances(&self) -> &[SampleUtterance]
pub fn sample_utterances(&self) -> &[SampleUtterance]
The sample utterances specified for the intent.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .sample_utterances.is_none()
.
sourcepub fn dialog_code_hook(&self) -> Option<&DialogCodeHookSettings>
pub fn dialog_code_hook(&self) -> Option<&DialogCodeHookSettings>
The dialog Lambda function specified for the intent.
sourcepub fn fulfillment_code_hook(&self) -> Option<&FulfillmentCodeHookSettings>
pub fn fulfillment_code_hook(&self) -> Option<&FulfillmentCodeHookSettings>
The fulfillment Lambda function specified for the intent.
sourcepub fn intent_confirmation_setting(&self) -> Option<&IntentConfirmationSetting>
pub fn intent_confirmation_setting(&self) -> Option<&IntentConfirmationSetting>
The confirmation setting specified for the intent.
sourcepub fn intent_closing_setting(&self) -> Option<&IntentClosingSetting>
pub fn intent_closing_setting(&self) -> Option<&IntentClosingSetting>
The closing setting specified for the intent.
sourcepub fn input_contexts(&self) -> &[InputContext]
pub fn input_contexts(&self) -> &[InputContext]
The list of input contexts specified for the intent.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .input_contexts.is_none()
.
sourcepub fn output_contexts(&self) -> &[OutputContext]
pub fn output_contexts(&self) -> &[OutputContext]
The list of output contexts specified for the intent.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .output_contexts.is_none()
.
sourcepub fn kendra_configuration(&self) -> Option<&KendraConfiguration>
pub fn kendra_configuration(&self) -> Option<&KendraConfiguration>
Configuration for searching a Amazon Kendra index specified for the intent.
sourcepub fn bot_version(&self) -> Option<&str>
pub fn bot_version(&self) -> Option<&str>
The version of the bot associated with the intent.
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 intent was created.
sourcepub fn initial_response_setting(&self) -> Option<&InitialResponseSetting>
pub fn initial_response_setting(&self) -> Option<&InitialResponseSetting>
Configuration settings for the response that is sent to the user at the beginning of a conversation, before eliciting slot values.
sourcepub fn qn_a_intent_configuration(&self) -> Option<&QnAIntentConfiguration>
pub fn qn_a_intent_configuration(&self) -> Option<&QnAIntentConfiguration>
Details about the the configuration of the built-in Amazon.QnAIntent
.
source§impl CreateIntentOutput
impl CreateIntentOutput
sourcepub fn builder() -> CreateIntentOutputBuilder
pub fn builder() -> CreateIntentOutputBuilder
Creates a new builder-style object to manufacture CreateIntentOutput
.
Trait Implementations§
source§impl Clone for CreateIntentOutput
impl Clone for CreateIntentOutput
source§fn clone(&self) -> CreateIntentOutput
fn clone(&self) -> CreateIntentOutput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for CreateIntentOutput
impl Debug for CreateIntentOutput
source§impl PartialEq for CreateIntentOutput
impl PartialEq for CreateIntentOutput
source§fn eq(&self, other: &CreateIntentOutput) -> bool
fn eq(&self, other: &CreateIntentOutput) -> bool
self
and other
values to be equal, and is used
by ==
.source§impl RequestId for CreateIntentOutput
impl RequestId for CreateIntentOutput
source§fn request_id(&self) -> Option<&str>
fn request_id(&self) -> Option<&str>
None
if the service could not be reached.impl StructuralPartialEq for CreateIntentOutput
Auto Trait Implementations§
impl Freeze for CreateIntentOutput
impl RefUnwindSafe for CreateIntentOutput
impl Send for CreateIntentOutput
impl Sync for CreateIntentOutput
impl Unpin for CreateIntentOutput
impl UnwindSafe for CreateIntentOutput
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more