Class: Aws::PinpointSMSVoice::Types::EventDestinationDefinition
- Inherits:
-
Struct
- Object
- Struct
- Aws::PinpointSMSVoice::Types::EventDestinationDefinition
- Defined in:
- gems/aws-sdk-pinpointsmsvoice/lib/aws-sdk-pinpointsmsvoice/types.rb
Overview
When making an API call, you may pass EventDestinationDefinition data as a hash:
{
cloud_watch_logs_destination: {
iam_role_arn: "String",
log_group_arn: "String",
},
enabled: false,
kinesis_firehose_destination: {
delivery_stream_arn: "String",
iam_role_arn: "String",
},
matching_event_types: ["INITIATED_CALL"], # accepts INITIATED_CALL, RINGING, ANSWERED, COMPLETED_CALL, BUSY, FAILED, NO_ANSWER
sns_destination: {
topic_arn: "String",
},
}
An object that defines a single event destination.
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#cloud_watch_logs_destination ⇒ Types::CloudWatchLogsDestination
An object that contains information about an event destination that sends data to Amazon CloudWatch Logs.
-
#enabled ⇒ Boolean
Indicates whether or not the event destination is enabled.
-
#kinesis_firehose_destination ⇒ Types::KinesisFirehoseDestination
An object that contains information about an event destination that sends data to Amazon Kinesis Data Firehose.
-
#matching_event_types ⇒ Array<String>
An array of EventDestination objects.
-
#sns_destination ⇒ Types::SnsDestination
An object that contains information about an event destination that sends data to Amazon SNS.
Instance Attribute Details
#cloud_watch_logs_destination ⇒ Types::CloudWatchLogsDestination
An object that contains information about an event destination that sends data to Amazon CloudWatch Logs.
325 326 327 328 329 330 331 332 333 |
# File 'gems/aws-sdk-pinpointsmsvoice/lib/aws-sdk-pinpointsmsvoice/types.rb', line 325 class EventDestinationDefinition < Struct.new( :cloud_watch_logs_destination, :enabled, :kinesis_firehose_destination, :matching_event_types, :sns_destination) SENSITIVE = [] include Aws::Structure end |
#enabled ⇒ Boolean
Indicates whether or not the event destination is enabled. If the event destination is enabled, then Amazon Pinpoint sends response data to the specified event destination.
325 326 327 328 329 330 331 332 333 |
# File 'gems/aws-sdk-pinpointsmsvoice/lib/aws-sdk-pinpointsmsvoice/types.rb', line 325 class EventDestinationDefinition < Struct.new( :cloud_watch_logs_destination, :enabled, :kinesis_firehose_destination, :matching_event_types, :sns_destination) SENSITIVE = [] include Aws::Structure end |
#kinesis_firehose_destination ⇒ Types::KinesisFirehoseDestination
An object that contains information about an event destination that sends data to Amazon Kinesis Data Firehose.
325 326 327 328 329 330 331 332 333 |
# File 'gems/aws-sdk-pinpointsmsvoice/lib/aws-sdk-pinpointsmsvoice/types.rb', line 325 class EventDestinationDefinition < Struct.new( :cloud_watch_logs_destination, :enabled, :kinesis_firehose_destination, :matching_event_types, :sns_destination) SENSITIVE = [] include Aws::Structure end |
#matching_event_types ⇒ Array<String>
An array of EventDestination objects. Each EventDestination object includes ARNs and other information that define an event destination.
325 326 327 328 329 330 331 332 333 |
# File 'gems/aws-sdk-pinpointsmsvoice/lib/aws-sdk-pinpointsmsvoice/types.rb', line 325 class EventDestinationDefinition < Struct.new( :cloud_watch_logs_destination, :enabled, :kinesis_firehose_destination, :matching_event_types, :sns_destination) SENSITIVE = [] include Aws::Structure end |
#sns_destination ⇒ Types::SnsDestination
An object that contains information about an event destination that sends data to Amazon SNS.
325 326 327 328 329 330 331 332 333 |
# File 'gems/aws-sdk-pinpointsmsvoice/lib/aws-sdk-pinpointsmsvoice/types.rb', line 325 class EventDestinationDefinition < Struct.new( :cloud_watch_logs_destination, :enabled, :kinesis_firehose_destination, :matching_event_types, :sns_destination) SENSITIVE = [] include Aws::Structure end |