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 |
Documentation
data KinesisParameters Source #
This object enables you to specify a JSON path to extract from the event
and use as the partition key for the Amazon Kinesis data stream, so that
you can control the shard to which the event goes. If you do not include
this parameter, the default is to use the eventId
as the partition
key.
See: newKinesisParameters
smart constructor.
KinesisParameters' | |
|
Instances
Create a value of KinesisParameters
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:partitionKeyPath:KinesisParameters'
, kinesisParameters_partitionKeyPath
- The JSON path to be extracted from the event and used as the partition
key. For more information, see
Amazon Kinesis Streams Key Concepts
in the Amazon Kinesis Streams Developer Guide.
kinesisParameters_partitionKeyPath :: Lens' KinesisParameters Text Source #
The JSON path to be extracted from the event and used as the partition key. For more information, see Amazon Kinesis Streams Key Concepts in the Amazon Kinesis Streams Developer Guide.