Class: Aws::Pinpoint::Types::EventFilter

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

Overview

Note:

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

{
  dimensions: { # required
    attributes: {
      "__string" => {
        attribute_type: "INCLUSIVE", # accepts INCLUSIVE, EXCLUSIVE
        values: ["__string"], # required
      },
    },
    event_type: {
      dimension_type: "INCLUSIVE", # accepts INCLUSIVE, EXCLUSIVE
      values: ["__string"], # required
    },
    metrics: {
      "__string" => {
        comparison_operator: "__string", # required
        value: 1.0, # required
      },
    },
  },
  filter_type: "SYSTEM", # required, accepts SYSTEM, ENDPOINT
}

Specifies the settings for an event that causes a campaign to be sent or a journey activity to be performed.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#dimensionsTypes::EventDimensions

The dimensions for the event filter to use for the campaign or the journey activity.



7523
7524
7525
7526
7527
7528
# File 'gems/aws-sdk-pinpoint/lib/aws-sdk-pinpoint/types.rb', line 7523

class EventFilter < Struct.new(
  :dimensions,
  :filter_type)
  SENSITIVE = []
  include Aws::Structure
end

#filter_typeString

The type of event that causes the campaign to be sent or the journey activity to be performed. Valid values are: SYSTEM, sends the campaign or performs the activity when a system event occurs; and, ENDPOINT, sends the campaign or performs the activity when an endpoint event (

Events resource) occurs.

Returns:

  • (String)


7523
7524
7525
7526
7527
7528
# File 'gems/aws-sdk-pinpoint/lib/aws-sdk-pinpoint/types.rb', line 7523

class EventFilter < Struct.new(
  :dimensions,
  :filter_type)
  SENSITIVE = []
  include Aws::Structure
end