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 detailed information about the recovery points stored in a backup vault.
Synopsis
- data ListRecoveryPointsByBackupVault = ListRecoveryPointsByBackupVault' {}
- newListRecoveryPointsByBackupVault :: Text -> ListRecoveryPointsByBackupVault
- listRecoveryPointsByBackupVault_byResourceArn :: Lens' ListRecoveryPointsByBackupVault (Maybe Text)
- listRecoveryPointsByBackupVault_byCreatedAfter :: Lens' ListRecoveryPointsByBackupVault (Maybe UTCTime)
- listRecoveryPointsByBackupVault_byCreatedBefore :: Lens' ListRecoveryPointsByBackupVault (Maybe UTCTime)
- listRecoveryPointsByBackupVault_byBackupPlanId :: Lens' ListRecoveryPointsByBackupVault (Maybe Text)
- listRecoveryPointsByBackupVault_byResourceType :: Lens' ListRecoveryPointsByBackupVault (Maybe Text)
- listRecoveryPointsByBackupVault_nextToken :: Lens' ListRecoveryPointsByBackupVault (Maybe Text)
- listRecoveryPointsByBackupVault_maxResults :: Lens' ListRecoveryPointsByBackupVault (Maybe Natural)
- listRecoveryPointsByBackupVault_backupVaultName :: Lens' ListRecoveryPointsByBackupVault Text
- data ListRecoveryPointsByBackupVaultResponse = ListRecoveryPointsByBackupVaultResponse' {}
- newListRecoveryPointsByBackupVaultResponse :: Int -> ListRecoveryPointsByBackupVaultResponse
- listRecoveryPointsByBackupVaultResponse_recoveryPoints :: Lens' ListRecoveryPointsByBackupVaultResponse (Maybe [RecoveryPointByBackupVault])
- listRecoveryPointsByBackupVaultResponse_nextToken :: Lens' ListRecoveryPointsByBackupVaultResponse (Maybe Text)
- listRecoveryPointsByBackupVaultResponse_httpStatus :: Lens' ListRecoveryPointsByBackupVaultResponse Int
Creating a Request
data ListRecoveryPointsByBackupVault Source #
See: newListRecoveryPointsByBackupVault
smart constructor.
ListRecoveryPointsByBackupVault' | |
|
Instances
newListRecoveryPointsByBackupVault Source #
Create a value of ListRecoveryPointsByBackupVault
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:byResourceArn:ListRecoveryPointsByBackupVault'
, listRecoveryPointsByBackupVault_byResourceArn
- Returns only recovery points that match the specified resource Amazon
Resource Name (ARN).
$sel:byCreatedAfter:ListRecoveryPointsByBackupVault'
, listRecoveryPointsByBackupVault_byCreatedAfter
- Returns only recovery points that were created after the specified
timestamp.
$sel:byCreatedBefore:ListRecoveryPointsByBackupVault'
, listRecoveryPointsByBackupVault_byCreatedBefore
- Returns only recovery points that were created before the specified
timestamp.
$sel:byBackupPlanId:ListRecoveryPointsByBackupVault'
, listRecoveryPointsByBackupVault_byBackupPlanId
- Returns only recovery points that match the specified backup plan ID.
$sel:byResourceType:ListRecoveryPointsByBackupVault'
, listRecoveryPointsByBackupVault_byResourceType
- Returns only recovery points that match the specified resource type.
$sel:nextToken:ListRecoveryPointsByBackupVault'
, listRecoveryPointsByBackupVault_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:ListRecoveryPointsByBackupVault'
, listRecoveryPointsByBackupVault_maxResults
- The maximum number of items to be returned.
$sel:backupVaultName:ListRecoveryPointsByBackupVault'
, listRecoveryPointsByBackupVault_backupVaultName
- The name of a logical container where backups are stored. Backup vaults
are identified by names that are unique to the account used to create
them and the Amazon Web Services Region where they are created. They
consist of lowercase letters, numbers, and hyphens.
Backup vault name might not be available when a supported service creates the backup.
Request Lenses
listRecoveryPointsByBackupVault_byResourceArn :: Lens' ListRecoveryPointsByBackupVault (Maybe Text) Source #
Returns only recovery points that match the specified resource Amazon Resource Name (ARN).
listRecoveryPointsByBackupVault_byCreatedAfter :: Lens' ListRecoveryPointsByBackupVault (Maybe UTCTime) Source #
Returns only recovery points that were created after the specified timestamp.
listRecoveryPointsByBackupVault_byCreatedBefore :: Lens' ListRecoveryPointsByBackupVault (Maybe UTCTime) Source #
Returns only recovery points that were created before the specified timestamp.
listRecoveryPointsByBackupVault_byBackupPlanId :: Lens' ListRecoveryPointsByBackupVault (Maybe Text) Source #
Returns only recovery points that match the specified backup plan ID.
listRecoveryPointsByBackupVault_byResourceType :: Lens' ListRecoveryPointsByBackupVault (Maybe Text) Source #
Returns only recovery points that match the specified resource type.
listRecoveryPointsByBackupVault_nextToken :: Lens' ListRecoveryPointsByBackupVault (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.
listRecoveryPointsByBackupVault_maxResults :: Lens' ListRecoveryPointsByBackupVault (Maybe Natural) Source #
The maximum number of items to be returned.
listRecoveryPointsByBackupVault_backupVaultName :: Lens' ListRecoveryPointsByBackupVault Text Source #
The name of a logical container where backups are stored. Backup vaults are identified by names that are unique to the account used to create them and the Amazon Web Services Region where they are created. They consist of lowercase letters, numbers, and hyphens.
Backup vault name might not be available when a supported service creates the backup.
Destructuring the Response
data ListRecoveryPointsByBackupVaultResponse Source #
See: newListRecoveryPointsByBackupVaultResponse
smart constructor.
ListRecoveryPointsByBackupVaultResponse' | |
|
Instances
newListRecoveryPointsByBackupVaultResponse Source #
Create a value of ListRecoveryPointsByBackupVaultResponse
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:recoveryPoints:ListRecoveryPointsByBackupVaultResponse'
, listRecoveryPointsByBackupVaultResponse_recoveryPoints
- An array of objects that contain detailed information about recovery
points saved in a backup vault.
$sel:nextToken:ListRecoveryPointsByBackupVault'
, listRecoveryPointsByBackupVaultResponse_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:ListRecoveryPointsByBackupVaultResponse'
, listRecoveryPointsByBackupVaultResponse_httpStatus
- The response's http status code.
Response Lenses
listRecoveryPointsByBackupVaultResponse_recoveryPoints :: Lens' ListRecoveryPointsByBackupVaultResponse (Maybe [RecoveryPointByBackupVault]) Source #
An array of objects that contain detailed information about recovery points saved in a backup vault.
listRecoveryPointsByBackupVaultResponse_nextToken :: Lens' ListRecoveryPointsByBackupVaultResponse (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.
listRecoveryPointsByBackupVaultResponse_httpStatus :: Lens' ListRecoveryPointsByBackupVaultResponse Int Source #
The response's http status code.