Class: Aws::Pinpoint::Types::EventDimensions

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 EventDimensions data as a hash:

{
  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
    },
  },
}

Specifies the dimensions for an event filter that determines when a campaign is sent or a journey activity is performed.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#attributesHash<String,Types::AttributeDimension>

One or more custom attributes that your application reports to Amazon Pinpoint. You can use these attributes as selection criteria when you create an event filter.

Returns:



7470
7471
7472
7473
7474
7475
7476
# File 'gems/aws-sdk-pinpoint/lib/aws-sdk-pinpoint/types.rb', line 7470

class EventDimensions < Struct.new(
  :attributes,
  :event_type,
  :metrics)
  SENSITIVE = []
  include Aws::Structure
end

#event_typeTypes::SetDimension

The name of the event that causes the campaign to be sent or the journey activity to be performed. This can be a standard event that Amazon Pinpoint generates, such as _email.delivered. For campaigns, this can also be a custom event that's specific to your application. For information about standard events, see Streaming Amazon Pinpoint Events in the Amazon Pinpoint Developer Guide.

Returns:



7470
7471
7472
7473
7474
7475
7476
# File 'gems/aws-sdk-pinpoint/lib/aws-sdk-pinpoint/types.rb', line 7470

class EventDimensions < Struct.new(
  :attributes,
  :event_type,
  :metrics)
  SENSITIVE = []
  include Aws::Structure
end

#metricsHash<String,Types::MetricDimension>

One or more custom metrics that your application reports to Amazon Pinpoint. You can use these metrics as selection criteria when you create an event filter.

Returns:



7470
7471
7472
7473
7474
7475
7476
# File 'gems/aws-sdk-pinpoint/lib/aws-sdk-pinpoint/types.rb', line 7470

class EventDimensions < Struct.new(
  :attributes,
  :event_type,
  :metrics)
  SENSITIVE = []
  include Aws::Structure
end