Struct aws_sdk_connect::operation::suspend_contact_recording::builders::SuspendContactRecordingFluentBuilder
source · pub struct SuspendContactRecordingFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to SuspendContactRecording
.
When a contact is being recorded, this API suspends recording the call. For example, you might suspend the call recording while collecting sensitive information, such as a credit card number. Then use ResumeContactRecording to restart recording.
The period of time that the recording is suspended is filled with silence in the final recording.
Only voice recordings are supported at this time.
Implementations§
source§impl SuspendContactRecordingFluentBuilder
impl SuspendContactRecordingFluentBuilder
sourcepub async fn customize(
self
) -> Result<CustomizableOperation<SuspendContactRecording, AwsResponseRetryClassifier>, SdkError<SuspendContactRecordingError>>
pub async fn customize( self ) -> Result<CustomizableOperation<SuspendContactRecording, AwsResponseRetryClassifier>, SdkError<SuspendContactRecordingError>>
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<SuspendContactRecordingOutput, SdkError<SuspendContactRecordingError>>
pub async fn send( self ) -> Result<SuspendContactRecordingOutput, SdkError<SuspendContactRecordingError>>
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 initial_contact_id(self, input: impl Into<String>) -> Self
pub fn initial_contact_id(self, input: impl Into<String>) -> Self
The identifier of the contact. This is the identifier of the contact associated with the first interaction with the contact center.
sourcepub fn set_initial_contact_id(self, input: Option<String>) -> Self
pub fn set_initial_contact_id(self, input: Option<String>) -> Self
The identifier of the contact. This is the identifier of the contact associated with the first interaction with the contact center.
Trait Implementations§
source§impl Clone for SuspendContactRecordingFluentBuilder
impl Clone for SuspendContactRecordingFluentBuilder
source§fn clone(&self) -> SuspendContactRecordingFluentBuilder
fn clone(&self) -> SuspendContactRecordingFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more