Struct aws_sdk_chime::client::fluent_builders::BatchUpdatePhoneNumber [−][src]
pub struct BatchUpdatePhoneNumber<C = DynConnector, M = DefaultMiddleware, R = Standard> { /* fields omitted */ }
Expand description
Fluent builder constructing a request to BatchUpdatePhoneNumber
.
Updates phone number product types or calling names. You can update one attribute at a time for each UpdatePhoneNumberRequestItem
. For example, you can update the product type or the calling name.
For toll-free numbers, you cannot use the Amazon Chime Business Calling product type. For numbers outside the U.S., you must use the Amazon Chime SIP Media Application Dial-In product type.
Updates to outbound calling names can take up to 72 hours to complete. Pending updates to outbound calling names must be complete before you can request another update.
Implementations
impl<C, M, R> BatchUpdatePhoneNumber<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> BatchUpdatePhoneNumber<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(
self
) -> Result<BatchUpdatePhoneNumberOutput, SdkError<BatchUpdatePhoneNumberError>> where
R::Policy: SmithyRetryPolicy<BatchUpdatePhoneNumberInputOperationOutputAlias, BatchUpdatePhoneNumberOutput, BatchUpdatePhoneNumberError, BatchUpdatePhoneNumberInputOperationRetryAlias>,
pub async fn send(
self
) -> Result<BatchUpdatePhoneNumberOutput, SdkError<BatchUpdatePhoneNumberError>> where
R::Policy: SmithyRetryPolicy<BatchUpdatePhoneNumberInputOperationOutputAlias, BatchUpdatePhoneNumberOutput, BatchUpdatePhoneNumberError, BatchUpdatePhoneNumberInputOperationRetryAlias>,
Sends the request and returns the response.
If an error occurs, an SdkError
will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
pub fn update_phone_number_request_items(
self,
inp: impl Into<UpdatePhoneNumberRequestItem>
) -> Self
pub fn update_phone_number_request_items(
self,
inp: impl Into<UpdatePhoneNumberRequestItem>
) -> Self
Appends an item to UpdatePhoneNumberRequestItems
.
To override the contents of this collection use set_update_phone_number_request_items
.
The request containing the phone number IDs and product types or calling names to update.
pub fn set_update_phone_number_request_items(
self,
input: Option<Vec<UpdatePhoneNumberRequestItem>>
) -> Self
pub fn set_update_phone_number_request_items(
self,
input: Option<Vec<UpdatePhoneNumberRequestItem>>
) -> Self
The request containing the phone number IDs and product types or calling names to update.
Trait Implementations
Auto Trait Implementations
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !RefUnwindSafe for BatchUpdatePhoneNumber<C, M, R>
impl<C, M, R> Send for BatchUpdatePhoneNumber<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Sync for BatchUpdatePhoneNumber<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Unpin for BatchUpdatePhoneNumber<C, M, R>
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !UnwindSafe for BatchUpdatePhoneNumber<C, M, R>
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more