Class: Aws::S3Control::Types::AccountLevel

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-s3control/lib/aws-sdk-s3control/types.rb

Overview

Note:

When making an API call, you may pass AccountLevel data as a hash:

{
  activity_metrics: {
    is_enabled: false,
  },
  bucket_level: { # required
    activity_metrics: {
      is_enabled: false,
    },
    prefix_level: {
      storage_metrics: { # required
        is_enabled: false,
        selection_criteria: {
          delimiter: "StorageLensPrefixLevelDelimiter",
          max_depth: 1,
          min_storage_bytes_percentage: 1.0,
        },
      },
    },
    advanced_cost_optimization_metrics: {
      is_enabled: false,
    },
    advanced_data_protection_metrics: {
      is_enabled: false,
    },
    detailed_status_codes_metrics: {
      is_enabled: false,
    },
  },
  advanced_cost_optimization_metrics: {
    is_enabled: false,
  },
  advanced_data_protection_metrics: {
    is_enabled: false,
  },
  detailed_status_codes_metrics: {
    is_enabled: false,
  },
}

A container for the account-level Amazon S3 Storage Lens configuration.

For more information about S3 Storage Lens, see Assessing your storage activity and usage with S3 Storage Lens in the Amazon S3 User Guide. For a complete list of S3 Storage Lens metrics, see S3 Storage Lens metrics glossary in the Amazon S3 User Guide.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#activity_metricsTypes::ActivityMetrics

A container for S3 Storage Lens activity metrics.



162
163
164
165
166
167
168
169
170
# File 'gems/aws-sdk-s3control/lib/aws-sdk-s3control/types.rb', line 162

class AccountLevel < Struct.new(
  :activity_metrics,
  :bucket_level,
  :advanced_cost_optimization_metrics,
  :advanced_data_protection_metrics,
  :detailed_status_codes_metrics)
  SENSITIVE = []
  include Aws::Structure
end

#advanced_cost_optimization_metricsTypes::AdvancedCostOptimizationMetrics

A container for S3 Storage Lens advanced cost-optimization metrics.



162
163
164
165
166
167
168
169
170
# File 'gems/aws-sdk-s3control/lib/aws-sdk-s3control/types.rb', line 162

class AccountLevel < Struct.new(
  :activity_metrics,
  :bucket_level,
  :advanced_cost_optimization_metrics,
  :advanced_data_protection_metrics,
  :detailed_status_codes_metrics)
  SENSITIVE = []
  include Aws::Structure
end

#advanced_data_protection_metricsTypes::AdvancedDataProtectionMetrics

A container for S3 Storage Lens advanced data-protection metrics.



162
163
164
165
166
167
168
169
170
# File 'gems/aws-sdk-s3control/lib/aws-sdk-s3control/types.rb', line 162

class AccountLevel < Struct.new(
  :activity_metrics,
  :bucket_level,
  :advanced_cost_optimization_metrics,
  :advanced_data_protection_metrics,
  :detailed_status_codes_metrics)
  SENSITIVE = []
  include Aws::Structure
end

#bucket_levelTypes::BucketLevel

A container for the S3 Storage Lens bucket-level configuration.

Returns:



162
163
164
165
166
167
168
169
170
# File 'gems/aws-sdk-s3control/lib/aws-sdk-s3control/types.rb', line 162

class AccountLevel < Struct.new(
  :activity_metrics,
  :bucket_level,
  :advanced_cost_optimization_metrics,
  :advanced_data_protection_metrics,
  :detailed_status_codes_metrics)
  SENSITIVE = []
  include Aws::Structure
end

#detailed_status_codes_metricsTypes::DetailedStatusCodesMetrics

A container for detailed status code metrics.



162
163
164
165
166
167
168
169
170
# File 'gems/aws-sdk-s3control/lib/aws-sdk-s3control/types.rb', line 162

class AccountLevel < Struct.new(
  :activity_metrics,
  :bucket_level,
  :advanced_cost_optimization_metrics,
  :advanced_data_protection_metrics,
  :detailed_status_codes_metrics)
  SENSITIVE = []
  include Aws::Structure
end