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 |
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 aTag
filter, wrap these filters in anAnd
tag. - If you specify a filter based on multiple tags, wrap the
Tag
elements in anAnd
tag.
See: newReplicationRuleAndOperator
smart constructor.
Instances
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.