Class: Aws::S3::Types::AnalyticsConfiguration
- Inherits:
-
Struct
- Object
- Struct
- Aws::S3::Types::AnalyticsConfiguration
- Includes:
- Aws::Structure
- Defined in:
- lib/aws-sdk-s3/types.rb
Overview
When making an API call, you may pass AnalyticsConfiguration data as a hash:
{
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
-
#filter ⇒ Types::AnalyticsFilter
The filter used to describe a set of objects for analyses.
-
#id ⇒ String
The identifier used to represent an analytics configuration.
-
#storage_class_analysis ⇒ Types::StorageClassAnalysis
If present, it indicates that data related to access patterns will be collected and made available to analyze the tradeoffs between different storage classes.
Instance Attribute Details
#filter ⇒ Types::AnalyticsFilter
The filter used to describe a set of objects for analyses. A filter must have exactly one prefix, one tag, or one conjunction (AnalyticsAndOperator). If no filter is provided, all objects will be considered in any analysis.
242 243 244 245 246 247 |
# File 'lib/aws-sdk-s3/types.rb', line 242 class AnalyticsConfiguration < Struct.new( :id, :filter, :storage_class_analysis) include Aws::Structure end |
#id ⇒ String
The identifier used to represent an analytics configuration.
242 243 244 245 246 247 |
# File 'lib/aws-sdk-s3/types.rb', line 242 class AnalyticsConfiguration < Struct.new( :id, :filter, :storage_class_analysis) include Aws::Structure end |
#storage_class_analysis ⇒ Types::StorageClassAnalysis
If present, it indicates that data related to access patterns will be collected and made available to analyze the tradeoffs between different storage classes.
242 243 244 245 246 247 |
# File 'lib/aws-sdk-s3/types.rb', line 242 class AnalyticsConfiguration < Struct.new( :id, :filter, :storage_class_analysis) include Aws::Structure end |