Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Synopsis
Documentation
A container specifying replication metrics-related settings enabling replication metrics and events.
See: newMetrics
smart constructor.
Metrics' | |
|
Instances
Eq Metrics Source # | |
Read Metrics Source # | |
Show Metrics Source # | |
Generic Metrics Source # | |
NFData Metrics Source # | |
Defined in Amazonka.S3.Types.Metrics | |
Hashable Metrics Source # | |
Defined in Amazonka.S3.Types.Metrics | |
FromXML Metrics Source # | |
ToXML 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" "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))) |
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.