Struct aws_sdk_connect::client::fluent_builders::ListPhoneNumbers [−][src]
pub struct ListPhoneNumbers<C = DynConnector, M = AwsMiddleware, R = Standard> { /* fields omitted */ }
Expand description
Fluent builder constructing a request to ListPhoneNumbers
.
Provides information about the phone numbers for the specified Amazon Connect instance.
For more information about phone numbers, see Set Up Phone Numbers for Your Contact Center in the Amazon Connect Administrator Guide.
Implementations
impl<C, M, R> ListPhoneNumbers<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> ListPhoneNumbers<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(
self
) -> Result<ListPhoneNumbersOutput, SdkError<ListPhoneNumbersError>> where
R::Policy: SmithyRetryPolicy<ListPhoneNumbersInputOperationOutputAlias, ListPhoneNumbersOutput, ListPhoneNumbersError, ListPhoneNumbersInputOperationRetryAlias>,
pub async fn send(
self
) -> Result<ListPhoneNumbersOutput, SdkError<ListPhoneNumbersError>> where
R::Policy: SmithyRetryPolicy<ListPhoneNumbersInputOperationOutputAlias, ListPhoneNumbersOutput, ListPhoneNumbersError, ListPhoneNumbersInputOperationRetryAlias>,
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 identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.
The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.
Appends an item to PhoneNumberTypes
.
To override the contents of this collection use set_phone_number_types
.
The type of phone number.
The type of phone number.
Appends an item to PhoneNumberCountryCodes
.
To override the contents of this collection use set_phone_number_country_codes
.
The ISO country code.
pub fn set_phone_number_country_codes(
self,
input: Option<Vec<PhoneNumberCountryCode>>
) -> Self
pub fn set_phone_number_country_codes(
self,
input: Option<Vec<PhoneNumberCountryCode>>
) -> Self
The ISO country code.
The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.
The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.
The maximum number of results to return per page.
The maximum number of results to return per page.
Trait Implementations
Auto Trait Implementations
impl<C = DynConnector, M = AwsMiddleware, R = Standard> !RefUnwindSafe for ListPhoneNumbers<C, M, R>
impl<C, M, R> Send for ListPhoneNumbers<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Sync for ListPhoneNumbers<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Unpin for ListPhoneNumbers<C, M, R>
impl<C = DynConnector, M = AwsMiddleware, R = Standard> !UnwindSafe for ListPhoneNumbers<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