| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.CloudFormation.ListStackSets
Description
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.
This operation returns paginated results.
Synopsis
- data ListStackSets = ListStackSets' {}
- newListStackSets :: ListStackSets
- listStackSets_callAs :: Lens' ListStackSets (Maybe CallAs)
- listStackSets_maxResults :: Lens' ListStackSets (Maybe Natural)
- listStackSets_nextToken :: Lens' ListStackSets (Maybe Text)
- listStackSets_status :: Lens' ListStackSets (Maybe StackSetStatus)
- data ListStackSetsResponse = ListStackSetsResponse' {
- nextToken :: Maybe Text
- summaries :: Maybe [StackSetSummary]
- httpStatus :: Int
- newListStackSetsResponse :: Int -> ListStackSetsResponse
- listStackSetsResponse_nextToken :: Lens' ListStackSetsResponse (Maybe Text)
- listStackSetsResponse_summaries :: Lens' ListStackSetsResponse (Maybe [StackSetSummary])
- listStackSetsResponse_httpStatus :: Lens' ListStackSetsResponse Int
Creating a Request
data ListStackSets Source #
See: newListStackSets smart constructor.
Constructors
| ListStackSets' | |
Fields
| |
Instances
newListStackSets :: ListStackSets Source #
Create a value of ListStackSets with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:callAs:ListStackSets', listStackSets_callAs - [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.
$sel:maxResults:ListStackSets', listStackSets_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.
ListStackSets, listStackSets_nextToken - 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.
ListStackSets, listStackSets_status - The status of the stack sets that you want to get summary information
about.
Request Lenses
listStackSets_callAs :: Lens' ListStackSets (Maybe CallAs) Source #
- 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.
listStackSets_maxResults :: Lens' ListStackSets (Maybe Natural) Source #
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.
listStackSets_nextToken :: Lens' ListStackSets (Maybe Text) Source #
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.
listStackSets_status :: Lens' ListStackSets (Maybe StackSetStatus) Source #
The status of the stack sets that you want to get summary information about.
Destructuring the Response
data ListStackSetsResponse Source #
See: newListStackSetsResponse smart constructor.
Constructors
| ListStackSetsResponse' | |
Fields
| |
Instances
newListStackSetsResponse Source #
Create a value of ListStackSetsResponse with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
ListStackSets, listStackSetsResponse_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.
$sel:summaries:ListStackSetsResponse', listStackSetsResponse_summaries - A list of StackSetSummary structures that contain information about
the user's stack sets.
$sel:httpStatus:ListStackSetsResponse', listStackSetsResponse_httpStatus - The response's http status code.
Response Lenses
listStackSetsResponse_nextToken :: Lens' ListStackSetsResponse (Maybe Text) Source #
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.
listStackSetsResponse_summaries :: Lens' ListStackSetsResponse (Maybe [StackSetSummary]) Source #
A list of StackSetSummary structures that contain information about
the user's stack sets.
listStackSetsResponse_httpStatus :: Lens' ListStackSetsResponse Int Source #
The response's http status code.