@aws-sdk/client-api-gateway 3.215.0 → 3.218.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1702,8 +1702,8 @@ const serializeAws_restJson1GetUsageCommand = async (input, context) => {
|
|
|
1702
1702
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "usagePlanId", () => input.usagePlanId, "{usagePlanId}", false);
|
|
1703
1703
|
const query = map({
|
|
1704
1704
|
keyId: [, input.keyId],
|
|
1705
|
-
startDate: [, input.startDate],
|
|
1706
|
-
endDate: [, input.endDate],
|
|
1705
|
+
startDate: [, (0, smithy_client_1.expectNonNull)(input.startDate, `startDate`)],
|
|
1706
|
+
endDate: [, (0, smithy_client_1.expectNonNull)(input.endDate, `endDate`)],
|
|
1707
1707
|
position: [, input.position],
|
|
1708
1708
|
limit: [() => input.limit !== void 0, () => input.limit.toString()],
|
|
1709
1709
|
});
|
|
@@ -1846,7 +1846,7 @@ const serializeAws_restJson1ImportApiKeysCommand = async (input, context) => {
|
|
|
1846
1846
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/apikeys";
|
|
1847
1847
|
const query = map({
|
|
1848
1848
|
mode: [, "import"],
|
|
1849
|
-
format: [, input.format],
|
|
1849
|
+
format: [, (0, smithy_client_1.expectNonNull)(input.format, `format`)],
|
|
1850
1850
|
failonwarnings: [() => input.failOnWarnings !== void 0, () => input.failOnWarnings.toString()],
|
|
1851
1851
|
});
|
|
1852
1852
|
let body;
|
|
@@ -2220,7 +2220,10 @@ const serializeAws_restJson1UntagResourceCommand = async (input, context) => {
|
|
|
2220
2220
|
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/tags/{resourceArn}";
|
|
2221
2221
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "resourceArn", () => input.resourceArn, "{resourceArn}", false);
|
|
2222
2222
|
const query = map({
|
|
2223
|
-
tagKeys: [
|
|
2223
|
+
tagKeys: [
|
|
2224
|
+
(0, smithy_client_1.expectNonNull)(input.tagKeys, `tagKeys`) != null,
|
|
2225
|
+
() => (input.tagKeys || []).map((_entry) => _entry),
|
|
2226
|
+
],
|
|
2224
2227
|
});
|
|
2225
2228
|
let body;
|
|
2226
2229
|
return new protocol_http_1.HttpRequest({
|
|
@@ -1617,8 +1617,8 @@ export const serializeAws_restJson1GetUsageCommand = async (input, context) => {
|
|
|
1617
1617
|
resolvedPath = __resolvedPath(resolvedPath, input, "usagePlanId", () => input.usagePlanId, "{usagePlanId}", false);
|
|
1618
1618
|
const query = map({
|
|
1619
1619
|
keyId: [, input.keyId],
|
|
1620
|
-
startDate: [, input.startDate],
|
|
1621
|
-
endDate: [, input.endDate],
|
|
1620
|
+
startDate: [, __expectNonNull(input.startDate, `startDate`)],
|
|
1621
|
+
endDate: [, __expectNonNull(input.endDate, `endDate`)],
|
|
1622
1622
|
position: [, input.position],
|
|
1623
1623
|
limit: [() => input.limit !== void 0, () => input.limit.toString()],
|
|
1624
1624
|
});
|
|
@@ -1754,7 +1754,7 @@ export const serializeAws_restJson1ImportApiKeysCommand = async (input, context)
|
|
|
1754
1754
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/apikeys";
|
|
1755
1755
|
const query = map({
|
|
1756
1756
|
mode: [, "import"],
|
|
1757
|
-
format: [, input.format],
|
|
1757
|
+
format: [, __expectNonNull(input.format, `format`)],
|
|
1758
1758
|
failonwarnings: [() => input.failOnWarnings !== void 0, () => input.failOnWarnings.toString()],
|
|
1759
1759
|
});
|
|
1760
1760
|
let body;
|
|
@@ -2116,7 +2116,10 @@ export const serializeAws_restJson1UntagResourceCommand = async (input, context)
|
|
|
2116
2116
|
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/tags/{resourceArn}";
|
|
2117
2117
|
resolvedPath = __resolvedPath(resolvedPath, input, "resourceArn", () => input.resourceArn, "{resourceArn}", false);
|
|
2118
2118
|
const query = map({
|
|
2119
|
-
tagKeys: [
|
|
2119
|
+
tagKeys: [
|
|
2120
|
+
__expectNonNull(input.tagKeys, `tagKeys`) != null,
|
|
2121
|
+
() => (input.tagKeys || []).map((_entry) => _entry),
|
|
2122
|
+
],
|
|
2120
2123
|
});
|
|
2121
2124
|
let body;
|
|
2122
2125
|
return new __HttpRequest({
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-api-gateway",
|
|
3
3
|
"description": "AWS SDK for JavaScript Api Gateway Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.218.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -19,9 +19,9 @@
|
|
|
19
19
|
"dependencies": {
|
|
20
20
|
"@aws-crypto/sha256-browser": "2.0.0",
|
|
21
21
|
"@aws-crypto/sha256-js": "2.0.0",
|
|
22
|
-
"@aws-sdk/client-sts": "3.
|
|
22
|
+
"@aws-sdk/client-sts": "3.218.0",
|
|
23
23
|
"@aws-sdk/config-resolver": "3.215.0",
|
|
24
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
24
|
+
"@aws-sdk/credential-provider-node": "3.218.0",
|
|
25
25
|
"@aws-sdk/fetch-http-handler": "3.215.0",
|
|
26
26
|
"@aws-sdk/hash-node": "3.215.0",
|
|
27
27
|
"@aws-sdk/invalid-dependency": "3.215.0",
|
|
@@ -47,7 +47,7 @@
|
|
|
47
47
|
"@aws-sdk/util-body-length-node": "3.208.0",
|
|
48
48
|
"@aws-sdk/util-defaults-mode-browser": "3.215.0",
|
|
49
49
|
"@aws-sdk/util-defaults-mode-node": "3.215.0",
|
|
50
|
-
"@aws-sdk/util-endpoints": "3.
|
|
50
|
+
"@aws-sdk/util-endpoints": "3.216.0",
|
|
51
51
|
"@aws-sdk/util-user-agent-browser": "3.215.0",
|
|
52
52
|
"@aws-sdk/util-user-agent-node": "3.215.0",
|
|
53
53
|
"@aws-sdk/util-utf8-browser": "3.188.0",
|