Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Lists details about the replication set configured in your account.
This operation returns paginated results.
Synopsis
- data ListReplicationSets = ListReplicationSets' {}
- newListReplicationSets :: ListReplicationSets
- listReplicationSets_nextToken :: Lens' ListReplicationSets (Maybe Text)
- listReplicationSets_maxResults :: Lens' ListReplicationSets (Maybe Natural)
- 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.
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:nextToken:ListReplicationSets'
, listReplicationSets_nextToken
- The pagination token to continue to the next page of results.
$sel:maxResults:ListReplicationSets'
, listReplicationSets_maxResults
- The maximum number of results per page.
Request Lenses
listReplicationSets_nextToken :: Lens' ListReplicationSets (Maybe Text) Source #
The pagination token to continue to the next page of results.
listReplicationSets_maxResults :: Lens' ListReplicationSets (Maybe Natural) Source #
The maximum number of results per page.
Destructuring the Response
data ListReplicationSetsResponse Source #
See: newListReplicationSetsResponse
smart constructor.
ListReplicationSetsResponse' | |
|
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:
$sel:nextToken: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.