You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

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

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 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)


2267
2268
2269
2270
2271
# File 'gems/aws-sdk-s3/lib/aws-sdk-s3/types.rb', line 2267

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

#idString

The ID used to identify the metrics configuration.

Returns:

  • (String)


2267
2268
2269
2270
2271
# File 'gems/aws-sdk-s3/lib/aws-sdk-s3/types.rb', line 2267

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