pub struct ListDeadLetterSourceQueues { /* private fields */ }
Expand description
Fluent builder constructing a request to ListDeadLetterSourceQueues
.
Returns a list of your queues that have the RedrivePolicy
queue attribute configured with a dead-letter queue.
The ListDeadLetterSourceQueues
methods supports pagination. Set parameter MaxResults
in the request to specify the maximum number of results to be returned in the response. If you do not set MaxResults
, the response includes a maximum of 1,000 results. If you set MaxResults
and there are additional results to display, the response includes a value for NextToken
. Use NextToken
as a parameter in your next request to ListDeadLetterSourceQueues
to receive the next page of results.
For more information about using dead-letter queues, see Using Amazon SQS Dead-Letter Queues in the Amazon SQS Developer Guide.
Implementations§
source§impl ListDeadLetterSourceQueues
impl ListDeadLetterSourceQueues
sourcepub async fn customize(
self
) -> Result<CustomizableOperation<ListDeadLetterSourceQueues, AwsResponseRetryClassifier>, SdkError<ListDeadLetterSourceQueuesError>>
pub async fn customize(
self
) -> Result<CustomizableOperation<ListDeadLetterSourceQueues, AwsResponseRetryClassifier>, SdkError<ListDeadLetterSourceQueuesError>>
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<ListDeadLetterSourceQueuesOutput, SdkError<ListDeadLetterSourceQueuesError>>
pub async fn send(
self
) -> Result<ListDeadLetterSourceQueuesOutput, SdkError<ListDeadLetterSourceQueuesError>>
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) -> ListDeadLetterSourceQueuesPaginator
pub fn into_paginator(self) -> ListDeadLetterSourceQueuesPaginator
Create a paginator for this request
Paginators are used by calling send().await
which returns a Stream
.
sourcepub fn queue_url(self, input: impl Into<String>) -> Self
pub fn queue_url(self, input: impl Into<String>) -> Self
The URL of a dead-letter queue.
Queue URLs and names are case-sensitive.
sourcepub fn set_queue_url(self, input: Option<String>) -> Self
pub fn set_queue_url(self, input: Option<String>) -> Self
The URL of a dead-letter queue.
Queue URLs and names are case-sensitive.
sourcepub fn next_token(self, input: impl Into<String>) -> Self
pub fn next_token(self, input: impl Into<String>) -> Self
Pagination token to request the next set of results.
sourcepub fn set_next_token(self, input: Option<String>) -> Self
pub fn set_next_token(self, input: Option<String>) -> Self
Pagination token to request the next set of results.
sourcepub fn max_results(self, input: i32) -> Self
pub fn max_results(self, input: i32) -> Self
Maximum number of results to include in the response. Value range is 1 to 1000. You must set MaxResults
to receive a value for NextToken
in the response.
sourcepub fn set_max_results(self, input: Option<i32>) -> Self
pub fn set_max_results(self, input: Option<i32>) -> Self
Maximum number of results to include in the response. Value range is 1 to 1000. You must set MaxResults
to receive a value for NextToken
in the response.
Trait Implementations§
source§impl Clone for ListDeadLetterSourceQueues
impl Clone for ListDeadLetterSourceQueues
source§fn clone(&self) -> ListDeadLetterSourceQueues
fn clone(&self) -> ListDeadLetterSourceQueues
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more