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 KinesisAction = KinesisAction' {
- partitionKey :: Maybe Text
- roleArn :: Text
- streamName :: Text
- newKinesisAction :: Text -> Text -> KinesisAction
- kinesisAction_partitionKey :: Lens' KinesisAction (Maybe Text)
- kinesisAction_roleArn :: Lens' KinesisAction Text
- kinesisAction_streamName :: Lens' KinesisAction Text
Documentation
data KinesisAction Source #
Describes an action to write data to an Amazon Kinesis stream.
See: newKinesisAction
smart constructor.
KinesisAction' | |
|
Instances
Create a value of KinesisAction
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:partitionKey:KinesisAction'
, kinesisAction_partitionKey
- The partition key.
$sel:roleArn:KinesisAction'
, kinesisAction_roleArn
- The ARN of the IAM role that grants access to the Amazon Kinesis stream.
$sel:streamName:KinesisAction'
, kinesisAction_streamName
- The name of the Amazon Kinesis stream.
kinesisAction_partitionKey :: Lens' KinesisAction (Maybe Text) Source #
The partition key.
kinesisAction_roleArn :: Lens' KinesisAction Text Source #
The ARN of the IAM role that grants access to the Amazon Kinesis stream.
kinesisAction_streamName :: Lens' KinesisAction Text Source #
The name of the Amazon Kinesis stream.