| 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 |
Amazonka.Route53RecoveryReadiness.ListResourceSets
Description
Returns a collection of Resource Sets.
This operation returns paginated results.
Synopsis
- data ListResourceSets = ListResourceSets' {}
- newListResourceSets :: ListResourceSets
- listResourceSets_nextToken :: Lens' ListResourceSets (Maybe Text)
- listResourceSets_maxResults :: Lens' ListResourceSets (Maybe Natural)
- data ListResourceSetsResponse = ListResourceSetsResponse' {}
- newListResourceSetsResponse :: Int -> ListResourceSetsResponse
- listResourceSetsResponse_resourceSets :: Lens' ListResourceSetsResponse (Maybe [ResourceSetOutput])
- listResourceSetsResponse_nextToken :: Lens' ListResourceSetsResponse (Maybe Text)
- listResourceSetsResponse_httpStatus :: Lens' ListResourceSetsResponse Int
Creating a Request
data ListResourceSets Source #
See: newListResourceSets smart constructor.
Constructors
| ListResourceSets' | |
Instances
newListResourceSets :: ListResourceSets Source #
Create a value of ListResourceSets 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:ListResourceSets', listResourceSets_nextToken - A token used to resume pagination from the end of a previous request.
$sel:maxResults:ListResourceSets', listResourceSets_maxResults - Upper bound on number of records to return.
Request Lenses
listResourceSets_nextToken :: Lens' ListResourceSets (Maybe Text) Source #
A token used to resume pagination from the end of a previous request.
listResourceSets_maxResults :: Lens' ListResourceSets (Maybe Natural) Source #
Upper bound on number of records to return.
Destructuring the Response
data ListResourceSetsResponse Source #
See: newListResourceSetsResponse smart constructor.
Constructors
| ListResourceSetsResponse' | |
Fields
| |
Instances
newListResourceSetsResponse Source #
Create a value of ListResourceSetsResponse 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:resourceSets:ListResourceSetsResponse', listResourceSetsResponse_resourceSets - A list of ResourceSets associated with the account
$sel:nextToken:ListResourceSets', listResourceSetsResponse_nextToken - A token that can be used to resume pagination from the end of the
collection.
$sel:httpStatus:ListResourceSetsResponse', listResourceSetsResponse_httpStatus - The response's http status code.
Response Lenses
listResourceSetsResponse_resourceSets :: Lens' ListResourceSetsResponse (Maybe [ResourceSetOutput]) Source #
A list of ResourceSets associated with the account
listResourceSetsResponse_nextToken :: Lens' ListResourceSetsResponse (Maybe Text) Source #
A token that can be used to resume pagination from the end of the collection.
listResourceSetsResponse_httpStatus :: Lens' ListResourceSetsResponse Int Source #
The response's http status code.