@aws-sdk/client-greengrassv2 3.31.0 → 3.32.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.
Files changed (81) hide show
  1. package/CHANGELOG.md +8 -0
  2. package/dist/cjs/GreengrassV2Client.js +13 -13
  3. package/dist/cjs/GreengrassV2Client.js.map +1 -1
  4. package/dist/cjs/commands/BatchAssociateClientDeviceWithCoreDeviceCommand.js +3 -3
  5. package/dist/cjs/commands/BatchAssociateClientDeviceWithCoreDeviceCommand.js.map +1 -1
  6. package/dist/cjs/commands/BatchDisassociateClientDeviceFromCoreDeviceCommand.js +3 -3
  7. package/dist/cjs/commands/BatchDisassociateClientDeviceFromCoreDeviceCommand.js.map +1 -1
  8. package/dist/cjs/commands/CancelDeploymentCommand.js +3 -3
  9. package/dist/cjs/commands/CancelDeploymentCommand.js.map +1 -1
  10. package/dist/cjs/commands/CreateComponentVersionCommand.js +3 -3
  11. package/dist/cjs/commands/CreateComponentVersionCommand.js.map +1 -1
  12. package/dist/cjs/commands/CreateDeploymentCommand.js +3 -3
  13. package/dist/cjs/commands/CreateDeploymentCommand.js.map +1 -1
  14. package/dist/cjs/commands/DeleteComponentCommand.js +3 -3
  15. package/dist/cjs/commands/DeleteComponentCommand.js.map +1 -1
  16. package/dist/cjs/commands/DeleteCoreDeviceCommand.js +3 -3
  17. package/dist/cjs/commands/DeleteCoreDeviceCommand.js.map +1 -1
  18. package/dist/cjs/commands/DescribeComponentCommand.js +3 -3
  19. package/dist/cjs/commands/DescribeComponentCommand.js.map +1 -1
  20. package/dist/cjs/commands/GetComponentCommand.js +3 -3
  21. package/dist/cjs/commands/GetComponentCommand.js.map +1 -1
  22. package/dist/cjs/commands/GetComponentVersionArtifactCommand.js +3 -3
  23. package/dist/cjs/commands/GetComponentVersionArtifactCommand.js.map +1 -1
  24. package/dist/cjs/commands/GetCoreDeviceCommand.js +3 -3
  25. package/dist/cjs/commands/GetCoreDeviceCommand.js.map +1 -1
  26. package/dist/cjs/commands/GetDeploymentCommand.js +3 -3
  27. package/dist/cjs/commands/GetDeploymentCommand.js.map +1 -1
  28. package/dist/cjs/commands/ListClientDevicesAssociatedWithCoreDeviceCommand.js +3 -3
  29. package/dist/cjs/commands/ListClientDevicesAssociatedWithCoreDeviceCommand.js.map +1 -1
  30. package/dist/cjs/commands/ListComponentVersionsCommand.js +3 -3
  31. package/dist/cjs/commands/ListComponentVersionsCommand.js.map +1 -1
  32. package/dist/cjs/commands/ListComponentsCommand.js +3 -3
  33. package/dist/cjs/commands/ListComponentsCommand.js.map +1 -1
  34. package/dist/cjs/commands/ListCoreDevicesCommand.js +3 -3
  35. package/dist/cjs/commands/ListCoreDevicesCommand.js.map +1 -1
  36. package/dist/cjs/commands/ListDeploymentsCommand.js +3 -3
  37. package/dist/cjs/commands/ListDeploymentsCommand.js.map +1 -1
  38. package/dist/cjs/commands/ListEffectiveDeploymentsCommand.js +3 -3
  39. package/dist/cjs/commands/ListEffectiveDeploymentsCommand.js.map +1 -1
  40. package/dist/cjs/commands/ListInstalledComponentsCommand.js +3 -3
  41. package/dist/cjs/commands/ListInstalledComponentsCommand.js.map +1 -1
  42. package/dist/cjs/commands/ListTagsForResourceCommand.js +3 -3
  43. package/dist/cjs/commands/ListTagsForResourceCommand.js.map +1 -1
  44. package/dist/cjs/commands/ResolveComponentCandidatesCommand.js +3 -3
  45. package/dist/cjs/commands/ResolveComponentCandidatesCommand.js.map +1 -1
  46. package/dist/cjs/commands/TagResourceCommand.js +3 -3
  47. package/dist/cjs/commands/TagResourceCommand.js.map +1 -1
  48. package/dist/cjs/commands/UntagResourceCommand.js +3 -3
  49. package/dist/cjs/commands/UntagResourceCommand.js.map +1 -1
  50. package/dist/cjs/endpoints.js +1 -1
  51. package/dist/cjs/endpoints.js.map +1 -1
  52. package/dist/cjs/index.js +34 -34
  53. package/dist/cjs/index.js.map +1 -1
  54. package/dist/cjs/models/index.js +1 -1
  55. package/dist/cjs/models/index.js.map +1 -1
  56. package/dist/cjs/package.json +31 -31
  57. package/dist/cjs/protocols/Aws_restJson1.js +175 -175
  58. package/dist/cjs/protocols/Aws_restJson1.js.map +1 -1
  59. package/dist/cjs/runtimeConfig.browser.js +4 -4
  60. package/dist/cjs/runtimeConfig.browser.js.map +1 -1
  61. package/dist/cjs/runtimeConfig.js +8 -8
  62. package/dist/cjs/runtimeConfig.js.map +1 -1
  63. package/dist/cjs/runtimeConfig.native.js +1 -1
  64. package/dist/cjs/runtimeConfig.native.js.map +1 -1
  65. package/dist/es/package.json +31 -31
  66. package/dist/es/pagination/ListClientDevicesAssociatedWithCoreDevicePaginator.js +4 -4
  67. package/dist/es/pagination/ListClientDevicesAssociatedWithCoreDevicePaginator.js.map +1 -1
  68. package/dist/es/pagination/ListComponentVersionsPaginator.js +4 -4
  69. package/dist/es/pagination/ListComponentVersionsPaginator.js.map +1 -1
  70. package/dist/es/pagination/ListComponentsPaginator.js +4 -4
  71. package/dist/es/pagination/ListComponentsPaginator.js.map +1 -1
  72. package/dist/es/pagination/ListCoreDevicesPaginator.js +4 -4
  73. package/dist/es/pagination/ListCoreDevicesPaginator.js.map +1 -1
  74. package/dist/es/pagination/ListDeploymentsPaginator.js +4 -4
  75. package/dist/es/pagination/ListDeploymentsPaginator.js.map +1 -1
  76. package/dist/es/pagination/ListEffectiveDeploymentsPaginator.js +4 -4
  77. package/dist/es/pagination/ListEffectiveDeploymentsPaginator.js.map +1 -1
  78. package/dist/es/pagination/ListInstalledComponentsPaginator.js +4 -4
  79. package/dist/es/pagination/ListInstalledComponentsPaginator.js.map +1 -1
  80. package/package.json +31 -31
  81. package/tsconfig.json +1 -2
@@ -16,7 +16,7 @@ const serializeAws_restJson1BatchAssociateClientDeviceWithCoreDeviceCommand = as
16
16
  if (labelValue.length <= 0) {
17
17
  throw new Error("Empty value provided for input HTTP label: coreDeviceThingName.");
18
18
  }
