pub struct StartContactRecording { /* 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 StartContactRecording
impl StartContactRecording
sourcepub async fn customize(
self
) -> Result<CustomizableOperation<StartContactRecording, AwsResponseRetryClassifier>, SdkError<StartContactRecordingError>>
pub async fn customize(
self
) -> Result<CustomizableOperation<StartContactRecording, AwsResponseRetryClassifier>, SdkError<StartContactRecordingError>>
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<StartContactRecordingOutput, SdkError<StartContactRecordingError>>
pub async fn send(
self
) -> Result<StartContactRecordingOutput, SdkError<StartContactRecordingError>>
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.
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.
Trait Implementations§
source§impl Clone for StartContactRecording
impl Clone for StartContactRecording
source§fn clone(&self) -> StartContactRecording
fn clone(&self) -> StartContactRecording
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more