Menu
AWS CloudFormation
API Reference (API Version 2010-05-15)

ListStackSets

Returns summary information about stack sets that are associated with the user.

Request Parameters

For information about the parameters that are common to all actions, see Common Parameters.

MaxResults

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.

Type: Integer

Valid Range: Minimum value of 1. Maximum value of 100.

Required: No

NextToken

If the previous paginated request didn't return all of 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.

Type: String

Length Constraints: Minimum length of 1. Maximum length of 1024.

Required: No

Status

The status of the stack sets that you want to get summary information about.

Type: String

Valid Values: ACTIVE | DELETED

Required: No

Response Elements

The following elements are returned by the service.

NextToken

If the request doesn't return all of the remaining results, NextToken is set to a token. To retrieve the next set of results, call ListStackInstances again and assign that token to the request object's NextToken parameter. If the request returns all results, NextToken is set to null.

Type: String

Length Constraints: Minimum length of 1. Maximum length of 1024.

Summaries.member.N

A list of StackSetSummary structures that contain information about the user's stack sets.

Type: Array of StackSetSummary objects

Errors

For information about the errors that are common to all actions, see Common Errors.

Example

ListStackSets

Sample Request

Copy
https://cloudformation.us-east-1.amazonaws.com/ ?Action=ListStackSets &Status=ACTIVE &Version=2010-05-15 &X-Amz-Algorithm=AWS4-HMAC-SHA256 &X-Amz-Credential=[Access key ID and scope] &X-Amz-Date=20170810T233349Z &X-Amz-SignedHeaders=content-type;host &X-Amz-Signature=[Signature]

Sample Response

Copy
<ListStackSetsResponse xmlns="http://internal.amazon.com/coral/com.amazonaws.maestro.service.v20160713/"> <ListStackSetsResult> <Summaries> <member> <StackSetName>stack-set-example-one</StackSetName> <Description>Description of the stack set</Description> <StackSetId>stack-set-example-one:c14cd6d1-cd17-40bd-82ed-ff97example</StackSetId> <Status>ACTIVE</Status> </member> <member> <StackSetName>stack-set-example-two</StackSetName> <StackSetId>stack-set-example-two:22f04391-472b-4e36-b11a-727example</StackSetId> <Status>ACTIVE</Status> </member> </Summaries> </ListStackSetsResult> <ResponseMetadata> <RequestId>35ec5187-794a-11e7-8c45-3f18example</RequestId> </ResponseMetadata> </ListStackSetsResponse>

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following: