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

Description

 
Synopsis

Documentation

data AnalyticsAndOperator Source #

A conjunction (logical AND) of predicates, which is used in evaluating a metrics filter. The operator must have at least two predicates in any combination, and an object must match all of the predicates for the filter to apply.

See: newAnalyticsAndOperator smart constructor.

Constructors

AnalyticsAndOperator' 

Fields

  • prefix :: Maybe Text

    The prefix to use when evaluating an AND predicate: The prefix that an object must have to be included in the metrics results.

  • tags :: Maybe [Tag]

    The list of tags to use when evaluating an AND predicate.

Instances

Instances details
Eq AnalyticsAndOperator Source # 
Instance details

Defined in Amazonka.S3.Types.AnalyticsAndOperator

Read AnalyticsAndOperator Source # 
Instance details

Defined in Amazonka.S3.Types.AnalyticsAndOperator

Show AnalyticsAndOperator Source # 
Instance details

Defined in Amazonka.S3.Types.AnalyticsAndOperator

Generic AnalyticsAndOperator Source # 
Instance details

Defined in Amazonka.S3.Types.AnalyticsAndOperator

Associated Types

type Rep AnalyticsAndOperator :: Type -> Type #

NFData AnalyticsAndOperator Source # 
Instance details

Defined in Amazonka.S3.Types.AnalyticsAndOperator

Methods

rnf :: AnalyticsAndOperator -> () #

Hashable AnalyticsAndOperator Source # 
Instance details

Defined in Amazonka.S3.Types.AnalyticsAndOperator

FromXML AnalyticsAndOperator Source # 
Instance details

Defined in Amazonka.S3.Types.AnalyticsAndOperator

ToXML AnalyticsAndOperator Source # 
Instance details

Defined in Amazonka.S3.Types.AnalyticsAndOperator

type Rep AnalyticsAndOperator Source # 
Instance details

Defined in Amazonka.S3.Types.AnalyticsAndOperator

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

newAnalyticsAndOperator :: AnalyticsAndOperator Source #

Create a value of AnalyticsAndOperator 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:AnalyticsAndOperator', analyticsAndOperator_prefix - The prefix to use when evaluating an AND predicate: The prefix that an object must have to be included in the metrics results.

$sel:tags:AnalyticsAndOperator', analyticsAndOperator_tags - The list of tags to use when evaluating an AND predicate.

analyticsAndOperator_prefix :: Lens' AnalyticsAndOperator (Maybe Text) Source #

The prefix to use when evaluating an AND predicate: The prefix that an object must have to be included in the metrics results.

analyticsAndOperator_tags :: Lens' AnalyticsAndOperator (Maybe [Tag]) Source #

The list of tags to use when evaluating an AND predicate.