Class: Aws::S3::Types::Transition
- Inherits:
-
Struct
- Object
- Struct
- Aws::S3::Types::Transition
- Includes:
- Aws::Structure
- Defined in:
- lib/aws-sdk-s3/types.rb
Overview
Note:
When making an API call, you may pass Transition data as a hash:
{
date: Time.now,
days: 1,
storage_class: "GLACIER", # accepts GLACIER, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING, DEEP_ARCHIVE
}
Specifies when an object transitions to a specified storage class.
Instance Attribute Summary collapse
-
#date ⇒ Time
Indicates when objects are transitioned to the specified storage class.
-
#days ⇒ Integer
Indicates the number of days after creation when objects are transitioned to the specified storage class.
-
#storage_class ⇒ String
The storage class to which you want the object to transition.
Instance Attribute Details
#date ⇒ Time
Indicates when objects are transitioned to the specified storage class. The date value must be in ISO 8601 format. The time is always midnight UTC.
12319 12320 12321 12322 12323 12324 |
# File 'lib/aws-sdk-s3/types.rb', line 12319 class Transition < Struct.new( :date, :days, :storage_class) include Aws::Structure end |
#days ⇒ Integer
Indicates the number of days after creation when objects are transitioned to the specified storage class. The value must be a positive integer.
12319 12320 12321 12322 12323 12324 |
# File 'lib/aws-sdk-s3/types.rb', line 12319 class Transition < Struct.new( :date, :days, :storage_class) include Aws::Structure end |
#storage_class ⇒ String
The storage class to which you want the object to transition.
12319 12320 12321 12322 12323 12324 |
# File 'lib/aws-sdk-s3/types.rb', line 12319 class Transition < Struct.new( :date, :days, :storage_class) include Aws::Structure end |