Class: Aws::S3::Types::Metrics
- Inherits:
-
Struct
- Object
- Struct
- Aws::S3::Types::Metrics
- Includes:
- Aws::Structure
- Defined in:
- lib/aws-sdk-s3/types.rb
Overview
Note:
When making an API call, you may pass Metrics data as a hash:
{
status: "Enabled", # required, accepts Enabled, Disabled
event_threshold: { # required
minutes: 1,
},
}
A container specifying replication metrics-related settings enabling metrics and Amazon S3 events for S3 Replication Time Control (S3 RTC). Must be specified together with a ‘ReplicationTime` block.
Instance Attribute Summary collapse
-
#event_threshold ⇒ Types::ReplicationTimeValue
A container specifying the time threshold for emitting the ‘s3:Replication:OperationMissedThreshold` event.
-
#status ⇒ String
Specifies whether the replication metrics are enabled.
Instance Attribute Details
#event_threshold ⇒ Types::ReplicationTimeValue
A container specifying the time threshold for emitting the ‘s3:Replication:OperationMissedThreshold` event.
7455 7456 7457 7458 7459 |
# File 'lib/aws-sdk-s3/types.rb', line 7455 class Metrics < Struct.new( :status, :event_threshold) include Aws::Structure end |