Class: Aws::Pinpoint::Types::WriteEventStream

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

Overview

Note:

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

{
  destination_stream_arn: "__string", # required
  role_arn: "__string", # required
}

Specifies the Amazon Resource Name (ARN) of an event stream to publish events to and the AWS Identity and Access Management (IAM) role to use when publishing those events.

Instance Attribute Summary collapse

Instance Attribute Details

#destination_stream_arnString

The Amazon Resource Name (ARN) of the Amazon Kinesis data stream or Amazon Kinesis Data Firehose delivery stream that you want to publish event data to.

For a Kinesis data stream, the ARN format is: arn:aws:kinesis:region:account-id:stream/stream_name

For a Kinesis Data Firehose delivery stream, the ARN format is: arn:aws:firehose:region:account-id:deliverystream/stream_name

Returns:

  • (String)


17983
17984
17985
17986
17987
# File 'lib/aws-sdk-pinpoint/types.rb', line 17983

class WriteEventStream < Struct.new(
  :destination_stream_arn,
  :role_arn)
  include Aws::Structure
end

#role_arnString

The AWS Identity and Access Management (IAM) role that authorizes Amazon Pinpoint to publish event data to the stream in your AWS account.

Returns:

  • (String)


17983
17984
17985
17986
17987
# File 'lib/aws-sdk-pinpoint/types.rb', line 17983

class WriteEventStream < Struct.new(
  :destination_stream_arn,
  :role_arn)
  include Aws::Structure
end