Class: Aws::S3Control::Types::S3InitiateRestoreObjectOperation

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

Overview

Note:

When making an API call, you may pass S3InitiateRestoreObjectOperation data as a hash:

{
  expiration_in_days: 1,
  glacier_job_tier: "BULK", # accepts BULK, STANDARD
}

Contains the configuration parameters for an S3 Initiate Restore Object job. S3 Batch Operations passes every object to the underlying POST Object restore API. For more information about the parameters for this operation, see RestoreObject.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#expiration_in_daysInteger

This argument specifies how long the S3 Glacier or S3 Glacier Deep Archive object remains available in Amazon S3. S3 Initiate Restore Object jobs that target S3 Glacier and S3 Glacier Deep Archive objects require ExpirationInDays set to 1 or greater.

Conversely, do not set ExpirationInDays when creating S3 Initiate Restore Object jobs that target S3 Intelligent-Tiering Archive Access and Deep Archive Access tier objects. Objects in S3 Intelligent-Tiering archive access tiers are not subject to restore expiry, so specifying ExpirationInDays results in restore request failure.

S3 Batch Operations jobs can operate either on S3 Glacier and S3 Glacier Deep Archive storage class objects or on S3 Intelligent-Tiering Archive Access and Deep Archive Access storage tier objects, but not both types in the same job. If you need to restore objects of both types you must create separate Batch Operations jobs.

Returns:

  • (Integer)


5768
5769
5770
5771
5772
5773
# File 'gems/aws-sdk-s3control/lib/aws-sdk-s3control/types.rb', line 5768

class S3InitiateRestoreObjectOperation < Struct.new(
  :expiration_in_days,
  :glacier_job_tier)
  SENSITIVE = []
  include Aws::Structure
end

#glacier_job_tierString

S3 Batch Operations supports STANDARD and BULK retrieval tiers, but not the EXPEDITED retrieval tier.

Returns:

  • (String)


5768
5769
5770
5771
5772
5773
# File 'gems/aws-sdk-s3control/lib/aws-sdk-s3control/types.rb', line 5768

class S3InitiateRestoreObjectOperation < Struct.new(
  :expiration_in_days,
  :glacier_job_tier)
  SENSITIVE = []
  include Aws::Structure
end