19
- resolvedPath = resolvedPath.replace("{coreDeviceThingName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
19
+ resolvedPath = resolvedPath.replace("{coreDeviceThingName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
20
20
  }
21
21
  else {
22
22
  throw new Error("No value provided for input HTTP label: coreDeviceThingName.");
@@ -51,7 +51,7 @@ const serializeAws_restJson1BatchDisassociateClientDeviceFromCoreDeviceCommand =
51
51
  if (labelValue.length <= 0) {
52
52
  throw new Error("Empty value provided for input HTTP label: coreDeviceThingName.");
53
53
  }
54
- resolvedPath = resolvedPath.replace("{coreDeviceThingName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
54
+ resolvedPath = resolvedPath.replace("{coreDeviceThingName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
55
55
  }
56
56
  else {
57
57
  throw new Error("No value provided for input HTTP label: coreDeviceThingName.");
@@ -84,7 +84,7 @@ const serializeAws_restJson1CancelDeploymentCommand = async (input, context) =>
84
84
  if (labelValue.length <= 0) {
85
85
  throw new Error("Empty value provided for input HTTP label: deploymentId.");
86
86
  }
87
- resolvedPath = resolvedPath.replace("{deploymentId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
87
+ resolvedPath = resolvedPath.replace("{deploymentId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
88
88
  }
89
89
  else {
90
90
  throw new Error("No value provided for input HTTP label: deploymentId.");
@@ -110,7 +110,7 @@ const serializeAws_restJson1CreateComponentVersionCommand = async (input, contex
110
110
  let resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/greengrass/v2/createComponentVersion";
111
111
  let body;
112
112
  body = JSON.stringify({
113
- clientToken: (_a = input.clientToken) !== null && _a !== void 0 ? _a : (0, uuid_1.v4)(),
113
+ clientToken: (_a = input.clientToken) !== null && _a !== void 0 ? _a : uuid_1.v4(),
114
114
  ...(input.inlineRecipe !== undefined &&
115
115
  input.inlineRecipe !== null && { inlineRecipe: context.base64Encoder(input.inlineRecipe) }),
116
116
  ...(input.lambdaFunction !== undefined &&
@@ -139,7 +139,7 @@ const serializeAws_restJson1CreateDeploymentCommand = async (input, context) =>
139
139
  let resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/greengrass/v2/deployments";
140
140
  let body;
141
141
  body = JSON.stringify({
142
- clientToken: (_a = input.clientToken) !== null && _a !== void 0 ? _a : (0, uuid_1.v4)(),
142
+ clientToken: (_a = input.clientToken) !== null && _a !== void 0 ? _a : uuid_1.v4(),
143
143
  ...(input.components !== undefined &&
144
144
  input.components !== null && {
145
145
  components: serializeAws_restJson1ComponentDeploymentSpecifications(input.components, context),
@@ -177,7 +177,7 @@ const serializeAws_restJson1DeleteComponentCommand = async (input, context) => {
177
177
  if (labelValue.length <= 0) {
178
178
  throw new Error("Empty value provided for input HTTP label: arn.");
179
179
  }
180
- resolvedPath = resolvedPath.replace("{arn}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
180
+ resolvedPath = resolvedPath.replace("{arn}", smithy_client_1.extendedEncodeURIComponent(labelValue));
181
181
  }
182
182
  else {
183
183
  throw new Error("No value provided for input HTTP label: arn.");
@@ -204,7 +204,7 @@ const serializeAws_restJson1DeleteCoreDeviceCommand = async (input, context) =>
204
204
  if (labelValue.length <= 0) {
205
205
  throw new Error("Empty value provided for input HTTP label: coreDeviceThingName.");
206
206
  }
207
- resolvedPath = resolvedPath.replace("{coreDeviceThingName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
207
+ resolvedPath = resolvedPath.replace("{coreDeviceThingName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
208
208
  }
209
209
  else {
210
210
  throw new Error("No value provided for input HTTP label: coreDeviceThingName.");
@@ -230,7 +230,7 @@ const serializeAws_restJson1DescribeComponentCommand = async (input, context) =>
230
230
  if (labelValue.length <= 0) {
231
231
  throw new Error("Empty value provided for input HTTP label: arn.");
232
232
  }
233
- resolvedPath = resolvedPath.replace("{arn}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
233
+ resolvedPath = resolvedPath.replace("{arn}", smithy_client_1.extendedEncodeURIComponent(labelValue));
234
234
  }
235
235
  else {
236
236
  throw new Error("No value provided for input HTTP label: arn.");
@@ -256,7 +256,7 @@ const serializeAws_restJson1GetComponentCommand = async (input, context) => {
256
256
  if (labelValue.length <= 0) {
257
257
  throw new Error("Empty value provided for input HTTP label: arn.");
258
258
  }
259
- resolvedPath = resolvedPath.replace("{arn}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
259
+ resolvedPath = resolvedPath.replace("{arn}", smithy_client_1.extendedEncodeURIComponent(labelValue));
260
260
  }
261
261
  else {
262
262
  throw new Error("No value provided for input HTTP label: arn.");
@@ -287,7 +287,7 @@ const serializeAws_restJson1GetComponentVersionArtifactCommand = async (input, c
287
287
  if (labelValue.length <= 0) {
288
288
  throw new Error("Empty value provided for input HTTP label: arn.");
289
289
  }
290
- resolvedPath = resolvedPath.replace("{arn}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
290
+ resolvedPath = resolvedPath.replace("{arn}", smithy_client_1.extendedEncodeURIComponent(labelValue));
291
291
  }
292
292
  else {
293
293
  throw new Error("No value provided for input HTTP label: arn.");
@@ -299,7 +299,7 @@ const serializeAws_restJson1GetComponentVersionArtifactCommand = async (input, c
299
299
  }
300
300
  resolvedPath = resolvedPath.replace("{artifactName+}", labelValue
301
301
  .split("/")
302
- .map((segment) => (0, smithy_client_1.extendedEncodeURIComponent)(segment))
302
+ .map((segment) => smithy_client_1.extendedEncodeURIComponent(segment))
303
303
  .join("/"));
304
304
  }
305
305
  else {
@@ -327,7 +327,7 @@ const serializeAws_restJson1GetCoreDeviceCommand = async (input, context) => {
327
327
  if (labelValue.length <= 0) {
328
328
  throw new Error("Empty value provided for input HTTP label: coreDeviceThingName.");
329
329
  }
330
- resolvedPath = resolvedPath.replace("{coreDeviceThingName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
330
+ resolvedPath = resolvedPath.replace("{coreDeviceThingName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
331
331
  }
332
332
  else {
333
333
  throw new Error("No value provided for input HTTP label: coreDeviceThingName.");
@@ -353,7 +353,7 @@ const serializeAws_restJson1GetDeploymentCommand = async (input, context) => {
353
353
  if (labelValue.length <= 0) {
354
354
  throw new Error("Empty value provided for input HTTP label: deploymentId.");
355
355
  }
356
- resolvedPath = resolvedPath.replace("{deploymentId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
356
+ resolvedPath = resolvedPath.replace("{deploymentId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
357
357
  }
358
358
  else {
359
359
  throw new Error("No value provided for input HTTP label: deploymentId.");
@@ -380,7 +380,7 @@ const serializeAws_restJson1ListClientDevicesAssociatedWithCoreDeviceCommand = a
380
380
  if (labelValue.length <= 0) {
381
381
  throw new Error("Empty value provided for input HTTP label: coreDeviceThingName.");
382
382
  }
383
- resolvedPath = resolvedPath.replace("{coreDeviceThingName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
383
+ resolvedPath = resolvedPath.replace("{coreDeviceThingName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
384
384
  }
385
385
  else {
386
386
  throw new Error("No value provided for input HTTP label: coreDeviceThingName.");
@@ -433,7 +433,7 @@ const serializeAws_restJson1ListComponentVersionsCommand = async (input, context
433
433
  if (labelValue.length <= 0) {
434
434
  throw new Error("Empty value provided for input HTTP label: arn.");
435
435
  }
436
- resolvedPath = resolvedPath.replace("{arn}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
436
+ resolvedPath = resolvedPath.replace("{arn}", smithy_client_1.extendedEncodeURIComponent(labelValue));
437
437
  }
438
438
  else {
439
439
  throw new Error("No value provided for input HTTP label: arn.");
@@ -511,7 +511,7 @@ const serializeAws_restJson1ListEffectiveDeploymentsCommand = async (input, cont
511
511
  if (labelValue.length <= 0) {
512
512
  throw new Error("Empty value provided for input HTTP label: coreDeviceThingName.");
513
513
  }
514
- resolvedPath = resolvedPath.replace("{coreDeviceThingName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
514
+ resolvedPath = resolvedPath.replace("{coreDeviceThingName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
515
515
  }
516
516
  else {
517
517
  throw new Error("No value provided for input HTTP label: coreDeviceThingName.");
@@ -543,7 +543,7 @@ const serializeAws_restJson1ListInstalledComponentsCommand = async (input, conte
543
543
  if (labelValue.length <= 0) {
544
544
  throw new Error("Empty value provided for input HTTP label: coreDeviceThingName.");
545
545
  }
546
- resolvedPath = resolvedPath.replace("{coreDeviceThingName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
546
+ resolvedPath = resolvedPath.replace("{coreDeviceThingName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
547
547
  }
548
548
  else {
549
549
  throw new Error("No value provided for input HTTP label: coreDeviceThingName.");
@@ -574,7 +574,7 @@ const serializeAws_restJson1ListTagsForResourceCommand = async (input, context)
574
574
  if (labelValue.length <= 0) {
575
575
  throw new Error("Empty value provided for input HTTP label: resourceArn.");
576
576
  }
577
- resolvedPath = resolvedPath.replace("{resourceArn}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
577
+ resolvedPath = resolvedPath.replace("{resourceArn}", smithy_client_1.extendedEncodeURIComponent(labelValue));
578
578
  }
579
579
  else {
580
580
  throw new Error("No value provided for input HTTP label: resourceArn.");
@@ -628,7 +628,7 @@ const serializeAws_restJson1TagResourceCommand = async (input, context) => {
628
628
  if (labelValue.length <= 0) {
629
629
  throw new Error("Empty value provided for input HTTP label: resourceArn.");
630
630
  }
631
- resolvedPath = resolvedPath.replace("{resourceArn}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
631
+ resolvedPath = resolvedPath.replace("{resourceArn}", smithy_client_1.extendedEncodeURIComponent(labelValue));
632
632
  }
633
633
  else {
634
634
  throw new Error("No value provided for input HTTP label: resourceArn.");
@@ -657,7 +657,7 @@ const serializeAws_restJson1UntagResourceCommand = async (input, context) => {
657
657
  if (labelValue.length <= 0) {
658
658
  throw new Error("Empty value provided for input HTTP label: resourceArn.");
659
659
  }
660
- resolvedPath = resolvedPath.replace("{resourceArn}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
660
+ resolvedPath = resolvedPath.replace("{resourceArn}", smithy_client_1.extendedEncodeURIComponent(labelValue));
661
661
  }
662
662
  else {
663
663
  throw new Error("No value provided for input HTTP label: resourceArn.");
@@ -686,7 +686,7 @@ const deserializeAws_restJson1BatchAssociateClientDeviceWithCoreDeviceCommand =
686
686
  $metadata: deserializeMetadata(output),
687
687
  errorEntries: undefined,
688
688
  };
689
- const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
689
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
690
690
  if (data.errorEntries !== undefined && data.errorEntries !== null) {
691
691
  contents.errorEntries = deserializeAws_restJson1AssociateClientDeviceWithCoreDeviceErrorList(data.errorEntries, context);
692
692
  }
@@ -766,7 +766,7 @@ const deserializeAws_restJson1BatchDisassociateClientDeviceFromCoreDeviceCommand
766
766
  $metadata: deserializeMetadata(output),
767
767
  errorEntries: undefined,
768
768
  };
769
- const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
769
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
770
770
  if (data.errorEntries !== undefined && data.errorEntries !== null) {
771
771
  contents.errorEntries = deserializeAws_restJson1DisassociateClientDeviceFromCoreDeviceErrorList(data.errorEntries, context);
772
772
  }
@@ -846,9 +846,9 @@ const deserializeAws_restJson1CancelDeploymentCommand = async (output, context)
846
846
  $metadata: deserializeMetadata(output),
847
847
  message: undefined,
848
848
  };
849
- const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
849
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
850
850
  if (data.message !== undefined && data.message !== null) {
851
- contents.message = (0, smithy_client_1.expectString)(data.message);
851
+ contents.message = smithy_client_1.expectString(data.message);
852
852
  }
853
853
  return Promise.resolve(contents);
854
854
  };
@@ -938,18 +938,18 @@ const deserializeAws_restJson1CreateComponentVersionCommand = async (output, con
938
938
  creationTimestamp: undefined,
939
939
  status: undefined,
940
940
  };
941
- const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
941
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
942
942
  if (data.arn !== undefined && data.arn !== null) {
943
- contents.arn = (0, smithy_client_1.expectString)(data.arn);
943
+ contents.arn = smithy_client_1.expectString(data.arn);
944
944
  }
945
945
  if (data.componentName !== undefined && data.componentName !== null) {
946
- contents.componentName = (0, smithy_client_1.expectString)(data.componentName);
946
+ contents.componentName = smithy_client_1.expectString(data.componentName);
947
947
  }
948
948
  if (data.componentVersion !== undefined && data.componentVersion !== null) {
949
- contents.componentVersion = (0, smithy_client_1.expectString)(data.componentVersion);
949
+ contents.componentVersion = smithy_client_1.expectString(data.componentVersion);
950
950
  }
951
951
  if (data.creationTimestamp !== undefined && data.creationTimestamp !== null) {
952
- contents.creationTimestamp = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(data.creationTimestamp)));
952
+ contents.creationTimestamp = smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(data.creationTimestamp)));
953
953
  }
954
954
  if (data.status !== undefined && data.status !== null) {
955
955
  contents.status = deserializeAws_restJson1CloudComponentStatus(data.status, context);
@@ -1048,15 +1048,15 @@ const deserializeAws_restJson1CreateDeploymentCommand = async (output, context)
1048
1048
  iotJobArn: undefined,
1049
1049
  iotJobId: undefined,
1050
1050
  };
1051
- const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1051
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
1052
1052
  if (data.deploymentId !== undefined && data.deploymentId !== null) {
1053
- contents.deploymentId = (0, smithy_client_1.expectString)(data.deploymentId);
1053
+ contents.deploymentId = smithy_client_1.expectString(data.deploymentId);
1054
1054
  }
1055
1055
  if (data.iotJobArn !== undefined && data.iotJobArn !== null) {
1056
- contents.iotJobArn = (0, smithy_client_1.expectString)(data.iotJobArn);
1056
+ contents.iotJobArn = smithy_client_1.expectString(data.iotJobArn);
1057
1057
  }
1058
1058
  if (data.iotJobId !== undefined && data.iotJobId !== null) {
1059
- contents.iotJobId = (0, smithy_client_1.expectString)(data.iotJobId);
1059
+ contents.iotJobId = smithy_client_1.expectString(data.iotJobId);
1060
1060
  }
1061
1061
  return Promise.resolve(contents);
1062
1062
  };
@@ -1318,27 +1318,27 @@ const deserializeAws_restJson1DescribeComponentCommand = async (output, context)
1318
1318
  status: undefined,
1319
1319
  tags: undefined,
1320
1320
  };
1321
- const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1321
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
1322
1322
  if (data.arn !== undefined && data.arn !== null) {
1323
- contents.arn = (0, smithy_client_1.expectString)(data.arn);
1323
+ contents.arn = smithy_client_1.expectString(data.arn);
1324
1324
  }
1325
1325
  if (data.componentName !== undefined && data.componentName !== null) {
1326
- contents.componentName = (0, smithy_client_1.expectString)(data.componentName);
1326
+ contents.componentName = smithy_client_1.expectString(data.componentName);
1327
1327
  }
1328
1328
  if (data.componentVersion !== undefined && data.componentVersion !== null) {
1329
- contents.componentVersion = (0, smithy_client_1.expectString)(data.componentVersion);
1329
+ contents.componentVersion = smithy_client_1.expectString(data.componentVersion);
1330
1330
  }
1331
1331
  if (data.creationTimestamp !== undefined && data.creationTimestamp !== null) {
1332
- contents.creationTimestamp = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(data.creationTimestamp)));
1332
+ contents.creationTimestamp = smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(data.creationTimestamp)));
1333
1333
  }
1334
1334
  if (data.description !== undefined && data.description !== null) {
1335
- contents.description = (0, smithy_client_1.expectString)(data.description);
1335
+ contents.description = smithy_client_1.expectString(data.description);
1336
1336
  }
1337
1337
  if (data.platforms !== undefined && data.platforms !== null) {
1338
1338
  contents.platforms = deserializeAws_restJson1ComponentPlatformList(data.platforms, context);
1339
1339
  }
1340
1340
  if (data.publisher !== undefined && data.publisher !== null) {
1341
- contents.publisher = (0, smithy_client_1.expectString)(data.publisher);
1341
+ contents.publisher = smithy_client_1.expectString(data.publisher);
1342
1342
  }
1343
1343
  if (data.status !== undefined && data.status !== null) {
1344
1344
  contents.status = deserializeAws_restJson1CloudComponentStatus(data.status, context);
@@ -1424,12 +1424,12 @@ const deserializeAws_restJson1GetComponentCommand = async (output, context) => {
1424
1424
  recipeOutputFormat: undefined,
1425
1425
  tags: undefined,
1426
1426
  };
1427
- const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1427
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
1428
1428
  if (data.recipe !== undefined && data.recipe !== null) {
1429
1429
  contents.recipe = context.base64Decoder(data.recipe);
1430
1430
  }
1431
1431
  if (data.recipeOutputFormat !== undefined && data.recipeOutputFormat !== null) {
1432
- contents.recipeOutputFormat = (0, smithy_client_1.expectString)(data.recipeOutputFormat);
1432
+ contents.recipeOutputFormat = smithy_client_1.expectString(data.recipeOutputFormat);
1433
1433
  }
1434
1434
  if (data.tags !== undefined && data.tags !== null) {
1435
1435
  contents.tags = deserializeAws_restJson1TagMap(data.tags, context);
@@ -1510,9 +1510,9 @@ const deserializeAws_restJson1GetComponentVersionArtifactCommand = async (output
1510
1510
  $metadata: deserializeMetadata(output),
1511
1511
  preSignedUrl: undefined,
1512
1512
  };
1513
- const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1513
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
1514
1514
  if (data.preSignedUrl !== undefined && data.preSignedUrl !== null) {
1515
- contents.preSignedUrl = (0, smithy_client_1.expectString)(data.preSignedUrl);
1515
+ contents.preSignedUrl = smithy_client_1.expectString(data.preSignedUrl);
1516
1516
  }
1517
1517
  return Promise.resolve(contents);
1518
1518
  };
@@ -1596,24 +1596,24 @@ const deserializeAws_restJson1GetCoreDeviceCommand = async (output, context) =>
1596
1596
  status: undefined,
1597
1597
  tags: undefined,
1598
1598
  };
1599
- const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1599
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
1600
1600
  if (data.architecture !== undefined && data.architecture !== null) {
1601
- contents.architecture = (0, smithy_client_1.expectString)(data.architecture);
1601
+ contents.architecture = smithy_client_1.expectString(data.architecture);
1602
1602
  }
1603
1603
  if (data.coreDeviceThingName !== undefined && data.coreDeviceThingName !== null) {
1604
- contents.coreDeviceThingName = (0, smithy_client_1.expectString)(data.coreDeviceThingName);
1604
+ contents.coreDeviceThingName = smithy_client_1.expectString(data.coreDeviceThingName);
1605
1605
  }
1606
1606
  if (data.coreVersion !== undefined && data.coreVersion !== null) {
1607
- contents.coreVersion = (0, smithy_client_1.expectString)(data.coreVersion);
1607
+ contents.coreVersion = smithy_client_1.expectString(data.coreVersion);
1608
1608
  }
1609
1609
  if (data.lastStatusUpdateTimestamp !== undefined && data.lastStatusUpdateTimestamp !== null) {
1610
- contents.lastStatusUpdateTimestamp = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(data.lastStatusUpdateTimestamp)));
1610
+ contents.lastStatusUpdateTimestamp = smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(data.lastStatusUpdateTimestamp)));
1611
1611
  }
1612
1612
  if (data.platform !== undefined && data.platform !== null) {
1613
- contents.platform = (0, smithy_client_1.expectString)(data.platform);
1613
+ contents.platform = smithy_client_1.expectString(data.platform);
1614
1614
  }
1615
1615
  if (data.status !== undefined && data.status !== null) {
1616
- contents.status = (0, smithy_client_1.expectString)(data.status);
1616
+ contents.status = smithy_client_1.expectString(data.status);
1617
1617
  }
1618
1618
  if (data.tags !== undefined && data.tags !== null) {
1619
1619
  contents.tags = deserializeAws_restJson1TagMap(data.tags, context);
@@ -1706,45 +1706,45 @@ const deserializeAws_restJson1GetDeploymentCommand = async (output, context) =>
1706
1706
  tags: undefined,
1707
1707
  targetArn: undefined,
1708
1708
  };
1709
- const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1709
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
1710
1710
  if (data.components !== undefined && data.components !== null) {
1711
1711
  contents.components = deserializeAws_restJson1ComponentDeploymentSpecifications(data.components, context);
1712
1712
  }
1713
1713
  if (data.creationTimestamp !== undefined && data.creationTimestamp !== null) {
1714
- contents.creationTimestamp = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(data.creationTimestamp)));
1714
+ contents.creationTimestamp = smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(data.creationTimestamp)));
1715
1715
  }
1716
1716
  if (data.deploymentId !== undefined && data.deploymentId !== null) {
1717
- contents.deploymentId = (0, smithy_client_1.expectString)(data.deploymentId);
1717
+ contents.deploymentId = smithy_client_1.expectString(data.deploymentId);
1718
1718
  }
1719
1719
  if (data.deploymentName !== undefined && data.deploymentName !== null) {
1720
- contents.deploymentName = (0, smithy_client_1.expectString)(data.deploymentName);
1720
+ contents.deploymentName = smithy_client_1.expectString(data.deploymentName);
1721
1721
  }
1722
1722
  if (data.deploymentPolicies !== undefined && data.deploymentPolicies !== null) {
1723
1723
  contents.deploymentPolicies = deserializeAws_restJson1DeploymentPolicies(data.deploymentPolicies, context);
1724
1724
  }
1725
1725
  if (data.deploymentStatus !== undefined && data.deploymentStatus !== null) {
1726
- contents.deploymentStatus = (0, smithy_client_1.expectString)(data.deploymentStatus);
1726
+ contents.deploymentStatus = smithy_client_1.expectString(data.deploymentStatus);
1727
1727
  }
1728
1728
  if (data.iotJobArn !== undefined && data.iotJobArn !== null) {
1729
- contents.iotJobArn = (0, smithy_client_1.expectString)(data.iotJobArn);
1729
+ contents.iotJobArn = smithy_client_1.expectString(data.iotJobArn);
1730
1730
  }
1731
1731
  if (data.iotJobConfiguration !== undefined && data.iotJobConfiguration !== null) {
1732
1732
  contents.iotJobConfiguration = deserializeAws_restJson1DeploymentIoTJobConfiguration(data.iotJobConfiguration, context);
1733
1733
  }
1734
1734
  if (data.iotJobId !== undefined && data.iotJobId !== null) {
1735
- contents.iotJobId = (0, smithy_client_1.expectString)(data.iotJobId);
1735
+ contents.iotJobId = smithy_client_1.expectString(data.iotJobId);
1736
1736
  }
1737
1737
  if (data.isLatestForTarget !== undefined && data.isLatestForTarget !== null) {
1738
- contents.isLatestForTarget = (0, smithy_client_1.expectBoolean)(data.isLatestForTarget);
1738
+ contents.isLatestForTarget = smithy_client_1.expectBoolean(data.isLatestForTarget);
1739
1739
  }
1740
1740
  if (data.revisionId !== undefined && data.revisionId !== null) {
1741
- contents.revisionId = (0, smithy_client_1.expectString)(data.revisionId);
1741
+ contents.revisionId = smithy_client_1.expectString(data.revisionId);
1742
1742
  }
1743
1743
  if (data.tags !== undefined && data.tags !== null) {
1744
1744
  contents.tags = deserializeAws_restJson1TagMap(data.tags, context);
1745
1745
  }
1746
1746
  if (data.targetArn !== undefined && data.targetArn !== null) {
1747
- contents.targetArn = (0, smithy_client_1.expectString)(data.targetArn);
1747
+ contents.targetArn = smithy_client_1.expectString(data.targetArn);
1748
1748
  }
1749
1749
  return Promise.resolve(contents);
1750
1750
  };
@@ -1823,12 +1823,12 @@ const deserializeAws_restJson1ListClientDevicesAssociatedWithCoreDeviceCommand =
1823
1823
  associatedClientDevices: undefined,
1824
1824
  nextToken: undefined,
1825
1825
  };
1826
- const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1826
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
1827
1827
  if (data.associatedClientDevices !== undefined && data.associatedClientDevices !== null) {
1828
1828
  contents.associatedClientDevices = deserializeAws_restJson1AssociatedClientDeviceList(data.associatedClientDevices, context);
1829
1829
  }
1830
1830
  if (data.nextToken !== undefined && data.nextToken !== null) {
1831
- contents.nextToken = (0, smithy_client_1.expectString)(data.nextToken);
1831
+ contents.nextToken = smithy_client_1.expectString(data.nextToken);
1832
1832
  }
1833
1833
  return Promise.resolve(contents);
1834
1834
  };
@@ -1907,12 +1907,12 @@ const deserializeAws_restJson1ListComponentsCommand = async (output, context) =>
1907
1907
  components: undefined,
1908
1908
  nextToken: undefined,
1909
1909
  };
1910
- const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1910
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
1911
1911
  if (data.components !== undefined && data.components !== null) {
1912
1912
  contents.components = deserializeAws_restJson1ComponentList(data.components, context);
1913
1913
  }
1914
1914
  if (data.nextToken !== undefined && data.nextToken !== null) {
1915
- contents.nextToken = (0, smithy_client_1.expectString)(data.nextToken);
1915
+ contents.nextToken = smithy_client_1.expectString(data.nextToken);
1916
1916
  }
1917
1917
  return Promise.resolve(contents);
1918
1918
  };
@@ -1983,12 +1983,12 @@ const deserializeAws_restJson1ListComponentVersionsCommand = async (output, cont
1983
1983
  componentVersions: undefined,
1984
1984
  nextToken: undefined,
1985
1985
  };
1986
- const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1986
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
1987
1987
  if (data.componentVersions !== undefined && data.componentVersions !== null) {
1988
1988
  contents.componentVersions = deserializeAws_restJson1ComponentVersionList(data.componentVersions, context);
1989
1989
  }
1990
1990
  if (data.nextToken !== undefined && data.nextToken !== null) {
1991
- contents.nextToken = (0, smithy_client_1.expectString)(data.nextToken);
1991
+ contents.nextToken = smithy_client_1.expectString(data.nextToken);
1992
1992
  }
1993
1993
  return Promise.resolve(contents);
1994
1994
  };
@@ -2067,12 +2067,12 @@ const deserializeAws_restJson1ListCoreDevicesCommand = async (output, context) =
2067
2067
  coreDevices: undefined,
2068
2068
  nextToken: undefined,
2069
2069
  };
2070
- const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
2070
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
2071
2071
  if (data.coreDevices !== undefined && data.coreDevices !== null) {
2072
2072
  contents.coreDevices = deserializeAws_restJson1CoreDevicesList(data.coreDevices, context);
2073
2073
  }
2074
2074
  if (data.nextToken !== undefined && data.nextToken !== null) {
2075
- contents.nextToken = (0, smithy_client_1.expectString)(data.nextToken);
2075
+ contents.nextToken = smithy_client_1.expectString(data.nextToken);
2076
2076
  }
2077
2077
  return Promise.resolve(contents);
2078
2078
  };
@@ -2143,12 +2143,12 @@ const deserializeAws_restJson1ListDeploymentsCommand = async (output, context) =
2143
2143
  deployments: undefined,
2144
2144
  nextToken: undefined,
2145
2145
  };
2146
- const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
2146
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
2147
2147
  if (data.deployments !== undefined && data.deployments !== null) {
2148
2148
  contents.deployments = deserializeAws_restJson1DeploymentList(data.deployments, context);
2149
2149
  }
2150
2150
  if (data.nextToken !== undefined && data.nextToken !== null) {
2151
- contents.nextToken = (0, smithy_client_1.expectString)(data.nextToken);
2151
+ contents.nextToken = smithy_client_1.expectString(data.nextToken);
2152
2152
  }
2153
2153
  return Promise.resolve(contents);
2154
2154
  };
@@ -2219,12 +2219,12 @@ const deserializeAws_restJson1ListEffectiveDeploymentsCommand = async (output, c
2219
2219
  effectiveDeployments: undefined,
2220
2220
  nextToken: undefined,
2221
2221
  };
2222
- const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
2222
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
2223
2223
  if (data.effectiveDeployments !== undefined && data.effectiveDeployments !== null) {
2224
2224
  contents.effectiveDeployments = deserializeAws_restJson1EffectiveDeploymentsList(data.effectiveDeployments, context);
2225
2225
  }
2226
2226
  if (data.nextToken !== undefined && data.nextToken !== null) {
2227
- contents.nextToken = (0, smithy_client_1.expectString)(data.nextToken);
2227
+ contents.nextToken = smithy_client_1.expectString(data.nextToken);
2228
2228
  }
2229
2229
  return Promise.resolve(contents);
2230
2230
  };
@@ -2303,12 +2303,12 @@ const deserializeAws_restJson1ListInstalledComponentsCommand = async (output, co
2303
2303
  installedComponents: undefined,
2304
2304
  nextToken: undefined,
2305
2305
  };
2306
- const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
2306
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
2307
2307
  if (data.installedComponents !== undefined && data.installedComponents !== null) {
2308
2308
  contents.installedComponents = deserializeAws_restJson1InstalledComponentList(data.installedComponents, context);
2309
2309
  }
2310
2310
  if (data.nextToken !== undefined && data.nextToken !== null) {
2311
- contents.nextToken = (0, smithy_client_1.expectString)(data.nextToken);
2311
+ contents.nextToken = smithy_client_1.expectString(data.nextToken);
2312
2312
  }
2313
2313
  return Promise.resolve(contents);
2314
2314
  };
@@ -2386,7 +2386,7 @@ const deserializeAws_restJson1ListTagsForResourceCommand = async (output, contex
2386
2386
  $metadata: deserializeMetadata(output),
2387
2387
  tags: undefined,
2388
2388
  };
2389
- const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
2389
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
2390
2390
  if (data.tags !== undefined && data.tags !== null) {
2391
2391
  contents.tags = deserializeAws_restJson1TagMap(data.tags, context);
2392
2392
  }
@@ -2450,7 +2450,7 @@ const deserializeAws_restJson1ResolveComponentCandidatesCommand = async (output,
2450
2450
  $metadata: deserializeMetadata(output),
2451
2451
  resolvedComponentVersions: undefined,
2452
2452
  };
2453
- const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
2453
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
2454
2454
  if (data.resolvedComponentVersions !== undefined && data.resolvedComponentVersions !== null) {
2455
2455
  contents.resolvedComponentVersions = deserializeAws_restJson1ResolvedComponentVersionsList(data.resolvedComponentVersions, context);
2456
2456
  }
@@ -2659,7 +2659,7 @@ const deserializeAws_restJson1AccessDeniedExceptionResponse = async (parsedOutpu
2659
2659
  };
2660
2660
  const data = parsedOutput.body;
2661
2661
  if (data.message !== undefined && data.message !== null) {
2662
- contents.message = (0, smithy_client_1.expectString)(data.message);
2662
+ contents.message = smithy_client_1.expectString(data.message);
2663
2663
  }
2664
2664
  return contents;
2665
2665
  };
@@ -2674,13 +2674,13 @@ const deserializeAws_restJson1ConflictExceptionResponse = async (parsedOutput, c
2674
2674
  };
2675
2675
  const data = parsedOutput.body;
2676
2676
  if (data.message !== undefined && data.message !== null) {
2677
- contents.message = (0, smithy_client_1.expectString)(data.message);
2677
+ contents.message = smithy_client_1.expectString(data.message);
2678
2678
  }
2679
2679
  if (data.resourceId !== undefined && data.resourceId !== null) {
2680
- contents.resourceId = (0, smithy_client_1.expectString)(data.resourceId);
2680
+ contents.resourceId = smithy_client_1.expectString(data.resourceId);
2681
2681
  }
2682
2682
  if (data.resourceType !== undefined && data.resourceType !== null) {
2683
- contents.resourceType = (0, smithy_client_1.expectString)(data.resourceType);
2683
+ contents.resourceType = smithy_client_1.expectString(data.resourceType);
2684
2684
  }
2685
2685
  return contents;
2686
2686
  };
@@ -2693,11 +2693,11 @@ const deserializeAws_restJson1InternalServerExceptionResponse = async (parsedOut
2693
2693
  retryAfterSeconds: undefined,
2694
2694
  };
2695
2695
  if (parsedOutput.headers["retry-after"] !== undefined) {
2696
- contents.retryAfterSeconds = (0, smithy_client_1.strictParseInt32)(parsedOutput.headers["retry-after"]);
2696
+ contents.retryAfterSeconds = smithy_client_1.strictParseInt32(parsedOutput.headers["retry-after"]);
2697
2697
  }
2698
2698
  const data = parsedOutput.body;
2699
2699
  if (data.message !== undefined && data.message !== null) {
2700
- contents.message = (0, smithy_client_1.expectString)(data.message);
2700
+ contents.message = smithy_client_1.expectString(data.message);
2701
2701
  }
2702
2702
  return contents;
2703
2703
  };
@@ -2710,7 +2710,7 @@ const deserializeAws_restJson1RequestAlreadyInProgressExceptionResponse = async
2710
2710
  };
2711
2711
  const data = parsedOutput.body;
2712
2712
  if (data.message !== undefined && data.message !== null) {
2713
- contents.message = (0, smithy_client_1.expectString)(data.message);
2713
+ contents.message = smithy_client_1.expectString(data.message);
2714
2714
  }
2715
2715
  return contents;
2716
2716
  };
@@ -2725,13 +2725,13 @@ const deserializeAws_restJson1ResourceNotFoundExceptionResponse = async (parsedO
2725
2725
  };
2726
2726
  const data = parsedOutput.body;
2727
2727
  if (data.message !== undefined && data.message !== null) {
2728
- contents.message = (0, smithy_client_1.expectString)(data.message);
2728
+ contents.message = smithy_client_1.expectString(data.message);
2729
2729
  }
2730
2730
  if (data.resourceId !== undefined && data.resourceId !== null) {
2731
- contents.resourceId = (0, smithy_client_1.expectString)(data.resourceId);
2731
+ contents.resourceId = smithy_client_1.expectString(data.resourceId);
2732
2732
  }
2733
2733
  if (data.resourceType !== undefined && data.resourceType !== null) {
2734
- contents.resourceType = (0, smithy_client_1.expectString)(data.resourceType);
2734
+ contents.resourceType = smithy_client_1.expectString(data.resourceType);
2735
2735
  }
2736
2736
  return contents;
2737
2737
  };
@@ -2748,19 +2748,19 @@ const deserializeAws_restJson1ServiceQuotaExceededExceptionResponse = async (par
2748
2748
  };
2749
2749
  const data = parsedOutput.body;
2750
2750
  if (data.message !== undefined && data.message !== null) {
2751
- contents.message = (0, smithy_client_1.expectString)(data.message);
2751
+ contents.message = smithy_client_1.expectString(data.message);
2752
2752
  }
2753
2753
  if (data.quotaCode !== undefined && data.quotaCode !== null) {
2754
- contents.quotaCode = (0, smithy_client_1.expectString)(data.quotaCode);
2754
+ contents.quotaCode = smithy_client_1.expectString(data.quotaCode);
2755
2755
  }
2756
2756
  if (data.resourceId !== undefined && data.resourceId !== null) {
2757
- contents.resourceId = (0, smithy_client_1.expectString)(data.resourceId);
2757
+ contents.resourceId = smithy_client_1.expectString(data.resourceId);
2758
2758
  }
2759
2759
  if (data.resourceType !== undefined && data.resourceType !== null) {
2760
- contents.resourceType = (0, smithy_client_1.expectString)(data.resourceType);
2760
+ contents.resourceType = smithy_client_1.expectString(data.resourceType);
2761
2761
  }
2762
2762
  if (data.serviceCode !== undefined && data.serviceCode !== null) {
2763
- contents.serviceCode = (0, smithy_client_1.expectString)(data.serviceCode);
2763
+ contents.serviceCode = smithy_client_1.expectString(data.serviceCode);
2764
2764
  }
2765
2765
  return contents;
2766
2766
  };
@@ -2775,17 +2775,17 @@ const deserializeAws_restJson1ThrottlingExceptionResponse = async (parsedOutput,
2775
2775
  serviceCode: undefined,
2776
2776
  };
2777
2777
  if (parsedOutput.headers["retry-after"] !== undefined) {
2778
- contents.retryAfterSeconds = (0, smithy_client_1.strictParseInt32)(parsedOutput.headers["retry-after"]);
2778
+ contents.retryAfterSeconds = smithy_client_1.strictParseInt32(parsedOutput.headers["retry-after"]);
2779
2779
  }
2780
2780
  const data = parsedOutput.body;
2781
2781
  if (data.message !== undefined && data.message !== null) {
2782
- contents.message = (0, smithy_client_1.expectString)(data.message);
2782
+ contents.message = smithy_client_1.expectString(data.message);
2783
2783
  }
2784
2784
  if (data.quotaCode !== undefined && data.quotaCode !== null) {
2785
- contents.quotaCode = (0, smithy_client_1.expectString)(data.quotaCode);
2785
+ contents.quotaCode = smithy_client_1.expectString(data.quotaCode);
2786
2786
  }
2787
2787
  if (data.serviceCode !== undefined && data.serviceCode !== null) {
2788
- contents.serviceCode = (0, smithy_client_1.expectString)(data.serviceCode);
2788
+ contents.serviceCode = smithy_client_1.expectString(data.serviceCode);
2789
2789
  }
2790
2790
  return contents;
2791
2791
  };
@@ -2803,10 +2803,10 @@ const deserializeAws_restJson1ValidationExceptionResponse = async (parsedOutput,
2803
2803
  contents.fields = deserializeAws_restJson1ValidationExceptionFieldList(data.fields, context);
2804
2804
  }
2805
2805
  if (data.message !== undefined && data.message !== null) {
2806
- contents.message = (0, smithy_client_1.expectString)(data.message);
2806
+ contents.message = smithy_client_1.expectString(data.message);
2807
2807
  }
2808
2808
  if (data.reason !== undefined && data.reason !== null) {
2809
- contents.reason = (0, smithy_client_1.expectString)(data.reason);
2809
+ contents.reason = smithy_client_1.expectString(data.reason);
2810
2810
  }
2811
2811
  return contents;
2812
2812
  };
@@ -3017,7 +3017,7 @@ const serializeAws_restJson1IoTJobAbortCriteria = (input, context) => {
3017
3017
  ...(input.minNumberOfExecutedThings !== undefined &&
3018
3018
  input.minNumberOfExecutedThings !== null && { minNumberOfExecutedThings: input.minNumberOfExecutedThings }),
3019
3019
  ...(input.thresholdPercentage !== undefined &&
3020
- input.thresholdPercentage !== null && { thresholdPercentage: (0, smithy_client_1.serializeFloat)(input.thresholdPercentage) }),
3020
+ input.thresholdPercentage !== null && { thresholdPercentage: smithy_client_1.serializeFloat(input.thresholdPercentage) }),
3021
3021
  };
