Struct aws_sdk_connect::operation::start_contact_recording::builders::StartContactRecordingFluentBuilder
source · pub struct StartContactRecordingFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to StartContactRecording
.
Starts recording the contact:
-
If the API is called before the agent joins the call, recording starts when the agent joins the call.
-
If the API is called after the agent joins the call, recording starts at the time of the API call.
StartContactRecording is a one-time action. For example, 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 and resume it, such as when collecting sensitive information (for example, a credit card number), use SuspendContactRecording and ResumeContactRecording.
You can use this API to override the recording behavior configured in the Set recording behavior block.
Only voice recordings are supported at this time.
Implementations§
source§impl StartContactRecordingFluentBuilder
impl StartContactRecordingFluentBuilder
sourcepub fn as_input(&self) -> &StartContactRecordingInputBuilder
pub fn as_input(&self) -> &StartContactRecordingInputBuilder
Access the StartContactRecording as a reference.
sourcepub async fn send(
self
) -> Result<StartContactRecordingOutput, SdkError<StartContactRecordingError, HttpResponse>>
pub async fn send( self ) -> Result<StartContactRecordingOutput, SdkError<StartContactRecordingError, 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<StartContactRecordingOutput, StartContactRecordingError, Self>
pub fn customize( self ) -> CustomizableOperation<StartContactRecordingOutput, StartContactRecordingError, 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.
sourcepub fn voice_recording_configuration(
self,
input: VoiceRecordingConfiguration
) -> Self
pub fn voice_recording_configuration( self, input: VoiceRecordingConfiguration ) -> Self
The person being recorded.
sourcepub fn set_voice_recording_configuration(
self,
input: Option<VoiceRecordingConfiguration>
) -> Self
pub fn set_voice_recording_configuration( self, input: Option<VoiceRecordingConfiguration> ) -> Self
The person being recorded.
sourcepub fn get_voice_recording_configuration(
&self
) -> &Option<VoiceRecordingConfiguration>
pub fn get_voice_recording_configuration( &self ) -> &Option<VoiceRecordingConfiguration>
The person being recorded.
Trait Implementations§
source§impl Clone for StartContactRecordingFluentBuilder
impl Clone for StartContactRecordingFluentBuilder
source§fn clone(&self) -> StartContactRecordingFluentBuilder
fn clone(&self) -> StartContactRecordingFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more