aws_sdk_connect/client/pause_contact.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 [`PauseContact`](crate::operation::pause_contact::builders::PauseContactFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`contact_id(impl Into<String>)`](crate::operation::pause_contact::builders::PauseContactFluentBuilder::contact_id) / [`set_contact_id(Option<String>)`](crate::operation::pause_contact::builders::PauseContactFluentBuilder::set_contact_id):<br>required: **true**<br><p>The identifier of the contact.</p><br>
7 /// - [`instance_id(impl Into<String>)`](crate::operation::pause_contact::builders::PauseContactFluentBuilder::instance_id) / [`set_instance_id(Option<String>)`](crate::operation::pause_contact::builders::PauseContactFluentBuilder::set_instance_id):<br>required: **true**<br><p>The identifier of the Amazon Connect instance. You can find the <code>instanceId</code> in the ARN of the instance.</p><br>
8 /// - [`contact_flow_id(impl Into<String>)`](crate::operation::pause_contact::builders::PauseContactFluentBuilder::contact_flow_id) / [`set_contact_flow_id(Option<String>)`](crate::operation::pause_contact::builders::PauseContactFluentBuilder::set_contact_flow_id):<br>required: **false**<br><p>The identifier of the flow.</p><br>
9 /// - On success, responds with [`PauseContactOutput`](crate::operation::pause_contact::PauseContactOutput)
10 /// - On failure, responds with [`SdkError<PauseContactError>`](crate::operation::pause_contact::PauseContactError)
11 pub fn pause_contact(&self) -> crate::operation::pause_contact::builders::PauseContactFluentBuilder {
12 crate::operation::pause_contact::builders::PauseContactFluentBuilder::new(self.handle.clone())
13 }
14}