Class: Aws::PinpointEmail::Types::EventDestinationDefinition

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

Overview

An object that defines the event destination. Specifically, it defines which services receive events from emails sent using the configuration set that the event destination is associated with. Also defines the types of events that are sent to the event destination.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#cloud_watch_destinationTypes::CloudWatchDestination

An object that defines an Amazon CloudWatch destination for email events. You can use Amazon CloudWatch to monitor and gain insights on your email sending metrics.



1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
# File 'gems/aws-sdk-pinpointemail/lib/aws-sdk-pinpointemail/types.rb', line 1075

class EventDestinationDefinition < Struct.new(
  :enabled,
  :matching_event_types,
  :kinesis_firehose_destination,
  :cloud_watch_destination,
  :sns_destination,
  :pinpoint_destination)
  SENSITIVE = []
  include Aws::Structure
end

#enabledBoolean

If true, the event destination is enabled. When the event destination is enabled, the specified event types are sent to the destinations in this EventDestinationDefinition.

If false, the event destination is disabled. When the event destination is disabled, events aren't sent to the specified destinations.

Returns:

  • (Boolean)


1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
# File 'gems/aws-sdk-pinpointemail/lib/aws-sdk-pinpointemail/types.rb', line 1075

class EventDestinationDefinition < Struct.new(
  :enabled,
  :matching_event_types,
  :kinesis_firehose_destination,
  :cloud_watch_destination,
  :sns_destination,
  :pinpoint_destination)
  SENSITIVE = []
  include Aws::Structure
end

#kinesis_firehose_destinationTypes::KinesisFirehoseDestination

An object that defines an Amazon Kinesis Data Firehose destination for email events. You can use Amazon Kinesis Data Firehose to stream data to other services, such as Amazon S3 and Amazon Redshift.



1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
# File 'gems/aws-sdk-pinpointemail/lib/aws-sdk-pinpointemail/types.rb', line 1075

class EventDestinationDefinition < Struct.new(
  :enabled,
  :matching_event_types,
  :kinesis_firehose_destination,
  :cloud_watch_destination,
  :sns_destination,
  :pinpoint_destination)
  SENSITIVE = []
  include Aws::Structure
end

#matching_event_typesArray<String>

An array that specifies which events Amazon Pinpoint should send to the destinations in this EventDestinationDefinition.

Returns:

  • (Array<String>)


1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
# File 'gems/aws-sdk-pinpointemail/lib/aws-sdk-pinpointemail/types.rb', line 1075

class EventDestinationDefinition < Struct.new(
  :enabled,
  :matching_event_types,
  :kinesis_firehose_destination,
  :cloud_watch_destination,
  :sns_destination,
  :pinpoint_destination)
  SENSITIVE = []
  include Aws::Structure
end

#pinpoint_destinationTypes::PinpointDestination

An object that defines a Amazon Pinpoint destination for email events. You can use Amazon Pinpoint events to create attributes in Amazon Pinpoint projects. You can use these attributes to create segments for your campaigns.



1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
# File 'gems/aws-sdk-pinpointemail/lib/aws-sdk-pinpointemail/types.rb', line 1075

class EventDestinationDefinition < Struct.new(
  :enabled,
  :matching_event_types,
  :kinesis_firehose_destination,
  :cloud_watch_destination,
  :sns_destination,
  :pinpoint_destination)
  SENSITIVE = []
  include Aws::Structure
end

#sns_destinationTypes::SnsDestination

An object that defines an Amazon SNS destination for email events. You can use Amazon SNS to send notification when certain email events occur.



1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
# File 'gems/aws-sdk-pinpointemail/lib/aws-sdk-pinpointemail/types.rb', line 1075

class EventDestinationDefinition < Struct.new(
  :enabled,
  :matching_event_types,
  :kinesis_firehose_destination,
  :cloud_watch_destination,
  :sns_destination,
  :pinpoint_destination)
  SENSITIVE = []
  include Aws::Structure
end