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
}
Instance Attribute Summary collapse
-
#date ⇒ Time
Indicates at what date the object is to be moved or deleted.
-
#days ⇒ Integer
Indicates the lifetime, in days, of the objects that are subject to the rule.
-
#storage_class ⇒ String
The class of storage used to store the object.
Instance Attribute Details
#date ⇒ Time
Indicates at what date the object is to be moved or deleted. Should be in GMT ISO 8601 Format.
9720 9721 9722 9723 9724 9725 |
# File 'lib/aws-sdk-s3/types.rb', line 9720 class Transition < Struct.new( :date, :days, :storage_class) include Aws::Structure end |
#days ⇒ Integer
Indicates the lifetime, in days, of the objects that are subject to the rule. The value must be a non-zero positive integer.
9720 9721 9722 9723 9724 9725 |
# File 'lib/aws-sdk-s3/types.rb', line 9720 class Transition < Struct.new( :date, :days, :storage_class) include Aws::Structure end |
#storage_class ⇒ String
The class of storage used to store the object.
9720 9721 9722 9723 9724 9725 |
# File 'lib/aws-sdk-s3/types.rb', line 9720 class Transition < Struct.new( :date, :days, :storage_class) include Aws::Structure end |