lambda-live-debugger
Version:
Debug Lambda functions locally like it is running in the cloud
36 lines (35 loc) • 1.73 kB
JavaScript
import { createAggregatedClient } from "@smithy/core/client";
import { DeleteConnectionCommand, } from "./commands/DeleteConnectionCommand";
import { DeleteThingShadowCommand, } from "./commands/DeleteThingShadowCommand";
import { GetConnectionCommand, } from "./commands/GetConnectionCommand";
import { GetRetainedMessageCommand, } from "./commands/GetRetainedMessageCommand";
import { GetThingShadowCommand, } from "./commands/GetThingShadowCommand";
import { ListNamedShadowsForThingCommand, } from "./commands/ListNamedShadowsForThingCommand";
import { ListRetainedMessagesCommand, } from "./commands/ListRetainedMessagesCommand";
import { ListSubscriptionsCommand, } from "./commands/ListSubscriptionsCommand";
import { PublishCommand } from "./commands/PublishCommand";
import { SendDirectMessageCommand, } from "./commands/SendDirectMessageCommand";
import { UpdateThingShadowCommand, } from "./commands/UpdateThingShadowCommand";
import { IoTDataPlaneClient } from "./IoTDataPlaneClient";
import { paginateListRetainedMessages } from "./pagination/ListRetainedMessagesPaginator";
import { paginateListSubscriptions } from "./pagination/ListSubscriptionsPaginator";
const commands = {
DeleteConnectionCommand,
DeleteThingShadowCommand,
GetConnectionCommand,
GetRetainedMessageCommand,
GetThingShadowCommand,
ListNamedShadowsForThingCommand,
ListRetainedMessagesCommand,
ListSubscriptionsCommand,
PublishCommand,
SendDirectMessageCommand,
UpdateThingShadowCommand,
};
const paginators = {
paginateListRetainedMessages,
paginateListSubscriptions,
};
export class IoTDataPlane extends IoTDataPlaneClient {
}
createAggregatedClient(commands, IoTDataPlane, { paginators });