| 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.ListRecoveryGroups
Description
Returns a collection of Recovery Groups.
This operation returns paginated results.
Synopsis
- data ListRecoveryGroups = ListRecoveryGroups' {}
- newListRecoveryGroups :: ListRecoveryGroups
- listRecoveryGroups_nextToken :: Lens' ListRecoveryGroups (Maybe Text)
- listRecoveryGroups_maxResults :: Lens' ListRecoveryGroups (Maybe Natural)
- data ListRecoveryGroupsResponse = ListRecoveryGroupsResponse' {}
- newListRecoveryGroupsResponse :: Int -> ListRecoveryGroupsResponse
- listRecoveryGroupsResponse_recoveryGroups :: Lens' ListRecoveryGroupsResponse (Maybe [RecoveryGroupOutput])
- listRecoveryGroupsResponse_nextToken :: Lens' ListRecoveryGroupsResponse (Maybe Text)
- listRecoveryGroupsResponse_httpStatus :: Lens' ListRecoveryGroupsResponse Int
Creating a Request
data ListRecoveryGroups Source #
See: newListRecoveryGroups smart constructor.
Constructors
| ListRecoveryGroups' | |
Instances
newListRecoveryGroups :: ListRecoveryGroups Source #
Create a value of ListRecoveryGroups 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:ListRecoveryGroups', listRecoveryGroups_nextToken - A token used to resume pagination from the end of a previous request.
$sel:maxResults:ListRecoveryGroups', listRecoveryGroups_maxResults - Upper bound on number of records to return.
Request Lenses
listRecoveryGroups_nextToken :: Lens' ListRecoveryGroups (Maybe Text) Source #
A token used to resume pagination from the end of a previous request.
listRecoveryGroups_maxResults :: Lens' ListRecoveryGroups (Maybe Natural) Source #
Upper bound on number of records to return.
Destructuring the Response
data ListRecoveryGroupsResponse Source #
See: newListRecoveryGroupsResponse smart constructor.
Constructors
| ListRecoveryGroupsResponse' | |
Fields
| |
Instances
newListRecoveryGroupsResponse Source #
Create a value of ListRecoveryGroupsResponse 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:recoveryGroups:ListRecoveryGroupsResponse', listRecoveryGroupsResponse_recoveryGroups - A list of RecoveryGroups
$sel:nextToken:ListRecoveryGroups', listRecoveryGroupsResponse_nextToken - A token that can be used to resume pagination from the end of the
collection.
$sel:httpStatus:ListRecoveryGroupsResponse', listRecoveryGroupsResponse_httpStatus - The response's http status code.
Response Lenses
listRecoveryGroupsResponse_recoveryGroups :: Lens' ListRecoveryGroupsResponse (Maybe [RecoveryGroupOutput]) Source #
A list of RecoveryGroups
listRecoveryGroupsResponse_nextToken :: Lens' ListRecoveryGroupsResponse (Maybe Text) Source #
A token that can be used to resume pagination from the end of the collection.
listRecoveryGroupsResponse_httpStatus :: Lens' ListRecoveryGroupsResponse Int Source #
The response's http status code.