aws_sdk_connect/client/associate_phone_number_contact_flow.rs
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`AssociatePhoneNumberContactFlow`](crate::operation::associate_phone_number_contact_flow::builders::AssociatePhoneNumberContactFlowFluentBuilder) operation.
///
/// - The fluent builder is configurable:
/// - [`phone_number_id(impl Into<String>)`](crate::operation::associate_phone_number_contact_flow::builders::AssociatePhoneNumberContactFlowFluentBuilder::phone_number_id) / [`set_phone_number_id(Option<String>)`](crate::operation::associate_phone_number_contact_flow::builders::AssociatePhoneNumberContactFlowFluentBuilder::set_phone_number_id):<br>required: **true**<br><p>A unique identifier for the phone number.</p><br>
/// - [`instance_id(impl Into<String>)`](crate::operation::associate_phone_number_contact_flow::builders::AssociatePhoneNumberContactFlowFluentBuilder::instance_id) / [`set_instance_id(Option<String>)`](crate::operation::associate_phone_number_contact_flow::builders::AssociatePhoneNumberContactFlowFluentBuilder::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>
/// - [`contact_flow_id(impl Into<String>)`](crate::operation::associate_phone_number_contact_flow::builders::AssociatePhoneNumberContactFlowFluentBuilder::contact_flow_id) / [`set_contact_flow_id(Option<String>)`](crate::operation::associate_phone_number_contact_flow::builders::AssociatePhoneNumberContactFlowFluentBuilder::set_contact_flow_id):<br>required: **true**<br><p>The identifier of the flow.</p><br>
/// - On success, responds with [`AssociatePhoneNumberContactFlowOutput`](crate::operation::associate_phone_number_contact_flow::AssociatePhoneNumberContactFlowOutput)
/// - On failure, responds with [`SdkError<AssociatePhoneNumberContactFlowError>`](crate::operation::associate_phone_number_contact_flow::AssociatePhoneNumberContactFlowError)
pub fn associate_phone_number_contact_flow(
&self,
) -> crate::operation::associate_phone_number_contact_flow::builders::AssociatePhoneNumberContactFlowFluentBuilder {
crate::operation::associate_phone_number_contact_flow::builders::AssociatePhoneNumberContactFlowFluentBuilder::new(self.handle.clone())
}
}