aws_sdk_chime/client/batch_update_phone_number.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 [`BatchUpdatePhoneNumber`](crate::operation::batch_update_phone_number::builders::BatchUpdatePhoneNumberFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`update_phone_number_request_items(UpdatePhoneNumberRequestItem)`](crate::operation::batch_update_phone_number::builders::BatchUpdatePhoneNumberFluentBuilder::update_phone_number_request_items) / [`set_update_phone_number_request_items(Option<Vec::<UpdatePhoneNumberRequestItem>>)`](crate::operation::batch_update_phone_number::builders::BatchUpdatePhoneNumberFluentBuilder::set_update_phone_number_request_items):<br>required: **true**<br><p>The request containing the phone number IDs and product types or calling names to update.</p><br>
7 /// - On success, responds with [`BatchUpdatePhoneNumberOutput`](crate::operation::batch_update_phone_number::BatchUpdatePhoneNumberOutput) with field(s):
8 /// - [`phone_number_errors(Option<Vec::<PhoneNumberError>>)`](crate::operation::batch_update_phone_number::BatchUpdatePhoneNumberOutput::phone_number_errors): <p>If the action fails for one or more of the phone numbers in the request, a list of the phone numbers is returned, along with error codes and error messages.</p>
9 /// - On failure, responds with [`SdkError<BatchUpdatePhoneNumberError>`](crate::operation::batch_update_phone_number::BatchUpdatePhoneNumberError)
10 pub fn batch_update_phone_number(&self) -> crate::operation::batch_update_phone_number::builders::BatchUpdatePhoneNumberFluentBuilder {
11 crate::operation::batch_update_phone_number::builders::BatchUpdatePhoneNumberFluentBuilder::new(self.handle.clone())
12 }
13}