libZSservicesZSamazonka-pinpointZSamazonka-pinpoint
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.Pinpoint.Types.WriteEventStream

Description

 
Synopsis

Documentation

data WriteEventStream Source #

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.

See: newWriteEventStream smart constructor.

Constructors

WriteEventStream' 

Fields

  • roleArn :: Text

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

  • destinationStreamArn :: Text

    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

Instances

Instances details
Eq WriteEventStream Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.WriteEventStream

Read WriteEventStream Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.WriteEventStream

Show WriteEventStream Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.WriteEventStream

Generic WriteEventStream Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.WriteEventStream

Associated Types

type Rep WriteEventStream :: Type -> Type #

NFData WriteEventStream Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.WriteEventStream

Methods

rnf :: WriteEventStream -> () #

Hashable WriteEventStream Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.WriteEventStream

ToJSON WriteEventStream Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.WriteEventStream

type Rep WriteEventStream Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.WriteEventStream

type Rep WriteEventStream = D1 ('MetaData "WriteEventStream" "Amazonka.Pinpoint.Types.WriteEventStream" "libZSservicesZSamazonka-pinpointZSamazonka-pinpoint" 'False) (C1 ('MetaCons "WriteEventStream'" 'PrefixI 'True) (S1 ('MetaSel ('Just "roleArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "destinationStreamArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newWriteEventStream Source #

Create a value of WriteEventStream with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:roleArn:WriteEventStream', writeEventStream_roleArn - The AWS Identity and Access Management (IAM) role that authorizes Amazon Pinpoint to publish event data to the stream in your AWS account.

$sel:destinationStreamArn:WriteEventStream', writeEventStream_destinationStreamArn - 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

writeEventStream_roleArn :: Lens' WriteEventStream Text Source #

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

writeEventStream_destinationStreamArn :: Lens' WriteEventStream Text Source #

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