Struct aws_sdk_chime::client::fluent_builders::UpdatePhoneNumber [−][src]
pub struct UpdatePhoneNumber<C = DynConnector, M = DefaultMiddleware, R = Standard> { /* fields omitted */ }
Expand description
Fluent builder constructing a request to UpdatePhoneNumber
.
Updates phone number details, such as product type or calling name, for the specified phone number ID. You can update one phone number detail at a time. For example, you can update either the product type or the calling name in one action.
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 72 hours to complete. Pending updates to outbound calling names must be complete before you can request another update.
Implementations
impl<C, M, R> UpdatePhoneNumber<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> UpdatePhoneNumber<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(
self
) -> Result<UpdatePhoneNumberOutput, SdkError<UpdatePhoneNumberError>> where
R::Policy: SmithyRetryPolicy<UpdatePhoneNumberInputOperationOutputAlias, UpdatePhoneNumberOutput, UpdatePhoneNumberError, UpdatePhoneNumberInputOperationRetryAlias>,
pub async fn send(
self
) -> Result<UpdatePhoneNumberOutput, SdkError<UpdatePhoneNumberError>> where
R::Policy: SmithyRetryPolicy<UpdatePhoneNumberInputOperationOutputAlias, UpdatePhoneNumberOutput, UpdatePhoneNumberError, UpdatePhoneNumberInputOperationRetryAlias>,
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.
The phone number ID.
The phone number ID.
The product type.
The product type.
The outbound calling name associated with the phone number.
The outbound calling name associated with the phone number.
Trait Implementations
Auto Trait Implementations
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !RefUnwindSafe for UpdatePhoneNumber<C, M, R>
impl<C, M, R> Send for UpdatePhoneNumber<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Sync for UpdatePhoneNumber<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Unpin for UpdatePhoneNumber<C, M, R>
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !UnwindSafe for UpdatePhoneNumber<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