3022
3022
  };
3023
3023
  const serializeAws_restJson1IoTJobAbortCriteriaList = (input, context) => {
@@ -3045,7 +3045,7 @@ const serializeAws_restJson1IoTJobExponentialRolloutRate = (input, context) => {
3045
3045
  ...(input.baseRatePerMinute !== undefined &&
3046
3046
  input.baseRatePerMinute !== null && { baseRatePerMinute: input.baseRatePerMinute }),
3047
3047
  ...(input.incrementFactor !== undefined &&
3048
- input.incrementFactor !== null && { incrementFactor: (0, smithy_client_1.serializeFloat)(input.incrementFactor) }),
3048
+ input.incrementFactor !== null && { incrementFactor: smithy_client_1.serializeFloat(input.incrementFactor) }),
3049
3049
  ...(input.rateIncreaseCriteria !== undefined &&
3050
3050
  input.rateIncreaseCriteria !== null && {
3051
3051
  rateIncreaseCriteria: serializeAws_restJson1IoTJobRateIncreaseCriteria(input.rateIncreaseCriteria, context),
@@ -3222,7 +3222,7 @@ const serializeAws_restJson1PlatformAttributesMap = (input, context) => {
3222
3222
  };
3223
3223
  const serializeAws_restJson1SystemResourceLimits = (input, context) => {
3224
3224
  return {
3225
- ...(input.cpus !== undefined && input.cpus !== null && { cpus: (0, smithy_client_1.serializeFloat)(input.cpus) }),
3225
+ ...(input.cpus !== undefined && input.cpus !== null && { cpus: smithy_client_1.serializeFloat(input.cpus) }),
3226
3226
  ...(input.memory !== undefined && input.memory !== null && { memory: input.memory }),
3227
3227
  };
3228
3228
  };
@@ -3239,9 +3239,9 @@ const serializeAws_restJson1TagMap = (input, context) => {
3239
3239
  };
3240
3240
  const deserializeAws_restJson1AssociateClientDeviceWithCoreDeviceErrorEntry = (output, context) => {
3241
3241
  return {
3242
- code: (0, smithy_client_1.expectString)(output.code),
3243
- message: (0, smithy_client_1.expectString)(output.message),
3244
- thingName: (0, smithy_client_1.expectString)(output.thingName),
3242
+ code: smithy_client_1.expectString(output.code),
3243
+ message: smithy_client_1.expectString(output.message),
3244
+ thingName: smithy_client_1.expectString(output.thingName),
3245
3245
  };
3246
3246
  };
3247
3247
  const deserializeAws_restJson1AssociateClientDeviceWithCoreDeviceErrorList = (output, context) => {
@@ -3257,9 +3257,9 @@ const deserializeAws_restJson1AssociateClientDeviceWithCoreDeviceErrorList = (ou
3257
3257
  const deserializeAws_restJson1AssociatedClientDevice = (output, context) => {
3258
3258
  return {
3259
3259
  associationTimestamp: output.associationTimestamp !== undefined && output.associationTimestamp !== null
3260
- ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.associationTimestamp)))
3260
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.associationTimestamp)))
3261
3261
  : undefined,
3262
- thingName: (0, smithy_client_1.expectString)(output.thingName),
3262
+ thingName: smithy_client_1.expectString(output.thingName),
3263
3263
  };
