| 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.ListRecoveryGroups
Description
Lists the recovery groups in an account.
This operation returns paginated results.
Synopsis
- data ListRecoveryGroups = ListRecoveryGroups' {}
- newListRecoveryGroups :: ListRecoveryGroups
- listRecoveryGroups_maxResults :: Lens' ListRecoveryGroups (Maybe Natural)
- listRecoveryGroups_nextToken :: Lens' ListRecoveryGroups (Maybe Text)
- data ListRecoveryGroupsResponse = ListRecoveryGroupsResponse' {}
- newListRecoveryGroupsResponse :: Int -> ListRecoveryGroupsResponse
- listRecoveryGroupsResponse_nextToken :: Lens' ListRecoveryGroupsResponse (Maybe Text)
- listRecoveryGroupsResponse_recoveryGroups :: Lens' ListRecoveryGroupsResponse (Maybe [RecoveryGroupOutput])
- 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:maxResults:ListRecoveryGroups', listRecoveryGroups_maxResults - The number of objects that you want to return with this call.
ListRecoveryGroups, listRecoveryGroups_nextToken - The token that identifies which batch of results you want to see.
Request Lenses
listRecoveryGroups_maxResults :: Lens' ListRecoveryGroups (Maybe Natural) Source #
The number of objects that you want to return with this call.
listRecoveryGroups_nextToken :: Lens' ListRecoveryGroups (Maybe Text) Source #
The token that identifies which batch of results you want to see.
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:
ListRecoveryGroups, listRecoveryGroupsResponse_nextToken - The token that identifies which batch of results you want to see.
$sel:recoveryGroups:ListRecoveryGroupsResponse', listRecoveryGroupsResponse_recoveryGroups - A list of recovery groups.
$sel:httpStatus:ListRecoveryGroupsResponse', listRecoveryGroupsResponse_httpStatus - The response's http status code.
Response Lenses
listRecoveryGroupsResponse_nextToken :: Lens' ListRecoveryGroupsResponse (Maybe Text) Source #
The token that identifies which batch of results you want to see.
listRecoveryGroupsResponse_recoveryGroups :: Lens' ListRecoveryGroupsResponse (Maybe [RecoveryGroupOutput]) Source #
A list of recovery groups.
listRecoveryGroupsResponse_httpStatus :: Lens' ListRecoveryGroupsResponse Int Source #
The response's http status code.