Class: Aws::S3::Types::PutBucketAnalyticsConfigurationRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::S3::Types::PutBucketAnalyticsConfigurationRequest
- Includes:
- Aws::Structure
- Defined in:
- lib/aws-sdk-s3/types.rb
Overview
Note:
When making an API call, you may pass PutBucketAnalyticsConfigurationRequest data as a hash:
{
bucket: "BucketName", # required
id: "AnalyticsId", # required
analytics_configuration: { # required
id: "AnalyticsId", # required
filter: {
prefix: "Prefix",
tag: {
key: "ObjectKey", # required
value: "Value", # required
},
and: {
prefix: "Prefix",
tags: [
{
key: "ObjectKey", # required
value: "Value", # required
},
],
},
},
storage_class_analysis: { # required
data_export: {
output_schema_version: "V_1", # required, accepts V_1
destination: { # required
s3_bucket_destination: { # required
format: "CSV", # required, accepts CSV
bucket_account_id: "AccountId",
bucket: "BucketName", # required
prefix: "Prefix",
},
},
},
},
},
expected_bucket_owner: "AccountId",
}
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#analytics_configuration ⇒ Types::AnalyticsConfiguration
The configuration and any analyses for the analytics filter.
-
#bucket ⇒ String
The name of the bucket to which an analytics configuration is stored.
-
#expected_bucket_owner ⇒ String
The account ID of the expected bucket owner.
-
#id ⇒ String
The ID that identifies the analytics configuration.
Instance Attribute Details
#analytics_configuration ⇒ Types::AnalyticsConfiguration
The configuration and any analyses for the analytics filter.
11480 11481 11482 11483 11484 11485 11486 11487 |
# File 'lib/aws-sdk-s3/types.rb', line 11480 class PutBucketAnalyticsConfigurationRequest < Struct.new( :bucket, :id, :analytics_configuration, :expected_bucket_owner) SENSITIVE = [] include Aws::Structure end |
#bucket ⇒ String
The name of the bucket to which an analytics configuration is stored.
11480 11481 11482 11483 11484 11485 11486 11487 |
# File 'lib/aws-sdk-s3/types.rb', line 11480 class PutBucketAnalyticsConfigurationRequest < Struct.new( :bucket, :id, :analytics_configuration, :expected_bucket_owner) SENSITIVE = [] include Aws::Structure end |
#expected_bucket_owner ⇒ String
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).
11480 11481 11482 11483 11484 11485 11486 11487 |
# File 'lib/aws-sdk-s3/types.rb', line 11480 class PutBucketAnalyticsConfigurationRequest < Struct.new( :bucket, :id, :analytics_configuration, :expected_bucket_owner) SENSITIVE = [] include Aws::Structure end |
#id ⇒ String
The ID that identifies the analytics configuration.
11480 11481 11482 11483 11484 11485 11486 11487 |
# File 'lib/aws-sdk-s3/types.rb', line 11480 class PutBucketAnalyticsConfigurationRequest < Struct.new( :bucket, :id, :analytics_configuration, :expected_bucket_owner) SENSITIVE = [] include Aws::Structure end |