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 recovery point storage containers along with information about them.
This operation returns paginated results.
Synopsis
- data ListBackupVaults = ListBackupVaults' {}
- newListBackupVaults :: ListBackupVaults
- listBackupVaults_maxResults :: Lens' ListBackupVaults (Maybe Natural)
- listBackupVaults_nextToken :: Lens' ListBackupVaults (Maybe Text)
- data ListBackupVaultsResponse = ListBackupVaultsResponse' {}
- newListBackupVaultsResponse :: Int -> ListBackupVaultsResponse
- listBackupVaultsResponse_backupVaultList :: Lens' ListBackupVaultsResponse (Maybe [BackupVaultListMember])
- listBackupVaultsResponse_nextToken :: Lens' ListBackupVaultsResponse (Maybe Text)
- listBackupVaultsResponse_httpStatus :: Lens' ListBackupVaultsResponse Int
Creating a Request
data ListBackupVaults Source #
See: newListBackupVaults
smart constructor.
ListBackupVaults' | |
|
Instances
newListBackupVaults :: ListBackupVaults Source #
Create a value of ListBackupVaults
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:ListBackupVaults'
, listBackupVaults_maxResults
- The maximum number of items to be returned.
ListBackupVaults
, listBackupVaults_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
listBackupVaults_maxResults :: Lens' ListBackupVaults (Maybe Natural) Source #
The maximum number of items to be returned.
listBackupVaults_nextToken :: Lens' ListBackupVaults (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 ListBackupVaultsResponse Source #
See: newListBackupVaultsResponse
smart constructor.
ListBackupVaultsResponse' | |
|
Instances
newListBackupVaultsResponse Source #
Create a value of ListBackupVaultsResponse
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:backupVaultList:ListBackupVaultsResponse'
, listBackupVaultsResponse_backupVaultList
- An array of backup vault list members containing vault metadata,
including Amazon Resource Name (ARN), display name, creation date,
number of saved recovery points, and encryption information if the
resources saved in the backup vault are encrypted.
ListBackupVaults
, listBackupVaultsResponse_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:ListBackupVaultsResponse'
, listBackupVaultsResponse_httpStatus
- The response's http status code.
Response Lenses
listBackupVaultsResponse_backupVaultList :: Lens' ListBackupVaultsResponse (Maybe [BackupVaultListMember]) Source #
An array of backup vault list members containing vault metadata, including Amazon Resource Name (ARN), display name, creation date, number of saved recovery points, and encryption information if the resources saved in the backup vault are encrypted.
listBackupVaultsResponse_nextToken :: Lens' ListBackupVaultsResponse (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.
listBackupVaultsResponse_httpStatus :: Lens' ListBackupVaultsResponse Int Source #
The response's http status code.