| 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.ReplicationRuleAndOperator
Description
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
Prefixand aTagfilter, wrap these filters in anAndtag. - If you specify a filter based on multiple tags, wrap the
Tagelements in anAndtag.
See: newReplicationRuleAndOperator smart constructor.
Constructors
| ReplicationRuleAndOperator' | |
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.