| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.Pinpoint.Types.WriteEventStream
Description
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
| |
Instances
Arguments
| :: Text | |
| -> Text | |
| -> WriteEventStream |
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