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 KafkaAction = KafkaAction' {}
- newKafkaAction :: Text -> Text -> KafkaAction
- kafkaAction_key :: Lens' KafkaAction (Maybe Text)
- kafkaAction_partition :: Lens' KafkaAction (Maybe Text)
- kafkaAction_destinationArn :: Lens' KafkaAction Text
- kafkaAction_topic :: Lens' KafkaAction Text
- kafkaAction_clientProperties :: Lens' KafkaAction (HashMap Text Text)
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.
KafkaAction' | |
|
Instances
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.