File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
clients/client-api-gateway
packages/middleware-sdk-api-gateway/src Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -192,7 +192,7 @@ import {
192
192
getRetryPlugin ,
193
193
resolveRetryConfig
194
194
} 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" ;
196
196
import {
197
197
AwsAuthInputConfig ,
198
198
AwsAuthResolvedConfig ,
@@ -576,7 +576,7 @@ export class APIGatewayClient extends __Client<
576
576
this . middlewareStack . use ( getRetryPlugin ( this . config ) ) ;
577
577
this . middlewareStack . use ( getUserAgentPlugin ( this . config ) ) ;
578
578
this . middlewareStack . use ( getContentLengthPlugin ( this . config ) ) ;
579
- this . middlewareStack . use ( getAcceptsHeaderPlugin ( this . config ) ) ;
579
+ this . middlewareStack . use ( getAcceptHeaderPlugin ( this . config ) ) ;
580
580
this . middlewareStack . use ( getHostHeaderPlugin ( this . config ) ) ;
581
581
}
582
582
Original file line number Diff line number Diff line change @@ -35,7 +35,7 @@ export const acceptHeaderMiddlewareOptions: BuildHandlerOptions = {
35
35
name : "acceptHeaderMiddleware"
36
36
} ;
37
37
38
- export const getAcceptsHeaderPlugin = ( unused : any ) : Pluggable < any , any > => ( {
38
+ export const getAcceptHeaderPlugin = ( unused : any ) : Pluggable < any , any > => ( {
39
39
applyToStack : clientStack => {
40
40
clientStack . add ( acceptHeaderMiddleware ( ) , acceptHeaderMiddlewareOptions ) ;
41
41
}
You can’t perform that action at this time.
0 commit comments