| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.S3.Types.Transition
Description
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.
Constructors
| Transition' | |
Fields
| |
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: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: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:storageClass:Transition', transition_storageClass - The storage class to which you want the object to transition.
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_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_storageClass :: Lens' Transition (Maybe TransitionStorageClass) Source #
The storage class to which you want the object to transition.