From 335b393aec64e9a3b408ca0a381f1e98d5b60860 Mon Sep 17 00:00:00 2001 From: "Kamat, Trivikram" <16024985+trivikr@users.noreply.github.com> Date: Wed, 15 Nov 2023 01:14:27 -0800 Subject: [PATCH] chore: codemod src/**/*.js --- src/api-deployment/features/api-explorer/app.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/api-deployment/features/api-explorer/app.js b/src/api-deployment/features/api-explorer/app.js index d1e8ca26..9c8531ed 100644 --- a/src/api-deployment/features/api-explorer/app.js +++ b/src/api-deployment/features/api-explorer/app.js @@ -6,9 +6,9 @@ const express = require('express') const serverless = require('serverless-http') const swaggerUi = require('swagger-ui-express') const YAML = require('yamljs'); -const AWS = require('aws-sdk'); +const { APIGateway } = require('@aws-sdk/client-api-gateway'); -var apigateway = new AWS.APIGateway(); +var apigateway = new APIGateway(); var params = { restApiId: process.env.REST_API_ID,