amazonka-backup-2.0: Amazon Backup SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.Backup.Types.RecoveryPointByResource

Description

 
Synopsis

Documentation

data RecoveryPointByResource Source #

Contains detailed information about a saved recovery point.

See: newRecoveryPointByResource smart constructor.

Constructors

RecoveryPointByResource' 

Fields

  • backupSizeBytes :: Maybe Integer

    The size, in bytes, of a backup.

  • backupVaultName :: Maybe 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.

  • creationDate :: Maybe POSIX

    The date and time a recovery point is created, in Unix format and Coordinated Universal Time (UTC). The value of CreationDate is accurate to milliseconds. For example, the value 1516925490.087 represents Friday, January 26, 2018 12:11:30.087 AM.

  • encryptionKeyArn :: Maybe Text

    The server-side encryption key that is used to protect your backups; for example, arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab.

  • isParent :: Maybe Bool

    This is a boolean value indicating this is a parent (composite) recovery point.

  • parentRecoveryPointArn :: Maybe Text

    This is the Amazon Resource Name (ARN) of the parent (composite) recovery point.

  • recoveryPointArn :: Maybe 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.

  • status :: Maybe RecoveryPointStatus

    A status code specifying the state of the recovery point.

  • statusMessage :: Maybe Text

    A message explaining the reason of the recovery point deletion failure.

Instances

Instances details
FromJSON RecoveryPointByResource Source # 
Instance details

Defined in Amazonka.Backup.Types.RecoveryPointByResource

Generic RecoveryPointByResource Source # 
Instance details

Defined in Amazonka.Backup.Types.RecoveryPointByResource

Associated Types

type Rep RecoveryPointByResource :: Type -> Type #

Read RecoveryPointByResource Source # 
Instance details

Defined in Amazonka.Backup.Types.RecoveryPointByResource

Show RecoveryPointByResource Source # 
Instance details

Defined in Amazonka.Backup.Types.RecoveryPointByResource

NFData RecoveryPointByResource Source # 
Instance details

Defined in Amazonka.Backup.Types.RecoveryPointByResource

Methods

rnf :: RecoveryPointByResource -> () #

Eq RecoveryPointByResource Source # 
Instance details

Defined in Amazonka.Backup.Types.RecoveryPointByResource

Hashable RecoveryPointByResource Source # 
Instance details

Defined in Amazonka.Backup.Types.RecoveryPointByResource

type Rep RecoveryPointByResource Source # 
Instance details

Defined in Amazonka.Backup.Types.RecoveryPointByResource

type Rep RecoveryPointByResource = D1 ('MetaData "RecoveryPointByResource" "Amazonka.Backup.Types.RecoveryPointByResource" "amazonka-backup-2.0-LovIt41tphM6jvgQJhTyRf" 'False) (C1 ('MetaCons "RecoveryPointByResource'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "backupSizeBytes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Integer)) :*: S1 ('MetaSel ('Just "backupVaultName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "creationDate") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: S1 ('MetaSel ('Just "encryptionKeyArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 ('MetaSel ('Just "isParent") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "parentRecoveryPointArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "recoveryPointArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "status") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe RecoveryPointStatus)) :*: S1 ('MetaSel ('Just "statusMessage") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))))

newRecoveryPointByResource :: RecoveryPointByResource Source #

Create a value of RecoveryPointByResource 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:backupSizeBytes:RecoveryPointByResource', recoveryPointByResource_backupSizeBytes - The size, in bytes, of a backup.

$sel:backupVaultName:RecoveryPointByResource', recoveryPointByResource_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:creationDate:RecoveryPointByResource', recoveryPointByResource_creationDate - The date and time a recovery point is created, in Unix format and Coordinated Universal Time (UTC). The value of CreationDate is accurate to milliseconds. For example, the value 1516925490.087 represents Friday, January 26, 2018 12:11:30.087 AM.

$sel:encryptionKeyArn:RecoveryPointByResource', recoveryPointByResource_encryptionKeyArn - The server-side encryption key that is used to protect your backups; for example, arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab.

$sel:isParent:RecoveryPointByResource', recoveryPointByResource_isParent - This is a boolean value indicating this is a parent (composite) recovery point.

$sel:parentRecoveryPointArn:RecoveryPointByResource', recoveryPointByResource_parentRecoveryPointArn - This is the Amazon Resource Name (ARN) of the parent (composite) recovery point.

$sel:recoveryPointArn:RecoveryPointByResource', recoveryPointByResource_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.

$sel:status:RecoveryPointByResource', recoveryPointByResource_status - A status code specifying the state of the recovery point.

$sel:statusMessage:RecoveryPointByResource', recoveryPointByResource_statusMessage - A message explaining the reason of the recovery point deletion failure.

recoveryPointByResource_backupVaultName :: Lens' RecoveryPointByResource (Maybe 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.

recoveryPointByResource_creationDate :: Lens' RecoveryPointByResource (Maybe UTCTime) Source #

The date and time a recovery point is created, in Unix format and Coordinated Universal Time (UTC). The value of CreationDate is accurate to milliseconds. For example, the value 1516925490.087 represents Friday, January 26, 2018 12:11:30.087 AM.

recoveryPointByResource_encryptionKeyArn :: Lens' RecoveryPointByResource (Maybe Text) Source #

The server-side encryption key that is used to protect your backups; for example, arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab.

recoveryPointByResource_isParent :: Lens' RecoveryPointByResource (Maybe Bool) Source #

This is a boolean value indicating this is a parent (composite) recovery point.

recoveryPointByResource_parentRecoveryPointArn :: Lens' RecoveryPointByResource (Maybe Text) Source #

This is the Amazon Resource Name (ARN) of the parent (composite) recovery point.

recoveryPointByResource_recoveryPointArn :: Lens' RecoveryPointByResource (Maybe 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.

recoveryPointByResource_status :: Lens' RecoveryPointByResource (Maybe RecoveryPointStatus) Source #

A status code specifying the state of the recovery point.

recoveryPointByResource_statusMessage :: Lens' RecoveryPointByResource (Maybe Text) Source #

A message explaining the reason of the recovery point deletion failure.