#[non_exhaustive]pub struct UpdateContactAttributesInput {
pub initial_contact_id: Option<String>,
pub instance_id: Option<String>,
pub attributes: 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.initial_contact_id: Option<String>
The identifier of the contact. This is the identifier of the contact associated with the first interaction with the contact center.
instance_id: Option<String>
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
attributes: Option<HashMap<String, String>>
The Amazon Connect attributes. These attributes can be accessed in flows just like any other contact attributes.
You can have up to 32,768 UTF-8 bytes across all attributes for a contact. Attribute keys can include only alphanumeric, dash, and underscore characters.
When the attributes for a contact exceed 32 KB, the contact is routed down the Error branch of the flow. As a mitigation, consider the following options:
-
Remove unnecessary attributes by setting their values to empty.
-
If the attributes are only used in one flow and don't need to be referred to outside of that flow (for example, by a Lambda or another flow), then use flow attributes. This way you aren't needlessly persisting the 32 KB of information from one flow to another. For more information, see Flow block: Set contact attributes in the Amazon Connect Administrator Guide.
Implementations§
source§impl UpdateContactAttributesInput
impl UpdateContactAttributesInput
sourcepub fn initial_contact_id(&self) -> Option<&str>
pub fn initial_contact_id(&self) -> Option<&str>
The identifier of the contact. This is the identifier of the contact associated with the first interaction with the contact center.
sourcepub fn instance_id(&self) -> Option<&str>
pub fn instance_id(&self) -> Option<&str>
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
sourcepub fn attributes(&self) -> Option<&HashMap<String, String>>
pub fn attributes(&self) -> Option<&HashMap<String, String>>
The Amazon Connect attributes. These attributes can be accessed in flows just like any other contact attributes.
You can have up to 32,768 UTF-8 bytes across all attributes for a contact. Attribute keys can include only alphanumeric, dash, and underscore characters.
When the attributes for a contact exceed 32 KB, the contact is routed down the Error branch of the flow. As a mitigation, consider the following options:
-
Remove unnecessary attributes by setting their values to empty.
-
If the attributes are only used in one flow and don't need to be referred to outside of that flow (for example, by a Lambda or another flow), then use flow attributes. This way you aren't needlessly persisting the 32 KB of information from one flow to another. For more information, see Flow block: Set contact attributes in the Amazon Connect Administrator Guide.
source§impl UpdateContactAttributesInput
impl UpdateContactAttributesInput
sourcepub fn builder() -> UpdateContactAttributesInputBuilder
pub fn builder() -> UpdateContactAttributesInputBuilder
Creates a new builder-style object to manufacture UpdateContactAttributesInput
.
Trait Implementations§
source§impl Clone for UpdateContactAttributesInput
impl Clone for UpdateContactAttributesInput
source§fn clone(&self) -> UpdateContactAttributesInput
fn clone(&self) -> UpdateContactAttributesInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for UpdateContactAttributesInput
impl Debug for UpdateContactAttributesInput
source§impl PartialEq for UpdateContactAttributesInput
impl PartialEq for UpdateContactAttributesInput
source§fn eq(&self, other: &UpdateContactAttributesInput) -> bool
fn eq(&self, other: &UpdateContactAttributesInput) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for UpdateContactAttributesInput
Auto Trait Implementations§
impl Freeze for UpdateContactAttributesInput
impl RefUnwindSafe for UpdateContactAttributesInput
impl Send for UpdateContactAttributesInput
impl Sync for UpdateContactAttributesInput
impl Unpin for UpdateContactAttributesInput
impl UnwindSafe for UpdateContactAttributesInput
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)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