Class: Aws::S3::Types::AnalyticsFilter

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

Overview

Note:

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

{
  prefix: "Prefix",
  tag: {
    key: "ObjectKey", # required
    value: "Value", # required
  },
  and: {
    prefix: "Prefix",
    tags: [
      {
        key: "ObjectKey", # required
        value: "Value", # required
      },
    ],
  },
}

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.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#andTypes::AnalyticsAndOperator

A conjunction (logical AND) of predicates, which is used in evaluating an analytics filter. The operator must have at least two predicates.



379
380
381
382
383
384
385
# File 'gems/aws-sdk-s3/lib/aws-sdk-s3/types.rb', line 379

class AnalyticsFilter < Struct.new(
  :prefix,
  :tag,
  :and)
  SENSITIVE = []
  include Aws::Structure
end

#prefixString

The prefix to use when evaluating an analytics filter.

Returns:

  • (String)


379
380
381
382
383
384
385
# File 'gems/aws-sdk-s3/lib/aws-sdk-s3/types.rb', line 379

class AnalyticsFilter < Struct.new(
  :prefix,
  :tag,
  :and)
  SENSITIVE = []
  include Aws::Structure
end

#tagTypes::Tag

The tag to use when evaluating an analytics filter.

Returns:



379
380
381
382
383
384
385
# File 'gems/aws-sdk-s3/lib/aws-sdk-s3/types.rb', line 379

class AnalyticsFilter < Struct.new(
  :prefix,
  :tag,
  :and)
  SENSITIVE = []
  include Aws::Structure
end