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

Description

 
Synopsis

Documentation

data FilterRule Source #

Specifies the Amazon S3 object key name to filter on and whether to filter on the suffix or prefix of the key name.

See: newFilterRule smart constructor.

Constructors

FilterRule' 

Fields

  • value :: Maybe Text

    The value that the filter searches for in object key names.

  • name :: Maybe FilterRuleName

    The object key name prefix or suffix identifying one or more objects to which the filtering rule applies. The maximum length is 1,024 characters. Overlapping prefixes and suffixes are not supported. For more information, see Configuring Event Notifications in the Amazon S3 User Guide.

Instances

Instances details
Eq FilterRule Source # 
Instance details

Defined in Amazonka.S3.Types.FilterRule

Read FilterRule Source # 
Instance details

Defined in Amazonka.S3.Types.FilterRule

Show FilterRule Source # 
Instance details

Defined in Amazonka.S3.Types.FilterRule

Generic FilterRule Source # 
Instance details

Defined in Amazonka.S3.Types.FilterRule

Associated Types

type Rep FilterRule :: Type -> Type #

NFData FilterRule Source # 
Instance details

Defined in Amazonka.S3.Types.FilterRule

Methods

rnf :: FilterRule -> () #

Hashable FilterRule Source # 
Instance details

Defined in Amazonka.S3.Types.FilterRule

FromXML FilterRule Source # 
Instance details

Defined in Amazonka.S3.Types.FilterRule

ToXML FilterRule Source # 
Instance details

Defined in Amazonka.S3.Types.FilterRule

Methods

toXML :: FilterRule -> XML #

type Rep FilterRule Source # 
Instance details

Defined in Amazonka.S3.Types.FilterRule

type Rep FilterRule = D1 ('MetaData "FilterRule" "Amazonka.S3.Types.FilterRule" "libZSservicesZSamazonka-s3ZSamazonka-s3" 'False) (C1 ('MetaCons "FilterRule'" 'PrefixI 'True) (S1 ('MetaSel ('Just "value") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe FilterRuleName))))

newFilterRule :: FilterRule Source #

Create a value of FilterRule 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:value:FilterRule', filterRule_value - The value that the filter searches for in object key names.

$sel:name:FilterRule', filterRule_name - The object key name prefix or suffix identifying one or more objects to which the filtering rule applies. The maximum length is 1,024 characters. Overlapping prefixes and suffixes are not supported. For more information, see Configuring Event Notifications in the Amazon S3 User Guide.

filterRule_value :: Lens' FilterRule (Maybe Text) Source #

The value that the filter searches for in object key names.

filterRule_name :: Lens' FilterRule (Maybe FilterRuleName) Source #

The object key name prefix or suffix identifying one or more objects to which the filtering rule applies. The maximum length is 1,024 characters. Overlapping prefixes and suffixes are not supported. For more information, see Configuring Event Notifications in the Amazon S3 User Guide.