You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

Class: Aws::Backup::Types::BackupJob

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-backup/lib/aws-sdk-backup/types.rb

Overview

Contains detailed information about a backup job.

Instance Attribute Summary collapse

Instance Attribute Details

#backup_job_idString

Uniquely identifies a request to AWS Backup to back up a resource.

Returns:

  • (String)


147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
# File 'gems/aws-sdk-backup/lib/aws-sdk-backup/types.rb', line 147

class BackupJob < Struct.new(
  :backup_job_id,
  :backup_vault_name,
  :backup_vault_arn,
  :recovery_point_arn,
  :resource_arn,
  :creation_date,
  :completion_date,
  :state,
  :status_message,
  :percent_done,
  :backup_size_in_bytes,
  :iam_role_arn,
  :created_by,
  :expected_completion_date,
  :start_by,
  :resource_type,
  :bytes_transferred)
  include Aws::Structure
end

#backup_size_in_bytesInteger

The size, in bytes, of a backup.

Returns:

  • (Integer)


147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
# File 'gems/aws-sdk-backup/lib/aws-sdk-backup/types.rb', line 147

class BackupJob < Struct.new(
  :backup_job_id,
  :backup_vault_name,
  :backup_vault_arn,
  :recovery_point_arn,
  :resource_arn,
  :creation_date,
  :completion_date,
  :state,
  :status_message,
  :percent_done,
  :backup_size_in_bytes,
  :iam_role_arn,
  :created_by,
  :expected_completion_date,
  :start_by,
  :resource_type,
  :bytes_transferred)
  include Aws::Structure
end

#backup_vault_arnString

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

Returns:

  • (String)


147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
# File 'gems/aws-sdk-backup/lib/aws-sdk-backup/types.rb', line 147

class BackupJob < Struct.new(
  :backup_job_id,
  :backup_vault_name,
  :backup_vault_arn,
  :recovery_point_arn,
  :resource_arn,
  :creation_date,
  :completion_date,
  :state,
  :status_message,
  :percent_done,
  :backup_size_in_bytes,
  :iam_role_arn,
  :created_by,
  :expected_completion_date,
  :start_by,
  :resource_type,
  :bytes_transferred)
  include Aws::Structure
end

#backup_vault_nameString

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.

Returns:

  • (String)


147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
# File 'gems/aws-sdk-backup/lib/aws-sdk-backup/types.rb', line 147

class BackupJob < Struct.new(
  :backup_job_id,
  :backup_vault_name,
  :backup_vault_arn,
  :recovery_point_arn,
  :resource_arn,
  :creation_date,
  :completion_date,
  :state,
  :status_message,
  :percent_done,
  :backup_size_in_bytes,
  :iam_role_arn,
  :created_by,
  :expected_completion_date,
  :start_by,
  :resource_type,
  :bytes_transferred)
  include Aws::Structure
end

#bytes_transferredInteger

The size in bytes transferred to a backup vault at the time that the job status was queried.

Returns:

  • (Integer)


147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
# File 'gems/aws-sdk-backup/lib/aws-sdk-backup/types.rb', line 147

class BackupJob < Struct.new(
  :backup_job_id,
  :backup_vault_name,
  :backup_vault_arn,
  :recovery_point_arn,
  :resource_arn,
  :creation_date,
  :completion_date,
  :state,
  :status_message,
  :percent_done,
  :backup_size_in_bytes,
  :iam_role_arn,
  :created_by,
  :expected_completion_date,
  :start_by,
  :resource_type,
  :bytes_transferred)
  include Aws::Structure
end

#completion_dateTime

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.

Returns:

  • (Time)


147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
# File 'gems/aws-sdk-backup/lib/aws-sdk-backup/types.rb', line 147

class BackupJob < Struct.new(
  :backup_job_id,
  :backup_vault_name,
  :backup_vault_arn,
  :recovery_point_arn,
  :resource_arn,
  :creation_date,
  :completion_date,
  :state,
  :status_message,
  :percent_done,
  :backup_size_in_bytes,
  :iam_role_arn,
  :created_by,
  :expected_completion_date,
  :start_by,
  :resource_type,
  :bytes_transferred)
  include Aws::Structure
end

#created_byTypes::RecoveryPointCreator

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.



147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
# File 'gems/aws-sdk-backup/lib/aws-sdk-backup/types.rb', line 147

class BackupJob < Struct.new(
  :backup_job_id,
  :backup_vault_name,
  :backup_vault_arn,
  :recovery_point_arn,
  :resource_arn,
  :creation_date,
  :completion_date,
  :state,
  :status_message,
  :percent_done,
  :backup_size_in_bytes,
  :iam_role_arn,
  :created_by,
  :expected_completion_date,
  :start_by,
  :resource_type,
  :bytes_transferred)
  include Aws::Structure
end

#creation_dateTime

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.

Returns:

  • (Time)


147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
# File 'gems/aws-sdk-backup/lib/aws-sdk-backup/types.rb', line 147

class BackupJob < Struct.new(
  :backup_job_id,
  :backup_vault_name,
  :backup_vault_arn,
  :recovery_point_arn,
  :resource_arn,
  :creation_date,
  :completion_date,
  :state,
  :status_message,
  :percent_done,
  :backup_size_in_bytes,
  :iam_role_arn,
  :created_by,
  :expected_completion_date,
  :start_by,
  :resource_type,
  :bytes_transferred)
  include Aws::Structure
end

#expected_completion_dateTime

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.

Returns:

  • (Time)


