Struct aws_sdk_connect::types::ContactFlow
source · #[non_exhaustive]pub struct ContactFlow {
pub arn: Option<String>,
pub id: Option<String>,
pub name: Option<String>,
pub type: Option<ContactFlowType>,
pub state: Option<ContactFlowState>,
pub description: Option<String>,
pub content: Option<String>,
pub tags: Option<HashMap<String, String>>,
}
Expand description
Contains information about a flow.
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.arn: Option<String>
The Amazon Resource Name (ARN) of the flow.
id: Option<String>
The identifier of the flow.
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.
state: Option<ContactFlowState>
The type of flow.
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.
The tags used to organize, track, or control access for this resource. For example, { "Tags": {"key1":"value1", "key2":"value2"} }.
Implementations§
source§impl ContactFlow
impl ContactFlow
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 state(&self) -> Option<&ContactFlowState>
pub fn state(&self) -> Option<&ContactFlowState>
The type of flow.
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.
The tags used to organize, track, or control access for this resource. For example, { "Tags": {"key1":"value1", "key2":"value2"} }.
source§impl ContactFlow
impl ContactFlow
sourcepub fn builder() -> ContactFlowBuilder
pub fn builder() -> ContactFlowBuilder
Creates a new builder-style object to manufacture ContactFlow
.
Trait Implementations§
source§impl Clone for ContactFlow
impl Clone for ContactFlow
source§fn clone(&self) -> ContactFlow
fn clone(&self) -> ContactFlow
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ContactFlow
impl Debug for ContactFlow
source§impl PartialEq for ContactFlow
impl PartialEq for ContactFlow
source§fn eq(&self, other: &ContactFlow) -> bool
fn eq(&self, other: &ContactFlow) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ContactFlow
Auto Trait Implementations§
impl Freeze for ContactFlow
impl RefUnwindSafe for ContactFlow
impl Send for ContactFlow
impl Sync for ContactFlow
impl Unpin for ContactFlow
impl UnwindSafe for ContactFlow
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