#[non_exhaustive]pub struct DialogCodeHookInvocationSetting {
pub enable_code_hook_invocation: bool,
pub active: bool,
pub invocation_label: Option<String>,
pub post_code_hook_specification: Option<PostDialogCodeHookInvocationSpecification>,
}
Expand description
Settings that specify the dialog code hook that is called by Amazon Lex at a step of the conversation.
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.enable_code_hook_invocation: bool
Indicates whether a Lambda function should be invoked for the dialog.
active: bool
Determines whether a dialog code hook is used when the intent is activated.
invocation_label: Option<String>
A label that indicates the dialog step from which the dialog code hook is happening.
post_code_hook_specification: Option<PostDialogCodeHookInvocationSpecification>
Contains the responses and actions that Amazon Lex takes after the Lambda function is complete.
Implementations§
source§impl DialogCodeHookInvocationSetting
impl DialogCodeHookInvocationSetting
sourcepub fn enable_code_hook_invocation(&self) -> bool
pub fn enable_code_hook_invocation(&self) -> bool
Indicates whether a Lambda function should be invoked for the dialog.
sourcepub fn active(&self) -> bool
pub fn active(&self) -> bool
Determines whether a dialog code hook is used when the intent is activated.
sourcepub fn invocation_label(&self) -> Option<&str>
pub fn invocation_label(&self) -> Option<&str>
A label that indicates the dialog step from which the dialog code hook is happening.
sourcepub fn post_code_hook_specification(
&self
) -> Option<&PostDialogCodeHookInvocationSpecification>
pub fn post_code_hook_specification( &self ) -> Option<&PostDialogCodeHookInvocationSpecification>
Contains the responses and actions that Amazon Lex takes after the Lambda function is complete.
source§impl DialogCodeHookInvocationSetting
impl DialogCodeHookInvocationSetting
sourcepub fn builder() -> DialogCodeHookInvocationSettingBuilder
pub fn builder() -> DialogCodeHookInvocationSettingBuilder
Creates a new builder-style object to manufacture DialogCodeHookInvocationSetting
.
Trait Implementations§
source§impl Clone for DialogCodeHookInvocationSetting
impl Clone for DialogCodeHookInvocationSetting
source§fn clone(&self) -> DialogCodeHookInvocationSetting
fn clone(&self) -> DialogCodeHookInvocationSetting
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl PartialEq for DialogCodeHookInvocationSetting
impl PartialEq for DialogCodeHookInvocationSetting
source§fn eq(&self, other: &DialogCodeHookInvocationSetting) -> bool
fn eq(&self, other: &DialogCodeHookInvocationSetting) -> bool
self
and other
values to be equal, and is used
by ==
.