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

Class: Aws::Glacier::Types::GlacierJobDescription

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

Overview

Describes an Amazon Glacier job.

Instance Attribute Summary collapse

Instance Attribute Details

#actionString

The job type. It is either ArchiveRetrieval or InventoryRetrieval.

Returns:

  • (String)


1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
# File 'gems/aws-sdk-glacier/lib/aws-sdk-glacier/types.rb', line 1011

class GlacierJobDescription < Struct.new(
  :job_id,
  :job_description,
  :action,
  :archive_id,
  :vault_arn,
  :creation_date,
  :completed,
  :status_code,
  :status_message,
  :archive_size_in_bytes,
  :inventory_size_in_bytes,
  :sns_topic,
  :completion_date,
  :sha256_tree_hash,
  :archive_sha256_tree_hash,
  :retrieval_byte_range,
  :tier,
  :inventory_retrieval_parameters)
  include Aws::Structure
end

#archive_idString

For an ArchiveRetrieval job, this is the archive ID requested for download. Otherwise, this field is null.

Returns:

  • (String)


1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
# File 'gems/aws-sdk-glacier/lib/aws-sdk-glacier/types.rb', line 1011

class GlacierJobDescription < Struct.new(
  :job_id,
  :job_description,
  :action,
  :archive_id,
  :vault_arn,
  :creation_date,
  :completed,
  :status_code,
  :status_message,
  :archive_size_in_bytes,
  :inventory_size_in_bytes,
  :sns_topic,
  :completion_date,
  :sha256_tree_hash,
  :archive_sha256_tree_hash,
  :retrieval_byte_range,
  :tier,
  :inventory_retrieval_parameters)
  include Aws::Structure
end

#archive_sha256_tree_hashString

The SHA256 tree hash of the entire archive for an archive retrieval. For inventory retrieval jobs, this field is null.

Returns:

  • (String)


1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
# File 'gems/aws-sdk-glacier/lib/aws-sdk-glacier/types.rb', line 1011

class GlacierJobDescription < Struct.new(
  :job_id,
  :job_description,
  :action,
  :archive_id,
  :vault_arn,
  :creation_date,
  :completed,
  :status_code,
  :status_message,
  :archive_size_in_bytes,
  :inventory_size_in_bytes,
  :sns_topic,
  :completion_date,
  :sha256_tree_hash,
  :archive_sha256_tree_hash,
  :retrieval_byte_range,
  :tier,
  :inventory_retrieval_parameters)
  include Aws::Structure
end

#archive_size_in_bytesInteger

For an ArchiveRetrieval job, this is the size in bytes of the archive being requested for download. For the InventoryRetrieval job, the value is null.

Returns:

  • (Integer)


1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
# File 'gems/aws-sdk-glacier/lib/aws-sdk-glacier/types.rb', line 1011

class GlacierJobDescription < Struct.new(
  :job_id,
  :job_description,
  :action,
  :archive_id,
  :vault_arn,
  :creation_date,
  :completed,
  :status_code,
  :status_message,
  :archive_size_in_bytes,
  :inventory_size_in_bytes,
  :sns_topic,
  :completion_date,
  :sha256_tree_hash,
  :archive_sha256_tree_hash,
  :retrieval_byte_range,
  :tier,
  :inventory_retrieval_parameters)
  include Aws::Structure
end

#completedBoolean

The job status. When a job is completed, you get the job's output.

Returns:

  • (Boolean)


1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
# File 'gems/aws-sdk-glacier/lib/aws-sdk-glacier/types.rb', line 1011

class GlacierJobDescription < Struct.new(
  :job_id,
  :job_description,
  :action,
  :archive_id,
  :vault_arn,
  :creation_date,
  :completed,
  :status_code,
  :status_message,
  :archive_size_in_bytes,
  :inventory_size_in_bytes,
  :sns_topic,
  :completion_date,
  :sha256_tree_hash,
  :archive_sha256_tree_hash,
  :retrieval_byte_range,
  :tier,
  :inventory_retrieval_parameters)
  include Aws::Structure
end

#completion_dateTime

The UTC time that the archive retrieval request completed. While the job is in progress, the value will be null.

Returns:

  • (Time)


1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
# File 'gems/aws-sdk-glacier/lib/aws-sdk-glacier/types.rb', line 1011

class GlacierJobDescription < Struct.new(
  :job_id,
  :job_description,
  :action,
  :archive_id,
  :vault_arn,
  :creation_date,
  :completed,
  :status_code,
  :status_message,
  :archive_size_in_bytes,
  :inventory_size_in_bytes,
  :sns_topic,
  :completion_date,
  :sha256_tree_hash,
  :archive_sha256_tree_hash,
  :retrieval_byte_range,
  :tier,
  :inventory_retrieval_parameters)
  include Aws::Structure
end

#creation_dateTime

