UNPKG

lambda-live-debugger

Version:

Debug Lambda functions locally like it is running in the cloud

22 lines (21 loc) 569 B
import { AwsQueryProtocol } from "./AwsQueryProtocol"; export class AwsEc2QueryProtocol extends AwsQueryProtocol { options; constructor(options) { super(options); this.options = options; const ec2Settings = { capitalizeKeys: true, flattenLists: true, serializeEmptyLists: false, ec2: true, }; Object.assign(this.serializer.settings, ec2Settings); } getShapeId() { return "aws.protocols#ec2Query"; } useNestedResult() { return false; } }