Struct aws_sdk_connect::client::fluent_builders::MonitorContact
source · pub struct MonitorContact { /* private fields */ }
Expand description
Fluent builder constructing a request to MonitorContact
.
Initiates silent monitoring of a contact. The Contact Control Panel (CCP) of the user specified by userId will be set to silent monitoring mode on the contact.
Implementations§
source§impl MonitorContact
impl MonitorContact
sourcepub async fn customize(
self
) -> Result<CustomizableOperation<MonitorContact, AwsResponseRetryClassifier>, SdkError<MonitorContactError>>
pub async fn customize(
self
) -> Result<CustomizableOperation<MonitorContact, AwsResponseRetryClassifier>, SdkError<MonitorContactError>>
Consume this builder, creating a customizable operation that can be modified before being sent. The operation’s inner http::Request can be modified as well.
sourcepub async fn send(
self
) -> Result<MonitorContactOutput, SdkError<MonitorContactError>>
pub async fn send(
self
) -> Result<MonitorContactOutput, SdkError<MonitorContactError>>
Sends the request and returns the response.
If an error occurs, an SdkError
will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
sourcepub fn instance_id(self, input: impl Into<String>) -> Self
pub fn instance_id(self, input: impl Into<String>) -> Self
The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.
sourcepub fn set_instance_id(self, input: Option<String>) -> Self
pub fn set_instance_id(self, input: Option<String>) -> Self
The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.
sourcepub fn contact_id(self, input: impl Into<String>) -> Self
pub fn contact_id(self, input: impl Into<String>) -> Self
The identifier of the contact.
sourcepub fn set_contact_id(self, input: Option<String>) -> Self
pub fn set_contact_id(self, input: Option<String>) -> Self
The identifier of the contact.
sourcepub fn set_user_id(self, input: Option<String>) -> Self
pub fn set_user_id(self, input: Option<String>) -> Self
The identifier of the user account.
sourcepub fn allowed_monitor_capabilities(self, input: MonitorCapability) -> Self
pub fn allowed_monitor_capabilities(self, input: MonitorCapability) -> Self
Appends an item to AllowedMonitorCapabilities
.
To override the contents of this collection use set_allowed_monitor_capabilities
.
Specify which monitoring actions the user is allowed to take. For example, whether the user is allowed to escalate from silent monitoring to barge.
sourcepub fn set_allowed_monitor_capabilities(
self,
input: Option<Vec<MonitorCapability>>
) -> Self
pub fn set_allowed_monitor_capabilities(
self,
input: Option<Vec<MonitorCapability>>
) -> Self
Specify which monitoring actions the user is allowed to take. For example, whether the user is allowed to escalate from silent monitoring to barge.
sourcepub fn client_token(self, input: impl Into<String>) -> Self
pub fn client_token(self, input: impl Into<String>) -> Self
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.
sourcepub fn set_client_token(self, input: Option<String>) -> Self
pub fn set_client_token(self, input: Option<String>) -> Self
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.
Trait Implementations§
source§impl Clone for MonitorContact
impl Clone for MonitorContact
source§fn clone(&self) -> MonitorContact
fn clone(&self) -> MonitorContact
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more