| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.DynamoDB.EnableKinesisStreamingDestination
Description
Starts table data replication to the specified Kinesis data stream at a timestamp chosen during the enable workflow. If this operation doesn't return results immediately, use DescribeKinesisStreamingDestination to check if streaming to the Kinesis data stream is ACTIVE.
Synopsis
- data EnableKinesisStreamingDestination = EnableKinesisStreamingDestination' {}
- newEnableKinesisStreamingDestination :: Text -> Text -> EnableKinesisStreamingDestination
- enableKinesisStreamingDestination_tableName :: Lens' EnableKinesisStreamingDestination Text
- enableKinesisStreamingDestination_streamArn :: Lens' EnableKinesisStreamingDestination Text
- data KinesisStreamingDestinationOutput = KinesisStreamingDestinationOutput' {}
- newKinesisStreamingDestinationOutput :: KinesisStreamingDestinationOutput
- kinesisStreamingDestinationOutput_destinationStatus :: Lens' KinesisStreamingDestinationOutput (Maybe DestinationStatus)
- kinesisStreamingDestinationOutput_streamArn :: Lens' KinesisStreamingDestinationOutput (Maybe Text)
- kinesisStreamingDestinationOutput_tableName :: Lens' KinesisStreamingDestinationOutput (Maybe Text)
Creating a Request
data EnableKinesisStreamingDestination Source #
See: newEnableKinesisStreamingDestination smart constructor.
Constructors
| EnableKinesisStreamingDestination' | |
Instances
newEnableKinesisStreamingDestination Source #
Arguments
| :: Text | |
| -> Text | |
| -> EnableKinesisStreamingDestination |
Create a value of EnableKinesisStreamingDestination 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:
EnableKinesisStreamingDestination, enableKinesisStreamingDestination_tableName - The name of the DynamoDB table.
EnableKinesisStreamingDestination, enableKinesisStreamingDestination_streamArn - The ARN for a Kinesis data stream.
Request Lenses
enableKinesisStreamingDestination_tableName :: Lens' EnableKinesisStreamingDestination Text Source #
The name of the DynamoDB table.
enableKinesisStreamingDestination_streamArn :: Lens' EnableKinesisStreamingDestination Text Source #
The ARN for a Kinesis data stream.
Destructuring the Response
data KinesisStreamingDestinationOutput Source #
See: newKinesisStreamingDestinationOutput smart constructor.
Constructors
| KinesisStreamingDestinationOutput' | |
Fields
| |
Instances
newKinesisStreamingDestinationOutput :: KinesisStreamingDestinationOutput Source #
Create a value of KinesisStreamingDestinationOutput 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:destinationStatus:KinesisStreamingDestinationOutput', kinesisStreamingDestinationOutput_destinationStatus - The current status of the replication.
$sel:streamArn:KinesisStreamingDestinationOutput', kinesisStreamingDestinationOutput_streamArn - The ARN for the specific Kinesis data stream.
$sel:tableName:KinesisStreamingDestinationOutput', kinesisStreamingDestinationOutput_tableName - The name of the table being modified.
Response Lenses
kinesisStreamingDestinationOutput_destinationStatus :: Lens' KinesisStreamingDestinationOutput (Maybe DestinationStatus) Source #
The current status of the replication.
kinesisStreamingDestinationOutput_streamArn :: Lens' KinesisStreamingDestinationOutput (Maybe Text) Source #
The ARN for the specific Kinesis data stream.
kinesisStreamingDestinationOutput_tableName :: Lens' KinesisStreamingDestinationOutput (Maybe Text) Source #
The name of the table being modified.