147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
# File 'gems/aws-sdk-backup/lib/aws-sdk-backup/types.rb', line 147

class BackupJob < Struct.new(
  :backup_job_id,
  :backup_vault_name,
  :backup_vault_arn,
  :recovery_point_arn,
  :resource_arn,
  :creation_date,
  :completion_date,
  :state,
  :status_message,
  :percent_done,
  :backup_size_in_bytes,
  :iam_role_arn,
  :created_by,
  :expected_completion_date,
  :start_by,
  :resource_type,
  :bytes_transferred)
  include Aws::Structure
end

#iam_role_arnString

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

Returns:

  • (String)


147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
# File 'gems/aws-sdk-backup/lib/aws-sdk-backup/types.rb', line 147

class BackupJob < Struct.new(
  :backup_job_id,
  :backup_vault_name,
  :backup_vault_arn,
  :recovery_point_arn,
  :resource_arn,
  :creation_date,
  :completion_date,
  :state,
  :status_message,
  :percent_done,
  :backup_size_in_bytes,
  :iam_role_arn,
  :created_by,
  :expected_completion_date,
  :start_by,
  :resource_type,
  :bytes_transferred)
  include Aws::Structure
end

#percent_doneString

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

Returns:

  • (String)


147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
# File 'gems/aws-sdk-backup/lib/aws-sdk-backup/types.rb', line 147

class BackupJob < Struct.new(
  :backup_job_id,
  :backup_vault_name,
  :backup_vault_arn,
  :recovery_point_arn,
  :resource_arn,
  :creation_date,
  :completion_date,
  :state,
  :status_message,
  :percent_done,
  :backup_size_in_bytes,
  :iam_role_arn,
  :created_by,
  :expected_completion_date,
  :start_by,
  :resource_type,
  :bytes_transferred)
  include Aws::Structure
end

#recovery_point_arnString

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

Returns:

  • (String)


147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
# File 'gems/aws-sdk-backup/lib/aws-sdk-backup/types.rb', line 147

class BackupJob < Struct.new(
  :backup_job_id,
  :backup_vault_name,
  :backup_vault_arn,
  :recovery_point_arn,
  :resource_arn,
  :creation_date,
  :completion_date,
  :state,
  :status_message,
  :percent_done,
  :backup_size_in_bytes,
  :iam_role_arn,
  :created_by,
  :expected_completion_date,
  :start_by,
  :resource_type,
  :bytes_transferred)
  include Aws::Structure
end

#resource_arnString

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

Returns:

  • (String)


147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
# File 'gems/aws-sdk-backup/lib/aws-sdk-backup/types.rb', line 147

class BackupJob < Struct.new(
  :backup_job_id,
  :backup_vault_name,
  :backup_vault_arn,
  :recovery_point_arn,
  :resource_arn,
  :creation_date,
  :completion_date,
  :state,
  :status_message,
  :percent_done,
  :backup_size_in_bytes,
  :iam_role_arn,
  :created_by,
  :expected_completion_date,
  :start_by,
  :resource_type,
  :bytes_transferred)
  include Aws::Structure
end

#resource_typeString

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.

Returns:

  • (String)


147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
# File 'gems/aws-sdk-backup/lib/aws-sdk-backup/types.rb', line 147

class BackupJob < Struct.new(
  :backup_job_id,
  :backup_vault_name,
  :backup_vault_arn,
  :recovery_point_arn,
  :resource_arn,
  :creation_date,
  :completion_date,
  :state,
  :status_message,
  :percent_done,
  :backup_size_in_bytes,
  :iam_role_arn,
  :created_by,
  :expected_completion_date,
  :start_by,
  :resource_type,
  :bytes_transferred)
  include Aws::Structure
end

#start_byTime

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.

Returns:

  • (Time)


147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
# File 'gems/aws-sdk-backup/lib/aws-sdk-backup/types.rb', line 147

class BackupJob < Struct.new(
  :backup_job_id,
  :backup_vault_name,
  :backup_vault_arn,
  :recovery_point_arn,
  :resource_arn,
  :creation_date,
  :completion_date,
  :state,
  :status_message,
  :percent_done,
  :backup_size_in_bytes,
  :iam_role_arn,
  :created_by,
  :expected_completion_date,
  :start_by,
  :resource_type,
  :bytes_transferred)
  include Aws::Structure
end

#stateString

The current state of a resource recovery point.

Returns:

  • (String)


147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
# File 'gems/aws-sdk-backup/lib/aws-sdk-backup/types.rb', line 147

class BackupJob < Struct.new(
  :backup_job_id,
  :backup_vault_name,
  :backup_vault_arn,
  :recovery_point_arn,
  :resource_arn,
  :creation_date,
  :completion_date,
  :state,
  :status_message,
  :percent_done,
  :backup_size_in_bytes,
  :iam_role_arn,
  :created_by,
  :expected_completion_date,
  :start_by,
  :resource_type,
  :bytes_transferred)
  include Aws::Structure
end

#status_messageString

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

Returns:

  • (String)


147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
# File 'gems/aws-sdk-backup/lib/aws-sdk-backup/types.rb', line 147

class BackupJob < Struct.new(
  :backup_job_id,
  :backup_vault_name,
  :backup_vault_arn,
  :recovery_point_arn,
  :resource_arn,
  :creation_date,
  :completion_date,
  :state,
  :status_message,
  :percent_done,
  :backup_size_in_bytes,
  :iam_role_arn,
  :created_by,
  :expected_completion_date,
  :start_by,
  :resource_type,
  :bytes_transferred)
  include Aws::Structure
end