Closed kuhe closed 6 months ago
testing:
process.env.AWS_SDK_JS_SUPPRESS_MAINTENANCE_MODE_MESSAGE = 1;
const AWS = require("../../lib/aws");
const ec2 = new AWS.EC2({
region: "us-west-2",
});
const request = ec2.describeFleets({
Filters: []
});
request.promise();
console.log(request.httpRequest.body);
this logs Action=DescribeFleets&Version=2016-11-15
with the fix, as is intended.
this logs Action=DescribeFleets&Filter=&Version=2016-11-15
without the fix, and the request fails.
npm run add-change