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 |
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.
Synopsis
- data ListBackupPlans = ListBackupPlans' {}
- newListBackupPlans :: ListBackupPlans
- listBackupPlans_nextToken :: Lens' ListBackupPlans (Maybe Text)
- listBackupPlans_maxResults :: Lens' ListBackupPlans (Maybe Natural)
- listBackupPlans_includeDeleted :: Lens' ListBackupPlans (Maybe Bool)
- data ListBackupPlansResponse = ListBackupPlansResponse' {}
- newListBackupPlansResponse :: Int -> ListBackupPlansResponse
- listBackupPlansResponse_nextToken :: Lens' ListBackupPlansResponse (Maybe Text)
- listBackupPlansResponse_backupPlansList :: Lens' ListBackupPlansResponse (Maybe [BackupPlansListMember])
- 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:nextToken: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.
$sel:maxResults:ListBackupPlans'
, listBackupPlans_maxResults
- The maximum number of items to be returned.
$sel:includeDeleted:ListBackupPlans'
, listBackupPlans_includeDeleted
- A Boolean value with a default value of FALSE
that returns deleted
backup plans when set to TRUE
.
Request Lenses
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.
listBackupPlans_maxResults :: Lens' ListBackupPlans (Maybe Natural) Source #
The maximum number of items to be returned.
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
.
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:nextToken: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:backupPlansList:ListBackupPlansResponse'
, listBackupPlansResponse_backupPlansList
- An array of backup plan list items containing metadata about your saved
backup plans.
$sel:httpStatus:ListBackupPlansResponse'
, listBackupPlansResponse_httpStatus
- The response's http status code.
Response Lenses
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_backupPlansList :: Lens' ListBackupPlansResponse (Maybe [BackupPlansListMember]) Source #
An array of backup plan list items containing metadata about your saved backup plans.
listBackupPlansResponse_httpStatus :: Lens' ListBackupPlansResponse Int Source #
The response's http status code.