| 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.Route53RecoveryReadiness.ListResourceSets
Description
Lists the resource sets in an account.
This operation returns paginated results.
Synopsis
- data ListResourceSets = ListResourceSets' {}
- newListResourceSets :: ListResourceSets
- listResourceSets_maxResults :: Lens' ListResourceSets (Maybe Natural)
- listResourceSets_nextToken :: Lens' ListResourceSets (Maybe Text)
- data ListResourceSetsResponse = ListResourceSetsResponse' {}
- newListResourceSetsResponse :: Int -> ListResourceSetsResponse
- listResourceSetsResponse_nextToken :: Lens' ListResourceSetsResponse (Maybe Text)
- listResourceSetsResponse_resourceSets :: Lens' ListResourceSetsResponse (Maybe [ResourceSetOutput])
- 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:maxResults:ListResourceSets', listResourceSets_maxResults - The number of objects that you want to return with this call.
ListResourceSets, listResourceSets_nextToken - The token that identifies which batch of results you want to see.
Request Lenses
listResourceSets_maxResults :: Lens' ListResourceSets (Maybe Natural) Source #
The number of objects that you want to return with this call.
listResourceSets_nextToken :: Lens' ListResourceSets (Maybe Text) Source #
The token that identifies which batch of results you want to see.
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:
ListResourceSets, listResourceSetsResponse_nextToken - The token that identifies which batch of results you want to see.
$sel:resourceSets:ListResourceSetsResponse', listResourceSetsResponse_resourceSets - A list of resource sets associated with the account.
$sel:httpStatus:ListResourceSetsResponse', listResourceSetsResponse_httpStatus - The response's http status code.
Response Lenses
listResourceSetsResponse_nextToken :: Lens' ListResourceSetsResponse (Maybe Text) Source #
The token that identifies which batch of results you want to see.
listResourceSetsResponse_resourceSets :: Lens' ListResourceSetsResponse (Maybe [ResourceSetOutput]) Source #
A list of resource sets associated with the account.
listResourceSetsResponse_httpStatus :: Lens' ListResourceSetsResponse Int Source #
The response's http status code.