aws_sdk_connect/client/associate_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 [`AssociatePhoneNumberContactFlow`](crate::operation::associate_phone_number_contact_flow::builders::AssociatePhoneNumberContactFlowFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`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>
7 /// - [`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>
8 /// - [`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>
9 /// - On success, responds with [`AssociatePhoneNumberContactFlowOutput`](crate::operation::associate_phone_number_contact_flow::AssociatePhoneNumberContactFlowOutput)
10 /// - On failure, responds with [`SdkError<AssociatePhoneNumberContactFlowError>`](crate::operation::associate_phone_number_contact_flow::AssociatePhoneNumberContactFlowError)
11 pub fn associate_phone_number_contact_flow(
12 &self,
13 ) -> crate::operation::associate_phone_number_contact_flow::builders::AssociatePhoneNumberContactFlowFluentBuilder {
14 crate::operation::associate_phone_number_contact_flow::builders::AssociatePhoneNumberContactFlowFluentBuilder::new(self.handle.clone())
15 }
16}