Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Synopsis
Documentation
data Transition Source #
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.
See: newTransition
smart constructor.
Transition' | |
|
Instances
newTransition :: Transition Source #
Create a value of Transition
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:days:Transition'
, transition_days
- Indicates the number of days after creation when objects are
transitioned to the specified storage class. The value must be a
positive integer.
$sel:date:Transition'
, transition_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.
$sel:storageClass:Transition'
, transition_storageClass
- The storage class to which you want the object to transition.
transition_days :: Lens' Transition (Maybe Int) Source #
Indicates the number of days after creation when objects are transitioned to the specified storage class. The value must be a positive integer.
transition_date :: Lens' Transition (Maybe UTCTime) Source #
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.
transition_storageClass :: Lens' Transition (Maybe TransitionStorageClass) Source #
The storage class to which you want the object to transition.