Class: Aws::S3::Types::Transition

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-s3/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, GLACIER_IR
}

Specifies when an object transitions to a specified storage class. For more information about Amazon S3 lifecycle configuration rules, see Transitioning Objects Using Amazon S3 Lifecycle in the Amazon S3 User Guide.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#dateTime

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.

Returns:

  • (Time)


14977
14978
14979
14980
14981
14982
14983
# File 'gems/aws-sdk-s3/lib/aws-sdk-s3/types.rb', line 14977

class Transition < Struct.new(
  :date,
  :days,
  :storage_class)
  SENSITIVE = []
  include Aws::Structure
end

#daysInteger

Indicates the number of days after creation when objects are transitioned to the specified storage class. The value must be a positive integer.

Returns:

  • (Integer)


14977
14978
14979
14980
14981
14982
14983
# File 'gems/aws-sdk-s3/lib/aws-sdk-s3/types.rb', line 14977

class Transition < Struct.new(
  :date,
  :days,
  :storage_class)
  SENSITIVE = []
  include Aws::Structure
end

#storage_classString

The storage class to which you want the object to transition.

Returns:

  • (String)


14977
14978
14979
14980
14981
14982
14983
# File 'gems/aws-sdk-s3/lib/aws-sdk-s3/types.rb', line 14977

class Transition < Struct.new(
  :date,
  :days,
  :storage_class)
  SENSITIVE = []
  include Aws::Structure
end