The UTC date when the job was created. A string representation of ISO 8601 date format, for example, "2012-03-20T17:03:43.221Z".

Returns:

  • (Time)


1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
# File 'gems/aws-sdk-glacier/lib/aws-sdk-glacier/types.rb', line 1011

class GlacierJobDescription < Struct.new(
  :job_id,
  :job_description,
  :action,
  :archive_id,
  :vault_arn,
  :creation_date,
  :completed,
  :status_code,
  :status_message,
  :archive_size_in_bytes,
  :inventory_size_in_bytes,
  :sns_topic,
  :completion_date,
  :sha256_tree_hash,
  :archive_sha256_tree_hash,
  :retrieval_byte_range,
  :tier,
  :inventory_retrieval_parameters)
  include Aws::Structure
end

#inventory_retrieval_parametersTypes::InventoryRetrievalJobDescription

Parameters used for range inventory retrieval.



1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
# File 'gems/aws-sdk-glacier/lib/aws-sdk-glacier/types.rb', line 1011

class GlacierJobDescription < Struct.new(
  :job_id,
  :job_description,
  :action,
  :archive_id,
  :vault_arn,
  :creation_date,
  :completed,
  :status_code,
  :status_message,
  :archive_size_in_bytes,
  :inventory_size_in_bytes,
  :sns_topic,
  :completion_date,
  :sha256_tree_hash,
  :archive_sha256_tree_hash,
  :retrieval_byte_range,
  :tier,
  :inventory_retrieval_parameters)
  include Aws::Structure
end

#inventory_size_in_bytesInteger

For an InventoryRetrieval job, this is the size in bytes of the inventory requested for download. For the ArchiveRetrieval job, the value is null.

Returns:

  • (Integer)


1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
# File 'gems/aws-sdk-glacier/lib/aws-sdk-glacier/types.rb', line 1011

class GlacierJobDescription < Struct.new(
  :job_id,
  :job_description,
  :action,
  :archive_id,
  :vault_arn,
  :creation_date,
  :completed,
  :status_code,
  :status_message,
  :archive_size_in_bytes,
  :inventory_size_in_bytes,
  :sns_topic,
  :completion_date,
  :sha256_tree_hash,
  :archive_sha256_tree_hash,
  :retrieval_byte_range,
  :tier,
  :inventory_retrieval_parameters)
  include Aws::Structure
end

#job_descriptionString

The job description you provided when you initiated the job.

Returns:

  • (String)


1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
# File 'gems/aws-sdk-glacier/lib/aws-sdk-glacier/types.rb', line 1011

class GlacierJobDescription < Struct.new(
  :job_id,
  :job_description,
  :action,
  :archive_id,
  :vault_arn,
  :creation_date,
  :completed,
  :status_code,
  :status_message,
  :archive_size_in_bytes,
  :inventory_size_in_bytes,
  :sns_topic,
  :completion_date,
  :sha256_tree_hash,
  :archive_sha256_tree_hash,
  :retrieval_byte_range,
  :tier,
  :inventory_retrieval_parameters)
  include Aws::Structure
end

#job_idString

An opaque string that identifies an Amazon Glacier job.

Returns:

  • (String)


1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
# File 'gems/aws-sdk-glacier/lib/aws-sdk-glacier/types.rb', line 1011

class GlacierJobDescription < Struct.new(
  :job_id,
  :job_description,
  :action,
  :archive_id,
  :vault_arn,
  :creation_date,
  :completed,
  :status_code,
  :status_message,
  :archive_size_in_bytes,
  :inventory_size_in_bytes,
  :sns_topic,
  :completion_date,
  :sha256_tree_hash,
  :archive_sha256_tree_hash,
  :retrieval_byte_range,
  :tier,
  :inventory_retrieval_parameters)
  include Aws::Structure
end

#retrieval_byte_rangeString

The retrieved byte range for archive retrieval jobs in the form "StartByteValue-EndByteValue" If no range was specified in the archive retrieval, then the whole archive is retrieved and StartByteValue equals 0 and EndByteValue equals the size of the archive minus 1. For inventory retrieval jobs this field is null.

Returns:

  • (String)


1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
# File 'gems/aws-sdk-glacier/lib/aws-sdk-glacier/types.rb', line 1011

class GlacierJobDescription < Struct.new(
  :job_id,
  :job_description,
  :action,
  :archive_id,
  :vault_arn,
  :creation_date,
  :completed,
  :status_code,
  :status_message,
  :archive_size_in_bytes,
  :inventory_size_in_bytes,
  :sns_topic,
  :completion_date,
  :sha256_tree_hash,
  :archive_sha256_tree_hash,
  :retrieval_byte_range,
  :tier,
  :inventory_retrieval_parameters)
  include Aws::Structure
end

#sha256_tree_hashString

For an ArchiveRetrieval job, it is the checksum of the archive. Otherwise, the value is null.

