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

Description

 
Synopsis

Documentation

data MetricsConfiguration Source #

Specifies a metrics configuration for the CloudWatch request metrics (specified by the metrics configuration ID) from an Amazon S3 bucket. If you're updating an existing metrics configuration, note that this is a full replacement of the existing metrics configuration. If you don't include the elements you want to keep, they are erased. For more information, see PutBucketMetricsConfiguration.

See: newMetricsConfiguration smart constructor.

Constructors

MetricsConfiguration' 

Fields

  • filter' :: Maybe MetricsFilter

    Specifies a metrics configuration filter. The metrics configuration will only include objects that meet the filter's criteria. A filter must be a prefix, an object tag, an access point ARN, or a conjunction (MetricsAndOperator).

  • id :: Text

    The ID used to identify the metrics configuration.

Instances

Instances details
Eq MetricsConfiguration Source # 
Instance details

Defined in Amazonka.S3.Types.MetricsConfiguration

Read MetricsConfiguration Source # 
Instance details

Defined in Amazonka.S3.Types.MetricsConfiguration

Show MetricsConfiguration Source # 
Instance details

Defined in Amazonka.S3.Types.MetricsConfiguration

Generic MetricsConfiguration Source # 
Instance details

Defined in Amazonka.S3.Types.MetricsConfiguration

Associated Types

type Rep MetricsConfiguration :: Type -> Type #

NFData MetricsConfiguration Source # 
Instance details

Defined in Amazonka.S3.Types.MetricsConfiguration

Methods

rnf :: MetricsConfiguration -> () #

Hashable MetricsConfiguration Source # 
Instance details

Defined in Amazonka.S3.Types.MetricsConfiguration

FromXML MetricsConfiguration Source # 
Instance details

Defined in Amazonka.S3.Types.MetricsConfiguration

ToXML MetricsConfiguration Source # 
Instance details

Defined in Amazonka.S3.Types.MetricsConfiguration

type Rep MetricsConfiguration Source # 
Instance details

Defined in Amazonka.S3.Types.MetricsConfiguration

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

newMetricsConfiguration Source #

Create a value of MetricsConfiguration 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:filter':MetricsConfiguration', metricsConfiguration_filter - Specifies a metrics configuration filter. The metrics configuration will only include objects that meet the filter's criteria. A filter must be a prefix, an object tag, an access point ARN, or a conjunction (MetricsAndOperator).

$sel:id:MetricsConfiguration', metricsConfiguration_id - The ID used to identify the metrics configuration.

metricsConfiguration_filter :: Lens' MetricsConfiguration (Maybe MetricsFilter) Source #

Specifies a metrics configuration filter. The metrics configuration will only include objects that meet the filter's criteria. A filter must be a prefix, an object tag, an access point ARN, or a conjunction (MetricsAndOperator).

metricsConfiguration_id :: Lens' MetricsConfiguration Text Source #

The ID used to identify the metrics configuration.