libZSservicesZSamazonka-iotZSamazonka-iot
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.IoT.Types.KafkaAction

Description

 
Synopsis

Documentation

data KafkaAction Source #

Send messages to an Amazon Managed Streaming for Apache Kafka (Amazon MSK) or self-managed Apache Kafka cluster.

See: newKafkaAction smart constructor.

Constructors

KafkaAction' 

Fields

Instances

Instances details
Eq KafkaAction Source # 
Instance details

Defined in Amazonka.IoT.Types.KafkaAction

Read KafkaAction Source # 
Instance details

Defined in Amazonka.IoT.Types.KafkaAction

Show KafkaAction Source # 
Instance details

Defined in Amazonka.IoT.Types.KafkaAction

Generic KafkaAction Source # 
Instance details

Defined in Amazonka.IoT.Types.KafkaAction

Associated Types

type Rep KafkaAction :: Type -> Type #

NFData KafkaAction Source # 
Instance details

Defined in Amazonka.IoT.Types.KafkaAction

Methods

rnf :: KafkaAction -> () #

Hashable KafkaAction Source # 
Instance details

Defined in Amazonka.IoT.Types.KafkaAction

ToJSON KafkaAction Source # 
Instance details

Defined in Amazonka.IoT.Types.KafkaAction

FromJSON KafkaAction Source # 
Instance details

Defined in Amazonka.IoT.Types.KafkaAction

type Rep KafkaAction Source # 
Instance details

Defined in Amazonka.IoT.Types.KafkaAction

type Rep KafkaAction = D1 ('MetaData "KafkaAction" "Amazonka.IoT.Types.KafkaAction" "libZSservicesZSamazonka-iotZSamazonka-iot" 'False) (C1 ('MetaCons "KafkaAction'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "key") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "partition") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "destinationArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: (S1 ('MetaSel ('Just "topic") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "clientProperties") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (HashMap Text Text))))))

newKafkaAction Source #

Create a value of KafkaAction 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:key:KafkaAction', kafkaAction_key - The Kafka message key.

$sel:partition:KafkaAction', kafkaAction_partition - The Kafka message partition.

$sel:destinationArn:KafkaAction', kafkaAction_destinationArn - The ARN of Kafka action's VPC TopicRuleDestination.

$sel:topic:KafkaAction', kafkaAction_topic - The Kafka topic for messages to be sent to the Kafka broker.

$sel:clientProperties:KafkaAction', kafkaAction_clientProperties - Properties of the Apache Kafka producer client.

kafkaAction_key :: Lens' KafkaAction (Maybe Text) Source #

The Kafka message key.

kafkaAction_partition :: Lens' KafkaAction (Maybe Text) Source #

The Kafka message partition.

kafkaAction_destinationArn :: Lens' KafkaAction Text Source #

The ARN of Kafka action's VPC TopicRuleDestination.

kafkaAction_topic :: Lens' KafkaAction Text Source #

The Kafka topic for messages to be sent to the Kafka broker.

kafkaAction_clientProperties :: Lens' KafkaAction (HashMap Text Text) Source #

Properties of the Apache Kafka producer client.