3264
3264
  };
3265
3265
  const deserializeAws_restJson1AssociatedClientDeviceList = (output, context) => {
@@ -3274,17 +3274,17 @@ const deserializeAws_restJson1AssociatedClientDeviceList = (output, context) =>
3274
3274
  };
3275
3275
  const deserializeAws_restJson1CloudComponentStatus = (output, context) => {
3276
3276
  return {
3277
- componentState: (0, smithy_client_1.expectString)(output.componentState),
3277
+ componentState: smithy_client_1.expectString(output.componentState),
3278
3278
  errors: output.errors !== undefined && output.errors !== null
3279
3279
  ? deserializeAws_restJson1StringMap(output.errors, context)
3280
3280
  : undefined,
3281
- message: (0, smithy_client_1.expectString)(output.message),
3281
+ message: smithy_client_1.expectString(output.message),
3282
3282
  };
3283
3283
  };
3284
3284
  const deserializeAws_restJson1Component = (output, context) => {
3285
3285
  return {
3286
- arn: (0, smithy_client_1.expectString)(output.arn),
3287
- componentName: (0, smithy_client_1.expectString)(output.componentName),
3286
+ arn: smithy_client_1.expectString(output.arn),
3287
+ componentName: smithy_client_1.expectString(output.componentName),
3288
3288
  latestVersion: output.latestVersion !== undefined && output.latestVersion !== null
3289
3289
  ? deserializeAws_restJson1ComponentLatestVersion(output.latestVersion, context)
3290
3290
  : undefined,
@@ -3297,12 +3297,12 @@ const deserializeAws_restJson1ComponentConfigurationPathList = (output, context)
3297
3297
  if (entry === null) {
3298
3298
  return null;
3299
3299
  }
3300
- return (0, smithy_client_1.expectString)(entry);
3300
+ return smithy_client_1.expectString(entry);
3301
3301
  });
