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

Description

 
Synopsis

Documentation

data Metrics Source #

A container specifying replication metrics-related settings enabling replication metrics and events.

See: newMetrics smart constructor.

Constructors

Metrics' 

Fields

Instances

Instances details
Eq Metrics Source # 
Instance details

Defined in Amazonka.S3.Types.Metrics

Methods

(==) :: Metrics -> Metrics -> Bool #

(/=) :: Metrics -> Metrics -> Bool #

Read Metrics Source # 
Instance details

Defined in Amazonka.S3.Types.Metrics

Show Metrics Source # 
Instance details

Defined in Amazonka.S3.Types.Metrics

Generic Metrics Source # 
Instance details

Defined in Amazonka.S3.Types.Metrics

Associated Types

type Rep Metrics :: Type -> Type #

Methods

from :: Metrics -> Rep Metrics x #

to :: Rep Metrics x -> Metrics #

NFData Metrics Source # 
Instance details

Defined in Amazonka.S3.Types.Metrics

Methods

rnf :: Metrics -> () #

Hashable Metrics Source # 
Instance details

Defined in Amazonka.S3.Types.Metrics

Methods

hashWithSalt :: Int -> Metrics -> Int #

hash :: Metrics -> Int #

FromXML Metrics Source # 
Instance details

Defined in Amazonka.S3.Types.Metrics

ToXML Metrics Source # 
Instance details

Defined in Amazonka.S3.Types.Metrics

Methods

toXML :: Metrics -> XML #

type Rep Metrics Source # 
Instance details

Defined in Amazonka.S3.Types.Metrics

type Rep Metrics = D1 ('MetaData "Metrics" "Amazonka.S3.Types.Metrics" "libZSservicesZSamazonka-s3ZSamazonka-s3" 'False) (C1 ('MetaCons "Metrics'" 'PrefixI 'True) (S1 ('MetaSel ('Just "eventThreshold") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ReplicationTimeValue)) :*: S1 ('MetaSel ('Just "status") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 MetricsStatus)))

newMetrics Source #

Create a value of Metrics 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:eventThreshold:Metrics', metrics_eventThreshold - A container specifying the time threshold for emitting the s3:Replication:OperationMissedThreshold event.

$sel:status:Metrics', metrics_status - Specifies whether the replication metrics are enabled.

metrics_eventThreshold :: Lens' Metrics (Maybe ReplicationTimeValue) Source #

A container specifying the time threshold for emitting the s3:Replication:OperationMissedThreshold event.

metrics_status :: Lens' Metrics MetricsStatus Source #

Specifies whether the replication metrics are enabled.