You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

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

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing AnalyticsFilter as input to an Aws::Client method, you can use a vanilla 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.

Returned by:

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.

Returns:

#prefixString

The prefix to use when evaluating an analytics filter.

Returns:

  • (String)

    The prefix to use when evaluating an analytics filter.

#tagTypes::Tag

The tag to use when evaluating an analytics filter.

Returns:

  • (Types::Tag)

    The tag to use when evaluating an analytics filter.