3302
3302
  };
3303
3303
  const deserializeAws_restJson1ComponentConfigurationUpdate = (output, context) => {
3304
3304
  return {
3305
- merge: (0, smithy_client_1.expectString)(output.merge),
3305
+ merge: smithy_client_1.expectString(output.merge),
3306
3306
  reset: output.reset !== undefined && output.reset !== null
3307
3307
  ? deserializeAws_restJson1ComponentConfigurationPathList(output.reset, context)
3308
3308
  : undefined,
@@ -3310,7 +3310,7 @@ const deserializeAws_restJson1ComponentConfigurationUpdate = (output, context) =
3310
3310
  };
3311
3311
  const deserializeAws_restJson1ComponentDeploymentSpecification = (output, context) => {
3312
3312
  return {
3313
- componentVersion: (0, smithy_client_1.expectString)(output.componentVersion),
3313
+ componentVersion: smithy_client_1.expectString(output.componentVersion),
3314
3314
  configurationUpdate: output.configurationUpdate !== undefined && output.configurationUpdate !== null
3315
3315
  ? deserializeAws_restJson1ComponentConfigurationUpdate(output.configurationUpdate, context)
3316
3316
  : undefined,
@@ -3332,16 +3332,16 @@ const deserializeAws_restJson1ComponentDeploymentSpecifications = (output, conte
3332
3332
  };
3333
3333
  const deserializeAws_restJson1ComponentLatestVersion = (output, context) => {
3334
3334
  return {
3335
- arn: (0, smithy_client_1.expectString)(output.arn),
3336
- componentVersion: (0, smithy_client_1.expectString)(output.componentVersion),
3335
+ arn: smithy_client_1.expectString(output.arn),
3336
+ componentVersion: smithy_client_1.expectString(output.componentVersion),
3337
3337
  creationTimestamp: output.creationTimestamp !== undefined && output.creationTimestamp !== null
3338
- ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.creationTimestamp)))
3338
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.creationTimestamp)))
3339
3339
  : undefined,
