aws_sdk_connect/client/suspend_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 [`SuspendContactRecording`](crate::operation::suspend_contact_recording::builders::SuspendContactRecordingFluentBuilder) operation.
///
/// - The fluent builder is configurable:
/// - [`instance_id(impl Into<String>)`](crate::operation::suspend_contact_recording::builders::SuspendContactRecordingFluentBuilder::instance_id) / [`set_instance_id(Option<String>)`](crate::operation::suspend_contact_recording::builders::SuspendContactRecordingFluentBuilder::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::suspend_contact_recording::builders::SuspendContactRecordingFluentBuilder::contact_id) / [`set_contact_id(Option<String>)`](crate::operation::suspend_contact_recording::builders::SuspendContactRecordingFluentBuilder::set_contact_id):<br>required: **true**<br><p>The identifier of the contact.</p><br>
/// - [`initial_contact_id(impl Into<String>)`](crate::operation::suspend_contact_recording::builders::SuspendContactRecordingFluentBuilder::initial_contact_id) / [`set_initial_contact_id(Option<String>)`](crate::operation::suspend_contact_recording::builders::SuspendContactRecordingFluentBuilder::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>
/// - [`contact_recording_type(ContactRecordingType)`](crate::operation::suspend_contact_recording::builders::SuspendContactRecordingFluentBuilder::contact_recording_type) / [`set_contact_recording_type(Option<ContactRecordingType>)`](crate::operation::suspend_contact_recording::builders::SuspendContactRecordingFluentBuilder::set_contact_recording_type):<br>required: **false**<br><p>The type of recording being operated on.</p><br>
/// - On success, responds with [`SuspendContactRecordingOutput`](crate::operation::suspend_contact_recording::SuspendContactRecordingOutput)
/// - On failure, responds with [`SdkError<SuspendContactRecordingError>`](crate::operation::suspend_contact_recording::SuspendContactRecordingError)
pub fn suspend_contact_recording(&self) -> crate::operation::suspend_contact_recording::builders::SuspendContactRecordingFluentBuilder {
crate::operation::suspend_contact_recording::builders::SuspendContactRecordingFluentBuilder::new(self.handle.clone())
}
}