Struct aws_sdk_connect::operation::stop_contact_recording::builders::StopContactRecordingFluentBuilder
source · pub struct StopContactRecordingFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to StopContactRecording
.
Stops recording a call when a contact is being recorded. StopContactRecording is a one-time action. If you use StopContactRecording to stop recording an ongoing call, you can't use StartContactRecording to restart it. For scenarios where the recording has started and you want to suspend it for sensitive information (for example, to collect a credit card number), and then restart it, use SuspendContactRecording and ResumeContactRecording.
Only voice recordings are supported at this time.
Implementations§
source§impl StopContactRecordingFluentBuilder
impl StopContactRecordingFluentBuilder
sourcepub async fn customize(
self
) -> Result<CustomizableOperation<StopContactRecording, AwsResponseRetryClassifier>, SdkError<StopContactRecordingError>>
pub async fn customize( self ) -> Result<CustomizableOperation<StopContactRecording, AwsResponseRetryClassifier>, SdkError<StopContactRecordingError>>
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<StopContactRecordingOutput, SdkError<StopContactRecordingError>>
pub async fn send( self ) -> Result<StopContactRecordingOutput, SdkError<StopContactRecordingError>>
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 StopContactRecordingFluentBuilder
impl Clone for StopContactRecordingFluentBuilder
source§fn clone(&self) -> StopContactRecordingFluentBuilder
fn clone(&self) -> StopContactRecordingFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more