aws_sdk_connect/client/
stop_contact_streaming.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 [`StopContactStreaming`](crate::operation::stop_contact_streaming::builders::StopContactStreamingFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`instance_id(impl Into<String>)`](crate::operation::stop_contact_streaming::builders::StopContactStreamingFluentBuilder::instance_id) / [`set_instance_id(Option<String>)`](crate::operation::stop_contact_streaming::builders::StopContactStreamingFluentBuilder::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_streaming::builders::StopContactStreamingFluentBuilder::contact_id) / [`set_contact_id(Option<String>)`](crate::operation::stop_contact_streaming::builders::StopContactStreamingFluentBuilder::set_contact_id):<br>required: **true**<br><p>The identifier of the contact. This is the identifier of the contact that is associated with the first interaction with the contact center.</p><br>
8    ///   - [`streaming_id(impl Into<String>)`](crate::operation::stop_contact_streaming::builders::StopContactStreamingFluentBuilder::streaming_id) / [`set_streaming_id(Option<String>)`](crate::operation::stop_contact_streaming::builders::StopContactStreamingFluentBuilder::set_streaming_id):<br>required: **true**<br><p>The identifier of the streaming configuration enabled.</p><br>
9    /// - On success, responds with [`StopContactStreamingOutput`](crate::operation::stop_contact_streaming::StopContactStreamingOutput)
10    /// - On failure, responds with [`SdkError<StopContactStreamingError>`](crate::operation::stop_contact_streaming::StopContactStreamingError)
11    pub fn stop_contact_streaming(&self) -> crate::operation::stop_contact_streaming::builders::StopContactStreamingFluentBuilder {
12        crate::operation::stop_contact_streaming::builders::StopContactStreamingFluentBuilder::new(self.handle.clone())
13    }
14}