Class: Aws::S3::Types::PutBucketAnalyticsConfigurationRequest

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

Instance Attribute Summary collapse

Instance Attribute Details

#analytics_configurationTypes::AnalyticsConfiguration

The configuration and any analyses for the analytics filter.



5969
5970
5971
5972
5973
5974
# File 'lib/aws-sdk-s3/types.rb', line 5969

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

#bucketString

The name of the bucket to which an analytics configuration is stored.

Returns:

  • (String)


5969
5970
5971
5972
5973
5974
# File 'lib/aws-sdk-s3/types.rb', line 5969

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

#idString

The identifier used to represent an analytics configuration.

Returns:

  • (String)


5969
5970
5971
5972
5973
5974
# File 'lib/aws-sdk-s3/types.rb', line 5969

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