You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.
Class: Aws::S3::Types::PutBucketAnalyticsConfigurationRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::S3::Types::PutBucketAnalyticsConfigurationRequest
- Defined in:
- (unknown)
Overview
When passing PutBucketAnalyticsConfigurationRequest as input to an Aws::Client method, you can use a vanilla 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",
use_accelerate_endpoint: false,
}
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.
-
#use_accelerate_endpoint ⇒ Boolean
When true, the "https://BUCKETNAME.s3-accelerate.amazonaws.com" endpoint will be used.
Instance Attribute Details
#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. If the bucket is owned by a
different account, the request will fail with an HTTP 403 (Access
Denied)
error.
#id ⇒ String
The ID that identifies the analytics configuration.
#use_accelerate_endpoint ⇒ Boolean
When true, the "https://BUCKETNAME.s3-accelerate.amazonaws.com" endpoint will be used.