UNPKG

@aws-sdk/core

Version:

Core functions & classes shared by multiple AWS SDK clients.

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; } }