1
2
3
4
5
6
7
8
9
10
11
12
13
14
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`PauseContact`](crate::operation::pause_contact::builders::PauseContactFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`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>
    ///   - [`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>
    ///   - [`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>
    /// - On success, responds with [`PauseContactOutput`](crate::operation::pause_contact::PauseContactOutput)
    /// - On failure, responds with [`SdkError<PauseContactError>`](crate::operation::pause_contact::PauseContactError)
    pub fn pause_contact(&self) -> crate::operation::pause_contact::builders::PauseContactFluentBuilder {
        crate::operation::pause_contact::builders::PauseContactFluentBuilder::new(self.handle.clone())
    }
}