aws_sdk_chime/client/batch_delete_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 [`BatchDeletePhoneNumber`](crate::operation::batch_delete_phone_number::builders::BatchDeletePhoneNumberFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`phone_number_ids(impl Into<String>)`](crate::operation::batch_delete_phone_number::builders::BatchDeletePhoneNumberFluentBuilder::phone_number_ids) / [`set_phone_number_ids(Option<Vec::<String>>)`](crate::operation::batch_delete_phone_number::builders::BatchDeletePhoneNumberFluentBuilder::set_phone_number_ids):<br>required: **true**<br><p>List of phone number IDs.</p><br>
7 /// - On success, responds with [`BatchDeletePhoneNumberOutput`](crate::operation::batch_delete_phone_number::BatchDeletePhoneNumberOutput) with field(s):
8 /// - [`phone_number_errors(Option<Vec::<PhoneNumberError>>)`](crate::operation::batch_delete_phone_number::BatchDeletePhoneNumberOutput::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<BatchDeletePhoneNumberError>`](crate::operation::batch_delete_phone_number::BatchDeletePhoneNumberError)
10 pub fn batch_delete_phone_number(&self) -> crate::operation::batch_delete_phone_number::builders::BatchDeletePhoneNumberFluentBuilder {
11 crate::operation::batch_delete_phone_number::builders::BatchDeletePhoneNumberFluentBuilder::new(self.handle.clone())
12 }
13}