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.Types.CopyJob

Description

 
Synopsis

Documentation

data CopyJob Source #

Contains detailed information about a copy job.

See: newCopyJob smart constructor.

Constructors

CopyJob' 

Fields

  • iamRoleArn :: Maybe Text

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

  • state :: Maybe CopyJobState

    The current state of a copy job.

  • sourceRecoveryPointArn :: Maybe Text

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

  • resourceType :: Maybe Text

    The type of Amazon Web Services resource to be copied; for example, an Amazon Elastic Block Store (Amazon EBS) volume or an Amazon Relational Database Service (Amazon RDS) database.

  • destinationBackupVaultArn :: Maybe Text

    An Amazon Resource Name (ARN) that uniquely identifies a destination copy vault; for example, arn:aws:backup:us-east-1:123456789012:vault:aBackupVault.

  • createdBy :: Maybe RecoveryPointCreator
     
  • destinationRecoveryPointArn :: Maybe Text

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

  • accountId :: Maybe Text

    The account ID that owns the copy job.

  • sourceBackupVaultArn :: Maybe Text

    An Amazon Resource Name (ARN) that uniquely identifies a source copy vault; for example, arn:aws:backup:us-east-1:123456789012:vault:aBackupVault.

  • copyJobId :: Maybe Text

    Uniquely identifies a copy job.

  • resourceArn :: Maybe Text

    The Amazon Web Services resource to be copied; for example, an Amazon Elastic Block Store (Amazon EBS) volume or an Amazon Relational Database Service (Amazon RDS) database.

  • statusMessage :: Maybe Text

    A detailed message explaining the status of the job to copy a resource.

  • backupSizeInBytes :: Maybe Integer

    The size, in bytes, of a copy job.

  • creationDate :: Maybe POSIX

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

  • completionDate :: Maybe POSIX

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

Instances

Instances details
Eq CopyJob Source # 
Instance details

Defined in Amazonka.Backup.Types.CopyJob

Methods

(==) :: CopyJob -> CopyJob -> Bool #

(/=) :: CopyJob -> CopyJob -> Bool #

Read CopyJob Source # 
Instance details

Defined in Amazonka.Backup.Types.CopyJob

Show CopyJob Source # 
Instance details

Defined in Amazonka.Backup.Types.CopyJob

Generic CopyJob Source # 
Instance details

Defined in Amazonka.Backup.Types.CopyJob

Associated Types

type Rep CopyJob :: Type -> Type #

Methods

from :: CopyJob -> Rep CopyJob x #

to :: Rep CopyJob x -> CopyJob #

NFData CopyJob Source # 
Instance details

Defined in Amazonka.Backup.Types.CopyJob

Methods

rnf :: CopyJob -> () #

Hashable CopyJob Source # 
Instance details

Defined in Amazonka.Backup.Types.CopyJob

Methods

hashWithSalt :: Int -> CopyJob -> Int #

hash :: CopyJob -> Int #

FromJSON CopyJob Source # 
Instance details

Defined in Amazonka.Backup.Types.CopyJob

type Rep CopyJob Source # 
Instance details

Defined in Amazonka.Backup.Types.CopyJob

type Rep CopyJob = D1 ('MetaData "CopyJob" "Amazonka.Backup.Types.CopyJob" "libZSservicesZSamazonka-backupZSamazonka-backup" 'False) (C1 ('MetaCons "CopyJob'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "iamRoleArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "state") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe CopyJobState)) :*: S1 ('MetaSel ('Just "sourceRecoveryPointArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 ('MetaSel ('Just "resourceType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "destinationBackupVaultArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "createdBy") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe RecoveryPointCreator)) :*: S1 ('MetaSel ('Just "destinationRecoveryPointArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))) :*: (((S1 ('MetaSel ('Just "accountId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "sourceBackupVaultArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "copyJobId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "resourceArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 ('MetaSel ('Just "statusMessage") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "backupSizeInBytes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Integer))) :*: (S1 ('MetaSel ('Just "creationDate") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: S1 ('MetaSel ('Just "completionDate") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)))))))

newCopyJob :: CopyJob Source #

