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

Class: Aws::PinpointSMSVoice::Types::EventDestinationDefinition

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

Overview

Note:

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

Returned by:

Instance Attribute Summary collapse

Instance Attribute Details

#cloud_watch_logs_destinationTypes::CloudWatchLogsDestination

An object that contains information about an event destination that sends data to Amazon CloudWatch Logs.

Returns:

#enabledBoolean

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.

Returns:

  • (Boolean)

    Indicates whether or not the event destination is enabled.

#kinesis_firehose_destinationTypes::KinesisFirehoseDestination

An object that contains information about an event destination that sends data to Amazon Kinesis Data Firehose.

Returns:

#matching_event_typesArray<String>

An array of EventDestination objects. Each EventDestination object includes ARNs and other information that define an event destination.

Returns:

  • (Array<String>)

    An array of EventDestination objects.

#sns_destinationTypes::SnsDestination

An object that contains information about an event destination that sends data to Amazon SNS.

Returns:

  • (Types::SnsDestination)

    An object that contains information about an event destination that sends data to Amazon SNS.