pub struct ListSMSSandboxPhoneNumbers { /* private fields */ }
Expand description
Fluent builder constructing a request to ListSMSSandboxPhoneNumbers
.
Lists the calling Amazon Web Services account's current verified and pending destination phone numbers in the SMS sandbox.
When you start using Amazon SNS to send SMS messages, your Amazon Web Services account is in the SMS sandbox. The SMS sandbox provides a safe environment for you to try Amazon SNS features without risking your reputation as an SMS sender. While your Amazon Web Services account is in the SMS sandbox, you can use all of the features of Amazon SNS. However, you can send SMS messages only to verified destination phone numbers. For more information, including how to move out of the sandbox to send messages without restrictions, see SMS sandbox in the Amazon SNS Developer Guide.
Implementations§
source§impl ListSMSSandboxPhoneNumbers
impl ListSMSSandboxPhoneNumbers
sourcepub async fn customize(
self
) -> Result<CustomizableOperation<ListSMSSandboxPhoneNumbers, AwsResponseRetryClassifier>, SdkError<ListSMSSandboxPhoneNumbersError>>
pub async fn customize(
self
) -> Result<CustomizableOperation<ListSMSSandboxPhoneNumbers, AwsResponseRetryClassifier>, SdkError<ListSMSSandboxPhoneNumbersError>>
Consume this builder, creating a customizable operation that can be modified before being sent. The operation’s inner http::Request can be modified as well.
sourcepub async fn send(
self
) -> Result<ListSmsSandboxPhoneNumbersOutput, SdkError<ListSMSSandboxPhoneNumbersError>>
pub async fn send(
self
) -> Result<ListSmsSandboxPhoneNumbersOutput, SdkError<ListSMSSandboxPhoneNumbersError>>
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.
sourcepub fn into_paginator(self) -> ListSmsSandboxPhoneNumbersPaginator
pub fn into_paginator(self) -> ListSmsSandboxPhoneNumbersPaginator
Create a paginator for this request
Paginators are used by calling send().await
which returns a Stream
.
sourcepub fn next_token(self, input: impl Into<String>) -> Self
pub fn next_token(self, input: impl Into<String>) -> Self
Token that the previous ListSMSSandboxPhoneNumbersInput
request returns.
sourcepub fn set_next_token(self, input: Option<String>) -> Self
pub fn set_next_token(self, input: Option<String>) -> Self
Token that the previous ListSMSSandboxPhoneNumbersInput
request returns.
sourcepub fn max_results(self, input: i32) -> Self
pub fn max_results(self, input: i32) -> Self
The maximum number of phone numbers to return.
sourcepub fn set_max_results(self, input: Option<i32>) -> Self
pub fn set_max_results(self, input: Option<i32>) -> Self
The maximum number of phone numbers to return.
Trait Implementations§
source§impl Clone for ListSMSSandboxPhoneNumbers
impl Clone for ListSMSSandboxPhoneNumbers
source§fn clone(&self) -> ListSMSSandboxPhoneNumbers
fn clone(&self) -> ListSMSSandboxPhoneNumbers
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more