Create a value of CopyJob 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:iamRoleArn:CopyJob', copyJob_iamRoleArn - Specifies the IAM role ARN used to copy the target recovery point; for example, arn:aws:iam::123456789012:role/S3Access.

$sel:state:CopyJob', copyJob_state - The current state of a copy job.

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

$sel:resourceType:CopyJob', copyJob_resourceType - The type of Amazon Web Services resource to be copied; for example, an Amazon Elastic Block Store (Amazon EBS) volume or an Amazon Relational Database Service (Amazon RDS) database.

$sel:destinationBackupVaultArn:CopyJob', copyJob_destinationBackupVaultArn - An Amazon Resource Name (ARN) that uniquely identifies a destination copy vault; for example, arn:aws:backup:us-east-1:123456789012:vault:aBackupVault.

$sel:createdBy:CopyJob', copyJob_createdBy - Undocumented member.

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

$sel:accountId:CopyJob', copyJob_accountId - The account ID that owns the copy job.

$sel:sourceBackupVaultArn:CopyJob', copyJob_sourceBackupVaultArn - An Amazon Resource Name (ARN) that uniquely identifies a source copy vault; for example, arn:aws:backup:us-east-1:123456789012:vault:aBackupVault.

$sel:copyJobId:CopyJob', copyJob_copyJobId - Uniquely identifies a copy job.

$sel:resourceArn:CopyJob', copyJob_resourceArn - The Amazon Web Services resource to be copied; for example, an Amazon Elastic Block Store (Amazon EBS) volume or an Amazon Relational Database Service (Amazon RDS) database.

$sel:statusMessage:CopyJob', copyJob_statusMessage - A detailed message explaining the status of the job to copy a resource.

$sel:backupSizeInBytes:CopyJob', copyJob_backupSizeInBytes - The size, in bytes, of a copy job.

$sel:creationDate:CopyJob', copyJob_creationDate - The date and time a copy 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:completionDate:CopyJob', copyJob_completionDate - The date and time a copy job 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.

copyJob_iamRoleArn :: Lens' CopyJob (Maybe Text) Source #

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

copyJob_state :: Lens' CopyJob (Maybe CopyJobState) Source #

The current state of a copy job.

copyJob_sourceRecoveryPointArn :: Lens' CopyJob (Maybe Text) Source #

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

copyJob_resourceType :: Lens' CopyJob (Maybe Text) Source #

The type of Amazon Web Services resource to be copied; for example, an Amazon Elastic Block Store (Amazon EBS) volume or an Amazon Relational Database Service (Amazon RDS) database.

copyJob_destinationBackupVaultArn :: Lens' CopyJob (Maybe Text) Source #

An Amazon Resource Name (ARN) that uniquely identifies a destination copy vault; for example, arn:aws:backup:us-east-1:123456789012:vault:aBackupVault.

copyJob_destinationRecoveryPointArn :: Lens' CopyJob (Maybe Text) Source #

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

copyJob_accountId :: Lens' CopyJob (Maybe Text) Source #

The account ID that owns the copy job.

copyJob_sourceBackupVaultArn :: Lens' CopyJob (Maybe Text) Source #

An Amazon Resource Name (ARN) that uniquely identifies a source copy vault; for example, arn:aws:backup:us-east-1:123456789012:vault:aBackupVault.

copyJob_copyJobId :: Lens' CopyJob (Maybe Text) Source #

Uniquely identifies a copy job.

copyJob_resourceArn :: Lens' CopyJob (Maybe Text) Source #

The Amazon Web Services resource to be copied; for example, an Amazon Elastic Block Store (Amazon EBS) volume or an Amazon Relational Database Service (Amazon RDS) database.

copyJob_statusMessage :: Lens' CopyJob (Maybe Text) Source #

A detailed message explaining the status of the job to copy a resource.

copyJob_backupSizeInBytes :: Lens' CopyJob (Maybe Integer) Source #

The size, in bytes, of a copy job.

copyJob_creationDate :: Lens' CopyJob (Maybe UTCTime) Source #

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

copyJob_completionDate :: Lens' CopyJob (Maybe UTCTime) Source #

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