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.RecoveryPointByBackupVault

Description

 
Synopsis

Documentation

data RecoveryPointByBackupVault Source #

Contains detailed information about the recovery points stored in a backup vault.

See: newRecoveryPointByBackupVault smart constructor.

Constructors

RecoveryPointByBackupVault' 

Fields

  • backupSizeInBytes :: Maybe Integer

    The size, in bytes, of a backup.

  • backupVaultArn :: Maybe Text

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

  • 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.

  • calculatedLifecycle :: Maybe CalculatedLifecycle

    A CalculatedLifecycle object containing DeleteAt and MoveToColdStorageAt timestamps.

  • completionDate :: Maybe POSIX

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

  • compositeMemberIdentifier :: Maybe Text

    This is the identifier of a resource within a composite group, such as nested (child) recovery point belonging to a composite (parent) stack. The ID is transferred from the logical ID within a stack.

  • createdBy :: Maybe RecoveryPointCreator

    Contains identifying information about the creation of a recovery point, including the BackupPlanArn, BackupPlanId, BackupPlanVersion, and BackupRuleId of the backup plan that is used to create it.

  • 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.

  • iamRoleArn :: Maybe Text

    Specifies the IAM role ARN used to create the target recovery point; for example, arn:aws:iam::123456789012:role/S3Access.

  • isEncrypted :: Maybe Bool

    A Boolean value that is returned as TRUE if the specified recovery point is encrypted, or FALSE if the recovery point is not encrypted.

  • isParent :: Maybe Bool

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

  • lastRestoreTime :: Maybe POSIX

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

  • lifecycle :: Maybe Lifecycle

    The lifecycle defines when a protected resource is transitioned to cold storage and when it expires. Backup transitions and expires backups automatically according to the lifecycle that you define.

    Backups transitioned to cold storage must be stored in cold storage for a minimum of 90 days. Therefore, the “retention” setting must be 90 days greater than the “transition to cold after days” setting. The “transition to cold after days” setting cannot be changed after a backup has been transitioned to cold.

    Resource types that are able to be transitioned to cold storage are listed in the "Lifecycle to cold storage" section of the Feature availability by resource table. Backup ignores this expression for other resource types.

  • 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.

  • resourceArn :: Maybe Text

    An ARN that uniquely identifies a resource. The format of the ARN depends on the resource type.

  • resourceType :: Maybe Text

    The type of Amazon Web Services resource saved as a recovery point; for example, an Amazon Elastic Block Store (Amazon EBS) volume or an Amazon Relational Database Service (Amazon RDS) database. For Windows Volume Shadow Copy Service (VSS) backups, the only supported resource type is Amazon EC2.

  • sourceBackupVaultArn :: Maybe Text

    The backup vault where the recovery point was originally copied from. If the recovery point is restored to the same account this value will be null.

  • 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 RecoveryPointByBackupVault Source # 
Instance details

Defined in Amazonka.Backup.Types.RecoveryPointByBackupVault

Generic RecoveryPointByBackupVault Source # 
Instance details

Defined in Amazonka.Backup.Types.RecoveryPointByBackupVault

Associated Types

type Rep RecoveryPointByBackupVault :: Type -> Type #

Read RecoveryPointByBackupVault Source # 
Instance details

Defined in Amazonka.Backup.Types.RecoveryPointByBackupVault

Show RecoveryPointByBackupVault Source # 
Instance details

Defined in Amazonka.Backup.Types.RecoveryPointByBackupVault

NFData RecoveryPointByBackupVault Source # 
Instance details

Defined in Amazonka.Backup.Types.RecoveryPointByBackupVault

Eq RecoveryPointByBackupVault Source # 
Instance details

Defined in Amazonka.Backup.Types.RecoveryPointByBackupVault

Hashable RecoveryPointByBackupVault Source # 
Instance details

Defined in Amazonka.Backup.Types.RecoveryPointByBackupVault

type Rep RecoveryPointByBackupVault Source # 
Instance details

Defined in Amazonka.Backup.Types.RecoveryPointByBackupVault

