Struct aws_sdk_chime::client::fluent_builders::CreatePhoneNumberOrder [−][src]
pub struct CreatePhoneNumberOrder<C = DynConnector, M = DefaultMiddleware, R = Standard> { /* fields omitted */ }
Expand description
Fluent builder constructing a request to CreatePhoneNumberOrder
.
Creates an order for phone numbers to be provisioned. 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.
Implementations
impl<C, M, R> CreatePhoneNumberOrder<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> CreatePhoneNumberOrder<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(
self
) -> Result<CreatePhoneNumberOrderOutput, SdkError<CreatePhoneNumberOrderError>> where
R::Policy: SmithyRetryPolicy<CreatePhoneNumberOrderInputOperationOutputAlias, CreatePhoneNumberOrderOutput, CreatePhoneNumberOrderError, CreatePhoneNumberOrderInputOperationRetryAlias>,
pub async fn send(
self
) -> Result<CreatePhoneNumberOrderOutput, SdkError<CreatePhoneNumberOrderError>> where
R::Policy: SmithyRetryPolicy<CreatePhoneNumberOrderInputOperationOutputAlias, CreatePhoneNumberOrderOutput, CreatePhoneNumberOrderError, CreatePhoneNumberOrderInputOperationRetryAlias>,
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 product type.
The phone number product type.
Appends an item to E164PhoneNumbers
.
To override the contents of this collection use set_e164_phone_numbers
.
List of phone numbers, in E.164 format.
List of phone numbers, in E.164 format.
Trait Implementations
Auto Trait Implementations
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !RefUnwindSafe for CreatePhoneNumberOrder<C, M, R>
impl<C, M, R> Send for CreatePhoneNumberOrder<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Sync for CreatePhoneNumberOrder<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Unpin for CreatePhoneNumberOrder<C, M, R>
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !UnwindSafe for CreatePhoneNumberOrder<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