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 AwsS3BucketBucketLifecycleConfigurationRulesDetails = AwsS3BucketBucketLifecycleConfigurationRulesDetails' {
- status :: Maybe Text
- transitions :: Maybe [AwsS3BucketBucketLifecycleConfigurationRulesTransitionsDetails]
- prefix :: Maybe Text
- noncurrentVersionTransitions :: Maybe [AwsS3BucketBucketLifecycleConfigurationRulesNoncurrentVersionTransitionsDetails]
- noncurrentVersionExpirationInDays :: Maybe Int
- expirationDate :: Maybe Text
- id :: Maybe Text
- filter' :: Maybe AwsS3BucketBucketLifecycleConfigurationRulesFilterDetails
- expirationInDays :: Maybe Int
- abortIncompleteMultipartUpload :: Maybe AwsS3BucketBucketLifecycleConfigurationRulesAbortIncompleteMultipartUploadDetails
- expiredObjectDeleteMarker :: Maybe Bool
- newAwsS3BucketBucketLifecycleConfigurationRulesDetails :: AwsS3BucketBucketLifecycleConfigurationRulesDetails
- awsS3BucketBucketLifecycleConfigurationRulesDetails_status :: Lens' AwsS3BucketBucketLifecycleConfigurationRulesDetails (Maybe Text)
- awsS3BucketBucketLifecycleConfigurationRulesDetails_transitions :: Lens' AwsS3BucketBucketLifecycleConfigurationRulesDetails (Maybe [AwsS3BucketBucketLifecycleConfigurationRulesTransitionsDetails])
- awsS3BucketBucketLifecycleConfigurationRulesDetails_prefix :: Lens' AwsS3BucketBucketLifecycleConfigurationRulesDetails (Maybe Text)
- awsS3BucketBucketLifecycleConfigurationRulesDetails_noncurrentVersionTransitions :: Lens' AwsS3BucketBucketLifecycleConfigurationRulesDetails (Maybe [AwsS3BucketBucketLifecycleConfigurationRulesNoncurrentVersionTransitionsDetails])
- awsS3BucketBucketLifecycleConfigurationRulesDetails_noncurrentVersionExpirationInDays :: Lens' AwsS3BucketBucketLifecycleConfigurationRulesDetails (Maybe Int)
- awsS3BucketBucketLifecycleConfigurationRulesDetails_expirationDate :: Lens' AwsS3BucketBucketLifecycleConfigurationRulesDetails (Maybe Text)
- awsS3BucketBucketLifecycleConfigurationRulesDetails_id :: Lens' AwsS3BucketBucketLifecycleConfigurationRulesDetails (Maybe Text)
- awsS3BucketBucketLifecycleConfigurationRulesDetails_filter :: Lens' AwsS3BucketBucketLifecycleConfigurationRulesDetails (Maybe AwsS3BucketBucketLifecycleConfigurationRulesFilterDetails)
- awsS3BucketBucketLifecycleConfigurationRulesDetails_expirationInDays :: Lens' AwsS3BucketBucketLifecycleConfigurationRulesDetails (Maybe Int)
- awsS3BucketBucketLifecycleConfigurationRulesDetails_abortIncompleteMultipartUpload :: Lens' AwsS3BucketBucketLifecycleConfigurationRulesDetails (Maybe AwsS3BucketBucketLifecycleConfigurationRulesAbortIncompleteMultipartUploadDetails)
- awsS3BucketBucketLifecycleConfigurationRulesDetails_expiredObjectDeleteMarker :: Lens' AwsS3BucketBucketLifecycleConfigurationRulesDetails (Maybe Bool)
Documentation
data AwsS3BucketBucketLifecycleConfigurationRulesDetails Source #
Configuration for a lifecycle rule.
See: newAwsS3BucketBucketLifecycleConfigurationRulesDetails
smart constructor.
AwsS3BucketBucketLifecycleConfigurationRulesDetails' | |
|
Instances
newAwsS3BucketBucketLifecycleConfigurationRulesDetails :: AwsS3BucketBucketLifecycleConfigurationRulesDetails Source #
Create a value of AwsS3BucketBucketLifecycleConfigurationRulesDetails
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:status:AwsS3BucketBucketLifecycleConfigurationRulesDetails'
, awsS3BucketBucketLifecycleConfigurationRulesDetails_status
- The current status of the rule. Indicates whether the rule is currently
being applied.
$sel:transitions:AwsS3BucketBucketLifecycleConfigurationRulesDetails'
, awsS3BucketBucketLifecycleConfigurationRulesDetails_transitions
- Transition rules that indicate when objects transition to a specified
storage class.
$sel:prefix:AwsS3BucketBucketLifecycleConfigurationRulesDetails'
, awsS3BucketBucketLifecycleConfigurationRulesDetails_prefix
- A prefix that identifies one or more objects that the rule applies to.
$sel:noncurrentVersionTransitions:AwsS3BucketBucketLifecycleConfigurationRulesDetails'
, awsS3BucketBucketLifecycleConfigurationRulesDetails_noncurrentVersionTransitions
- Transition rules that describe when noncurrent objects transition to a
specified storage class.
$sel:noncurrentVersionExpirationInDays:AwsS3BucketBucketLifecycleConfigurationRulesDetails'
, awsS3BucketBucketLifecycleConfigurationRulesDetails_noncurrentVersionExpirationInDays
- The number of days that an object is noncurrent before Amazon S3 can
perform the associated action.
$sel:expirationDate:AwsS3BucketBucketLifecycleConfigurationRulesDetails'
, awsS3BucketBucketLifecycleConfigurationRulesDetails_expirationDate
- The date when objects are moved or deleted.
Uses the date-time
format specified in
RFC 3339 section 5.6, Internet Date/Time Format.
The value cannot contain spaces. For example,
2020-03-22T13:22:13.933Z
.
$sel:id:AwsS3BucketBucketLifecycleConfigurationRulesDetails'
, awsS3BucketBucketLifecycleConfigurationRulesDetails_id
- The unique identifier of the rule.
$sel:filter':AwsS3BucketBucketLifecycleConfigurationRulesDetails'
, awsS3BucketBucketLifecycleConfigurationRulesDetails_filter
- Identifies the objects that a rule applies to.
$sel:expirationInDays:AwsS3BucketBucketLifecycleConfigurationRulesDetails'
, awsS3BucketBucketLifecycleConfigurationRulesDetails_expirationInDays
- The length in days of the lifetime for objects that are subject to the
rule.
$sel:abortIncompleteMultipartUpload:AwsS3BucketBucketLifecycleConfigurationRulesDetails'
, awsS3BucketBucketLifecycleConfigurationRulesDetails_abortIncompleteMultipartUpload
- How Amazon S3 responds when a multipart upload is incomplete.
Specifically, provides a number of days before Amazon S3 cancels the
entire upload.
$sel:expiredObjectDeleteMarker:AwsS3BucketBucketLifecycleConfigurationRulesDetails'
, awsS3BucketBucketLifecycleConfigurationRulesDetails_expiredObjectDeleteMarker
- Whether Amazon S3 removes a delete marker that has no noncurrent
versions. If set to true
, the delete marker is expired. If set to
false
, the policy takes no action.
If you provide ExpiredObjectDeleteMarker
, you cannot provide
ExpirationInDays
or ExpirationDate
.
awsS3BucketBucketLifecycleConfigurationRulesDetails_status :: Lens' AwsS3BucketBucketLifecycleConfigurationRulesDetails (Maybe Text) Source #
The current status of the rule. Indicates whether the rule is currently being applied.
awsS3BucketBucketLifecycleConfigurationRulesDetails_transitions :: Lens' AwsS3BucketBucketLifecycleConfigurationRulesDetails (Maybe [AwsS3BucketBucketLifecycleConfigurationRulesTransitionsDetails]) Source #
Transition rules that indicate when objects transition to a specified storage class.
awsS3BucketBucketLifecycleConfigurationRulesDetails_prefix :: Lens' AwsS3BucketBucketLifecycleConfigurationRulesDetails (Maybe Text) Source #
A prefix that identifies one or more objects that the rule applies to.
awsS3BucketBucketLifecycleConfigurationRulesDetails_noncurrentVersionTransitions :: Lens' AwsS3BucketBucketLifecycleConfigurationRulesDetails (Maybe [AwsS3BucketBucketLifecycleConfigurationRulesNoncurrentVersionTransitionsDetails]) Source #
Transition rules that describe when noncurrent objects transition to a specified storage class.
awsS3BucketBucketLifecycleConfigurationRulesDetails_noncurrentVersionExpirationInDays :: Lens' AwsS3BucketBucketLifecycleConfigurationRulesDetails (Maybe Int) Source #
The number of days that an object is noncurrent before Amazon S3 can perform the associated action.
awsS3BucketBucketLifecycleConfigurationRulesDetails_expirationDate :: Lens' AwsS3BucketBucketLifecycleConfigurationRulesDetails (Maybe Text) Source #
The date when objects are moved or deleted.
Uses the date-time
format specified in
RFC 3339 section 5.6, Internet Date/Time Format.
The value cannot contain spaces. For example,
2020-03-22T13:22:13.933Z
.
awsS3BucketBucketLifecycleConfigurationRulesDetails_id :: Lens' AwsS3BucketBucketLifecycleConfigurationRulesDetails (Maybe Text) Source #
The unique identifier of the rule.
awsS3BucketBucketLifecycleConfigurationRulesDetails_filter :: Lens' AwsS3BucketBucketLifecycleConfigurationRulesDetails (Maybe AwsS3BucketBucketLifecycleConfigurationRulesFilterDetails) Source #
Identifies the objects that a rule applies to.
awsS3BucketBucketLifecycleConfigurationRulesDetails_expirationInDays :: Lens' AwsS3BucketBucketLifecycleConfigurationRulesDetails (Maybe Int) Source #
The length in days of the lifetime for objects that are subject to the rule.
awsS3BucketBucketLifecycleConfigurationRulesDetails_abortIncompleteMultipartUpload :: Lens' AwsS3BucketBucketLifecycleConfigurationRulesDetails (Maybe AwsS3BucketBucketLifecycleConfigurationRulesAbortIncompleteMultipartUploadDetails) Source #
How Amazon S3 responds when a multipart upload is incomplete. Specifically, provides a number of days before Amazon S3 cancels the entire upload.
awsS3BucketBucketLifecycleConfigurationRulesDetails_expiredObjectDeleteMarker :: Lens' AwsS3BucketBucketLifecycleConfigurationRulesDetails (Maybe Bool) Source #
Whether Amazon S3 removes a delete marker that has no noncurrent
versions. If set to true
, the delete marker is expired. If set to
false
, the policy takes no action.
If you provide ExpiredObjectDeleteMarker
, you cannot provide
ExpirationInDays
or ExpirationDate
.