Skip to content

/AWS1/CL_S3_TRANSITION

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.

CONSTRUCTOR

IMPORTING

Optional arguments:

iv_date TYPE /AWS1/S3_DATE /AWS1/S3_DATE

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.

iv_days TYPE /AWS1/S3_DAYS /AWS1/S3_DAYS

Indicates the number of days after creation when objects are transitioned to the specified storage class. If the specified storage class is INTELLIGENT_TIERING, GLACIER_IR, GLACIER, or DEEP_ARCHIVE, valid values are 0 or positive integers. If the specified storage class is STANDARD_IA or ONEZONE_IA, valid values are positive integers greater than 30. Be aware that some storage classes have a minimum storage duration and that you're charged for transitioning objects before their minimum storage duration. For more information, see Constraints and considerations for transitions in the Amazon S3 User Guide.

iv_storageclass TYPE /AWS1/S3_TRANSSTORAGECLASS /AWS1/S3_TRANSSTORAGECLASS

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


Queryable Attributes

Date

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.

Accessible with the following methods

Method Description
GET_DATE() Getter for DATE, with configurable default
ASK_DATE() Getter for DATE w/ exceptions if field has no value
HAS_DATE() Determine if DATE has a value

Days

Indicates the number of days after creation when objects are transitioned to the specified storage class. If the specified storage class is INTELLIGENT_TIERING, GLACIER_IR, GLACIER, or DEEP_ARCHIVE, valid values are 0 or positive integers. If the specified storage class is STANDARD_IA or ONEZONE_IA, valid values are positive integers greater than 30. Be aware that some storage classes have a minimum storage duration and that you're charged for transitioning objects before their minimum storage duration. For more information, see Constraints and considerations for transitions in the Amazon S3 User Guide.

Accessible with the following methods

Method Description
GET_DAYS() Getter for DAYS, with configurable default
ASK_DAYS() Getter for DAYS w/ exceptions if field has no value
HAS_DAYS() Determine if DAYS has a value

StorageClass

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

Accessible with the following methods

Method Description
GET_STORAGECLASS() Getter for STORAGECLASS, with configurable default
ASK_STORAGECLASS() Getter for STORAGECLASS w/ exceptions if field has no value
HAS_STORAGECLASS() Determine if STORAGECLASS has a value

Public Local Types In This Class

Internal table types, representing arrays and maps of this class, are defined as local types:

TT_TRANSITIONLIST

TYPES TT_TRANSITIONLIST TYPE STANDARD TABLE OF REF TO /AWS1/CL_S3_TRANSITION WITH DEFAULT KEY
.