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 |
Returns the ID and status of each active change set for a stack. For
example, CloudFormation lists change sets that are in the
CREATE_IN_PROGRESS
or CREATE_PENDING
state.
This operation returns paginated results.
Synopsis
- data ListChangeSets = ListChangeSets' {}
- newListChangeSets :: Text -> ListChangeSets
- listChangeSets_nextToken :: Lens' ListChangeSets (Maybe Text)
- listChangeSets_stackName :: Lens' ListChangeSets Text
- data ListChangeSetsResponse = ListChangeSetsResponse' {
- nextToken :: Maybe Text
- summaries :: Maybe [ChangeSetSummary]
- httpStatus :: Int
- newListChangeSetsResponse :: Int -> ListChangeSetsResponse
- listChangeSetsResponse_nextToken :: Lens' ListChangeSetsResponse (Maybe Text)
- listChangeSetsResponse_summaries :: Lens' ListChangeSetsResponse (Maybe [ChangeSetSummary])
- listChangeSetsResponse_httpStatus :: Lens' ListChangeSetsResponse Int
Creating a Request
data ListChangeSets Source #
The input for the ListChangeSets action.
See: newListChangeSets
smart constructor.
Instances
Create a value of ListChangeSets
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:
ListChangeSets
, listChangeSets_nextToken
- A string (provided by the ListChangeSets response output) that
identifies the next page of change sets that you want to retrieve.
ListChangeSets
, listChangeSets_stackName
- The name or the Amazon Resource Name (ARN) of the stack for which you
want to list change sets.
Request Lenses
listChangeSets_nextToken :: Lens' ListChangeSets (Maybe Text) Source #
A string (provided by the ListChangeSets response output) that identifies the next page of change sets that you want to retrieve.
listChangeSets_stackName :: Lens' ListChangeSets Text Source #
The name or the Amazon Resource Name (ARN) of the stack for which you want to list change sets.
Destructuring the Response
data ListChangeSetsResponse Source #
The output for the ListChangeSets action.
See: newListChangeSetsResponse
smart constructor.
ListChangeSetsResponse' | |
|
Instances
newListChangeSetsResponse Source #
Create a value of ListChangeSetsResponse
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:
ListChangeSets
, listChangeSetsResponse_nextToken
- If the output exceeds 1 MB, a string that identifies the next page of
change sets. If there is no additional page, this value is null
.
$sel:summaries:ListChangeSetsResponse'
, listChangeSetsResponse_summaries
- A list of ChangeSetSummary
structures that provides the ID and status
of each change set for the specified stack.
$sel:httpStatus:ListChangeSetsResponse'
, listChangeSetsResponse_httpStatus
- The response's http status code.
Response Lenses
listChangeSetsResponse_nextToken :: Lens' ListChangeSetsResponse (Maybe Text) Source #
If the output exceeds 1 MB, a string that identifies the next page of
change sets. If there is no additional page, this value is null
.
listChangeSetsResponse_summaries :: Lens' ListChangeSetsResponse (Maybe [ChangeSetSummary]) Source #
A list of ChangeSetSummary
structures that provides the ID and status
of each change set for the specified stack.
listChangeSetsResponse_httpStatus :: Lens' ListChangeSetsResponse Int Source #
The response's http status code.