Struct aws_sdk_cloudformation::client::fluent_builders::ListStacks
source · [−]pub struct ListStacks { /* private fields */ }Expand description
Fluent builder constructing a request to ListStacks.
Returns the summary information for stacks whose status matches the specified StackStatusFilter. Summary information for stacks that have been deleted is kept for 90 days after the stack is deleted. If no StackStatusFilter is specified, summary information for all stacks is returned (including existing stacks and stacks that have been deleted).
Implementations
sourceimpl ListStacks
impl ListStacks
sourcepub async fn customize(
self
) -> Result<CustomizableOperation<ListStacks, AwsResponseRetryClassifier>, SdkError<ListStacksError>>
pub async fn customize(
self
) -> Result<CustomizableOperation<ListStacks, AwsResponseRetryClassifier>, SdkError<ListStacksError>>
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<ListStacksOutput, SdkError<ListStacksError>>
pub async fn send(self) -> Result<ListStacksOutput, SdkError<ListStacksError>>
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) -> ListStacksPaginator
pub fn into_paginator(self) -> ListStacksPaginator
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
A string that identifies the next page of stacks that you want to retrieve.
sourcepub fn set_next_token(self, input: Option<String>) -> Self
pub fn set_next_token(self, input: Option<String>) -> Self
A string that identifies the next page of stacks that you want to retrieve.
sourcepub fn stack_status_filter(self, input: StackStatus) -> Self
pub fn stack_status_filter(self, input: StackStatus) -> Self
Appends an item to StackStatusFilter.
To override the contents of this collection use set_stack_status_filter.
Stack status to use as a filter. Specify one or more stack status codes to list only stacks with the specified status codes. For a complete list of stack status codes, see the StackStatus parameter of the Stack data type.
sourcepub fn set_stack_status_filter(self, input: Option<Vec<StackStatus>>) -> Self
pub fn set_stack_status_filter(self, input: Option<Vec<StackStatus>>) -> Self
Stack status to use as a filter. Specify one or more stack status codes to list only stacks with the specified status codes. For a complete list of stack status codes, see the StackStatus parameter of the Stack data type.
Trait Implementations
sourceimpl Clone for ListStacks
impl Clone for ListStacks
sourcefn clone(&self) -> ListStacks
fn clone(&self) -> ListStacks
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more