describeKinesisStreamingDestination method

Future<DescribeKinesisStreamingDestinationOutput> describeKinesisStreamingDestination({
  1. required String tableName,
})

Returns information about the status of Kinesis streaming.

May throw InternalServerError. May throw InvalidEndpointException. May throw ResourceNotFoundException.

Parameter tableName : The name of the table being described. You can also provide the Amazon Resource Name (ARN) of the table in this parameter.

Implementation

Future<DescribeKinesisStreamingDestinationOutput>
    describeKinesisStreamingDestination({
  required String tableName,
}) async {
  final headers = <String, String>{
    'Content-Type': 'application/x-amz-json-1.0',
    'X-Amz-Target': 'DynamoDB_20120810.DescribeKinesisStreamingDestination'
  };
  final jsonResponse = await _protocol.send(
    method: 'POST',
    requestUri: '/',
    exceptionFnMap: _exceptionFns,
    // TODO queryParams
    headers: headers,
    payload: {
      'TableName': tableName,
    },
  );

  return DescribeKinesisStreamingDestinationOutput.fromJson(
      jsonResponse.body);
}