libZSservicesZSamazonka-backupZSamazonka-backup
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.Backup.GetRecoveryPointRestoreMetadata

Description

Returns a set of metadata key-value pairs that were used to create the backup.

Synopsis

Creating a Request

data GetRecoveryPointRestoreMetadata Source #

See: newGetRecoveryPointRestoreMetadata smart constructor.

Constructors

GetRecoveryPointRestoreMetadata' 

Fields

  • backupVaultName :: Text

    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.

  • recoveryPointArn :: Text

    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.

Instances

Instances details
Eq GetRecoveryPointRestoreMetadata Source # 
Instance details

Defined in Amazonka.Backup.GetRecoveryPointRestoreMetadata

Read GetRecoveryPointRestoreMetadata Source # 
Instance details

Defined in Amazonka.Backup.GetRecoveryPointRestoreMetadata

Show GetRecoveryPointRestoreMetadata Source # 
Instance details

Defined in Amazonka.Backup.GetRecoveryPointRestoreMetadata

Generic GetRecoveryPointRestoreMetadata Source # 
Instance details

Defined in Amazonka.Backup.GetRecoveryPointRestoreMetadata

Associated Types

type Rep GetRecoveryPointRestoreMetadata :: Type -> Type #

NFData GetRecoveryPointRestoreMetadata Source # 
Instance details

Defined in Amazonka.Backup.GetRecoveryPointRestoreMetadata

Hashable GetRecoveryPointRestoreMetadata Source # 
Instance details

Defined in Amazonka.Backup.GetRecoveryPointRestoreMetadata

AWSRequest GetRecoveryPointRestoreMetadata Source # 
Instance details

Defined in Amazonka.Backup.GetRecoveryPointRestoreMetadata

ToHeaders GetRecoveryPointRestoreMetadata Source # 
Instance details

Defined in Amazonka.Backup.GetRecoveryPointRestoreMetadata

ToPath GetRecoveryPointRestoreMetadata Source # 
Instance details

Defined in Amazonka.Backup.GetRecoveryPointRestoreMetadata

ToQuery GetRecoveryPointRestoreMetadata Source # 
Instance details

Defined in Amazonka.Backup.GetRecoveryPointRestoreMetadata

type Rep GetRecoveryPointRestoreMetadata Source # 
Instance details

Defined in Amazonka.Backup.GetRecoveryPointRestoreMetadata

type Rep GetRecoveryPointRestoreMetadata = D1 ('MetaData "GetRecoveryPointRestoreMetadata" "Amazonka.Backup.GetRecoveryPointRestoreMetadata" "libZSservicesZSamazonka-backupZSamazonka-backup" 'False) (C1 ('MetaCons "GetRecoveryPointRestoreMetadata'" 'PrefixI 'True) (S1 ('MetaSel ('Just "backupVaultName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "recoveryPointArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse GetRecoveryPointRestoreMetadata Source # 
Instance details

Defined in Amazonka.Backup.GetRecoveryPointRestoreMetadata

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 #

Constructors

GetRecoveryPointRestoreMetadataResponse' 

Fields

  • backupVaultArn :: Maybe Text

    An ARN that uniquely identifies a backup vault; for example, arn:aws:backup:us-east-1:123456789012:vault:aBackupVault.

  • recoveryPointArn :: Maybe Text

    An ARN that uniquely identifies a recovery point; for example, arn:aws:backup:us-east-1:123456789012:recovery-point:1EB3B5E7-9EB0-435A-A80B-108B488B0D45.

  • restoreMetadata :: Maybe (Sensitive (HashMap Text Text))

    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.

  • httpStatus :: Int

    The response's http status code.

Instances

Instances details
Eq GetRecoveryPointRestoreMetadataResponse Source # 
Instance details

Defined in Amazonka.Backup.GetRecoveryPointRestoreMetadata

Show GetRecoveryPointRestoreMetadataResponse Source # 
Instance details

Defined in Amazonka.Backup.GetRecoveryPointRestoreMetadata

Generic GetRecoveryPointRestoreMetadataResponse Source # 
Instance details

Defined in Amazonka.Backup.GetRecoveryPointRestoreMetadata

NFData GetRecoveryPointRestoreMetadataResponse Source # 
Instance details

Defined in Amazonka.Backup.GetRecoveryPointRestoreMetadata

type Rep GetRecoveryPointRestoreMetadataResponse Source # 
Instance details

Defined in Amazonka.Backup.GetRecoveryPointRestoreMetadata

type Rep GetRecoveryPointRestoreMetadataResponse = D1 ('MetaData "GetRecoveryPointRestoreMetadataResponse" "Amazonka.Backup.GetRecoveryPointRestoreMetadata" "libZSservicesZSamazonka-backupZSamazonka-backup" 'False) (C1 ('MetaCons "GetRecoveryPointRestoreMetadataResponse'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "backupVaultArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "recoveryPointArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "restoreMetadata") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (Sensitive (HashMap Text Text)))) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

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.