enable_kinesis_streaming_destination

enable_kinesis_streaming_destination(**kwargs)

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.

See also: AWS API Documentation

Request Syntax

response = client.enable_kinesis_streaming_destination(
    TableName='string',
    StreamArn='string'
)
Parameters
  • TableName (string) --

    [REQUIRED]

    The name of the DynamoDB table.

  • StreamArn (string) --

    [REQUIRED]

    The ARN for a Kinesis data stream.

Return type

dict

Returns

Response Syntax

{
    'TableName': 'string',
    'StreamArn': 'string',
    'DestinationStatus': 'ENABLING'|'ACTIVE'|'DISABLING'|'DISABLED'|'ENABLE_FAILED'
}

Response Structure

  • (dict) --

    • TableName (string) --

      The name of the table being modified.

    • StreamArn (string) --

      The ARN for the specific Kinesis data stream.

    • DestinationStatus (string) --

      The current status of the replication.

Exceptions

  • DynamoDB.Client.exceptions.InternalServerError
  • DynamoDB.Client.exceptions.LimitExceededException
  • DynamoDB.Client.exceptions.ResourceInUseException
  • DynamoDB.Client.exceptions.ResourceNotFoundException