UNPKG

@softchef/cdk-iot-device-management

Version:

IoT device management is composed of things, thing types, thing groups, jobs, files API services. The constructs can be used independently, that are based on full-managed service to create an API Gateway & Lambda function.

40 lines (39 loc) 1.9 kB
import { __extends } from "tslib"; import { getSerdePlugin } from "@aws-sdk/middleware-serde"; import { Command as $Command } from "@aws-sdk/smithy-client"; import { DeleteTableInput, DeleteTableOutput } from "../models/models_0"; import { deserializeAws_json1_0DeleteTableCommand, serializeAws_json1_0DeleteTableCommand, } from "../protocols/Aws_json1_0"; var DeleteTableCommand = (function (_super) { __extends(DeleteTableCommand, _super); function DeleteTableCommand(input) { var _this = _super.call(this) || this; _this.input = input; return _this; } DeleteTableCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) { this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); var stack = clientStack.concat(this.middlewareStack); var logger = configuration.logger; var clientName = "DynamoDBClient"; var commandName = "DeleteTableCommand"; var handlerExecutionContext = { logger: logger, clientName: clientName, commandName: commandName, inputFilterSensitiveLog: DeleteTableInput.filterSensitiveLog, outputFilterSensitiveLog: DeleteTableOutput.filterSensitiveLog, }; var requestHandler = configuration.requestHandler; return stack.resolve(function (request) { return requestHandler.handle(request.request, options || {}); }, handlerExecutionContext); }; DeleteTableCommand.prototype.serialize = function (input, context) { return serializeAws_json1_0DeleteTableCommand(input, context); }; DeleteTableCommand.prototype.deserialize = function (output, context) { return deserializeAws_json1_0DeleteTableCommand(output, context); }; return DeleteTableCommand; }($Command)); export { DeleteTableCommand };