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 |
Synopsis
- data ReplicationRuleFilter = ReplicationRuleFilter' {}
- newReplicationRuleFilter :: ReplicationRuleFilter
- replicationRuleFilter_and :: Lens' ReplicationRuleFilter (Maybe ReplicationRuleAndOperator)
- replicationRuleFilter_prefix :: Lens' ReplicationRuleFilter (Maybe Text)
- replicationRuleFilter_tag :: Lens' ReplicationRuleFilter (Maybe Tag)
Documentation
data ReplicationRuleFilter Source #
A filter that identifies the subset of objects to which the replication
rule applies. A Filter
must specify exactly one Prefix
, Tag
, or an
And
child element.
See: newReplicationRuleFilter
smart constructor.
ReplicationRuleFilter' | |
|
Instances
newReplicationRuleFilter :: ReplicationRuleFilter Source #
Create a value of ReplicationRuleFilter
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:and:ReplicationRuleFilter'
, replicationRuleFilter_and
- 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.
ReplicationRuleFilter
, replicationRuleFilter_prefix
- An object key name prefix that identifies the subset of objects to which
the rule applies.
Replacement must be made for object keys containing special characters (such as carriage returns) when using XML requests. For more information, see XML related object key constraints.
$sel:tag:ReplicationRuleFilter'
, replicationRuleFilter_tag
- A container for specifying a tag key and value.
The rule applies only to objects that have the tag in their tag set.
replicationRuleFilter_and :: Lens' ReplicationRuleFilter (Maybe 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.
replicationRuleFilter_prefix :: Lens' ReplicationRuleFilter (Maybe Text) Source #
An object key name prefix that identifies the subset of objects to which the rule applies.
Replacement must be made for object keys containing special characters (such as carriage returns) when using XML requests. For more information, see XML related object key constraints.
replicationRuleFilter_tag :: Lens' ReplicationRuleFilter (Maybe Tag) Source #
A container for specifying a tag key and value.
The rule applies only to objects that have the tag in their tag set.