| 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.SSMIncidents.ListReplicationSets
Description
Lists details about the replication set configured in your account.
This operation returns paginated results.
Synopsis
- data ListReplicationSets = ListReplicationSets' {}
- newListReplicationSets :: ListReplicationSets
- listReplicationSets_maxResults :: Lens' ListReplicationSets (Maybe Natural)
- listReplicationSets_nextToken :: Lens' ListReplicationSets (Maybe Text)
- data ListReplicationSetsResponse = ListReplicationSetsResponse' {
- nextToken :: Maybe Text
- httpStatus :: Int
- replicationSetArns :: [Text]
- newListReplicationSetsResponse :: Int -> ListReplicationSetsResponse
- listReplicationSetsResponse_nextToken :: Lens' ListReplicationSetsResponse (Maybe Text)
- listReplicationSetsResponse_httpStatus :: Lens' ListReplicationSetsResponse Int
- listReplicationSetsResponse_replicationSetArns :: Lens' ListReplicationSetsResponse [Text]
Creating a Request
data ListReplicationSets Source #
See: newListReplicationSets smart constructor.
Constructors
| ListReplicationSets' | |
Instances
newListReplicationSets :: ListReplicationSets Source #
Create a value of ListReplicationSets 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:maxResults:ListReplicationSets', listReplicationSets_maxResults - The maximum number of results per page.
ListReplicationSets, listReplicationSets_nextToken - The pagination token to continue to the next page of results.
Request Lenses
listReplicationSets_maxResults :: Lens' ListReplicationSets (Maybe Natural) Source #
The maximum number of results per page.
listReplicationSets_nextToken :: Lens' ListReplicationSets (Maybe Text) Source #
The pagination token to continue to the next page of results.
Destructuring the Response
data ListReplicationSetsResponse Source #
See: newListReplicationSetsResponse smart constructor.
Constructors
| ListReplicationSetsResponse' | |
Fields
| |
Instances
newListReplicationSetsResponse Source #
Create a value of ListReplicationSetsResponse 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:
ListReplicationSets, listReplicationSetsResponse_nextToken - The pagination token to continue to the next page of results.
$sel:httpStatus:ListReplicationSetsResponse', listReplicationSetsResponse_httpStatus - The response's http status code.
$sel:replicationSetArns:ListReplicationSetsResponse', listReplicationSetsResponse_replicationSetArns - The Amazon Resource Name (ARN) of the list replication set.
Response Lenses
listReplicationSetsResponse_nextToken :: Lens' ListReplicationSetsResponse (Maybe Text) Source #
The pagination token to continue to the next page of results.
listReplicationSetsResponse_httpStatus :: Lens' ListReplicationSetsResponse Int Source #
The response's http status code.
listReplicationSetsResponse_replicationSetArns :: Lens' ListReplicationSetsResponse [Text] Source #
The Amazon Resource Name (ARN) of the list replication set.