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 whatever is selected in the flow configuration: call, screen, or both. If only call recording or only screen recording is enabled, then it would be suspended. For example, you might suspend the screen recording while collecting sensitive information, such as a credit card number. Then use ResumeContactRecording to restart recording the screen.
The period of time that the recording is suspended is filled with silence in the final recording.
Voice and screen recordings are supported.
Implementations§
source§impl SuspendContactRecordingFluentBuilder
impl SuspendContactRecordingFluentBuilder
sourcepub fn as_input(&self) -> &SuspendContactRecordingInputBuilder
pub fn as_input(&self) -> &SuspendContactRecordingInputBuilder
Access the SuspendContactRecording as a reference.
sourcepub async fn send(
self
) -> Result<SuspendContactRecordingOutput, SdkError<SuspendContactRecordingError, HttpResponse>>
pub async fn send( self ) -> Result<SuspendContactRecordingOutput, SdkError<SuspendContactRecordingError, HttpResponse>>
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 customize(
self
) -> CustomizableOperation<SuspendContactRecordingOutput, SuspendContactRecordingError, Self>
pub fn customize( self ) -> CustomizableOperation<SuspendContactRecordingOutput, SuspendContactRecordingError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
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 instance ID in the Amazon Resource Name (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 instance ID in the Amazon Resource Name (ARN) of the instance.
sourcepub fn get_instance_id(&self) -> &Option<String>
pub fn get_instance_id(&self) -> &Option<String>
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (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 get_contact_id(&self) -> &Option<String>
pub fn get_contact_id(&self) -> &Option<String>
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.
sourcepub fn get_initial_contact_id(&self) -> &Option<String>
pub fn get_initial_contact_id(&self) -> &Option<String>
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