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 set of metadata key-value pairs that were used to create the backup.
Synopsis
- data GetRecoveryPointRestoreMetadata = GetRecoveryPointRestoreMetadata' {}
- newGetRecoveryPointRestoreMetadata :: Text -> Text -> GetRecoveryPointRestoreMetadata
- getRecoveryPointRestoreMetadata_backupVaultName :: Lens' GetRecoveryPointRestoreMetadata Text
- getRecoveryPointRestoreMetadata_recoveryPointArn :: Lens' GetRecoveryPointRestoreMetadata Text
- data GetRecoveryPointRestoreMetadataResponse = GetRecoveryPointRestoreMetadataResponse' {}
- newGetRecoveryPointRestoreMetadataResponse :: Int -> GetRecoveryPointRestoreMetadataResponse
- getRecoveryPointRestoreMetadataResponse_backupVaultArn :: Lens' GetRecoveryPointRestoreMetadataResponse (Maybe Text)
- getRecoveryPointRestoreMetadataResponse_recoveryPointArn :: Lens' GetRecoveryPointRestoreMetadataResponse (Maybe Text)
- getRecoveryPointRestoreMetadataResponse_restoreMetadata :: Lens' GetRecoveryPointRestoreMetadataResponse (Maybe (HashMap Text Text))
- getRecoveryPointRestoreMetadataResponse_httpStatus :: Lens' GetRecoveryPointRestoreMetadataResponse Int
Creating a Request
data GetRecoveryPointRestoreMetadata Source #
See: newGetRecoveryPointRestoreMetadata
smart constructor.
GetRecoveryPointRestoreMetadata' | |
|
Instances
newGetRecoveryPointRestoreMetadata Source #
Create a value of GetRecoveryPointRestoreMetadata
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:backupVaultName:GetRecoveryPointRestoreMetadata'
, getRecoveryPointRestoreMetadata_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.
$sel:recoveryPointArn:GetRecoveryPointRestoreMetadata'
, getRecoveryPointRestoreMetadata_recoveryPointArn
- An Amazon Resource Name (ARN) that uniquely identifies a recovery point;
for example,
arn:aws:backup:us-east-1:123456789012:recovery-point:1EB3B5E7-9EB0-435A-A80B-108B488B0D45
.
Request Lenses
getRecoveryPointRestoreMetadata_backupVaultName :: Lens' GetRecoveryPointRestoreMetadata 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.
getRecoveryPointRestoreMetadata_recoveryPointArn :: Lens' GetRecoveryPointRestoreMetadata Text Source #
An Amazon Resource Name (ARN) that uniquely identifies a recovery point;
for example,
arn:aws:backup:us-east-1:123456789012:recovery-point:1EB3B5E7-9EB0-435A-A80B-108B488B0D45
.
Destructuring the Response
data GetRecoveryPointRestoreMetadataResponse Source #
See: newGetRecoveryPointRestoreMetadataResponse
smart constructor.
GetRecoveryPointRestoreMetadataResponse' | |
|
Instances
newGetRecoveryPointRestoreMetadataResponse Source #
Create a value of GetRecoveryPointRestoreMetadataResponse
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:backupVaultArn:GetRecoveryPointRestoreMetadataResponse'
, getRecoveryPointRestoreMetadataResponse_backupVaultArn
- An ARN that uniquely identifies a backup vault; for example,
arn:aws:backup:us-east-1:123456789012:vault:aBackupVault
.
$sel:recoveryPointArn:GetRecoveryPointRestoreMetadata'
, getRecoveryPointRestoreMetadataResponse_recoveryPointArn
- An ARN that uniquely identifies a recovery point; for example,
arn:aws:backup:us-east-1:123456789012:recovery-point:1EB3B5E7-9EB0-435A-A80B-108B488B0D45
.
$sel:restoreMetadata:GetRecoveryPointRestoreMetadataResponse'
, getRecoveryPointRestoreMetadataResponse_restoreMetadata
- The set of metadata key-value pairs that describe the original
configuration of the backed-up resource. These values vary depending on
the service that is being restored.
$sel:httpStatus:GetRecoveryPointRestoreMetadataResponse'
, getRecoveryPointRestoreMetadataResponse_httpStatus
- The response's http status code.
Response Lenses
getRecoveryPointRestoreMetadataResponse_backupVaultArn :: Lens' GetRecoveryPointRestoreMetadataResponse (Maybe Text) Source #
An ARN that uniquely identifies a backup vault; for example,
arn:aws:backup:us-east-1:123456789012:vault:aBackupVault
.
getRecoveryPointRestoreMetadataResponse_recoveryPointArn :: Lens' GetRecoveryPointRestoreMetadataResponse (Maybe Text) Source #
An ARN that uniquely identifies a recovery point; for example,
arn:aws:backup:us-east-1:123456789012:recovery-point:1EB3B5E7-9EB0-435A-A80B-108B488B0D45
.
getRecoveryPointRestoreMetadataResponse_restoreMetadata :: Lens' GetRecoveryPointRestoreMetadataResponse (Maybe (HashMap Text Text)) Source #
The set of metadata key-value pairs that describe the original configuration of the backed-up resource. These values vary depending on the service that is being restored.
getRecoveryPointRestoreMetadataResponse_httpStatus :: Lens' GetRecoveryPointRestoreMetadataResponse Int Source #
The response's http status code.