pub struct ListStackSets { /* private fields */ }Expand description
Fluent builder constructing a request to ListStackSets.
Returns summary information about stack sets that are associated with the user.
-
[Self-managed permissions] If you set the
CallAsparameter toSELFwhile signed in to your Amazon Web Services account,ListStackSetsreturns all self-managed stack sets in your Amazon Web Services account. -
[Service-managed permissions] If you set the
CallAsparameter toSELFwhile signed in to the organization's management account,ListStackSetsreturns all stack sets in the management account. -
[Service-managed permissions] If you set the
CallAsparameter toDELEGATED_ADMINwhile signed in to your member account,ListStackSetsreturns all stack sets with service-managed permissions in the management account.
Implementations
sourceimpl ListStackSets
impl ListStackSets
sourcepub async fn customize(
self
) -> Result<CustomizableOperation<ListStackSets, AwsResponseRetryClassifier>, SdkError<ListStackSetsError>>
pub async fn customize(
self
) -> Result<CustomizableOperation<ListStackSets, AwsResponseRetryClassifier>, SdkError<ListStackSetsError>>
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<ListStackSetsOutput, SdkError<ListStackSetsError>>
pub async fn send(
self
) -> Result<ListStackSetsOutput, SdkError<ListStackSetsError>>
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) -> ListStackSetsPaginator
pub fn into_paginator(self) -> ListStackSetsPaginator
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
If the previous paginated request didn't return all the remaining results, the response object's NextToken parameter value is set to a token. To retrieve the next set of results, call ListStackSets again and assign that token to the request object's NextToken parameter. If there are no remaining results, the previous response object's NextToken parameter is set to null.
sourcepub fn set_next_token(self, input: Option<String>) -> Self
pub fn set_next_token(self, input: Option<String>) -> Self
If the previous paginated request didn't return all the remaining results, the response object's NextToken parameter value is set to a token. To retrieve the next set of results, call ListStackSets again and assign that token to the request object's NextToken parameter. If there are no remaining results, the previous response object's NextToken parameter is set to null.
sourcepub fn max_results(self, input: i32) -> Self
pub fn max_results(self, input: i32) -> Self
The maximum number of results to be returned with a single call. If the number of available results exceeds this maximum, the response includes a NextToken value that you can assign to the NextToken request parameter to get the next set of results.
sourcepub fn set_max_results(self, input: Option<i32>) -> Self
pub fn set_max_results(self, input: Option<i32>) -> Self
The maximum number of results to be returned with a single call. If the number of available results exceeds this maximum, the response includes a NextToken value that you can assign to the NextToken request parameter to get the next set of results.
sourcepub fn status(self, input: StackSetStatus) -> Self
pub fn status(self, input: StackSetStatus) -> Self
The status of the stack sets that you want to get summary information about.
sourcepub fn set_status(self, input: Option<StackSetStatus>) -> Self
pub fn set_status(self, input: Option<StackSetStatus>) -> Self
The status of the stack sets that you want to get summary information about.
sourcepub fn call_as(self, input: CallAs) -> Self
pub fn call_as(self, input: CallAs) -> Self
[Service-managed permissions] Specifies whether you are acting as an account administrator in the management account or as a delegated administrator in a member account.
By default, SELF is specified. Use SELF for stack sets with self-managed permissions.
-
If you are signed in to the management account, specify
SELF. -
If you are signed in to a delegated administrator account, specify
DELEGATED_ADMIN.Your Amazon Web Services account must be registered as a delegated administrator in the management account. For more information, see Register a delegated administrator in the CloudFormation User Guide.
sourcepub fn set_call_as(self, input: Option<CallAs>) -> Self
pub fn set_call_as(self, input: Option<CallAs>) -> Self
[Service-managed permissions] Specifies whether you are acting as an account administrator in the management account or as a delegated administrator in a member account.
By default, SELF is specified. Use SELF for stack sets with self-managed permissions.
-
If you are signed in to the management account, specify
SELF. -
If you are signed in to a delegated administrator account, specify
DELEGATED_ADMIN.Your Amazon Web Services account must be registered as a delegated administrator in the management account. For more information, see Register a delegated administrator in the CloudFormation User Guide.
Trait Implementations
sourceimpl Clone for ListStackSets
impl Clone for ListStackSets
sourcefn clone(&self) -> ListStackSets
fn clone(&self) -> ListStackSets
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more