DynamoDB / Client / update_kinesis_streaming_destination

update_kinesis_streaming_destination#

DynamoDB.Client.update_kinesis_streaming_destination(**kwargs)#

The command to update the Kinesis stream destination.

See also: AWS API Documentation

Request Syntax

response = client.update_kinesis_streaming_destination(
    TableName='string',
    StreamArn='string',
    UpdateKinesisStreamingConfiguration={
        'ApproximateCreationDateTimePrecision': 'MILLISECOND'|'MICROSECOND'
    }
)
Parameters:
  • TableName (string) –

    [REQUIRED]

    The table name for the Kinesis streaming destination input. You can also provide the ARN of the table in this parameter.

  • StreamArn (string) –

    [REQUIRED]

    The Amazon Resource Name (ARN) for the Kinesis stream input.

  • UpdateKinesisStreamingConfiguration (dict) –

    The command to update the Kinesis stream configuration.

    • ApproximateCreationDateTimePrecision (string) –

      Enables updating the precision of Kinesis data stream timestamp.

Return type:

dict

Returns:

Response Syntax

{
    'TableName': 'string',
    'StreamArn': 'string',
    'DestinationStatus': 'ENABLING'|'ACTIVE'|'DISABLING'|'DISABLED'|'ENABLE_FAILED'|'UPDATING',
    'UpdateKinesisStreamingConfiguration': {
        'ApproximateCreationDateTimePrecision': 'MILLISECOND'|'MICROSECOND'
    }
}

Response Structure

  • (dict) –

    • TableName (string) –

      The table name for the Kinesis streaming destination output.

    • StreamArn (string) –

      The ARN for the Kinesis stream input.

    • DestinationStatus (string) –

      The status of the attempt to update the Kinesis streaming destination output.

    • UpdateKinesisStreamingConfiguration (dict) –

      The command to update the Kinesis streaming destination configuration.

      • ApproximateCreationDateTimePrecision (string) –

        Enables updating the precision of Kinesis data stream timestamp.

Exceptions

  • DynamoDB.Client.exceptions.InternalServerError

  • DynamoDB.Client.exceptions.LimitExceededException

  • DynamoDB.Client.exceptions.ResourceInUseException

  • DynamoDB.Client.exceptions.ResourceNotFoundException