Class: Aws::S3::Types::ListBucketMetricsConfigurationsRequest

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 ListBucketMetricsConfigurationsRequest data as a hash:

{
  bucket: "BucketName", # required
  continuation_token: "Token",
  expected_bucket_owner: "AccountId",
}

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#bucketString

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

Returns:

  • (String)

8761
8762
8763
8764
8765
8766
8767
# File 'lib/aws-sdk-s3/types.rb', line 8761

class ListBucketMetricsConfigurationsRequest < Struct.new(
  :bucket,
  :continuation_token,
  :expected_bucket_owner)
  SENSITIVE = []
  include Aws::Structure
end

#continuation_tokenString

The marker that is used to continue a metrics configuration listing that has been truncated. Use the NextContinuationToken from a previously truncated list response to continue the listing. The continuation token is an opaque value that Amazon S3 understands.

Returns:

  • (String)

8761
8762
8763
8764
8765
8766
8767
# File 'lib/aws-sdk-s3/types.rb', line 8761

class ListBucketMetricsConfigurationsRequest < Struct.new(
  :bucket,
  :continuation_token,
  :expected_bucket_owner)
  SENSITIVE = []
  include Aws::Structure
end

#expected_bucket_ownerString

The account ID of the expected bucket owner. If the bucket is owned by a different account, the request fails with the HTTP status code `403 Forbidden` (access denied).

Returns:

  • (String)

8761
8762
8763
8764
8765
8766
8767
# File 'lib/aws-sdk-s3/types.rb', line 8761

class ListBucketMetricsConfigurationsRequest < Struct.new(
  :bucket,
  :continuation_token,
  :expected_bucket_owner)
  SENSITIVE = []
  include Aws::Structure
end