We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 63bd2f7 commit 5f4f2afCopy full SHA for 5f4f2af
1 file changed
tests/helpers/aws-gateway-helper.ts
@@ -8,7 +8,8 @@ export default async function getRestApiGatewayBaseUrl(): Promise<string> {
8
const region = AWS_REGION;
9
const client = new APIGatewayClient({ region });
10
11
- const apis = await client.send(new GetRestApisCommand({}));
+ const apis = await client.send(new GetRestApisCommand({ limit: 250 }));
12
+
13
const api = apis.items?.find((a) => a.name === API_NAME);
14
15
if (!api?.id) throw new Error(`API with name "${API_NAME}" not found.`);
0 commit comments