BackupJob
public struct BackupJob : AWSShape
Undocumented
-
Declaration
Swift
public static var _members: [AWSShapeMember]
-
The account ID that owns the backup job.
Declaration
Swift
public let accountId: String?
-
Uniquely identifies a request to AWS Backup to back up a resource.
Declaration
Swift
public let backupJobId: String?
-
The size, in bytes, of a backup.
Declaration
Swift
public let backupSizeInBytes: Int64?
-
An Amazon Resource Name (ARN) that uniquely identifies a backup vault; for example, arn:aws:backup:us-east-1:123456789012:vault:aBackupVault.
Declaration
Swift
public let backupVaultArn: String?
-
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 AWS Region where they are created. They consist of lowercase letters, numbers, and hyphens.
Declaration
Swift
public let backupVaultName: String?
-
The size in bytes transferred to a backup vault at the time that the job status was queried.
Declaration
Swift
public let bytesTransferred: Int64?
-
The date and time a job to create a backup 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.
Declaration
Swift
public let completionDate: TimeStamp?
-
Contains identifying information about the creation of a backup job, including the BackupPlanArn, BackupPlanId, BackupPlanVersion, and BackupRuleId of the backup plan used to create it.
Declaration
Swift
public let createdBy: RecoveryPointCreator?
-
The date and time a backup 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.
Declaration
Swift
public let creationDate: TimeStamp?
-
The date and time a job to back up resources is expected to be completed, in Unix format and Coordinated Universal Time (UTC). The value of ExpectedCompletionDate is accurate to milliseconds. For example, the value 1516925490.087 represents Friday, January 26, 2018 12:11:30.087 AM.
Declaration
Swift
public let expectedCompletionDate: TimeStamp?
-
Specifies the IAM role ARN used to create the target recovery point; for example, arn:aws:iam::123456789012:role/S3Access.
Declaration
Swift
public let iamRoleArn: String?
-
Contains an estimated percentage complete of a job at the time the job status was queried.
Declaration
Swift
public let percentDone: String?
-
An ARN that uniquely identifies a recovery point; for example, arn:aws:backup:us-east-1:123456789012:recovery-point:1EB3B5E7-9EB0-435A-A80B-108B488B0D45.
Declaration
Swift
public let recoveryPointArn: String?
-
An ARN that uniquely identifies a resource. The format of the ARN depends on the resource type.
Declaration
Swift
public let resourceArn: String?
-
The type of AWS resource to be backed up; for example, an Amazon Elastic Block Store (Amazon EBS) volume or an Amazon Relational Database Service (Amazon RDS) database.
Declaration
Swift
public let resourceType: String?
-
Specifies the time in Unix format and Coordinated Universal Time (UTC) when a backup job must be started before it is canceled. The value is calculated by adding the start window to the scheduled time. So if the scheduled time were 6:00 PM and the start window is 2 hours, the StartBy time would be 8:00 PM on the date specified. The value of StartBy is accurate to milliseconds. For example, the value 1516925490.087 represents Friday, January 26, 2018 12:11:30.087 AM.
Declaration
Swift
public let startBy: TimeStamp?
-
The current state of a resource recovery point.
Declaration
Swift
public let state: BackupJobState?
-
A detailed message explaining the status of the job to back up a resource.
Declaration
Swift
public let statusMessage: String?
-
init(accountId:backupJobId:backupSizeInBytes:backupVaultArn:backupVaultName:bytesTransferred:completionDate:createdBy:creationDate:expectedCompletionDate:iamRoleArn:percentDone:recoveryPointArn:resourceArn:resourceType:startBy:state:statusMessage:)
Undocumented
Declaration
Swift
public init(accountId: String? = nil, backupJobId: String? = nil, backupSizeInBytes: Int64? = nil, backupVaultArn: String? = nil, backupVaultName: String? = nil, bytesTransferred: Int64? = nil, completionDate: TimeStamp? = nil, createdBy: RecoveryPointCreator? = nil, creationDate: TimeStamp? = nil, expectedCompletionDate: TimeStamp? = nil, iamRoleArn: String? = nil, percentDone: String? = nil, recoveryPointArn: String? = nil, resourceArn: String? = nil, resourceType: String? = nil, startBy: TimeStamp? = nil, state: BackupJobState? = nil, statusMessage: String? = nil)