type Rep RecoveryPointByBackupVault = D1 ('MetaData "RecoveryPointByBackupVault" "Amazonka.Backup.Types.RecoveryPointByBackupVault" "amazonka-backup-2.0-LovIt41tphM6jvgQJhTyRf" 'False) (C1 ('MetaCons "RecoveryPointByBackupVault'" 'PrefixI 'True) ((((S1 ('MetaSel ('Just "backupSizeInBytes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Integer)) :*: S1 ('MetaSel ('Just "backupVaultArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "backupVaultName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "calculatedLifecycle") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe CalculatedLifecycle)) :*: S1 ('MetaSel ('Just "completionDate") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX))))) :*: ((S1 ('MetaSel ('Just "compositeMemberIdentifier") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "createdBy") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe RecoveryPointCreator))) :*: (S1 ('MetaSel ('Just "creationDate") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: (S1 ('MetaSel ('Just "encryptionKeyArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "iamRoleArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))) :*: (((S1 ('MetaSel ('Just "isEncrypted") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "isParent") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool))) :*: (S1 ('MetaSel ('Just "lastRestoreTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: (S1 ('MetaSel ('Just "lifecycle") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Lifecycle)) :*: S1 ('MetaSel ('Just "parentRecoveryPointArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))) :*: ((S1 ('MetaSel ('Just "recoveryPointArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "resourceArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "resourceType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 ('MetaSel ('Just "sourceBackupVaultArn") '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))))))))

newRecoveryPointByBackupVault :: RecoveryPointByBackupVault Source #

Create a value of RecoveryPointByBackupVault 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:backupSizeInBytes:RecoveryPointByBackupVault', recoveryPointByBackupVault_backupSizeInBytes - The size, in bytes, of a backup.

$sel:backupVaultArn:RecoveryPointByBackupVault', recoveryPointByBackupVault_backupVaultArn - An ARN that uniquely identifies a backup vault; for example, arn:aws:backup:us-east-1:123456789012:vault:aBackupVault.

$sel:backupVaultName:RecoveryPointByBackupVault', recoveryPointByBackupVault_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:calculatedLifecycle:RecoveryPointByBackupVault', recoveryPointByBackupVault_calculatedLifecycle - A CalculatedLifecycle object containing DeleteAt and MoveToColdStorageAt timestamps.

$sel:completionDate:RecoveryPointByBackupVault', recoveryPointByBackupVault_completionDate - The date and time a job to restore a recovery point is completed, in Unix format and Coordinated Universal Time (UTC). The value of CompletionDate is accurate to milliseconds. For example, the value 1516925490.087 represents Friday, January 26, 2018 12:11:30.087 AM.

$sel:compositeMemberIdentifier:RecoveryPointByBackupVault', recoveryPointByBackupVault_compositeMemberIdentifier - This is the identifier of a resource within a composite group, such as nested (child) recovery point belonging to a composite (parent) stack. The ID is transferred from the logical ID within a stack.

$sel:createdBy:RecoveryPointByBackupVault', recoveryPointByBackupVault_createdBy - Contains identifying information about the creation of a recovery point, including the BackupPlanArn, BackupPlanId, BackupPlanVersion, and BackupRuleId of the backup plan that is used to create it.

$sel:creationDate:RecoveryPointByBackupVault', recoveryPointByBackupVault_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:RecoveryPointByBackupVault', recoveryPointByBackupVault_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:iamRoleArn:RecoveryPointByBackupVault', recoveryPointByBackupVault_iamRoleArn - Specifies the IAM role ARN used to create the target recovery point; for example, arn:aws:iam::123456789012:role/S3Access.

$sel:isEncrypted:RecoveryPointByBackupVault', recoveryPointByBackupVault_isEncrypted - A Boolean value that is returned as TRUE if the specified recovery point is encrypted, or FALSE if the recovery point is not encrypted.

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

$sel:lastRestoreTime:RecoveryPointByBackupVault', recoveryPointByBackupVault_lastRestoreTime - The date and time a recovery point was last restored, in Unix format and Coordinated Universal Time (UTC). The value of LastRestoreTime is accurate to milliseconds. For example, the value 1516925490.087 represents Friday, January 26, 2018 12:11:30.087 AM.

$sel:lifecycle:RecoveryPointByBackupVault', recoveryPointByBackupVault_lifecycle - The lifecycle defines when a protected resource is transitioned to cold storage and when it expires. Backup transitions and expires backups automatically according to the lifecycle that you define.

Backups transitioned to cold storage must be stored in cold storage for a minimum of 90 days. Therefore, the “retention” setting must be 90 days greater than the “transition to cold after days” setting. The “transition to cold after days” setting cannot be changed after a backup has been transitioned to cold.

Resource types that are able to be transitioned to cold storage are listed in the "Lifecycle to cold storage" section of the Feature availability by resource table. Backup ignores this expression for other resource types.

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

$sel:recoveryPointArn:RecoveryPointByBackupVault', recoveryPointByBackupVault_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:resourceArn:RecoveryPointByBackupVault', recoveryPointByBackupVault_resourceArn - An ARN that uniquely identifies a resource. The format of the ARN depends on the resource type.

$sel:resourceType:RecoveryPointByBackupVault', recoveryPointByBackupVault_resourceType - The type of Amazon Web Services resource saved as a recovery point; for example, an Amazon Elastic Block Store (Amazon EBS) volume or an Amazon Relational Database Service (Amazon RDS) database. For Windows Volume Shadow Copy Service (VSS) backups, the only supported resource type is Amazon EC2.

$sel:sourceBackupVaultArn:RecoveryPointByBackupVault', recoveryPointByBackupVault_sourceBackupVaultArn - The backup vault where the recovery point was originally copied from. If the recovery point is restored to the same account this value will be null.

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

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

recoveryPointByBackupVault_backupVaultArn :: Lens' RecoveryPointByBackupVault (Maybe Text) Source #

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

recoveryPointByBackupVault_backupVaultName :: Lens' RecoveryPointByBackupVault (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.

recoveryPointByBackupVault_calculatedLifecycle :: Lens' RecoveryPointByBackupVault (Maybe CalculatedLifecycle) Source #

A CalculatedLifecycle object containing DeleteAt and MoveToColdStorageAt timestamps.

recoveryPointByBackupVault_completionDate :: Lens' RecoveryPointByBackupVault (Maybe UTCTime) Source #

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

recoveryPointByBackupVault_compositeMemberIdentifier :: Lens' RecoveryPointByBackupVault (Maybe Text) Source #

This is the identifier of a resource within a composite group, such as nested (child) recovery point belonging to a composite (parent) stack. The ID is transferred from the logical ID within a stack.

recoveryPointByBackupVault_createdBy :: Lens' RecoveryPointByBackupVault (Maybe RecoveryPointCreator) Source #

Contains identifying information about the creation of a recovery point, including the BackupPlanArn, BackupPlanId, BackupPlanVersion, and BackupRuleId of the backup plan that is used to create it.

recoveryPointByBackupVault_creationDate :: Lens' RecoveryPointByBackupVault (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.

recoveryPointByBackupVault_encryptionKeyArn :: Lens' RecoveryPointByBackupVault (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.

recoveryPointByBackupVault_iamRoleArn :: Lens' RecoveryPointByBackupVault (Maybe Text) Source #

Specifies the IAM role ARN used to create the target recovery point; for example, arn:aws:iam::123456789012:role/S3Access.

recoveryPointByBackupVault_isEncrypted :: Lens' RecoveryPointByBackupVault (Maybe Bool) Source #

A Boolean value that is returned as TRUE if the specified recovery point is encrypted, or FALSE if the recovery point is not encrypted.

recoveryPointByBackupVault_isParent :: Lens' RecoveryPointByBackupVault (Maybe Bool) Source #

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

recoveryPointByBackupVault_lastRestoreTime :: Lens' RecoveryPointByBackupVault (Maybe UTCTime) Source #

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

recoveryPointByBackupVault_lifecycle :: Lens' RecoveryPointByBackupVault (Maybe Lifecycle) Source #

The lifecycle defines when a protected resource is transitioned to cold storage and when it expires. Backup transitions and expires backups automatically according to the lifecycle that you define.

Backups transitioned to cold storage must be stored in cold storage for a minimum of 90 days. Therefore, the “retention” setting must be 90 days greater than the “transition to cold after days” setting. The “transition to cold after days” setting cannot be changed after a backup has been transitioned to cold.

Resource types that are able to be transitioned to cold storage are listed in the "Lifecycle to cold storage" section of the Feature availability by resource table. Backup ignores this expression for other resource types.

recoveryPointByBackupVault_parentRecoveryPointArn :: Lens' RecoveryPointByBackupVault (Maybe Text) Source #

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

recoveryPointByBackupVault_recoveryPointArn :: Lens' RecoveryPointByBackupVault (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.

recoveryPointByBackupVault_resourceArn :: Lens' RecoveryPointByBackupVault (Maybe Text) Source #

An ARN that uniquely identifies a resource. The format of the ARN depends on the resource type.

recoveryPointByBackupVault_resourceType :: Lens' RecoveryPointByBackupVault (Maybe Text) Source #

The type of Amazon Web Services resource saved as a recovery point; for example, an Amazon Elastic Block Store (Amazon EBS) volume or an Amazon Relational Database Service (Amazon RDS) database. For Windows Volume Shadow Copy Service (VSS) backups, the only supported resource type is Amazon EC2.

recoveryPointByBackupVault_sourceBackupVaultArn :: Lens' RecoveryPointByBackupVault (Maybe Text) Source #

The backup vault where the recovery point was originally copied from. If the recovery point is restored to the same account this value will be null.

recoveryPointByBackupVault_status :: Lens' RecoveryPointByBackupVault (Maybe RecoveryPointStatus) Source #

A status code specifying the state of the recovery point.

recoveryPointByBackupVault_statusMessage :: Lens' RecoveryPointByBackupVault (Maybe Text) Source #

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