libZSservicesZSamazonka-s3ZSamazonka-s3
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.S3.Types.LifecycleRuleAndOperator

Description

 
Synopsis

Documentation

data LifecycleRuleAndOperator Source #

This is used in a Lifecycle Rule Filter to apply a logical AND to two or more predicates. The Lifecycle Rule will apply to any object matching all of the predicates configured inside the And operator.

See: newLifecycleRuleAndOperator smart constructor.

Constructors

LifecycleRuleAndOperator' 

Fields

  • prefix :: Maybe Text

    Prefix identifying one or more objects to which the rule applies.

  • tags :: Maybe [Tag]

    All of these tags must exist in the object's tag set in order for the rule to apply.

Instances

Instances details
Eq LifecycleRuleAndOperator Source # 
Instance details

Defined in Amazonka.S3.Types.LifecycleRuleAndOperator

Read LifecycleRuleAndOperator Source # 
Instance details

Defined in Amazonka.S3.Types.LifecycleRuleAndOperator

Show LifecycleRuleAndOperator Source # 
Instance details

Defined in Amazonka.S3.Types.LifecycleRuleAndOperator

Generic LifecycleRuleAndOperator Source # 
Instance details

Defined in Amazonka.S3.Types.LifecycleRuleAndOperator

Associated Types

type Rep LifecycleRuleAndOperator :: Type -> Type #

NFData LifecycleRuleAndOperator Source # 
Instance details

Defined in Amazonka.S3.Types.LifecycleRuleAndOperator

Hashable LifecycleRuleAndOperator Source # 
Instance details

Defined in Amazonka.S3.Types.LifecycleRuleAndOperator

FromXML LifecycleRuleAndOperator Source # 
Instance details

Defined in Amazonka.S3.Types.LifecycleRuleAndOperator

ToXML LifecycleRuleAndOperator Source # 
Instance details

Defined in Amazonka.S3.Types.LifecycleRuleAndOperator

type Rep LifecycleRuleAndOperator Source # 
Instance details

Defined in Amazonka.S3.Types.LifecycleRuleAndOperator

type Rep LifecycleRuleAndOperator = D1 ('MetaData "LifecycleRuleAndOperator" "Amazonka.S3.Types.LifecycleRuleAndOperator" "libZSservicesZSamazonka-s3ZSamazonka-s3" 'False) (C1 ('MetaCons "LifecycleRuleAndOperator'" 'PrefixI 'True) (S1 ('MetaSel ('Just "prefix") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "tags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Tag]))))

newLifecycleRuleAndOperator :: LifecycleRuleAndOperator Source #

Create a value of LifecycleRuleAndOperator 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:prefix:LifecycleRuleAndOperator', lifecycleRuleAndOperator_prefix - Prefix identifying one or more objects to which the rule applies.

$sel:tags:LifecycleRuleAndOperator', lifecycleRuleAndOperator_tags - All of these tags must exist in the object's tag set in order for the rule to apply.

lifecycleRuleAndOperator_prefix :: Lens' LifecycleRuleAndOperator (Maybe Text) Source #

Prefix identifying one or more objects to which the rule applies.

lifecycleRuleAndOperator_tags :: Lens' LifecycleRuleAndOperator (Maybe [Tag]) Source #

All of these tags must exist in the object's tag set in order for the rule to apply.