3340
- description: (0, smithy_client_1.expectString)(output.description),
3340
+ description: smithy_client_1.expectString(output.description),
3341
3341
  platforms: output.platforms !== undefined && output.platforms !== null
3342
3342
  ? deserializeAws_restJson1ComponentPlatformList(output.platforms, context)
3343
3343
  : undefined,
3344
- publisher: (0, smithy_client_1.expectString)(output.publisher),
3344
+ publisher: smithy_client_1.expectString(output.publisher),
3345
3345
  };
3346
3346
  };
3347
3347
  const deserializeAws_restJson1ComponentList = (output, context) => {
@@ -3359,7 +3359,7 @@ const deserializeAws_restJson1ComponentPlatform = (output, context) => {
3359
3359
  attributes: output.attributes !== undefined && output.attributes !== null
3360
3360
  ? deserializeAws_restJson1PlatformAttributesMap(output.attributes, context)
3361
3361
  : undefined,
3362
- name: (0, smithy_client_1.expectString)(output.name),
3362
+ name: smithy_client_1.expectString(output.name),
3363
3363
  };
3364
3364
  };
3365
3365
  const deserializeAws_restJson1ComponentPlatformList = (output, context) => {
@@ -3374,7 +3374,7 @@ const deserializeAws_restJson1ComponentPlatformList = (output, context) => {
3374
3374
  };
3375
3375
  const deserializeAws_restJson1ComponentRunWith = (output, context) => {
3376
3376
  return {
3377
- posixUser: (0, smithy_client_1.expectString)(output.posixUser),
3377
+ posixUser: smithy_client_1.expectString(output.posixUser),
3378
3378
  systemResourceLimits: output.systemResourceLimits !== undefined && output.systemResourceLimits !== null
3379
3379
  ? deserializeAws_restJson1SystemResourceLimits(output.systemResourceLimits, context)
3380
3380
  : undefined,
@@ -3392,18 +3392,18 @@ const deserializeAws_restJson1ComponentVersionList = (output, context) => {
3392
3392
  };
3393
3393
  const deserializeAws_restJson1ComponentVersionListItem = (output, context) => {
3394
3394
  return {
3395
- arn: (0, smithy_client_1.expectString)(output.arn),
3396
- componentName: (0, smithy_client_1.expectString)(output.componentName),
3397
- componentVersion: (0, smithy_client_1.expectString)(output.componentVersion),
3395
+ arn: smithy_client_1.expectString(output.arn),
3396
+ componentName: smithy_client_1.expectString(output.componentName),
3397
+ componentVersion: smithy_client_1.expectString(output.componentVersion),
3398
3398
  };
3399
3399
  };
3400
3400
  const deserializeAws_restJson1CoreDevice = (output, context) => {
3401
3401
  return {
3402
- coreDeviceThingName: (0, smithy_client_1.expectString)(output.coreDeviceThingName),
3402
+ coreDeviceThingName: smithy_client_1.expectString(output.coreDeviceThingName),
3403
3403
  lastStatusUpdateTimestamp: output.lastStatusUpdateTimestamp !== undefined && output.lastStatusUpdateTimestamp !== null
3404
- ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.lastStatusUpdateTimestamp)))
3404
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.lastStatusUpdateTimestamp)))
3405
3405
  : undefined,
