Skip to content

Commit 54f46c2

Browse files
trivikrsrchase
andcommitted
chore: codegen with accept header changes (aws#710)
Co-authored-by: Chase Coalwell <[email protected]>
1 parent ba51616 commit 54f46c2

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

clients/client-api-gateway/APIGatewayClient.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,7 @@ import {
192192
getRetryPlugin,
193193
resolveRetryConfig
194194
} from "@aws-sdk/middleware-retry";
195-
import { getAcceptsHeaderPlugin } from "@aws-sdk/middleware-sdk-api-gateway";
195+
import { getAcceptHeaderPlugin } from "@aws-sdk/middleware-sdk-api-gateway";
196196
import {
197197
AwsAuthInputConfig,
198198
AwsAuthResolvedConfig,
@@ -576,7 +576,7 @@ export class APIGatewayClient extends __Client<
576576
this.middlewareStack.use(getRetryPlugin(this.config));
577577
this.middlewareStack.use(getUserAgentPlugin(this.config));
578578
this.middlewareStack.use(getContentLengthPlugin(this.config));
579-
this.middlewareStack.use(getAcceptsHeaderPlugin(this.config));
579+
this.middlewareStack.use(getAcceptHeaderPlugin(this.config));
580580
this.middlewareStack.use(getHostHeaderPlugin(this.config));
581581
}
582582

packages/middleware-sdk-api-gateway/src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ export const acceptHeaderMiddlewareOptions: BuildHandlerOptions = {
3535
name: "acceptHeaderMiddleware"
3636
};
3737

38-
export const getAcceptsHeaderPlugin = (unused: any): Pluggable<any, any> => ({
38+
export const getAcceptHeaderPlugin = (unused: any): Pluggable<any, any> => ({
3939
applyToStack: clientStack => {
4040
clientStack.add(acceptHeaderMiddleware(), acceptHeaderMiddlewareOptions);
4141
}

0 commit comments

Comments
 (0)