#[non_exhaustive]pub struct MonitorContactInput {
pub instance_id: Option<String>,
pub contact_id: Option<String>,
pub user_id: Option<String>,
pub allowed_monitor_capabilities: Option<Vec<MonitorCapability>>,
pub client_token: Option<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. You can find the instanceId in the ARN of the instance.
contact_id: Option<String>
The identifier of the contact.
user_id: Option<String>
The identifier of the user account.
allowed_monitor_capabilities: Option<Vec<MonitorCapability>>
Specify which monitoring actions the user is allowed to take. For example, whether the user is allowed to escalate from silent monitoring to barge. AllowedMonitorCapabilities is required if barge is enabled.
client_token: Option<String>
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If not provided, the Amazon Web Services SDK populates this field. For more information about idempotency, see Making retries safe with idempotent APIs.
Implementations§
source§impl MonitorContactInput
impl MonitorContactInput
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 instanceId in the ARN of the instance.
sourcepub fn contact_id(&self) -> Option<&str>
pub fn contact_id(&self) -> Option<&str>
The identifier of the contact.
sourcepub fn allowed_monitor_capabilities(&self) -> &[MonitorCapability]
pub fn allowed_monitor_capabilities(&self) -> &[MonitorCapability]
Specify which monitoring actions the user is allowed to take. For example, whether the user is allowed to escalate from silent monitoring to barge. AllowedMonitorCapabilities is required if barge is enabled.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .allowed_monitor_capabilities.is_none()
.
sourcepub fn client_token(&self) -> Option<&str>
pub fn client_token(&self) -> Option<&str>
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If not provided, the Amazon Web Services SDK populates this field. For more information about idempotency, see Making retries safe with idempotent APIs.
source§impl MonitorContactInput
impl MonitorContactInput
sourcepub fn builder() -> MonitorContactInputBuilder
pub fn builder() -> MonitorContactInputBuilder
Creates a new builder-style object to manufacture MonitorContactInput
.
Trait Implementations§
source§impl Clone for MonitorContactInput
impl Clone for MonitorContactInput
source§fn clone(&self) -> MonitorContactInput
fn clone(&self) -> MonitorContactInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for MonitorContactInput
impl Debug for MonitorContactInput
source§impl PartialEq for MonitorContactInput
impl PartialEq for MonitorContactInput
source§fn eq(&self, other: &MonitorContactInput) -> bool
fn eq(&self, other: &MonitorContactInput) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for MonitorContactInput
Auto Trait Implementations§
impl Freeze for MonitorContactInput
impl RefUnwindSafe for MonitorContactInput
impl Send for MonitorContactInput
impl Sync for MonitorContactInput
impl Unpin for MonitorContactInput
impl UnwindSafe for MonitorContactInput
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