Skip to content

Commit fae0e89

Browse files
committed
deps: remove v2 imports
1 parent 4285ff7 commit fae0e89

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

packages/core/src/shared/clients/apiGateway.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,19 +2,19 @@
22
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
33
* SPDX-License-Identifier: Apache-2.0
44
*/
5-
6-
import { APIGateway } from 'aws-sdk'
7-
import { RestApi, Stages } from 'aws-sdk/clients/apigateway'
85
import { ClientWrapper } from './clientWrapper'
96
import {
107
APIGatewayClient as ApiGatewayClientSDK,
118
GetResourcesCommand,
129
GetResourcesRequest,
1310
GetRestApisCommand,
11+
GetRestApisRequest,
1412
GetStagesCommand,
1513
Resource,
1614
Resources,
15+
RestApi,
1716
RestApis,
17+
Stages,
1818
TestInvokeMethodCommand,
1919
TestInvokeMethodRequest,
2020
TestInvokeMethodResponse,
@@ -48,7 +48,7 @@ export class ApiGatewayClient extends ClientWrapper<ApiGatewayClientSDK> {
4848
}
4949

5050
public async *listApis(): AsyncIterableIterator<RestApi> {
51-
const request: APIGateway.GetRestApisRequest = {}
51+
const request: GetRestApisRequest = {}
5252

5353
do {
5454
const response: RestApis = await this.makeRequest(GetRestApisCommand, request)

0 commit comments

Comments
 (0)