Class: Aws::S3::Types::GetBucketMetricsConfigurationRequest

Inherits:
Struct
  • Object
show all
Includes:
Aws::Structure
Defined in:
lib/aws-sdk-s3/types.rb

Overview

Note:

When making an API call, you may pass GetBucketMetricsConfigurationRequest data as a hash:

{
  bucket: "BucketName", # required
  id: "MetricsId", # required
}

Instance Attribute Summary collapse

Instance Attribute Details

#bucketString

The name of the bucket containing the metrics configuration to retrieve.

Returns:

  • (String)


2714
2715
2716
2717
2718
# File 'lib/aws-sdk-s3/types.rb', line 2714

class GetBucketMetricsConfigurationRequest < Struct.new(
  :bucket,
  :id)
  include Aws::Structure
end

#idString

The ID used to identify the metrics configuration.

Returns:

  • (String)


2714
2715
2716
2717
2718
# File 'lib/aws-sdk-s3/types.rb', line 2714

class GetBucketMetricsConfigurationRequest < Struct.new(
  :bucket,
  :id)
  include Aws::Structure
end