| 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.LifecycleExpiration
Description
Synopsis
- data LifecycleExpiration = LifecycleExpiration' {}
- newLifecycleExpiration :: LifecycleExpiration
- lifecycleExpiration_date :: Lens' LifecycleExpiration (Maybe UTCTime)
- lifecycleExpiration_days :: Lens' LifecycleExpiration (Maybe Int)
- lifecycleExpiration_expiredObjectDeleteMarker :: Lens' LifecycleExpiration (Maybe Bool)
Documentation
data LifecycleExpiration Source #
Container for the expiration for the lifecycle of the object.
See: newLifecycleExpiration smart constructor.
Constructors
| LifecycleExpiration' | |
Fields
| |
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:date:LifecycleExpiration', lifecycleExpiration_date - Indicates at what date the object is to be moved or deleted. Should be
in GMT ISO 8601 Format.
$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: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_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_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_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.