aws_sdk_connect/client/stop_contact_recording.rs
1// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
2impl super::Client {
3 /// Constructs a fluent builder for the [`StopContactRecording`](crate::operation::stop_contact_recording::builders::StopContactRecordingFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`instance_id(impl Into<String>)`](crate::operation::stop_contact_recording::builders::StopContactRecordingFluentBuilder::instance_id) / [`set_instance_id(Option<String>)`](crate::operation::stop_contact_recording::builders::StopContactRecordingFluentBuilder::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>
7 /// - [`contact_id(impl Into<String>)`](crate::operation::stop_contact_recording::builders::StopContactRecordingFluentBuilder::contact_id) / [`set_contact_id(Option<String>)`](crate::operation::stop_contact_recording::builders::StopContactRecordingFluentBuilder::set_contact_id):<br>required: **true**<br><p>The identifier of the contact.</p><br>
8 /// - [`initial_contact_id(impl Into<String>)`](crate::operation::stop_contact_recording::builders::StopContactRecordingFluentBuilder::initial_contact_id) / [`set_initial_contact_id(Option<String>)`](crate::operation::stop_contact_recording::builders::StopContactRecordingFluentBuilder::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>
9 /// - [`contact_recording_type(ContactRecordingType)`](crate::operation::stop_contact_recording::builders::StopContactRecordingFluentBuilder::contact_recording_type) / [`set_contact_recording_type(Option<ContactRecordingType>)`](crate::operation::stop_contact_recording::builders::StopContactRecordingFluentBuilder::set_contact_recording_type):<br>required: **false**<br><p>The type of recording being operated on.</p><br>
10 /// - On success, responds with [`StopContactRecordingOutput`](crate::operation::stop_contact_recording::StopContactRecordingOutput)
11 /// - On failure, responds with [`SdkError<StopContactRecordingError>`](crate::operation::stop_contact_recording::StopContactRecordingError)
12 pub fn stop_contact_recording(&self) -> crate::operation::stop_contact_recording::builders::StopContactRecordingFluentBuilder {
13 crate::operation::stop_contact_recording::builders::StopContactRecordingFluentBuilder::new(self.handle.clone())
14 }
15}