@aws-sdk/client-iot-events 3.216.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.
|
@@ -404,7 +404,7 @@ const serializeAws_restJson1ListTagsForResourceCommand = async (input, context)
|
|
|
404
404
|
const headers = {};
|
|
405
405
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/tags";
|
|
406
406
|
const query = map({
|
|
407
|
-
resourceArn: [, input.resourceArn],
|
|
407
|
+
resourceArn: [, (0, smithy_client_1.expectNonNull)(input.resourceArn, `resourceArn`)],
|
|
408
408
|
});
|
|
409
409
|
let body;
|
|
410
410
|
return new protocol_http_1.HttpRequest({
|
|
@@ -472,7 +472,7 @@ const serializeAws_restJson1TagResourceCommand = async (input, context) => {
|
|
|
472
472
|
};
|
|
473
473
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/tags";
|
|
474
474
|
const query = map({
|
|
475
|
-
resourceArn: [, input.resourceArn],
|
|
475
|
+
resourceArn: [, (0, smithy_client_1.expectNonNull)(input.resourceArn, `resourceArn`)],
|
|
476
476
|
});
|
|
477
477
|
let body;
|
|
478
478
|
body = JSON.stringify({
|
|
@@ -495,8 +495,11 @@ const serializeAws_restJson1UntagResourceCommand = async (input, context) => {
|
|
|
495
495
|
const headers = {};
|
|
496
496
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/tags";
|
|
497
497
|
const query = map({
|
|
498
|
-
resourceArn: [, input.resourceArn],
|
|
499
|
-
tagKeys: [
|
|
498
|
+
resourceArn: [, (0, smithy_client_1.expectNonNull)(input.resourceArn, `resourceArn`)],
|
|
499
|
+
tagKeys: [
|
|
500
|
+
(0, smithy_client_1.expectNonNull)(input.tagKeys, `tagKeys`) != null,
|
|
501
|
+
() => (input.tagKeys || []).map((_entry) => _entry),
|
|
502
|
+
],
|
|
500
503
|
});
|
|
501
504
|
let body;
|
|
502
505
|
return new protocol_http_1.HttpRequest({
|
|
@@ -382,7 +382,7 @@ export const serializeAws_restJson1ListTagsForResourceCommand = async (input, co
|
|
|
382
382
|
const headers = {};
|
|
383
383
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/tags";
|
|
384
384
|
const query = map({
|
|
385
|
-
resourceArn: [, input.resourceArn],
|
|
385
|
+
resourceArn: [, __expectNonNull(input.resourceArn, `resourceArn`)],
|
|
386
386
|
});
|
|
387
387
|
let body;
|
|
388
388
|
return new __HttpRequest({
|
|
@@ -447,7 +447,7 @@ export const serializeAws_restJson1TagResourceCommand = async (input, context) =
|
|
|
447
447
|
};
|
|
448
448
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/tags";
|
|
449
449
|
const query = map({
|
|
450
|
-
resourceArn: [, input.resourceArn],
|
|
450
|
+
resourceArn: [, __expectNonNull(input.resourceArn, `resourceArn`)],
|
|
451
451
|
});
|
|
452
452
|
let body;
|
|
453
453
|
body = JSON.stringify({
|
|
@@ -469,8 +469,11 @@ export const serializeAws_restJson1UntagResourceCommand = async (input, context)
|
|
|
469
469
|
const headers = {};
|
|
470
470
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/tags";
|
|
471
471
|
const query = map({
|
|
472
|
-
resourceArn: [, input.resourceArn],
|
|
473
|
-
tagKeys: [
|
|
472
|
+
resourceArn: [, __expectNonNull(input.resourceArn, `resourceArn`)],
|
|
473
|
+
tagKeys: [
|
|
474
|
+
__expectNonNull(input.tagKeys, `tagKeys`) != null,
|
|
475
|
+
() => (input.tagKeys || []).map((_entry) => _entry),
|
|
476
|
+
],
|
|
474
477
|
});
|
|
475
478
|
let body;
|
|
476
479
|
return new __HttpRequest({
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-iot-events",
|
|
3
3
|
"description": "AWS SDK for JavaScript Iot Events 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",
|