libZSservicesZSamazonka-cloudwatch-eventsZSamazonka-cloudwatch-events
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.CloudWatchEvents.Types.KinesisParameters

Description

 
Synopsis

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.

Constructors

KinesisParameters' 

Fields

Instances

Instances details
Eq KinesisParameters Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.Types.KinesisParameters

Read KinesisParameters Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.Types.KinesisParameters

Show KinesisParameters Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.Types.KinesisParameters

Generic KinesisParameters Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.Types.KinesisParameters

Associated Types

type Rep KinesisParameters :: Type -> Type #

NFData KinesisParameters Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.Types.KinesisParameters

Methods

rnf :: KinesisParameters -> () #

Hashable KinesisParameters Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.Types.KinesisParameters

ToJSON KinesisParameters Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.Types.KinesisParameters

FromJSON KinesisParameters Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.Types.KinesisParameters

type Rep KinesisParameters Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.Types.KinesisParameters

type Rep KinesisParameters = D1 ('MetaData "KinesisParameters" "Amazonka.CloudWatchEvents.Types.KinesisParameters" "libZSservicesZSamazonka-cloudwatch-eventsZSamazonka-cloudwatch-events" 'False) (C1 ('MetaCons "KinesisParameters'" 'PrefixI 'True) (S1 ('MetaSel ('Just "partitionKeyPath") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newKinesisParameters Source #

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.