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
- data LifecycleExpiration = LifecycleExpiration' {}
- newLifecycleExpiration :: LifecycleExpiration
- lifecycleExpiration_days :: Lens' LifecycleExpiration (Maybe Int)
- lifecycleExpiration_date :: Lens' LifecycleExpiration (Maybe UTCTime)
- lifecycleExpiration_expiredObjectDeleteMarker :: Lens' LifecycleExpiration (Maybe Bool)
Documentation
data LifecycleExpiration Source #
Container for the expiration for the lifecycle of the object.
See: newLifecycleExpiration
smart constructor.
LifecycleExpiration' | |
|
Instances
newLifecycleExpiration :: LifecycleExpiration Source #
Create a value of LifecycleExpiration
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:LifecycleExpiration'
, lifecycleExpiration_days
- Indicates the lifetime, in days, of the objects that are subject to the
rule. The value must be a non-zero positive integer.
$sel:date:LifecycleExpiration'
, lifecycleExpiration_date
- Indicates at what date the object is to be moved or deleted. Should be
in GMT ISO 8601 Format.
$sel:expiredObjectDeleteMarker:LifecycleExpiration'
, lifecycleExpiration_expiredObjectDeleteMarker
- Indicates whether Amazon S3 will remove a delete marker with no
noncurrent versions. If set to true, the delete marker will be expired;
if set to false the policy takes no action. This cannot be specified
with Days or Date in a Lifecycle Expiration Policy.
lifecycleExpiration_days :: Lens' LifecycleExpiration (Maybe Int) Source #
Indicates the lifetime, in days, of the objects that are subject to the rule. The value must be a non-zero positive integer.
lifecycleExpiration_date :: Lens' LifecycleExpiration (Maybe UTCTime) Source #
Indicates at what date the object is to be moved or deleted. Should be in GMT ISO 8601 Format.
lifecycleExpiration_expiredObjectDeleteMarker :: Lens' LifecycleExpiration (Maybe Bool) Source #
Indicates whether Amazon S3 will remove a delete marker with no noncurrent versions. If set to true, the delete marker will be expired; if set to false the policy takes no action. This cannot be specified with Days or Date in a Lifecycle Expiration Policy.