3406
- status: (0, smithy_client_1.expectString)(output.status),
3406
+ status: smithy_client_1.expectString(output.status),
3407
3407
  };
3408
3408
  };
3409
3409
  const deserializeAws_restJson1CoreDevicesList = (output, context) => {
@@ -3419,25 +3419,25 @@ const deserializeAws_restJson1CoreDevicesList = (output, context) => {
3419
3419
  const deserializeAws_restJson1Deployment = (output, context) => {
3420
3420
  return {
3421
3421
  creationTimestamp: output.creationTimestamp !== undefined && output.creationTimestamp !== null
3422
- ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.creationTimestamp)))
3422
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.creationTimestamp)))
3423
3423
  : undefined,
3424
- deploymentId: (0, smithy_client_1.expectString)(output.deploymentId),
3425
- deploymentName: (0, smithy_client_1.expectString)(output.deploymentName),
3426
- deploymentStatus: (0, smithy_client_1.expectString)(output.deploymentStatus),
3427
- isLatestForTarget: (0, smithy_client_1.expectBoolean)(output.isLatestForTarget),
3428
- revisionId: (0, smithy_client_1.expectString)(output.revisionId),
3429
- targetArn: (0, smithy_client_1.expectString)(output.targetArn),
3424
+ deploymentId: smithy_client_1.expectString(output.deploymentId),
3425
+ deploymentName: smithy_client_1.expectString(output.deploymentName),
3426
+ deploymentStatus: smithy_client_1.expectString(output.deploymentStatus),
3427
+ isLatestForTarget: smithy_client_1.expectBoolean(output.isLatestForTarget),
3428
+ revisionId: smithy_client_1.expectString(output.revisionId),
3429
+ targetArn: smithy_client_1.expectString(output.targetArn),
3430
3430
  };
3431
3431
  };
3432
3432
  const deserializeAws_restJson1DeploymentComponentUpdatePolicy = (output, context) => {
3433
3433
  return {
3434
- action: (0, smithy_client_1.expectString)(output.action),
3435
- timeoutInSeconds: (0, smithy_client_1.expectInt32)(output.timeoutInSeconds),
3434
+ action: smithy_client_1.expectString(output.action),
3435
+ timeoutInSeconds: smithy_client_1.expectInt32(output.timeoutInSeconds),
3436
3436
  };
3437
3437
  };
3438
3438
  const deserializeAws_restJson1DeploymentConfigurationValidationPolicy = (output, context) => {
3439
3439
  return {
3440
- timeoutInSeconds: (0, smithy_client_1.expectInt32)(output.timeoutInSeconds),
3440
+ timeoutInSeconds: smithy_client_1.expectInt32(output.timeoutInSeconds),
3441
3441
  };
3442
3442
  };
3443
3443
  const deserializeAws_restJson1DeploymentIoTJobConfiguration = (output, context) => {
@@ -3471,14 +3471,14 @@ const deserializeAws_restJson1DeploymentPolicies = (output, context) => {
3471
3471
  configurationValidationPolicy: output.configurationValidationPolicy !== undefined && output.configurationValidationPolicy !== null
3472
3472
  ? deserializeAws_restJson1DeploymentConfigurationValidationPolicy(output.configurationValidationPolicy, context)
3473
3473
  : undefined,
3474
- failureHandlingPolicy: (0, smithy_client_1.expectString)(output.failureHandlingPolicy),
3474
+ failureHandlingPolicy: smithy_client_1.expectString(output.failureHandlingPolicy),
3475
3475
  };
3476
3476
  };
3477
3477
  const deserializeAws_restJson1DisassociateClientDeviceFromCoreDeviceErrorEntry = (output, context) => {
3478
3478
  return {
3479
- code: (0, smithy_client_1.expectString)(output.code),
3480
- message: (0, smithy_client_1.expectString)(output.message),
3481
- thingName: (0, smithy_client_1.expectString)(output.thingName),
3479
+ code: smithy_client_1.expectString(output.code),
3480
+ message: smithy_client_1.expectString(output.message),
3481
+ thingName: smithy_client_1.expectString(output.thingName),
3482
3482
  };
3483
3483
  };
3484
3484
  const deserializeAws_restJson1DisassociateClientDeviceFromCoreDeviceErrorList = (output, context) => {
@@ -3493,20 +3493,20 @@ const deserializeAws_restJson1DisassociateClientDeviceFromCoreDeviceErrorList =
3493
3493
  };
3494
3494
  const deserializeAws_restJson1EffectiveDeployment = (output, context) => {
3495
3495
  return {
3496
- coreDeviceExecutionStatus: (0, smithy_client_1.expectString)(output.coreDeviceExecutionStatus),
3496
+ coreDeviceExecutionStatus: smithy_client_1.expectString(output.coreDeviceExecutionStatus),
3497
3497
  creationTimestamp: output.creationTimestamp !== undefined && output.creationTimestamp !== null
3498
- ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.creationTimestamp)))
3498
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.creationTimestamp)))
3499
3499
  : undefined,
3500
- deploymentId: (0, smithy_client_1.expectString)(output.deploymentId),
3501
- deploymentName: (0, smithy_client_1.expectString)(output.deploymentName),
3502
- description: (0, smithy_client_1.expectString)(output.description),
3503
- iotJobArn: (0, smithy_client_1.expectString)(output.iotJobArn),
3504
- iotJobId: (0, smithy_client_1.expectString)(output.iotJobId),
3500
+ deploymentId: smithy_client_1.expectString(output.deploymentId),
3501
+ deploymentName: smithy_client_1.expectString(output.deploymentName),
3502
+ description: smithy_client_1.expectString(output.description),
3503
+ iotJobArn: smithy_client_1.expectString(output.iotJobArn),
3504
+ iotJobId: smithy_client_1.expectString(output.iotJobId),
3505
3505
  modifiedTimestamp: output.modifiedTimestamp !== undefined && output.modifiedTimestamp !== null
