AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

Class: Aws::S3::Types::Metrics

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-s3/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: {
    minutes: 1,
  },
}

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

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#event_thresholdTypes::ReplicationTimeValue

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



9100
9101
9102
9103
9104
9105
# File 'gems/aws-sdk-s3/lib/aws-sdk-s3/types.rb', line 9100

class Metrics < Struct.new(
  :status,
  :event_threshold)
  SENSITIVE = []
  include Aws::Structure
end

#statusString

Specifies whether the replication metrics are enabled.

Returns:

  • (String)


9100
9101
9102
9103
9104
9105
# File 'gems/aws-sdk-s3/lib/aws-sdk-s3/types.rb', line 9100

class Metrics < Struct.new(
  :status,
  :event_threshold)
  SENSITIVE = []
  include Aws::Structure
end