UNPKG

lambda-live-debugger

Version:

Debug Lambda functions locally like it is running in the cloud

17 lines (16 loc) 633 B
import { getEndpointPlugin } from "@smithy/middleware-endpoint"; import { Command as $Command } from "@smithy/smithy-client"; import { commonParams } from "../endpoint/EndpointParameters"; import { GetRolePolicy } from "../schemas/schemas_0"; export { $Command }; export class GetRolePolicyCommand extends $Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; }) .s("AWSIdentityManagementV20100508", "GetRolePolicy", {}) .n("IAMClient", "GetRolePolicyCommand") .sc(GetRolePolicy) .build() { }