class Aws::S3::Types::PutBucketAnalyticsConfigurationRequest

@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",
    }

@!attribute [rw] bucket

The name of the bucket to which an analytics configuration is
stored.
@return [String]

@!attribute [rw] id

The ID that identifies the analytics configuration.
@return [String]

@!attribute [rw] analytics_configuration

The configuration and any analyses for the analytics filter.
@return [Types::AnalyticsConfiguration]

@!attribute [rw] expected_bucket_owner

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.
@return [String]

@see docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutBucketAnalyticsConfigurationRequest AWS API Documentation

Constants

SENSITIVE