Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Synopsis
- data EventStream = EventStream' {}
- newEventStream :: Text -> Text -> Text -> EventStream
- eventStream_lastUpdatedBy :: Lens' EventStream (Maybe Text)
- eventStream_lastModifiedDate :: Lens' EventStream (Maybe Text)
- eventStream_externalId :: Lens' EventStream (Maybe Text)
- eventStream_applicationId :: Lens' EventStream Text
- eventStream_roleArn :: Lens' EventStream Text
- eventStream_destinationStreamArn :: Lens' EventStream Text
Documentation
data EventStream Source #
Specifies settings for publishing event data to an Amazon Kinesis data stream or an Amazon Kinesis Data Firehose delivery stream.
See: newEventStream
smart constructor.
EventStream' | |
|
Instances
:: Text | |
-> Text | |
-> Text | |
-> EventStream |
Create a value of EventStream
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:lastUpdatedBy:EventStream'
, eventStream_lastUpdatedBy
- The IAM user who last modified the event stream.
$sel:lastModifiedDate:EventStream'
, eventStream_lastModifiedDate
- The date, in ISO 8601 format, when the event stream was last modified.
$sel:externalId:EventStream'
, eventStream_externalId
- (Deprecated) Your AWS account ID, which you assigned to an external ID
key in an IAM trust policy. Amazon Pinpoint previously used this value
to assume an IAM role when publishing event data, but we removed this
requirement. We don't recommend use of external IDs for IAM roles that
are assumed by Amazon Pinpoint.
$sel:applicationId:EventStream'
, eventStream_applicationId
- The unique identifier for the application to publish event data for.
$sel:roleArn:EventStream'
, eventStream_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:EventStream'
, eventStream_destinationStreamArn
- The Amazon Resource Name (ARN) of the Amazon Kinesis data stream or
Amazon Kinesis Data Firehose delivery stream 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
eventStream_lastUpdatedBy :: Lens' EventStream (Maybe Text) Source #
The IAM user who last modified the event stream.
eventStream_lastModifiedDate :: Lens' EventStream (Maybe Text) Source #
The date, in ISO 8601 format, when the event stream was last modified.
eventStream_externalId :: Lens' EventStream (Maybe Text) Source #
(Deprecated) Your AWS account ID, which you assigned to an external ID key in an IAM trust policy. Amazon Pinpoint previously used this value to assume an IAM role when publishing event data, but we removed this requirement. We don't recommend use of external IDs for IAM roles that are assumed by Amazon Pinpoint.
eventStream_applicationId :: Lens' EventStream Text Source #
The unique identifier for the application to publish event data for.
eventStream_roleArn :: Lens' EventStream 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.
eventStream_destinationStreamArn :: Lens' EventStream Text Source #
The Amazon Resource Name (ARN) of the Amazon Kinesis data stream or Amazon Kinesis Data Firehose delivery stream 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