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

Description

 
Synopsis

Documentation

data RestoreJobsListMember Source #

Contains metadata about a restore job.

See: newRestoreJobsListMember smart constructor.

Constructors

RestoreJobsListMember' 

Fields

  • accountId :: Maybe Text

    The account ID that owns the restore job.

  • backupSizeInBytes :: Maybe Integer

    The size, in bytes, of the restored resource.

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

  • createdResourceArn :: Maybe Text

    An Amazon Resource Name (ARN) that uniquely identifies a resource. The format of the ARN depends on the resource type.

  • creationDate :: Maybe POSIX

    The date and time a restore job 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.

  • expectedCompletionTimeMinutes :: Maybe Integer

    The amount of time in minutes that a job restoring a recovery point is expected to take.

  • iamRoleArn :: Maybe Text

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

  • percentDone :: Maybe Text

    Contains an estimated percentage complete of a job at the time the job status was queried.

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

  • resourceType :: Maybe Text

    The resource type of the listed restore jobs; 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.

  • restoreJobId :: Maybe Text

    Uniquely identifies the job that restores a recovery point.

  • status :: Maybe RestoreJobStatus

    A status code specifying the state of the job initiated by Backup to restore a recovery point.

  • statusMessage :: Maybe Text

    A detailed message explaining the status of the job to restore a recovery point.

Instances

Instances details
FromJSON RestoreJobsListMember Source # 
Instance details

Defined in Amazonka.Backup.Types.RestoreJobsListMember

Generic RestoreJobsListMember Source # 
Instance details

Defined in Amazonka.Backup.Types.RestoreJobsListMember

Associated Types

type Rep RestoreJobsListMember :: Type -> Type #

Read RestoreJobsListMember Source # 
Instance details

Defined in Amazonka.Backup.Types.RestoreJobsListMember

Show RestoreJobsListMember Source # 
Instance details

Defined in Amazonka.Backup.Types.RestoreJobsListMember

NFData RestoreJobsListMember Source # 
Instance details

Defined in Amazonka.Backup.Types.RestoreJobsListMember

Methods

rnf :: RestoreJobsListMember -> () #

Eq RestoreJobsListMember Source # 
Instance details

Defined in Amazonka.Backup.Types.RestoreJobsListMember

Hashable RestoreJobsListMember Source # 
Instance details

Defined in Amazonka.Backup.Types.RestoreJobsListMember

type Rep RestoreJobsListMember Source # 
Instance details

Defined in Amazonka.Backup.Types.RestoreJobsListMember

type Rep RestoreJobsListMember = D1 ('MetaData "RestoreJobsListMember" "Amazonka.Backup.Types.RestoreJobsListMember" "amazonka-backup-2.0-LovIt41tphM6jvgQJhTyRf" 'False) (C1 ('MetaCons "RestoreJobsListMember'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "accountId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "backupSizeInBytes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Integer)) :*: S1 ('MetaSel ('Just "completionDate") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)))) :*: (S1 ('MetaSel ('Just "createdResourceArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "creationDate") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: S1 ('MetaSel ('Just "expectedCompletionTimeMinutes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Integer))))) :*: ((S1 ('MetaSel ('Just "iamRoleArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "percentDone") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "recoveryPointArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 ('MetaSel ('Just "resourceType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "restoreJobId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "status") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe RestoreJobStatus)) :*: S1 ('MetaSel ('Just "statusMessage") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))))

newRestoreJobsListMember :: RestoreJobsListMember Source #

Create a value of RestoreJobsListMember 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:accountId:RestoreJobsListMember', restoreJobsListMember_accountId - The account ID that owns the restore job.

$sel:backupSizeInBytes:RestoreJobsListMember', restoreJobsListMember_backupSizeInBytes - The size, in bytes, of the restored resource.

$sel:completionDate:RestoreJobsListMember', restoreJobsListMember_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:createdResourceArn:RestoreJobsListMember', restoreJobsListMember_createdResourceArn - An Amazon Resource Name (ARN) that uniquely identifies a resource. The format of the ARN depends on the resource type.

$sel:creationDate:RestoreJobsListMember', restoreJobsListMember_creationDate - The date and time a restore job 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:expectedCompletionTimeMinutes:RestoreJobsListMember', restoreJobsListMember_expectedCompletionTimeMinutes - The amount of time in minutes that a job restoring a recovery point is expected to take.

$sel:iamRoleArn:RestoreJobsListMember', restoreJobsListMember_iamRoleArn - Specifies the IAM role ARN used to create the target recovery point; for example, arn:aws:iam::123456789012:role/S3Access.

$sel:percentDone:RestoreJobsListMember', restoreJobsListMember_percentDone - Contains an estimated percentage complete of a job at the time the job status was queried.

$sel:recoveryPointArn:RestoreJobsListMember', restoreJobsListMember_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:resourceType:RestoreJobsListMember', restoreJobsListMember_resourceType - The resource type of the listed restore jobs; 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:restoreJobId:RestoreJobsListMember', restoreJobsListMember_restoreJobId - Uniquely identifies the job that restores a recovery point.

$sel:status:RestoreJobsListMember', restoreJobsListMember_status - A status code specifying the state of the job initiated by Backup to restore a recovery point.

$sel:statusMessage:RestoreJobsListMember', restoreJobsListMember_statusMessage - A detailed message explaining the status of the job to restore a recovery point.

restoreJobsListMember_accountId :: Lens' RestoreJobsListMember (Maybe Text) Source #

The account ID that owns the restore job.

restoreJobsListMember_backupSizeInBytes :: Lens' RestoreJobsListMember (Maybe Integer) Source #

The size, in bytes, of the restored resource.

restoreJobsListMember_completionDate :: Lens' RestoreJobsListMember (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.

restoreJobsListMember_createdResourceArn :: Lens' RestoreJobsListMember (Maybe Text) Source #

An Amazon Resource Name (ARN) that uniquely identifies a resource. The format of the ARN depends on the resource type.

restoreJobsListMember_creationDate :: Lens' RestoreJobsListMember (Maybe UTCTime) Source #

The date and time a restore job 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.

restoreJobsListMember_expectedCompletionTimeMinutes :: Lens' RestoreJobsListMember (Maybe Integer) Source #

The amount of time in minutes that a job restoring a recovery point is expected to take.

restoreJobsListMember_iamRoleArn :: Lens' RestoreJobsListMember (Maybe Text) Source #

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

restoreJobsListMember_percentDone :: Lens' RestoreJobsListMember (Maybe Text) Source #

Contains an estimated percentage complete of a job at the time the job status was queried.

restoreJobsListMember_recoveryPointArn :: Lens' RestoreJobsListMember (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.

restoreJobsListMember_resourceType :: Lens' RestoreJobsListMember (Maybe Text) Source #

The resource type of the listed restore jobs; 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.

restoreJobsListMember_restoreJobId :: Lens' RestoreJobsListMember (Maybe Text) Source #

Uniquely identifies the job that restores a recovery point.

restoreJobsListMember_status :: Lens' RestoreJobsListMember (Maybe RestoreJobStatus) Source #

A status code specifying the state of the job initiated by Backup to restore a recovery point.

restoreJobsListMember_statusMessage :: Lens' RestoreJobsListMember (Maybe Text) Source #

A detailed message explaining the status of the job to restore a recovery point.