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.ReplicationRuleAndOperator

Description

 
Synopsis

Documentation

data ReplicationRuleAndOperator Source #

A container for specifying rule filters. The filters determine the subset of objects to which the rule applies. This element is required only if you specify more than one filter.

For example:

  • If you specify both a Prefix and a Tag filter, wrap these filters in an And tag.
  • If you specify a filter based on multiple tags, wrap the Tag elements in an And tag.

See: newReplicationRuleAndOperator smart constructor.

Constructors

ReplicationRuleAndOperator' 

Fields

  • prefix :: Maybe Text

    An object key name prefix that identifies the subset of objects to which the rule applies.

  • tags :: Maybe [Tag]

    An array of tags containing key and value pairs.

Instances

Instances details
Eq ReplicationRuleAndOperator Source # 
Instance details

Defined in Amazonka.S3.Types.ReplicationRuleAndOperator

Read ReplicationRuleAndOperator Source # 
Instance details

Defined in Amazonka.S3.Types.ReplicationRuleAndOperator

Show ReplicationRuleAndOperator Source # 
Instance details

Defined in Amazonka.S3.Types.ReplicationRuleAndOperator

Generic ReplicationRuleAndOperator Source # 
Instance details

Defined in Amazonka.S3.Types.ReplicationRuleAndOperator

Associated Types

type Rep ReplicationRuleAndOperator :: Type -> Type #

NFData ReplicationRuleAndOperator Source # 
Instance details

Defined in Amazonka.S3.Types.ReplicationRuleAndOperator

Hashable ReplicationRuleAndOperator Source # 
Instance details

Defined in Amazonka.S3.Types.ReplicationRuleAndOperator

FromXML ReplicationRuleAndOperator Source # 
Instance details

Defined in Amazonka.S3.Types.ReplicationRuleAndOperator

ToXML ReplicationRuleAndOperator Source # 
Instance details

Defined in Amazonka.S3.Types.ReplicationRuleAndOperator

type Rep ReplicationRuleAndOperator Source # 
Instance details

Defined in Amazonka.S3.Types.ReplicationRuleAndOperator

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

newReplicationRuleAndOperator :: ReplicationRuleAndOperator Source #

Create a value of ReplicationRuleAndOperator 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:ReplicationRuleAndOperator', replicationRuleAndOperator_prefix - An object key name prefix that identifies the subset of objects to which the rule applies.

$sel:tags:ReplicationRuleAndOperator', replicationRuleAndOperator_tags - An array of tags containing key and value pairs.

replicationRuleAndOperator_prefix :: Lens' ReplicationRuleAndOperator (Maybe Text) Source #

An object key name prefix that identifies the subset of objects to which the rule applies.

replicationRuleAndOperator_tags :: Lens' ReplicationRuleAndOperator (Maybe [Tag]) Source #

An array of tags containing key and value pairs.