aws_sdk_connect/client/start_contact_recording.rs
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`StartContactRecording`](crate::operation::start_contact_recording::builders::StartContactRecordingFluentBuilder) operation.
///
/// - The fluent builder is configurable:
/// - [`instance_id(impl Into<String>)`](crate::operation::start_contact_recording::builders::StartContactRecordingFluentBuilder::instance_id) / [`set_instance_id(Option<String>)`](crate::operation::start_contact_recording::builders::StartContactRecordingFluentBuilder::set_instance_id):<br>required: **true**<br><p>The identifier of the Amazon Connect instance. You can <a href="https://docs.aws.amazon.com/connect/latest/adminguide/find-instance-arn.html">find the instance ID</a> in the Amazon Resource Name (ARN) of the instance.</p><br>
/// - [`contact_id(impl Into<String>)`](crate::operation::start_contact_recording::builders::StartContactRecordingFluentBuilder::contact_id) / [`set_contact_id(Option<String>)`](crate::operation::start_contact_recording::builders::StartContactRecordingFluentBuilder::set_contact_id):<br>required: **true**<br><p>The identifier of the contact.</p><br>
/// - [`initial_contact_id(impl Into<String>)`](crate::operation::start_contact_recording::builders::StartContactRecordingFluentBuilder::initial_contact_id) / [`set_initial_contact_id(Option<String>)`](crate::operation::start_contact_recording::builders::StartContactRecordingFluentBuilder::set_initial_contact_id):<br>required: **true**<br><p>The identifier of the contact. This is the identifier of the contact associated with the first interaction with the contact center.</p><br>
/// - [`voice_recording_configuration(VoiceRecordingConfiguration)`](crate::operation::start_contact_recording::builders::StartContactRecordingFluentBuilder::voice_recording_configuration) / [`set_voice_recording_configuration(Option<VoiceRecordingConfiguration>)`](crate::operation::start_contact_recording::builders::StartContactRecordingFluentBuilder::set_voice_recording_configuration):<br>required: **true**<br><p>The person being recorded.</p><br>
/// - On success, responds with [`StartContactRecordingOutput`](crate::operation::start_contact_recording::StartContactRecordingOutput)
/// - On failure, responds with [`SdkError<StartContactRecordingError>`](crate::operation::start_contact_recording::StartContactRecordingError)
pub fn start_contact_recording(&self) -> crate::operation::start_contact_recording::builders::StartContactRecordingFluentBuilder {
crate::operation::start_contact_recording::builders::StartContactRecordingFluentBuilder::new(self.handle.clone())
}
}