The SHA256 tree hash value for the requested range of an archive. If the Initiate a Job request for an archive specified a tree-hash aligned range, then this field returns a value.

For the specific case when the whole archive is retrieved, this value is the same as the ArchiveSHA256TreeHash value.

This field is null in the following situations:

  • Archive retrieval jobs that specify a range that is not tree-hash aligned.

^ ^

  • Archival jobs that specify a range that is equal to the whole archive and the job status is InProgress.

^ ^

  • Inventory jobs.

^

Returns:

  • (String)


1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
# File 'gems/aws-sdk-glacier/lib/aws-sdk-glacier/types.rb', line 1011

class GlacierJobDescription < Struct.new(
  :job_id,
  :job_description,
  :action,
  :archive_id,
  :vault_arn,
  :creation_date,
  :completed,
  :status_code,
  :status_message,
  :archive_size_in_bytes,
  :inventory_size_in_bytes,
  :sns_topic,
  :completion_date,
  :sha256_tree_hash,
  :archive_sha256_tree_hash,
  :retrieval_byte_range,
  :tier,
  :inventory_retrieval_parameters)
  include Aws::Structure
end

#sns_topicString

An Amazon Simple Notification Service (Amazon SNS) topic that receives notification.

Returns:

  • (String)


1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
# File 'gems/aws-sdk-glacier/lib/aws-sdk-glacier/types.rb', line 1011

class GlacierJobDescription < Struct.new(
  :job_id,
  :job_description,
  :action,
  :archive_id,
  :vault_arn,
  :creation_date,
  :completed,
  :status_code,
  :status_message,
  :archive_size_in_bytes,
  :inventory_size_in_bytes,
  :sns_topic,
  :completion_date,
  :sha256_tree_hash,
  :archive_sha256_tree_hash,
  :retrieval_byte_range,
  :tier,
  :inventory_retrieval_parameters)
  include Aws::Structure
end

#status_codeString

The status code can be InProgress, Succeeded, or Failed, and indicates the status of the job.

Returns:

  • (String)


1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
# File 'gems/aws-sdk-glacier/lib/aws-sdk-glacier/types.rb', line 1011

class GlacierJobDescription < Struct.new(
  :job_id,
  :job_description,
  :action,
  :archive_id,
  :vault_arn,
  :creation_date,
  :completed,
  :status_code,
  :status_message,
  :archive_size_in_bytes,
  :inventory_size_in_bytes,
  :sns_topic,
  :completion_date,
  :sha256_tree_hash,
  :archive_sha256_tree_hash,
  :retrieval_byte_range,
  :tier,
  :inventory_retrieval_parameters)
  include Aws::Structure
end

#status_messageString

A friendly message that describes the job status.

Returns:

  • (String)


1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
# File 'gems/aws-sdk-glacier/lib/aws-sdk-glacier/types.rb', line 1011

class GlacierJobDescription < Struct.new(
  :job_id,
  :job_description,
  :action,
  :archive_id,
  :vault_arn,
  :creation_date,
  :completed,
  :status_code,
  :status_message,
  :archive_size_in_bytes,
  :inventory_size_in_bytes,
  :sns_topic,
  :completion_date,
  :sha256_tree_hash,
  :archive_sha256_tree_hash,
  :retrieval_byte_range,
  :tier,
  :inventory_retrieval_parameters)
  include Aws::Structure
end

#tierString

The retrieval option to use for the archive retrieval. Valid values are Expedited, Standard, or Bulk. Standard is the default.

Returns:

  • (String)


1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
# File 'gems/aws-sdk-glacier/lib/aws-sdk-glacier/types.rb', line 1011

class GlacierJobDescription < Struct.new(
  :job_id,
  :job_description,
  :action,
  :archive_id,
  :vault_arn,
  :creation_date,
  :completed,
  :status_code,
  :status_message,
  :archive_size_in_bytes,
  :inventory_size_in_bytes,
  :sns_topic,
  :completion_date,
  :sha256_tree_hash,
  :archive_sha256_tree_hash,
  :retrieval_byte_range,
  :tier,
  :inventory_retrieval_parameters)
  include Aws::Structure
end

#vault_arnString

The Amazon Resource Name (ARN) of the vault from which the archive retrieval was requested.

Returns:

  • (String)


1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
# File 'gems/aws-sdk-glacier/lib/aws-sdk-glacier/types.rb', line 1011

class GlacierJobDescription < Struct.new(
  :job_id,
  :job_description,
  :action,
  :archive_id,
  :vault_arn,
  :creation_date,
  :completed,
  :status_code,
  :status_message,
  :archive_size_in_bytes,
  :inventory_size_in_bytes,
  :sns_topic,
  :completion_date,
  :sha256_tree_hash,
  :archive_sha256_tree_hash,
  :retrieval_byte_range,
  :tier,
  :inventory_retrieval_parameters)
  include Aws::Structure
end