3506
- ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.modifiedTimestamp)))
3506
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.modifiedTimestamp)))
3507
3507
  : undefined,
3508
- reason: (0, smithy_client_1.expectString)(output.reason),
3509
- targetArn: (0, smithy_client_1.expectString)(output.targetArn),
3508
+ reason: smithy_client_1.expectString(output.reason),
3509
+ targetArn: smithy_client_1.expectString(output.targetArn),
3510
3510
  };
3511
3511
  };
3512
3512
  const deserializeAws_restJson1EffectiveDeploymentsList = (output, context) => {
@@ -3521,11 +3521,11 @@ const deserializeAws_restJson1EffectiveDeploymentsList = (output, context) => {
3521
3521
  };
3522
3522
  const deserializeAws_restJson1InstalledComponent = (output, context) => {
3523
3523
  return {
3524
- componentName: (0, smithy_client_1.expectString)(output.componentName),
3525
- componentVersion: (0, smithy_client_1.expectString)(output.componentVersion),
3526
- isRoot: (0, smithy_client_1.expectBoolean)(output.isRoot),
3527
- lifecycleState: (0, smithy_client_1.expectString)(output.lifecycleState),
3528
- lifecycleStateDetails: (0, smithy_client_1.expectString)(output.lifecycleStateDetails),
3524
+ componentName: smithy_client_1.expectString(output.componentName),
3525
+ componentVersion: smithy_client_1.expectString(output.componentVersion),
3526
+ isRoot: smithy_client_1.expectBoolean(output.isRoot),
3527
+ lifecycleState: smithy_client_1.expectString(output.lifecycleState),
3528
+ lifecycleStateDetails: smithy_client_1.expectString(output.lifecycleStateDetails),
3529
3529
  };
3530
3530
  };
3531
3531
  const deserializeAws_restJson1InstalledComponentList = (output, context) => {
@@ -3547,10 +3547,10 @@ const deserializeAws_restJson1IoTJobAbortConfig = (output, context) => {
3547
3547
  };
3548
3548
  const deserializeAws_restJson1IoTJobAbortCriteria = (output, context) => {
3549
3549
  return {
3550
- action: (0, smithy_client_1.expectString)(output.action),
3551
- failureType: (0, smithy_client_1.expectString)(output.failureType),
3552
- minNumberOfExecutedThings: (0, smithy_client_1.expectInt32)(output.minNumberOfExecutedThings),
3553
- thresholdPercentage: (0, smithy_client_1.limitedParseDouble)(output.thresholdPercentage),
3550
+ action: smithy_client_1.expectString(output.action),
3551
+ failureType: smithy_client_1.expectString(output.failureType),
3552
+ minNumberOfExecutedThings: smithy_client_1.expectInt32(output.minNumberOfExecutedThings),
3553
+ thresholdPercentage: smithy_client_1.limitedParseDouble(output.thresholdPercentage),
3554
3554
  };
3555
3555
  };
3556
3556
  const deserializeAws_restJson1IoTJobAbortCriteriaList = (output, context) => {
@@ -3568,13 +3568,13 @@ const deserializeAws_restJson1IoTJobExecutionsRolloutConfig = (output, context)
3568
3568
  exponentialRate: output.exponentialRate !== undefined && output.exponentialRate !== null
3569
3569
  ? deserializeAws_restJson1IoTJobExponentialRolloutRate(output.exponentialRate, context)
3570
3570
  : undefined,
3571
- maximumPerMinute: (0, smithy_client_1.expectInt32)(output.maximumPerMinute),
3571
+ maximumPerMinute: smithy_client_1.expectInt32(output.maximumPerMinute),
3572
3572
  };
3573
3573
  };
3574
3574
  const deserializeAws_restJson1IoTJobExponentialRolloutRate = (output, context) => {
3575
3575
  return {
3576
- baseRatePerMinute: (0, smithy_client_1.expectInt32)(output.baseRatePerMinute),
3577
- incrementFactor: (0, smithy_client_1.limitedParseDouble)(output.incrementFactor),
3576
+ baseRatePerMinute: smithy_client_1.expectInt32(output.baseRatePerMinute),
3577
+ incrementFactor: smithy_client_1.limitedParseDouble(output.incrementFactor),
3578
3578
  rateIncreaseCriteria: output.rateIncreaseCriteria !== undefined && output.rateIncreaseCriteria !== null
3579
3579
  ? deserializeAws_restJson1IoTJobRateIncreaseCriteria(output.rateIncreaseCriteria, context)
3580
3580
  : undefined,
@@ -3582,13 +3582,13 @@ const deserializeAws_restJson1IoTJobExponentialRolloutRate = (output, context) =
3582
3582
  };
3583
3583
  const deserializeAws_restJson1IoTJobRateIncreaseCriteria = (output, context) => {
3584
3584
  return {
3585
- numberOfNotifiedThings: (0, smithy_client_1.expectInt32)(output.numberOfNotifiedThings),
3586
- numberOfSucceededThings: (0, smithy_client_1.expectInt32)(output.numberOfSucceededThings),
3585
+ numberOfNotifiedThings: smithy_client_1.expectInt32(output.numberOfNotifiedThings),
3586
+ numberOfSucceededThings: smithy_client_1.expectInt32(output.numberOfSucceededThings),
3587
3587
  };
3588
3588
  };
3589
3589
  const deserializeAws_restJson1IoTJobTimeoutConfig = (output, context) => {
3590
3590
  return {
3591
- inProgressTimeoutInMinutes: (0, smithy_client_1.expectLong)(output.inProgressTimeoutInMinutes),
3591
+ inProgressTimeoutInMinutes: smithy_client_1.expectLong(output.inProgressTimeoutInMinutes),
3592
3592
  };
3593
3593
  };
3594
3594
  const deserializeAws_restJson1PlatformAttributesMap = (output, context) => {
@@ -3598,15 +3598,15 @@ const deserializeAws_restJson1PlatformAttributesMap = (output, context) => {
3598
3598
  }
3599
3599
  return {
3600
3600
  ...acc,
3601
- [key]: (0, smithy_client_1.expectString)(value),
3601
+ [key]: smithy_client_1.expectString(value),
3602
3602
  };
3603
3603
  }, {});
3604
3604
  };
3605
3605
  const deserializeAws_restJson1ResolvedComponentVersion = (output, context) => {
3606
3606
  return {
3607
- arn: (0, smithy_client_1.expectString)(output.arn),
3608
- componentName: (0, smithy_client_1.expectString)(output.componentName),
3609
- componentVersion: (0, smithy_client_1.expectString)(output.componentVersion),
3607
+ arn: smithy_client_1.expectString(output.arn),
3608
+ componentName: smithy_client_1.expectString(output.componentName),
3609
+ componentVersion: smithy_client_1.expectString(output.componentVersion),
3610
3610
  recipe: output.recipe !== undefined && output.recipe !== null ? context.base64Decoder(output.recipe) : undefined,
3611
3611
  };
3612
3612
  };
@@ -3627,14 +3627,14 @@ const deserializeAws_restJson1StringMap = (output, context) => {
3627
3627
  }
3628
3628
  return {
3629
3629
  ...acc,
3630
- [key]: (0, smithy_client_1.expectString)(value),
3630
+ [key]: smithy_client_1.expectString(value),
3631
3631
  };
3632
3632
  }, {});
3633
3633
  };
3634
3634
  const deserializeAws_restJson1SystemResourceLimits = (output, context) => {
3635
3635
  return {
3636
- cpus: (0, smithy_client_1.limitedParseDouble)(output.cpus),
3637
- memory: (0, smithy_client_1.expectLong)(output.memory),
3636
+ cpus: smithy_client_1.limitedParseDouble(output.cpus),
3637
+ memory: smithy_client_1.expectLong(output.memory),
3638
3638
  };
3639
3639
  };
3640
3640
  const deserializeAws_restJson1TagMap = (output, context) => {
@@ -3644,14 +3644,14 @@ const deserializeAws_restJson1TagMap = (output, context) => {
3644
3644
  }
3645
3645
  return {
3646
3646
  ...acc,
3647
- [key]: (0, smithy_client_1.expectString)(value),
3647
+ [key]: smithy_client_1.expectString(value),
3648
3648
  };
3649
3649
  }, {});
3650
3650
  };
3651
3651
  const deserializeAws_restJson1ValidationExceptionField = (output, context) => {
3652
3652
  return {
3653
- message: (0, smithy_client_1.expectString)(output.message),
3654
- name: (0, smithy_client_1.expectString)(output.name),
3653
+ message: smithy_client_1.expectString(output.message),
3654
+ name: smithy_client_1.expectString(output.name),
3655
3655
  };
3656
3656
  };
3657
3657
  const deserializeAws_restJson1ValidationExceptionFieldList = (output, context) => {