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)


2525
2526
2527
2528
2529
# File 'lib/aws-sdk-s3/types.rb', line 2525

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

#idString

The ID used to identify the metrics configuration.

Returns:

  • (String)


2525
2526
2527
2528
2529
# File 'lib/aws-sdk-s3/types.rb', line 2525

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