import { DynamoDBClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DynamoDBClient"; import { KinesisStreamingDestinationInput, KinesisStreamingDestinationOutput } from "../models/models_0"; import { deserializeAws_json1_0EnableKinesisStreamingDestinationCommand, serializeAws_json1_0EnableKinesisStreamingDestinationCommand, } from "../protocols/Aws_json1_0"; import { getSerdePlugin } from "@aws-sdk/middleware-serde"; import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http"; import { Command as $Command } from "@aws-sdk/smithy-client"; import { FinalizeHandlerArguments, Handler, HandlerExecutionContext, MiddlewareStack, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, SerdeContext as __SerdeContext, } from "@aws-sdk/types"; export interface EnableKinesisStreamingDestinationCommandInput extends KinesisStreamingDestinationInput {} export interface EnableKinesisStreamingDestinationCommandOutput extends KinesisStreamingDestinationOutput, __MetadataBearer {} /** *
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.
* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { DynamoDBClient, EnableKinesisStreamingDestinationCommand } from "@aws-sdk/client-dynamodb"; // ES Modules import * // const { DynamoDBClient, EnableKinesisStreamingDestinationCommand } = require("@aws-sdk/client-dynamodb"); // CommonJS import * const client = new DynamoDBClient(config); * const command = new EnableKinesisStreamingDestinationCommand(input); * const response = await client.send(command); * ``` * * @see {@link EnableKinesisStreamingDestinationCommandInput} for command's `input` shape. * @see {@link EnableKinesisStreamingDestinationCommandOutput} for command's `response` shape. * @see {@link DynamoDBClientResolvedConfig | config} for command's `input` shape. * */ export class EnableKinesisStreamingDestinationCommand extends $Command< EnableKinesisStreamingDestinationCommandInput, EnableKinesisStreamingDestinationCommandOutput, DynamoDBClientResolvedConfig > { // Start section: command_properties // End section: command_properties constructor(readonly input: EnableKinesisStreamingDestinationCommandInput) { // Start section: command_constructor super(); // End section: command_constructor } /** * @internal */ resolveMiddleware( clientStack: MiddlewareStack