#[non_exhaustive]pub struct CreateContactFlowInput {
pub instance_id: Option<String>,
pub name: Option<String>,
pub type: Option<ContactFlowType>,
pub description: Option<String>,
pub content: Option<String>,
pub status: Option<ContactFlowStatus>,
pub tags: Option<HashMap<String, String>>,
}
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.instance_id: Option<String>
The identifier of the Amazon Connect instance.
name: Option<String>
The name of the flow.
type: Option<ContactFlowType>
The type of the flow. For descriptions of the available types, see Choose a flow type in the Amazon Connect Administrator Guide.
description: Option<String>
The description of the flow.
content: Option<String>
The JSON string that represents the content of the flow. For an example, see Example flow in Amazon Connect Flow language.
Length Constraints: Minimum length of 1. Maximum length of 256000.
status: Option<ContactFlowStatus>
Indicates the flow status as either SAVED
or PUBLISHED
. The PUBLISHED
status will initiate validation on the content. the SAVED
status does not initiate validation of the content. SAVED
| PUBLISHED
.
The tags used to organize, track, or control access for this resource. For example, { "Tags": {"key1":"value1", "key2":"value2"} }.
Implementations§
source§impl CreateContactFlowInput
impl CreateContactFlowInput
sourcepub fn instance_id(&self) -> Option<&str>
pub fn instance_id(&self) -> Option<&str>
The identifier of the Amazon Connect instance.
sourcepub fn type(&self) -> Option<&ContactFlowType>
pub fn type(&self) -> Option<&ContactFlowType>
The type of the flow. For descriptions of the available types, see Choose a flow type in the Amazon Connect Administrator Guide.
sourcepub fn description(&self) -> Option<&str>
pub fn description(&self) -> Option<&str>
The description of the flow.
sourcepub fn content(&self) -> Option<&str>
pub fn content(&self) -> Option<&str>
The JSON string that represents the content of the flow. For an example, see Example flow in Amazon Connect Flow language.
Length Constraints: Minimum length of 1. Maximum length of 256000.
sourcepub fn status(&self) -> Option<&ContactFlowStatus>
pub fn status(&self) -> Option<&ContactFlowStatus>
Indicates the flow status as either SAVED
or PUBLISHED
. The PUBLISHED
status will initiate validation on the content. the SAVED
status does not initiate validation of the content. SAVED
| PUBLISHED
.
The tags used to organize, track, or control access for this resource. For example, { "Tags": {"key1":"value1", "key2":"value2"} }.
source§impl CreateContactFlowInput
impl CreateContactFlowInput
sourcepub fn builder() -> CreateContactFlowInputBuilder
pub fn builder() -> CreateContactFlowInputBuilder
Creates a new builder-style object to manufacture CreateContactFlowInput
.
Trait Implementations§
source§impl Clone for CreateContactFlowInput
impl Clone for CreateContactFlowInput
source§fn clone(&self) -> CreateContactFlowInput
fn clone(&self) -> CreateContactFlowInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for CreateContactFlowInput
impl Debug for CreateContactFlowInput
source§impl PartialEq for CreateContactFlowInput
impl PartialEq for CreateContactFlowInput
source§fn eq(&self, other: &CreateContactFlowInput) -> bool
fn eq(&self, other: &CreateContactFlowInput) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for CreateContactFlowInput
Auto Trait Implementations§
impl Freeze for CreateContactFlowInput
impl RefUnwindSafe for CreateContactFlowInput
impl Send for CreateContactFlowInput
impl Sync for CreateContactFlowInput
impl Unpin for CreateContactFlowInput
impl UnwindSafe for CreateContactFlowInput
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