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
Documentation
A container specifying replication metrics-related settings enabling replication metrics and events.
See: newMetrics
smart constructor.
Metrics' | |
|
Instances
FromXML Metrics Source # | |
ToXML Metrics Source # | |
Defined in Amazonka.S3.Types.Metrics | |
Generic Metrics Source # | |
Read Metrics Source # | |
Show Metrics Source # | |
NFData Metrics Source # | |
Defined in Amazonka.S3.Types.Metrics | |
Eq Metrics Source # | |
Hashable Metrics Source # | |
Defined in Amazonka.S3.Types.Metrics | |
type Rep Metrics Source # | |
Defined in Amazonka.S3.Types.Metrics type Rep Metrics = D1 ('MetaData "Metrics" "Amazonka.S3.Types.Metrics" "amazonka-s3-2.0-CNZtv1UmVzj28JXsFvwNoj" '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))) |
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.