aws_sdk_connect/client/
disassociate_phone_number_contact_flow.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 [`DisassociatePhoneNumberContactFlow`](crate::operation::disassociate_phone_number_contact_flow::builders::DisassociatePhoneNumberContactFlowFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`phone_number_id(impl Into<String>)`](crate::operation::disassociate_phone_number_contact_flow::builders::DisassociatePhoneNumberContactFlowFluentBuilder::phone_number_id) / [`set_phone_number_id(Option<String>)`](crate::operation::disassociate_phone_number_contact_flow::builders::DisassociatePhoneNumberContactFlowFluentBuilder::set_phone_number_id):<br>required: **true**<br><p>A unique identifier for the phone number.</p><br>
7    ///   - [`instance_id(impl Into<String>)`](crate::operation::disassociate_phone_number_contact_flow::builders::DisassociatePhoneNumberContactFlowFluentBuilder::instance_id) / [`set_instance_id(Option<String>)`](crate::operation::disassociate_phone_number_contact_flow::builders::DisassociatePhoneNumberContactFlowFluentBuilder::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>
8    /// - On success, responds with [`DisassociatePhoneNumberContactFlowOutput`](crate::operation::disassociate_phone_number_contact_flow::DisassociatePhoneNumberContactFlowOutput)
9    /// - On failure, responds with [`SdkError<DisassociatePhoneNumberContactFlowError>`](crate::operation::disassociate_phone_number_contact_flow::DisassociatePhoneNumberContactFlowError)
10    pub fn disassociate_phone_number_contact_flow(
11        &self,
12    ) -> crate::operation::disassociate_phone_number_contact_flow::builders::DisassociatePhoneNumberContactFlowFluentBuilder {
13        crate::operation::disassociate_phone_number_contact_flow::builders::DisassociatePhoneNumberContactFlowFluentBuilder::new(self.handle.clone())
14    }
15}