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 |
Returns a list of all active backup plans for an authenticated account. The list contains information such as Amazon Resource Names (ARNs), plan IDs, creation and deletion dates, version IDs, plan names, and creator request IDs.
This operation returns paginated results.
Synopsis
- data ListBackupPlans = ListBackupPlans' {}
- newListBackupPlans :: ListBackupPlans
- listBackupPlans_includeDeleted :: Lens' ListBackupPlans (Maybe Bool)
- listBackupPlans_maxResults :: Lens' ListBackupPlans (Maybe Natural)
- listBackupPlans_nextToken :: Lens' ListBackupPlans (Maybe Text)
- data ListBackupPlansResponse = ListBackupPlansResponse' {}
- newListBackupPlansResponse :: Int -> ListBackupPlansResponse
- listBackupPlansResponse_backupPlansList :: Lens' ListBackupPlansResponse (Maybe [BackupPlansListMember])
- listBackupPlansResponse_nextToken :: Lens' ListBackupPlansResponse (Maybe Text)
- listBackupPlansResponse_httpStatus :: Lens' ListBackupPlansResponse Int
Creating a Request
data ListBackupPlans Source #
See: newListBackupPlans
smart constructor.
ListBackupPlans' | |
|
Instances
newListBackupPlans :: ListBackupPlans Source #
Create a value of ListBackupPlans
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:includeDeleted:ListBackupPlans'
, listBackupPlans_includeDeleted
- A Boolean value with a default value of FALSE
that returns deleted
backup plans when set to TRUE
.
$sel:maxResults:ListBackupPlans'
, listBackupPlans_maxResults
- The maximum number of items to be returned.
ListBackupPlans
, listBackupPlans_nextToken
- The next item following a partial list of returned items. For example,
if a request is made to return maxResults
number of items, NextToken
allows you to return more items in your list starting at the location
pointed to by the next token.
Request Lenses
listBackupPlans_includeDeleted :: Lens' ListBackupPlans (Maybe Bool) Source #
A Boolean value with a default value of FALSE
that returns deleted
backup plans when set to TRUE
.
listBackupPlans_maxResults :: Lens' ListBackupPlans (Maybe Natural) Source #
The maximum number of items to be returned.
listBackupPlans_nextToken :: Lens' ListBackupPlans (Maybe Text) Source #
The next item following a partial list of returned items. For example,
if a request is made to return maxResults
number of items, NextToken
allows you to return more items in your list starting at the location
pointed to by the next token.
Destructuring the Response
data ListBackupPlansResponse Source #
See: newListBackupPlansResponse
smart constructor.
ListBackupPlansResponse' | |
|
Instances
newListBackupPlansResponse Source #
Create a value of ListBackupPlansResponse
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:backupPlansList:ListBackupPlansResponse'
, listBackupPlansResponse_backupPlansList
- An array of backup plan list items containing metadata about your saved
backup plans.
ListBackupPlans
, listBackupPlansResponse_nextToken
- The next item following a partial list of returned items. For example,
if a request is made to return maxResults
number of items, NextToken
allows you to return more items in your list starting at the location
pointed to by the next token.
$sel:httpStatus:ListBackupPlansResponse'
, listBackupPlansResponse_httpStatus
- The response's http status code.
Response Lenses
listBackupPlansResponse_backupPlansList :: Lens' ListBackupPlansResponse (Maybe [BackupPlansListMember]) Source #
An array of backup plan list items containing metadata about your saved backup plans.
listBackupPlansResponse_nextToken :: Lens' ListBackupPlansResponse (Maybe Text) Source #
The next item following a partial list of returned items. For example,
if a request is made to return maxResults
number of items, NextToken
allows you to return more items in your list starting at the location
pointed to by the next token.
listBackupPlansResponse_httpStatus :: Lens' ListBackupPlansResponse Int Source #
The response's http status code.