@aws-sdk/client-snow-device-management 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.
|
@@ -178,7 +178,7 @@ const serializeAws_restJson1ListExecutionsCommand = async (input, context) => {
|
|
|
178
178
|
const headers = {};
|
|
179
179
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/executions";
|
|
180
180
|
const query = map({
|
|
181
|
-
taskId: [, input.taskId],
|
|
181
|
+
taskId: [, (0, smithy_client_1.expectNonNull)(input.taskId, `taskId`)],
|
|
182
182
|
state: [, input.state],
|
|
183
183
|
maxResults: [() => input.maxResults !== void 0, () => input.maxResults.toString()],
|
|
184
184
|
nextToken: [, input.nextToken],
|
|
@@ -263,7 +263,10 @@ const serializeAws_restJson1UntagResourceCommand = async (input, context) => {
|
|
|
263
263
|
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/tags/{resourceArn}";
|
|
264
264
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "resourceArn", () => input.resourceArn, "{resourceArn}", false);
|
|
265
265
|
const query = map({
|
|
266
|
-
tagKeys: [
|
|
266
|
+
tagKeys: [
|
|
267
|
+
(0, smithy_client_1.expectNonNull)(input.tagKeys, `tagKeys`) != null,
|
|
268
|
+
() => (input.tagKeys || []).map((_entry) => _entry),
|
|
269
|
+
],
|
|
267
270
|
});
|
|
268
271
|
let body;
|
|
269
272
|
return new protocol_http_1.HttpRequest({
|
|
@@ -167,7 +167,7 @@ export const serializeAws_restJson1ListExecutionsCommand = async (input, context
|
|
|
167
167
|
const headers = {};
|
|
168
168
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/executions";
|
|
169
169
|
const query = map({
|
|
170
|
-
taskId: [, input.taskId],
|
|
170
|
+
taskId: [, __expectNonNull(input.taskId, `taskId`)],
|
|
171
171
|
state: [, input.state],
|
|
172
172
|
maxResults: [() => input.maxResults !== void 0, () => input.maxResults.toString()],
|
|
173
173
|
nextToken: [, input.nextToken],
|
|
@@ -248,7 +248,10 @@ export const serializeAws_restJson1UntagResourceCommand = async (input, context)
|
|
|
248
248
|
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/tags/{resourceArn}";
|
|
249
249
|
resolvedPath = __resolvedPath(resolvedPath, input, "resourceArn", () => input.resourceArn, "{resourceArn}", false);
|
|
250
250
|
const query = map({
|
|
251
|
-
tagKeys: [
|
|
251
|
+
tagKeys: [
|
|
252
|
+
__expectNonNull(input.tagKeys, `tagKeys`) != null,
|
|
253
|
+
() => (input.tagKeys || []).map((_entry) => _entry),
|
|
254
|
+
],
|
|
252
255
|
});
|
|
253
256
|
let body;
|
|
254
257
|
return new __HttpRequest({
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-snow-device-management",
|
|
3
3
|
"description": "AWS SDK for JavaScript Snow Device Management 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",
|