@aws-sdk/client-greengrass 3.29.0 → 3.33.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 (205) hide show
  1. package/CHANGELOG.md +32 -0
  2. package/dist/cjs/GreengrassClient.js +13 -13
  3. package/dist/cjs/GreengrassClient.js.map +1 -1
  4. package/dist/cjs/commands/AssociateRoleToGroupCommand.js +3 -3
  5. package/dist/cjs/commands/AssociateRoleToGroupCommand.js.map +1 -1
  6. package/dist/cjs/commands/AssociateServiceRoleToAccountCommand.js +3 -3
  7. package/dist/cjs/commands/AssociateServiceRoleToAccountCommand.js.map +1 -1
  8. package/dist/cjs/commands/CreateConnectorDefinitionCommand.js +3 -3
  9. package/dist/cjs/commands/CreateConnectorDefinitionCommand.js.map +1 -1
  10. package/dist/cjs/commands/CreateConnectorDefinitionVersionCommand.js +3 -3
  11. package/dist/cjs/commands/CreateConnectorDefinitionVersionCommand.js.map +1 -1
  12. package/dist/cjs/commands/CreateCoreDefinitionCommand.js +3 -3
  13. package/dist/cjs/commands/CreateCoreDefinitionCommand.js.map +1 -1
  14. package/dist/cjs/commands/CreateCoreDefinitionVersionCommand.js +3 -3
  15. package/dist/cjs/commands/CreateCoreDefinitionVersionCommand.js.map +1 -1
  16. package/dist/cjs/commands/CreateDeploymentCommand.js +3 -3
  17. package/dist/cjs/commands/CreateDeploymentCommand.js.map +1 -1
  18. package/dist/cjs/commands/CreateDeviceDefinitionCommand.js +3 -3
  19. package/dist/cjs/commands/CreateDeviceDefinitionCommand.js.map +1 -1
  20. package/dist/cjs/commands/CreateDeviceDefinitionVersionCommand.js +3 -3
  21. package/dist/cjs/commands/CreateDeviceDefinitionVersionCommand.js.map +1 -1
  22. package/dist/cjs/commands/CreateFunctionDefinitionCommand.js +3 -3
  23. package/dist/cjs/commands/CreateFunctionDefinitionCommand.js.map +1 -1
  24. package/dist/cjs/commands/CreateFunctionDefinitionVersionCommand.js +3 -3
  25. package/dist/cjs/commands/CreateFunctionDefinitionVersionCommand.js.map +1 -1
  26. package/dist/cjs/commands/CreateGroupCertificateAuthorityCommand.js +3 -3
  27. package/dist/cjs/commands/CreateGroupCertificateAuthorityCommand.js.map +1 -1
  28. package/dist/cjs/commands/CreateGroupCommand.js +3 -3
  29. package/dist/cjs/commands/CreateGroupCommand.js.map +1 -1
  30. package/dist/cjs/commands/CreateGroupVersionCommand.js +3 -3
  31. package/dist/cjs/commands/CreateGroupVersionCommand.js.map +1 -1
  32. package/dist/cjs/commands/CreateLoggerDefinitionCommand.js +3 -3
  33. package/dist/cjs/commands/CreateLoggerDefinitionCommand.js.map +1 -1
  34. package/dist/cjs/commands/CreateLoggerDefinitionVersionCommand.js +3 -3
  35. package/dist/cjs/commands/CreateLoggerDefinitionVersionCommand.js.map +1 -1
  36. package/dist/cjs/commands/CreateResourceDefinitionCommand.js +3 -3
  37. package/dist/cjs/commands/CreateResourceDefinitionCommand.js.map +1 -1
  38. package/dist/cjs/commands/CreateResourceDefinitionVersionCommand.js +3 -3
  39. package/dist/cjs/commands/CreateResourceDefinitionVersionCommand.js.map +1 -1
  40. package/dist/cjs/commands/CreateSoftwareUpdateJobCommand.js +3 -3
  41. package/dist/cjs/commands/CreateSoftwareUpdateJobCommand.js.map +1 -1
  42. package/dist/cjs/commands/CreateSubscriptionDefinitionCommand.js +3 -3
  43. package/dist/cjs/commands/CreateSubscriptionDefinitionCommand.js.map +1 -1
  44. package/dist/cjs/commands/CreateSubscriptionDefinitionVersionCommand.js +3 -3
  45. package/dist/cjs/commands/CreateSubscriptionDefinitionVersionCommand.js.map +1 -1
  46. package/dist/cjs/commands/DeleteConnectorDefinitionCommand.js +3 -3
  47. package/dist/cjs/commands/DeleteConnectorDefinitionCommand.js.map +1 -1
  48. package/dist/cjs/commands/DeleteCoreDefinitionCommand.js +3 -3
  49. package/dist/cjs/commands/DeleteCoreDefinitionCommand.js.map +1 -1
  50. package/dist/cjs/commands/DeleteDeviceDefinitionCommand.js +3 -3
  51. package/dist/cjs/commands/DeleteDeviceDefinitionCommand.js.map +1 -1
  52. package/dist/cjs/commands/DeleteFunctionDefinitionCommand.js +3 -3
  53. package/dist/cjs/commands/DeleteFunctionDefinitionCommand.js.map +1 -1
  54. package/dist/cjs/commands/DeleteGroupCommand.js +3 -3
  55. package/dist/cjs/commands/DeleteGroupCommand.js.map +1 -1
  56. package/dist/cjs/commands/DeleteLoggerDefinitionCommand.js +3 -3
  57. package/dist/cjs/commands/DeleteLoggerDefinitionCommand.js.map +1 -1
  58. package/dist/cjs/commands/DeleteResourceDefinitionCommand.js +3 -3
  59. package/dist/cjs/commands/DeleteResourceDefinitionCommand.js.map +1 -1
  60. package/dist/cjs/commands/DeleteSubscriptionDefinitionCommand.js +3 -3
  61. package/dist/cjs/commands/DeleteSubscriptionDefinitionCommand.js.map +1 -1
  62. package/dist/cjs/commands/DisassociateRoleFromGroupCommand.js +3 -3
  63. package/dist/cjs/commands/DisassociateRoleFromGroupCommand.js.map +1 -1
  64. package/dist/cjs/commands/DisassociateServiceRoleFromAccountCommand.js +3 -3
  65. package/dist/cjs/commands/DisassociateServiceRoleFromAccountCommand.js.map +1 -1
  66. package/dist/cjs/commands/GetAssociatedRoleCommand.js +3 -3
  67. package/dist/cjs/commands/GetAssociatedRoleCommand.js.map +1 -1
  68. package/dist/cjs/commands/GetBulkDeploymentStatusCommand.js +3 -3
  69. package/dist/cjs/commands/GetBulkDeploymentStatusCommand.js.map +1 -1
  70. package/dist/cjs/commands/GetConnectivityInfoCommand.js +3 -3
  71. package/dist/cjs/commands/GetConnectivityInfoCommand.js.map +1 -1
  72. package/dist/cjs/commands/GetConnectorDefinitionCommand.js +3 -3
  73. package/dist/cjs/commands/GetConnectorDefinitionCommand.js.map +1 -1
  74. package/dist/cjs/commands/GetConnectorDefinitionVersionCommand.js +3 -3
  75. package/dist/cjs/commands/GetConnectorDefinitionVersionCommand.js.map +1 -1
  76. package/dist/cjs/commands/GetCoreDefinitionCommand.js +3 -3
  77. package/dist/cjs/commands/GetCoreDefinitionCommand.js.map +1 -1
  78. package/dist/cjs/commands/GetCoreDefinitionVersionCommand.js +3 -3
  79. package/dist/cjs/commands/GetCoreDefinitionVersionCommand.js.map +1 -1
  80. package/dist/cjs/commands/GetDeploymentStatusCommand.js +3 -3
  81. package/dist/cjs/commands/GetDeploymentStatusCommand.js.map +1 -1
  82. package/dist/cjs/commands/GetDeviceDefinitionCommand.js +3 -3
  83. package/dist/cjs/commands/GetDeviceDefinitionCommand.js.map +1 -1
  84. package/dist/cjs/commands/GetDeviceDefinitionVersionCommand.js +3 -3
  85. package/dist/cjs/commands/GetDeviceDefinitionVersionCommand.js.map +1 -1
  86. package/dist/cjs/commands/GetFunctionDefinitionCommand.js +3 -3
  87. package/dist/cjs/commands/GetFunctionDefinitionCommand.js.map +1 -1
  88. package/dist/cjs/commands/GetFunctionDefinitionVersionCommand.js +3 -3
  89. package/dist/cjs/commands/GetFunctionDefinitionVersionCommand.js.map +1 -1
  90. package/dist/cjs/commands/GetGroupCertificateAuthorityCommand.js +3 -3
  91. package/dist/cjs/commands/GetGroupCertificateAuthorityCommand.js.map +1 -1
  92. package/dist/cjs/commands/GetGroupCertificateConfigurationCommand.js +3 -3
  93. package/dist/cjs/commands/GetGroupCertificateConfigurationCommand.js.map +1 -1
  94. package/dist/cjs/commands/GetGroupCommand.js +3 -3
  95. package/dist/cjs/commands/GetGroupCommand.js.map +1 -1
  96. package/dist/cjs/commands/GetGroupVersionCommand.js +3 -3
  97. package/dist/cjs/commands/GetGroupVersionCommand.js.map +1 -1
  98. package/dist/cjs/commands/GetLoggerDefinitionCommand.js +3 -3
  99. package/dist/cjs/commands/GetLoggerDefinitionCommand.js.map +1 -1
  100. package/dist/cjs/commands/GetLoggerDefinitionVersionCommand.js +3 -3
  101. package/dist/cjs/commands/GetLoggerDefinitionVersionCommand.js.map +1 -1
  102. package/dist/cjs/commands/GetResourceDefinitionCommand.js +3 -3
  103. package/dist/cjs/commands/GetResourceDefinitionCommand.js.map +1 -1
  104. package/dist/cjs/commands/GetResourceDefinitionVersionCommand.js +3 -3
  105. package/dist/cjs/commands/GetResourceDefinitionVersionCommand.js.map +1 -1
  106. package/dist/cjs/commands/GetServiceRoleForAccountCommand.js +3 -3
  107. package/dist/cjs/commands/GetServiceRoleForAccountCommand.js.map +1 -1
  108. package/dist/cjs/commands/GetSubscriptionDefinitionCommand.js +3 -3
  109. package/dist/cjs/commands/GetSubscriptionDefinitionCommand.js.map +1 -1
  110. package/dist/cjs/commands/GetSubscriptionDefinitionVersionCommand.js +3 -3
  111. package/dist/cjs/commands/GetSubscriptionDefinitionVersionCommand.js.map +1 -1
  112. package/dist/cjs/commands/GetThingRuntimeConfigurationCommand.js +3 -3
  113. package/dist/cjs/commands/GetThingRuntimeConfigurationCommand.js.map +1 -1
  114. package/dist/cjs/commands/ListBulkDeploymentDetailedReportsCommand.js +3 -3
  115. package/dist/cjs/commands/ListBulkDeploymentDetailedReportsCommand.js.map +1 -1
  116. package/dist/cjs/commands/ListBulkDeploymentsCommand.js +3 -3
  117. package/dist/cjs/commands/ListBulkDeploymentsCommand.js.map +1 -1
  118. package/dist/cjs/commands/ListConnectorDefinitionVersionsCommand.js +3 -3
  119. package/dist/cjs/commands/ListConnectorDefinitionVersionsCommand.js.map +1 -1
  120. package/dist/cjs/commands/ListConnectorDefinitionsCommand.js +3 -3
  121. package/dist/cjs/commands/ListConnectorDefinitionsCommand.js.map +1 -1
  122. package/dist/cjs/commands/ListCoreDefinitionVersionsCommand.js +3 -3
  123. package/dist/cjs/commands/ListCoreDefinitionVersionsCommand.js.map +1 -1
  124. package/dist/cjs/commands/ListCoreDefinitionsCommand.js +3 -3
  125. package/dist/cjs/commands/ListCoreDefinitionsCommand.js.map +1 -1
  126. package/dist/cjs/commands/ListDeploymentsCommand.js +3 -3
  127. package/dist/cjs/commands/ListDeploymentsCommand.js.map +1 -1
  128. package/dist/cjs/commands/ListDeviceDefinitionVersionsCommand.js +3 -3
  129. package/dist/cjs/commands/ListDeviceDefinitionVersionsCommand.js.map +1 -1
  130. package/dist/cjs/commands/ListDeviceDefinitionsCommand.js +3 -3
  131. package/dist/cjs/commands/ListDeviceDefinitionsCommand.js.map +1 -1
  132. package/dist/cjs/commands/ListFunctionDefinitionVersionsCommand.js +3 -3
  133. package/dist/cjs/commands/ListFunctionDefinitionVersionsCommand.js.map +1 -1
  134. package/dist/cjs/commands/ListFunctionDefinitionsCommand.js +3 -3
  135. package/dist/cjs/commands/ListFunctionDefinitionsCommand.js.map +1 -1
  136. package/dist/cjs/commands/ListGroupCertificateAuthoritiesCommand.js +3 -3
  137. package/dist/cjs/commands/ListGroupCertificateAuthoritiesCommand.js.map +1 -1
  138. package/dist/cjs/commands/ListGroupVersionsCommand.js +3 -3
  139. package/dist/cjs/commands/ListGroupVersionsCommand.js.map +1 -1
  140. package/dist/cjs/commands/ListGroupsCommand.js +3 -3
  141. package/dist/cjs/commands/ListGroupsCommand.js.map +1 -1
  142. package/dist/cjs/commands/ListLoggerDefinitionVersionsCommand.js +3 -3
  143. package/dist/cjs/commands/ListLoggerDefinitionVersionsCommand.js.map +1 -1
  144. package/dist/cjs/commands/ListLoggerDefinitionsCommand.js +3 -3
  145. package/dist/cjs/commands/ListLoggerDefinitionsCommand.js.map +1 -1
  146. package/dist/cjs/commands/ListResourceDefinitionVersionsCommand.js +3 -3
  147. package/dist/cjs/commands/ListResourceDefinitionVersionsCommand.js.map +1 -1
  148. package/dist/cjs/commands/ListResourceDefinitionsCommand.js +3 -3
  149. package/dist/cjs/commands/ListResourceDefinitionsCommand.js.map +1 -1
  150. package/dist/cjs/commands/ListSubscriptionDefinitionVersionsCommand.js +3 -3
  151. package/dist/cjs/commands/ListSubscriptionDefinitionVersionsCommand.js.map +1 -1
  152. package/dist/cjs/commands/ListSubscriptionDefinitionsCommand.js +3 -3
  153. package/dist/cjs/commands/ListSubscriptionDefinitionsCommand.js.map +1 -1
  154. package/dist/cjs/commands/ListTagsForResourceCommand.js +3 -3
  155. package/dist/cjs/commands/ListTagsForResourceCommand.js.map +1 -1
  156. package/dist/cjs/commands/ResetDeploymentsCommand.js +3 -3
  157. package/dist/cjs/commands/ResetDeploymentsCommand.js.map +1 -1
  158. package/dist/cjs/commands/StartBulkDeploymentCommand.js +3 -3
  159. package/dist/cjs/commands/StartBulkDeploymentCommand.js.map +1 -1
  160. package/dist/cjs/commands/StopBulkDeploymentCommand.js +3 -3
  161. package/dist/cjs/commands/StopBulkDeploymentCommand.js.map +1 -1
  162. package/dist/cjs/commands/TagResourceCommand.js +3 -3
  163. package/dist/cjs/commands/TagResourceCommand.js.map +1 -1
  164. package/dist/cjs/commands/UntagResourceCommand.js +3 -3
  165. package/dist/cjs/commands/UntagResourceCommand.js.map +1 -1
  166. package/dist/cjs/commands/UpdateConnectivityInfoCommand.js +3 -3
  167. package/dist/cjs/commands/UpdateConnectivityInfoCommand.js.map +1 -1
  168. package/dist/cjs/commands/UpdateConnectorDefinitionCommand.js +3 -3
  169. package/dist/cjs/commands/UpdateConnectorDefinitionCommand.js.map +1 -1
  170. package/dist/cjs/commands/UpdateCoreDefinitionCommand.js +3 -3
  171. package/dist/cjs/commands/UpdateCoreDefinitionCommand.js.map +1 -1
  172. package/dist/cjs/commands/UpdateDeviceDefinitionCommand.js +3 -3
  173. package/dist/cjs/commands/UpdateDeviceDefinitionCommand.js.map +1 -1
  174. package/dist/cjs/commands/UpdateFunctionDefinitionCommand.js +3 -3
  175. package/dist/cjs/commands/UpdateFunctionDefinitionCommand.js.map +1 -1
  176. package/dist/cjs/commands/UpdateGroupCertificateConfigurationCommand.js +3 -3
  177. package/dist/cjs/commands/UpdateGroupCertificateConfigurationCommand.js.map +1 -1
  178. package/dist/cjs/commands/UpdateGroupCommand.js +3 -3
  179. package/dist/cjs/commands/UpdateGroupCommand.js.map +1 -1
  180. package/dist/cjs/commands/UpdateLoggerDefinitionCommand.js +3 -3
  181. package/dist/cjs/commands/UpdateLoggerDefinitionCommand.js.map +1 -1
  182. package/dist/cjs/commands/UpdateResourceDefinitionCommand.js +3 -3
  183. package/dist/cjs/commands/UpdateResourceDefinitionCommand.js.map +1 -1
  184. package/dist/cjs/commands/UpdateSubscriptionDefinitionCommand.js +3 -3
  185. package/dist/cjs/commands/UpdateSubscriptionDefinitionCommand.js.map +1 -1
  186. package/dist/cjs/commands/UpdateThingRuntimeConfigurationCommand.js +3 -3
  187. package/dist/cjs/commands/UpdateThingRuntimeConfigurationCommand.js.map +1 -1
  188. package/dist/cjs/endpoints.js +1 -1
  189. package/dist/cjs/endpoints.js.map +1 -1
  190. package/dist/cjs/index.js +95 -95
  191. package/dist/cjs/index.js.map +1 -1
  192. package/dist/cjs/models/index.js +1 -1
  193. package/dist/cjs/models/index.js.map +1 -1
  194. package/dist/cjs/package.json +31 -31
  195. package/dist/cjs/protocols/Aws_restJson1.js +495 -495
  196. package/dist/cjs/protocols/Aws_restJson1.js.map +1 -1
  197. package/dist/cjs/runtimeConfig.browser.js +4 -4
  198. package/dist/cjs/runtimeConfig.browser.js.map +1 -1
  199. package/dist/cjs/runtimeConfig.js +8 -8
  200. package/dist/cjs/runtimeConfig.js.map +1 -1
  201. package/dist/cjs/runtimeConfig.native.js +1 -1
  202. package/dist/cjs/runtimeConfig.native.js.map +1 -1
  203. package/dist/es/package.json +31 -31
  204. package/package.json +31 -31
  205. package/tsconfig.json +1 -2
@@ -17,7 +17,7 @@ const serializeAws_restJson1AssociateRoleToGroupCommand = async (input, context)
17
17
  if (labelValue.length <= 0) {
18
18
  throw new Error("Empty value provided for input HTTP label: GroupId.");
19
19
  }
20
- resolvedPath = resolvedPath.replace("{GroupId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
20
+ resolvedPath = resolvedPath.replace("{GroupId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
21
21
  }
22
22
  else {
23
23
  throw new Error("No value provided for input HTTP label: GroupId.");
@@ -98,7 +98,7 @@ const serializeAws_restJson1CreateConnectorDefinitionVersionCommand = async (inp
98
98
  if (labelValue.length <= 0) {
99
99
  throw new Error("Empty value provided for input HTTP label: ConnectorDefinitionId.");
100
100
  }
101
- resolvedPath = resolvedPath.replace("{ConnectorDefinitionId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
101
+ resolvedPath = resolvedPath.replace("{ConnectorDefinitionId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
102
102
  }
103
103
  else {
104
104
  throw new Error("No value provided for input HTTP label: ConnectorDefinitionId.");
@@ -159,7 +159,7 @@ const serializeAws_restJson1CreateCoreDefinitionVersionCommand = async (input, c
159
159
  if (labelValue.length <= 0) {
160
160
  throw new Error("Empty value provided for input HTTP label: CoreDefinitionId.");
161
161
  }
162
- resolvedPath = resolvedPath.replace("{CoreDefinitionId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
162
+ resolvedPath = resolvedPath.replace("{CoreDefinitionId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
163
163
  }
164
164
  else {
165
165
  throw new Error("No value provided for input HTTP label: CoreDefinitionId.");
@@ -192,7 +192,7 @@ const serializeAws_restJson1CreateDeploymentCommand = async (input, context) =>
192
192
  if (labelValue.length <= 0) {
193
193
  throw new Error("Empty value provided for input HTTP label: GroupId.");
194
194
  }
195
- resolvedPath = resolvedPath.replace("{GroupId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
195
+ resolvedPath = resolvedPath.replace("{GroupId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
196
196
  }
197
197
  else {
198
198
  throw new Error("No value provided for input HTTP label: GroupId.");
@@ -256,7 +256,7 @@ const serializeAws_restJson1CreateDeviceDefinitionVersionCommand = async (input,
256
256
  if (labelValue.length <= 0) {
257
257
  throw new Error("Empty value provided for input HTTP label: DeviceDefinitionId.");
258
258
  }
259
- resolvedPath = resolvedPath.replace("{DeviceDefinitionId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
259
+ resolvedPath = resolvedPath.replace("{DeviceDefinitionId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
260
260
  }
261
261
  else {
262
262
  throw new Error("No value provided for input HTTP label: DeviceDefinitionId.");
@@ -317,7 +317,7 @@ const serializeAws_restJson1CreateFunctionDefinitionVersionCommand = async (inpu
317
317
  if (labelValue.length <= 0) {
318
318
  throw new Error("Empty value provided for input HTTP label: FunctionDefinitionId.");
319
319
  }
320
- resolvedPath = resolvedPath.replace("{FunctionDefinitionId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
320
+ resolvedPath = resolvedPath.replace("{FunctionDefinitionId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
321
321
  }
322
322
  else {
323
323
  throw new Error("No value provided for input HTTP label: FunctionDefinitionId.");
@@ -381,7 +381,7 @@ const serializeAws_restJson1CreateGroupCertificateAuthorityCommand = async (inpu
381
381
  if (labelValue.length <= 0) {
382
382
  throw new Error("Empty value provided for input HTTP label: GroupId.");
383
383
  }
384
- resolvedPath = resolvedPath.replace("{GroupId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
384
+ resolvedPath = resolvedPath.replace("{GroupId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
385
385
  }
386
386
  else {
387
387
  throw new Error("No value provided for input HTTP label: GroupId.");
@@ -410,7 +410,7 @@ const serializeAws_restJson1CreateGroupVersionCommand = async (input, context) =
410
410
  if (labelValue.length <= 0) {
411
411
  throw new Error("Empty value provided for input HTTP label: GroupId.");
412
412
  }
413
- resolvedPath = resolvedPath.replace("{GroupId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
413
+ resolvedPath = resolvedPath.replace("{GroupId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
414
414
  }
415
415
  else {
416
416
  throw new Error("No value provided for input HTTP label: GroupId.");
@@ -491,7 +491,7 @@ const serializeAws_restJson1CreateLoggerDefinitionVersionCommand = async (input,
491
491
  if (labelValue.length <= 0) {
492
492
  throw new Error("Empty value provided for input HTTP label: LoggerDefinitionId.");
493
493
  }
494
- resolvedPath = resolvedPath.replace("{LoggerDefinitionId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
494
+ resolvedPath = resolvedPath.replace("{LoggerDefinitionId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
495
495
  }
496
496
  else {
497
497
  throw new Error("No value provided for input HTTP label: LoggerDefinitionId.");
@@ -552,7 +552,7 @@ const serializeAws_restJson1CreateResourceDefinitionVersionCommand = async (inpu
552
552
  if (labelValue.length <= 0) {
553
553
  throw new Error("Empty value provided for input HTTP label: ResourceDefinitionId.");
554
554
  }
555
- resolvedPath = resolvedPath.replace("{ResourceDefinitionId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
555
+ resolvedPath = resolvedPath.replace("{ResourceDefinitionId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
556
556
  }
557
557
  else {
558
558
  throw new Error("No value provided for input HTTP label: ResourceDefinitionId.");
@@ -650,7 +650,7 @@ const serializeAws_restJson1CreateSubscriptionDefinitionVersionCommand = async (
650
650
  if (labelValue.length <= 0) {
651
651
  throw new Error("Empty value provided for input HTTP label: SubscriptionDefinitionId.");
652
652
  }
653
- resolvedPath = resolvedPath.replace("{SubscriptionDefinitionId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
653
+ resolvedPath = resolvedPath.replace("{SubscriptionDefinitionId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
654
654
  }
655
655
  else {
656
656
  throw new Error("No value provided for input HTTP label: SubscriptionDefinitionId.");
@@ -683,7 +683,7 @@ const serializeAws_restJson1DeleteConnectorDefinitionCommand = async (input, con
683
683
  if (labelValue.length <= 0) {
684
684
  throw new Error("Empty value provided for input HTTP label: ConnectorDefinitionId.");
685
685
  }
686
- resolvedPath = resolvedPath.replace("{ConnectorDefinitionId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
686
+ resolvedPath = resolvedPath.replace("{ConnectorDefinitionId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
687
687
  }
688
688
  else {
689
689
  throw new Error("No value provided for input HTTP label: ConnectorDefinitionId.");
@@ -710,7 +710,7 @@ const serializeAws_restJson1DeleteCoreDefinitionCommand = async (input, context)
710
710
  if (labelValue.length <= 0) {
711
711
  throw new Error("Empty value provided for input HTTP label: CoreDefinitionId.");
712
712
  }
713
- resolvedPath = resolvedPath.replace("{CoreDefinitionId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
713
+ resolvedPath = resolvedPath.replace("{CoreDefinitionId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
714
714
  }
715
715
  else {
716
716
  throw new Error("No value provided for input HTTP label: CoreDefinitionId.");
@@ -737,7 +737,7 @@ const serializeAws_restJson1DeleteDeviceDefinitionCommand = async (input, contex
737
737
  if (labelValue.length <= 0) {
738
738
  throw new Error("Empty value provided for input HTTP label: DeviceDefinitionId.");
739
739
  }
740
- resolvedPath = resolvedPath.replace("{DeviceDefinitionId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
740
+ resolvedPath = resolvedPath.replace("{DeviceDefinitionId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
741
741
  }
742
742
  else {
743
743
  throw new Error("No value provided for input HTTP label: DeviceDefinitionId.");
@@ -764,7 +764,7 @@ const serializeAws_restJson1DeleteFunctionDefinitionCommand = async (input, cont
764
764
  if (labelValue.length <= 0) {
765
765
  throw new Error("Empty value provided for input HTTP label: FunctionDefinitionId.");
766
766
  }
767
- resolvedPath = resolvedPath.replace("{FunctionDefinitionId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
767
+ resolvedPath = resolvedPath.replace("{FunctionDefinitionId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
768
768
  }
769
769
  else {
770
770
  throw new Error("No value provided for input HTTP label: FunctionDefinitionId.");
@@ -790,7 +790,7 @@ const serializeAws_restJson1DeleteGroupCommand = async (input, context) => {
790
790
  if (labelValue.length <= 0) {
791
791
  throw new Error("Empty value provided for input HTTP label: GroupId.");
792
792
  }
793
- resolvedPath = resolvedPath.replace("{GroupId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
793
+ resolvedPath = resolvedPath.replace("{GroupId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
794
794
  }
795
795
  else {
796
796
  throw new Error("No value provided for input HTTP label: GroupId.");
@@ -817,7 +817,7 @@ const serializeAws_restJson1DeleteLoggerDefinitionCommand = async (input, contex
817
817
  if (labelValue.length <= 0) {
818
818
  throw new Error("Empty value provided for input HTTP label: LoggerDefinitionId.");
819
819
  }
820
- resolvedPath = resolvedPath.replace("{LoggerDefinitionId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
820
+ resolvedPath = resolvedPath.replace("{LoggerDefinitionId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
821
821
  }
822
822
  else {
823
823
  throw new Error("No value provided for input HTTP label: LoggerDefinitionId.");
@@ -844,7 +844,7 @@ const serializeAws_restJson1DeleteResourceDefinitionCommand = async (input, cont
844
844
  if (labelValue.length <= 0) {
845
845
  throw new Error("Empty value provided for input HTTP label: ResourceDefinitionId.");
846
846
  }
847
- resolvedPath = resolvedPath.replace("{ResourceDefinitionId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
847
+ resolvedPath = resolvedPath.replace("{ResourceDefinitionId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
848
848
  }
849
849
  else {
850
850
  throw new Error("No value provided for input HTTP label: ResourceDefinitionId.");
@@ -871,7 +871,7 @@ const serializeAws_restJson1DeleteSubscriptionDefinitionCommand = async (input,
871
871
  if (labelValue.length <= 0) {
872
872
  throw new Error("Empty value provided for input HTTP label: SubscriptionDefinitionId.");
873
873
  }
874
- resolvedPath = resolvedPath.replace("{SubscriptionDefinitionId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
874
+ resolvedPath = resolvedPath.replace("{SubscriptionDefinitionId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
875
875
  }
876
876
  else {
877
877
  throw new Error("No value provided for input HTTP label: SubscriptionDefinitionId.");
@@ -897,7 +897,7 @@ const serializeAws_restJson1DisassociateRoleFromGroupCommand = async (input, con
897
897
  if (labelValue.length <= 0) {
898
898
  throw new Error("Empty value provided for input HTTP label: GroupId.");
899
899
  }
900
- resolvedPath = resolvedPath.replace("{GroupId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
900
+ resolvedPath = resolvedPath.replace("{GroupId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
901
901
  }
902
902
  else {
903
903
  throw new Error("No value provided for input HTTP label: GroupId.");
@@ -942,7 +942,7 @@ const serializeAws_restJson1GetAssociatedRoleCommand = async (input, context) =>
942
942
  if (labelValue.length <= 0) {
943
943
  throw new Error("Empty value provided for input HTTP label: GroupId.");
944
944
  }
945
- resolvedPath = resolvedPath.replace("{GroupId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
945
+ resolvedPath = resolvedPath.replace("{GroupId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
946
946
  }
947
947
  else {
948
948
  throw new Error("No value provided for input HTTP label: GroupId.");
@@ -969,7 +969,7 @@ const serializeAws_restJson1GetBulkDeploymentStatusCommand = async (input, conte
969
969
  if (labelValue.length <= 0) {
970
970
  throw new Error("Empty value provided for input HTTP label: BulkDeploymentId.");
971
971
  }
972
- resolvedPath = resolvedPath.replace("{BulkDeploymentId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
972
+ resolvedPath = resolvedPath.replace("{BulkDeploymentId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
973
973
  }
974
974
  else {
975
975
  throw new Error("No value provided for input HTTP label: BulkDeploymentId.");
@@ -996,7 +996,7 @@ const serializeAws_restJson1GetConnectivityInfoCommand = async (input, context)
996
996
  if (labelValue.length <= 0) {
997
997
  throw new Error("Empty value provided for input HTTP label: ThingName.");
998
998
  }
999
- resolvedPath = resolvedPath.replace("{ThingName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
999
+ resolvedPath = resolvedPath.replace("{ThingName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
1000
1000
  }
1001
1001
  else {
1002
1002
  throw new Error("No value provided for input HTTP label: ThingName.");
@@ -1023,7 +1023,7 @@ const serializeAws_restJson1GetConnectorDefinitionCommand = async (input, contex
1023
1023
  if (labelValue.length <= 0) {
1024
1024
  throw new Error("Empty value provided for input HTTP label: ConnectorDefinitionId.");
1025
1025
  }
1026
- resolvedPath = resolvedPath.replace("{ConnectorDefinitionId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
1026
+ resolvedPath = resolvedPath.replace("{ConnectorDefinitionId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
1027
1027
  }
1028
1028
  else {
1029
1029
  throw new Error("No value provided for input HTTP label: ConnectorDefinitionId.");
@@ -1050,7 +1050,7 @@ const serializeAws_restJson1GetConnectorDefinitionVersionCommand = async (input,
1050
1050
  if (labelValue.length <= 0) {
1051
1051
  throw new Error("Empty value provided for input HTTP label: ConnectorDefinitionId.");
1052
1052
  }
1053
- resolvedPath = resolvedPath.replace("{ConnectorDefinitionId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
1053
+ resolvedPath = resolvedPath.replace("{ConnectorDefinitionId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
1054
1054
  }
1055
1055
  else {
1056
1056
  throw new Error("No value provided for input HTTP label: ConnectorDefinitionId.");
@@ -1060,7 +1060,7 @@ const serializeAws_restJson1GetConnectorDefinitionVersionCommand = async (input,
1060
1060
  if (labelValue.length <= 0) {
1061
1061
  throw new Error("Empty value provided for input HTTP label: ConnectorDefinitionVersionId.");
1062
1062
  }
1063
- resolvedPath = resolvedPath.replace("{ConnectorDefinitionVersionId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
1063
+ resolvedPath = resolvedPath.replace("{ConnectorDefinitionVersionId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
1064
1064
  }
1065
1065
  else {
1066
1066
  throw new Error("No value provided for input HTTP label: ConnectorDefinitionVersionId.");
@@ -1091,7 +1091,7 @@ const serializeAws_restJson1GetCoreDefinitionCommand = async (input, context) =>
1091
1091
  if (labelValue.length <= 0) {
1092
1092
  throw new Error("Empty value provided for input HTTP label: CoreDefinitionId.");
1093
1093
  }
1094
- resolvedPath = resolvedPath.replace("{CoreDefinitionId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
1094
+ resolvedPath = resolvedPath.replace("{CoreDefinitionId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
1095
1095
  }
1096
1096
  else {
1097
1097
  throw new Error("No value provided for input HTTP label: CoreDefinitionId.");
@@ -1118,7 +1118,7 @@ const serializeAws_restJson1GetCoreDefinitionVersionCommand = async (input, cont
1118
1118
  if (labelValue.length <= 0) {
1119
1119
  throw new Error("Empty value provided for input HTTP label: CoreDefinitionId.");
1120
1120
  }
1121
- resolvedPath = resolvedPath.replace("{CoreDefinitionId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
1121
+ resolvedPath = resolvedPath.replace("{CoreDefinitionId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
1122
1122
  }
1123
1123
  else {
1124
1124
  throw new Error("No value provided for input HTTP label: CoreDefinitionId.");
@@ -1128,7 +1128,7 @@ const serializeAws_restJson1GetCoreDefinitionVersionCommand = async (input, cont
1128
1128
  if (labelValue.length <= 0) {
1129
1129
  throw new Error("Empty value provided for input HTTP label: CoreDefinitionVersionId.");
1130
1130
  }
1131
- resolvedPath = resolvedPath.replace("{CoreDefinitionVersionId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
1131
+ resolvedPath = resolvedPath.replace("{CoreDefinitionVersionId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
1132
1132
  }
1133
1133
  else {
1134
1134
  throw new Error("No value provided for input HTTP label: CoreDefinitionVersionId.");
@@ -1155,7 +1155,7 @@ const serializeAws_restJson1GetDeploymentStatusCommand = async (input, context)
1155
1155
  if (labelValue.length <= 0) {
1156
1156
  throw new Error("Empty value provided for input HTTP label: DeploymentId.");
1157
1157
  }
1158
- resolvedPath = resolvedPath.replace("{DeploymentId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
1158
+ resolvedPath = resolvedPath.replace("{DeploymentId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
1159
1159
  }
1160
1160
  else {
1161
1161
  throw new Error("No value provided for input HTTP label: DeploymentId.");
@@ -1165,7 +1165,7 @@ const serializeAws_restJson1GetDeploymentStatusCommand = async (input, context)
1165
1165
  if (labelValue.length <= 0) {
1166
1166
  throw new Error("Empty value provided for input HTTP label: GroupId.");
1167
1167
  }
1168
- resolvedPath = resolvedPath.replace("{GroupId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
1168
+ resolvedPath = resolvedPath.replace("{GroupId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
1169
1169
  }
1170
1170
  else {
1171
1171
  throw new Error("No value provided for input HTTP label: GroupId.");
@@ -1192,7 +1192,7 @@ const serializeAws_restJson1GetDeviceDefinitionCommand = async (input, context)
1192
1192
  if (labelValue.length <= 0) {
1193
1193
  throw new Error("Empty value provided for input HTTP label: DeviceDefinitionId.");
1194
1194
  }
1195
- resolvedPath = resolvedPath.replace("{DeviceDefinitionId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
1195
+ resolvedPath = resolvedPath.replace("{DeviceDefinitionId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
1196
1196
  }
1197
1197
  else {
1198
1198
  throw new Error("No value provided for input HTTP label: DeviceDefinitionId.");
@@ -1219,7 +1219,7 @@ const serializeAws_restJson1GetDeviceDefinitionVersionCommand = async (input, co
1219
1219
  if (labelValue.length <= 0) {
1220
1220
  throw new Error("Empty value provided for input HTTP label: DeviceDefinitionId.");
1221
1221
  }
1222
- resolvedPath = resolvedPath.replace("{DeviceDefinitionId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
1222
+ resolvedPath = resolvedPath.replace("{DeviceDefinitionId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
1223
1223
  }
1224
1224
  else {
1225
1225
  throw new Error("No value provided for input HTTP label: DeviceDefinitionId.");
@@ -1229,7 +1229,7 @@ const serializeAws_restJson1GetDeviceDefinitionVersionCommand = async (input, co
1229
1229
  if (labelValue.length <= 0) {
1230
1230
  throw new Error("Empty value provided for input HTTP label: DeviceDefinitionVersionId.");
1231
1231
  }
1232
- resolvedPath = resolvedPath.replace("{DeviceDefinitionVersionId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
1232
+ resolvedPath = resolvedPath.replace("{DeviceDefinitionVersionId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
1233
1233
  }
1234
1234
  else {
1235
1235
  throw new Error("No value provided for input HTTP label: DeviceDefinitionVersionId.");
@@ -1260,7 +1260,7 @@ const serializeAws_restJson1GetFunctionDefinitionCommand = async (input, context
1260
1260
  if (labelValue.length <= 0) {
1261
1261
  throw new Error("Empty value provided for input HTTP label: FunctionDefinitionId.");
1262
1262
  }
1263
- resolvedPath = resolvedPath.replace("{FunctionDefinitionId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
1263
+ resolvedPath = resolvedPath.replace("{FunctionDefinitionId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
1264
1264
  }
1265
1265
  else {
1266
1266
  throw new Error("No value provided for input HTTP label: FunctionDefinitionId.");
@@ -1287,7 +1287,7 @@ const serializeAws_restJson1GetFunctionDefinitionVersionCommand = async (input,
1287
1287
  if (labelValue.length <= 0) {
1288
1288
  throw new Error("Empty value provided for input HTTP label: FunctionDefinitionId.");
1289
1289
  }
1290
- resolvedPath = resolvedPath.replace("{FunctionDefinitionId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
1290
+ resolvedPath = resolvedPath.replace("{FunctionDefinitionId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
1291
1291
  }
1292
1292
  else {
1293
1293
  throw new Error("No value provided for input HTTP label: FunctionDefinitionId.");
@@ -1297,7 +1297,7 @@ const serializeAws_restJson1GetFunctionDefinitionVersionCommand = async (input,
1297
1297
  if (labelValue.length <= 0) {
1298
1298
  throw new Error("Empty value provided for input HTTP label: FunctionDefinitionVersionId.");
1299
1299
  }
1300
- resolvedPath = resolvedPath.replace("{FunctionDefinitionVersionId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
1300
+ resolvedPath = resolvedPath.replace("{FunctionDefinitionVersionId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
1301
1301
  }
1302
1302
  else {
1303
1303
  throw new Error("No value provided for input HTTP label: FunctionDefinitionVersionId.");
@@ -1327,7 +1327,7 @@ const serializeAws_restJson1GetGroupCommand = async (input, context) => {
1327
1327
  if (labelValue.length <= 0) {
1328
1328
  throw new Error("Empty value provided for input HTTP label: GroupId.");
1329
1329
  }
1330
- resolvedPath = resolvedPath.replace("{GroupId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
1330
+ resolvedPath = resolvedPath.replace("{GroupId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
1331
1331
  }
1332
1332
  else {
1333
1333
  throw new Error("No value provided for input HTTP label: GroupId.");
@@ -1354,7 +1354,7 @@ const serializeAws_restJson1GetGroupCertificateAuthorityCommand = async (input,
1354
1354
  if (labelValue.length <= 0) {
1355
1355
  throw new Error("Empty value provided for input HTTP label: CertificateAuthorityId.");
1356
1356
  }
1357
- resolvedPath = resolvedPath.replace("{CertificateAuthorityId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
1357
+ resolvedPath = resolvedPath.replace("{CertificateAuthorityId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
1358
1358
  }
1359
1359
  else {
1360
1360
  throw new Error("No value provided for input HTTP label: CertificateAuthorityId.");
@@ -1364,7 +1364,7 @@ const serializeAws_restJson1GetGroupCertificateAuthorityCommand = async (input,
1364
1364
  if (labelValue.length <= 0) {
1365
1365
  throw new Error("Empty value provided for input HTTP label: GroupId.");
1366
1366
  }
1367
- resolvedPath = resolvedPath.replace("{GroupId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
1367
+ resolvedPath = resolvedPath.replace("{GroupId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
1368
1368
  }
1369
1369
  else {
1370
1370
  throw new Error("No value provided for input HTTP label: GroupId.");
@@ -1391,7 +1391,7 @@ const serializeAws_restJson1GetGroupCertificateConfigurationCommand = async (inp
1391
1391
  if (labelValue.length <= 0) {
1392
1392
  throw new Error("Empty value provided for input HTTP label: GroupId.");
1393
1393
  }
1394
- resolvedPath = resolvedPath.replace("{GroupId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
1394
+ resolvedPath = resolvedPath.replace("{GroupId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
1395
1395
  }
1396
1396
  else {
1397
1397
  throw new Error("No value provided for input HTTP label: GroupId.");
@@ -1418,7 +1418,7 @@ const serializeAws_restJson1GetGroupVersionCommand = async (input, context) => {
1418
1418
  if (labelValue.length <= 0) {
1419
1419
  throw new Error("Empty value provided for input HTTP label: GroupId.");
1420
1420
  }
1421
- resolvedPath = resolvedPath.replace("{GroupId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
1421
+ resolvedPath = resolvedPath.replace("{GroupId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
1422
1422
  }
1423
1423
  else {
1424
1424
  throw new Error("No value provided for input HTTP label: GroupId.");
@@ -1428,7 +1428,7 @@ const serializeAws_restJson1GetGroupVersionCommand = async (input, context) => {
1428
1428
  if (labelValue.length <= 0) {
1429
1429
  throw new Error("Empty value provided for input HTTP label: GroupVersionId.");
1430
1430
  }
1431
- resolvedPath = resolvedPath.replace("{GroupVersionId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
1431
+ resolvedPath = resolvedPath.replace("{GroupVersionId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
1432
1432
  }
1433
1433
  else {
1434
1434
  throw new Error("No value provided for input HTTP label: GroupVersionId.");
@@ -1455,7 +1455,7 @@ const serializeAws_restJson1GetLoggerDefinitionCommand = async (input, context)
1455
1455
  if (labelValue.length <= 0) {
1456
1456
  throw new Error("Empty value provided for input HTTP label: LoggerDefinitionId.");
1457
1457
  }
1458
- resolvedPath = resolvedPath.replace("{LoggerDefinitionId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
1458
+ resolvedPath = resolvedPath.replace("{LoggerDefinitionId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
1459
1459
  }
1460
1460
  else {
1461
1461
  throw new Error("No value provided for input HTTP label: LoggerDefinitionId.");
@@ -1482,7 +1482,7 @@ const serializeAws_restJson1GetLoggerDefinitionVersionCommand = async (input, co
1482
1482
  if (labelValue.length <= 0) {
1483
1483
  throw new Error("Empty value provided for input HTTP label: LoggerDefinitionId.");
1484
1484
  }
1485
- resolvedPath = resolvedPath.replace("{LoggerDefinitionId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
1485
+ resolvedPath = resolvedPath.replace("{LoggerDefinitionId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
1486
1486
  }
1487
1487
  else {
1488
1488
  throw new Error("No value provided for input HTTP label: LoggerDefinitionId.");
@@ -1492,7 +1492,7 @@ const serializeAws_restJson1GetLoggerDefinitionVersionCommand = async (input, co
1492
1492
  if (labelValue.length <= 0) {
1493
1493
  throw new Error("Empty value provided for input HTTP label: LoggerDefinitionVersionId.");
1494
1494
  }
1495
- resolvedPath = resolvedPath.replace("{LoggerDefinitionVersionId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
1495
+ resolvedPath = resolvedPath.replace("{LoggerDefinitionVersionId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
1496
1496
  }
1497
1497
  else {
1498
1498
  throw new Error("No value provided for input HTTP label: LoggerDefinitionVersionId.");
@@ -1523,7 +1523,7 @@ const serializeAws_restJson1GetResourceDefinitionCommand = async (input, context
1523
1523
  if (labelValue.length <= 0) {
1524
1524
  throw new Error("Empty value provided for input HTTP label: ResourceDefinitionId.");
1525
1525
  }
1526
- resolvedPath = resolvedPath.replace("{ResourceDefinitionId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
1526
+ resolvedPath = resolvedPath.replace("{ResourceDefinitionId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
1527
1527
  }
1528
1528
  else {
1529
1529
  throw new Error("No value provided for input HTTP label: ResourceDefinitionId.");
@@ -1550,7 +1550,7 @@ const serializeAws_restJson1GetResourceDefinitionVersionCommand = async (input,
1550
1550
  if (labelValue.length <= 0) {
1551
1551
  throw new Error("Empty value provided for input HTTP label: ResourceDefinitionId.");
1552
1552
  }
1553
- resolvedPath = resolvedPath.replace("{ResourceDefinitionId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
1553
+ resolvedPath = resolvedPath.replace("{ResourceDefinitionId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
1554
1554
  }
1555
1555
  else {
1556
1556
  throw new Error("No value provided for input HTTP label: ResourceDefinitionId.");
@@ -1560,7 +1560,7 @@ const serializeAws_restJson1GetResourceDefinitionVersionCommand = async (input,
1560
1560
  if (labelValue.length <= 0) {
1561
1561
  throw new Error("Empty value provided for input HTTP label: ResourceDefinitionVersionId.");
1562
1562
  }
1563
- resolvedPath = resolvedPath.replace("{ResourceDefinitionVersionId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
1563
+ resolvedPath = resolvedPath.replace("{ResourceDefinitionVersionId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
1564
1564
  }
1565
1565
  else {
1566
1566
  throw new Error("No value provided for input HTTP label: ResourceDefinitionVersionId.");
@@ -1606,7 +1606,7 @@ const serializeAws_restJson1GetSubscriptionDefinitionCommand = async (input, con
1606
1606
  if (labelValue.length <= 0) {
1607
1607
  throw new Error("Empty value provided for input HTTP label: SubscriptionDefinitionId.");
1608
1608
  }
1609
- resolvedPath = resolvedPath.replace("{SubscriptionDefinitionId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
1609
+ resolvedPath = resolvedPath.replace("{SubscriptionDefinitionId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
1610
1610
  }
1611
1611
  else {
1612
1612
  throw new Error("No value provided for input HTTP label: SubscriptionDefinitionId.");
@@ -1633,7 +1633,7 @@ const serializeAws_restJson1GetSubscriptionDefinitionVersionCommand = async (inp
1633
1633
  if (labelValue.length <= 0) {
1634
1634
  throw new Error("Empty value provided for input HTTP label: SubscriptionDefinitionId.");
1635
1635
  }
1636
- resolvedPath = resolvedPath.replace("{SubscriptionDefinitionId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
1636
+ resolvedPath = resolvedPath.replace("{SubscriptionDefinitionId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
1637
1637
  }
1638
1638
  else {
1639
1639
  throw new Error("No value provided for input HTTP label: SubscriptionDefinitionId.");
@@ -1643,7 +1643,7 @@ const serializeAws_restJson1GetSubscriptionDefinitionVersionCommand = async (inp
1643
1643
  if (labelValue.length <= 0) {
1644
1644
  throw new Error("Empty value provided for input HTTP label: SubscriptionDefinitionVersionId.");
1645
1645
  }
1646
- resolvedPath = resolvedPath.replace("{SubscriptionDefinitionVersionId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
1646
+ resolvedPath = resolvedPath.replace("{SubscriptionDefinitionVersionId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
1647
1647
  }
1648
1648
  else {
1649
1649
  throw new Error("No value provided for input HTTP label: SubscriptionDefinitionVersionId.");
@@ -1674,7 +1674,7 @@ const serializeAws_restJson1GetThingRuntimeConfigurationCommand = async (input,
1674
1674
  if (labelValue.length <= 0) {
1675
1675
  throw new Error("Empty value provided for input HTTP label: ThingName.");
1676
1676
  }
1677
- resolvedPath = resolvedPath.replace("{ThingName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
1677
+ resolvedPath = resolvedPath.replace("{ThingName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
1678
1678
  }
1679
1679
  else {
1680
1680
  throw new Error("No value provided for input HTTP label: ThingName.");
@@ -1701,7 +1701,7 @@ const serializeAws_restJson1ListBulkDeploymentDetailedReportsCommand = async (in
1701
1701
  if (labelValue.length <= 0) {
1702
1702
  throw new Error("Empty value provided for input HTTP label: BulkDeploymentId.");
1703
1703
  }
1704
- resolvedPath = resolvedPath.replace("{BulkDeploymentId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
1704
+ resolvedPath = resolvedPath.replace("{BulkDeploymentId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
1705
1705
  }
1706
1706
  else {
1707
1707
  throw new Error("No value provided for input HTTP label: BulkDeploymentId.");
@@ -1775,7 +1775,7 @@ const serializeAws_restJson1ListConnectorDefinitionVersionsCommand = async (inpu
1775
1775
  if (labelValue.length <= 0) {
1776
1776
  throw new Error("Empty value provided for input HTTP label: ConnectorDefinitionId.");
1777
1777
  }
1778
- resolvedPath = resolvedPath.replace("{ConnectorDefinitionId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
1778
+ resolvedPath = resolvedPath.replace("{ConnectorDefinitionId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
1779
1779
  }
1780
1780
  else {
1781
1781
  throw new Error("No value provided for input HTTP label: ConnectorDefinitionId.");
@@ -1828,7 +1828,7 @@ const serializeAws_restJson1ListCoreDefinitionVersionsCommand = async (input, co
1828
1828
  if (labelValue.length <= 0) {
1829
1829
  throw new Error("Empty value provided for input HTTP label: CoreDefinitionId.");
1830
1830
  }
1831
- resolvedPath = resolvedPath.replace("{CoreDefinitionId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
1831
+ resolvedPath = resolvedPath.replace("{CoreDefinitionId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
1832
1832
  }
1833
1833
  else {
1834
1834
  throw new Error("No value provided for input HTTP label: CoreDefinitionId.");
@@ -1859,7 +1859,7 @@ const serializeAws_restJson1ListDeploymentsCommand = async (input, context) => {
1859
1859
  if (labelValue.length <= 0) {
1860
1860
  throw new Error("Empty value provided for input HTTP label: GroupId.");
1861
1861
  }
1862
- resolvedPath = resolvedPath.replace("{GroupId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
1862
+ resolvedPath = resolvedPath.replace("{GroupId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
1863
1863
  }
1864
1864
  else {
1865
1865
  throw new Error("No value provided for input HTTP label: GroupId.");
@@ -1912,7 +1912,7 @@ const serializeAws_restJson1ListDeviceDefinitionVersionsCommand = async (input,
1912
1912
  if (labelValue.length <= 0) {
1913
1913
  throw new Error("Empty value provided for input HTTP label: DeviceDefinitionId.");
1914
1914
  }
1915
- resolvedPath = resolvedPath.replace("{DeviceDefinitionId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
1915
+ resolvedPath = resolvedPath.replace("{DeviceDefinitionId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
1916
1916
  }
1917
1917
  else {
1918
1918
  throw new Error("No value provided for input HTTP label: DeviceDefinitionId.");
@@ -1965,7 +1965,7 @@ const serializeAws_restJson1ListFunctionDefinitionVersionsCommand = async (input
1965
1965
  if (labelValue.length <= 0) {
1966
1966
  throw new Error("Empty value provided for input HTTP label: FunctionDefinitionId.");
1967
1967
  }
1968
- resolvedPath = resolvedPath.replace("{FunctionDefinitionId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
1968
+ resolvedPath = resolvedPath.replace("{FunctionDefinitionId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
1969
1969
  }
1970
1970
  else {
1971
1971
  throw new Error("No value provided for input HTTP label: FunctionDefinitionId.");
@@ -1997,7 +1997,7 @@ const serializeAws_restJson1ListGroupCertificateAuthoritiesCommand = async (inpu
1997
1997
  if (labelValue.length <= 0) {
1998
1998
  throw new Error("Empty value provided for input HTTP label: GroupId.");
1999
1999
  }
2000
- resolvedPath = resolvedPath.replace("{GroupId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
2000
+ resolvedPath = resolvedPath.replace("{GroupId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
2001
2001
  }
2002
2002
  else {
2003
2003
  throw new Error("No value provided for input HTTP label: GroupId.");
@@ -2044,7 +2044,7 @@ const serializeAws_restJson1ListGroupVersionsCommand = async (input, context) =>
2044
2044
  if (labelValue.length <= 0) {
2045
2045
  throw new Error("Empty value provided for input HTTP label: GroupId.");
2046
2046
  }
2047
- resolvedPath = resolvedPath.replace("{GroupId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
2047
+ resolvedPath = resolvedPath.replace("{GroupId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
2048
2048
  }
2049
2049
  else {
2050
2050
  throw new Error("No value provided for input HTTP label: GroupId.");
@@ -2097,7 +2097,7 @@ const serializeAws_restJson1ListLoggerDefinitionVersionsCommand = async (input,
2097
2097
  if (labelValue.length <= 0) {
2098
2098
  throw new Error("Empty value provided for input HTTP label: LoggerDefinitionId.");
2099
2099
  }
2100
- resolvedPath = resolvedPath.replace("{LoggerDefinitionId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
2100
+ resolvedPath = resolvedPath.replace("{LoggerDefinitionId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
2101
2101
  }
2102
2102
  else {
2103
2103
  throw new Error("No value provided for input HTTP label: LoggerDefinitionId.");
@@ -2150,7 +2150,7 @@ const serializeAws_restJson1ListResourceDefinitionVersionsCommand = async (input
2150
2150
  if (labelValue.length <= 0) {
2151
2151
  throw new Error("Empty value provided for input HTTP label: ResourceDefinitionId.");
2152
2152
  }
2153
- resolvedPath = resolvedPath.replace("{ResourceDefinitionId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
2153
+ resolvedPath = resolvedPath.replace("{ResourceDefinitionId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
2154
2154
  }
2155
2155
  else {
2156
2156
  throw new Error("No value provided for input HTTP label: ResourceDefinitionId.");
@@ -2203,7 +2203,7 @@ const serializeAws_restJson1ListSubscriptionDefinitionVersionsCommand = async (i
2203
2203
  if (labelValue.length <= 0) {
2204
2204
  throw new Error("Empty value provided for input HTTP label: SubscriptionDefinitionId.");
2205
2205
  }
2206
- resolvedPath = resolvedPath.replace("{SubscriptionDefinitionId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
2206
+ resolvedPath = resolvedPath.replace("{SubscriptionDefinitionId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
2207
2207
  }
2208
2208
  else {
2209
2209
  throw new Error("No value provided for input HTTP label: SubscriptionDefinitionId.");
@@ -2234,7 +2234,7 @@ const serializeAws_restJson1ListTagsForResourceCommand = async (input, context)
2234
2234
  if (labelValue.length <= 0) {
2235
2235
  throw new Error("Empty value provided for input HTTP label: ResourceArn.");
2236
2236
  }
2237
- resolvedPath = resolvedPath.replace("{ResourceArn}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
2237
+ resolvedPath = resolvedPath.replace("{ResourceArn}", smithy_client_1.extendedEncodeURIComponent(labelValue));
2238
2238
  }
2239
2239
  else {
2240
2240
  throw new Error("No value provided for input HTTP label: ResourceArn.");
@@ -2264,7 +2264,7 @@ const serializeAws_restJson1ResetDeploymentsCommand = async (input, context) =>
2264
2264
  if (labelValue.length <= 0) {
2265
2265
  throw new Error("Empty value provided for input HTTP label: GroupId.");
2266
2266
  }
2267
- resolvedPath = resolvedPath.replace("{GroupId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
2267
+ resolvedPath = resolvedPath.replace("{GroupId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
2268
2268
  }
2269
2269
  else {
2270
2270
  throw new Error("No value provided for input HTTP label: GroupId.");
@@ -2319,7 +2319,7 @@ const serializeAws_restJson1StopBulkDeploymentCommand = async (input, context) =
2319
2319
  if (labelValue.length <= 0) {
2320
2320
  throw new Error("Empty value provided for input HTTP label: BulkDeploymentId.");
2321
2321
  }
2322
- resolvedPath = resolvedPath.replace("{BulkDeploymentId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
2322
+ resolvedPath = resolvedPath.replace("{BulkDeploymentId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
2323
2323
  }
2324
2324
  else {
2325
2325
  throw new Error("No value provided for input HTTP label: BulkDeploymentId.");
@@ -2347,7 +2347,7 @@ const serializeAws_restJson1TagResourceCommand = async (input, context) => {
2347
2347
  if (labelValue.length <= 0) {
2348
2348
  throw new Error("Empty value provided for input HTTP label: ResourceArn.");
2349
2349
  }
2350
- resolvedPath = resolvedPath.replace("{ResourceArn}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
2350
+ resolvedPath = resolvedPath.replace("{ResourceArn}", smithy_client_1.extendedEncodeURIComponent(labelValue));
2351
2351
  }
2352
2352
  else {
2353
2353
  throw new Error("No value provided for input HTTP label: ResourceArn.");
@@ -2376,7 +2376,7 @@ const serializeAws_restJson1UntagResourceCommand = async (input, context) => {
2376
2376
  if (labelValue.length <= 0) {
2377
2377
  throw new Error("Empty value provided for input HTTP label: ResourceArn.");
2378
2378
  }
2379
- resolvedPath = resolvedPath.replace("{ResourceArn}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
2379
+ resolvedPath = resolvedPath.replace("{ResourceArn}", smithy_client_1.extendedEncodeURIComponent(labelValue));
2380
2380
  }
2381
2381
  else {
2382
2382
  throw new Error("No value provided for input HTTP label: ResourceArn.");
@@ -2409,7 +2409,7 @@ const serializeAws_restJson1UpdateConnectivityInfoCommand = async (input, contex
2409
2409
  if (labelValue.length <= 0) {
2410
2410
  throw new Error("Empty value provided for input HTTP label: ThingName.");
2411
2411
  }
2412
- resolvedPath = resolvedPath.replace("{ThingName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
2412
+ resolvedPath = resolvedPath.replace("{ThingName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
2413
2413
  }
2414
2414
  else {
2415
2415
  throw new Error("No value provided for input HTTP label: ThingName.");
@@ -2444,7 +2444,7 @@ const serializeAws_restJson1UpdateConnectorDefinitionCommand = async (input, con
2444
2444
  if (labelValue.length <= 0) {
2445
2445
  throw new Error("Empty value provided for input HTTP label: ConnectorDefinitionId.");
2446
2446
  }
2447
- resolvedPath = resolvedPath.replace("{ConnectorDefinitionId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
2447
+ resolvedPath = resolvedPath.replace("{ConnectorDefinitionId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
2448
2448
  }
2449
2449
  else {
2450
2450
  throw new Error("No value provided for input HTTP label: ConnectorDefinitionId.");
@@ -2476,7 +2476,7 @@ const serializeAws_restJson1UpdateCoreDefinitionCommand = async (input, context)
2476
2476
  if (labelValue.length <= 0) {
2477
2477
  throw new Error("Empty value provided for input HTTP label: CoreDefinitionId.");
2478
2478
  }
2479
- resolvedPath = resolvedPath.replace("{CoreDefinitionId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
2479
+ resolvedPath = resolvedPath.replace("{CoreDefinitionId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
2480
2480
  }
2481
2481
  else {
2482
2482
  throw new Error("No value provided for input HTTP label: CoreDefinitionId.");
@@ -2508,7 +2508,7 @@ const serializeAws_restJson1UpdateDeviceDefinitionCommand = async (input, contex
2508
2508
  if (labelValue.length <= 0) {
2509
2509
  throw new Error("Empty value provided for input HTTP label: DeviceDefinitionId.");
2510
2510
  }
2511
- resolvedPath = resolvedPath.replace("{DeviceDefinitionId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
2511
+ resolvedPath = resolvedPath.replace("{DeviceDefinitionId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
2512
2512
  }
2513
2513
  else {
2514
2514
  throw new Error("No value provided for input HTTP label: DeviceDefinitionId.");
@@ -2540,7 +2540,7 @@ const serializeAws_restJson1UpdateFunctionDefinitionCommand = async (input, cont
2540
2540
  if (labelValue.length <= 0) {
2541
2541
  throw new Error("Empty value provided for input HTTP label: FunctionDefinitionId.");
2542
2542
  }
2543
- resolvedPath = resolvedPath.replace("{FunctionDefinitionId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
2543
+ resolvedPath = resolvedPath.replace("{FunctionDefinitionId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
2544
2544
  }
2545
2545
  else {
2546
2546
  throw new Error("No value provided for input HTTP label: FunctionDefinitionId.");
@@ -2571,7 +2571,7 @@ const serializeAws_restJson1UpdateGroupCommand = async (input, context) => {
2571
2571
  if (labelValue.length <= 0) {
2572
2572
  throw new Error("Empty value provided for input HTTP label: GroupId.");
2573
2573
  }
2574
- resolvedPath = resolvedPath.replace("{GroupId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
2574
+ resolvedPath = resolvedPath.replace("{GroupId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
2575
2575
  }
2576
2576
  else {
2577
2577
  throw new Error("No value provided for input HTTP label: GroupId.");
@@ -2603,7 +2603,7 @@ const serializeAws_restJson1UpdateGroupCertificateConfigurationCommand = async (
2603
2603
  if (labelValue.length <= 0) {
2604
2604
  throw new Error("Empty value provided for input HTTP label: GroupId.");
2605
2605
  }
2606
- resolvedPath = resolvedPath.replace("{GroupId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
2606
+ resolvedPath = resolvedPath.replace("{GroupId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
2607
2607
  }
2608
2608
  else {
2609
2609
  throw new Error("No value provided for input HTTP label: GroupId.");
@@ -2638,7 +2638,7 @@ const serializeAws_restJson1UpdateLoggerDefinitionCommand = async (input, contex
2638
2638
  if (labelValue.length <= 0) {
2639
2639
  throw new Error("Empty value provided for input HTTP label: LoggerDefinitionId.");
2640
2640
  }
2641
- resolvedPath = resolvedPath.replace("{LoggerDefinitionId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
2641
+ resolvedPath = resolvedPath.replace("{LoggerDefinitionId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
2642
2642
  }
2643
2643
  else {
2644
2644
  throw new Error("No value provided for input HTTP label: LoggerDefinitionId.");
@@ -2670,7 +2670,7 @@ const serializeAws_restJson1UpdateResourceDefinitionCommand = async (input, cont
2670
2670
  if (labelValue.length <= 0) {
2671
2671
  throw new Error("Empty value provided for input HTTP label: ResourceDefinitionId.");
2672
2672
  }
2673
- resolvedPath = resolvedPath.replace("{ResourceDefinitionId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
2673
+ resolvedPath = resolvedPath.replace("{ResourceDefinitionId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
2674
2674
  }
2675
2675
  else {
2676
2676
  throw new Error("No value provided for input HTTP label: ResourceDefinitionId.");
@@ -2702,7 +2702,7 @@ const serializeAws_restJson1UpdateSubscriptionDefinitionCommand = async (input,
2702
2702
  if (labelValue.length <= 0) {
2703
2703
  throw new Error("Empty value provided for input HTTP label: SubscriptionDefinitionId.");
2704
2704
  }
2705
- resolvedPath = resolvedPath.replace("{SubscriptionDefinitionId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
2705
+ resolvedPath = resolvedPath.replace("{SubscriptionDefinitionId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
2706
2706
  }
2707
2707
  else {
2708
2708
  throw new Error("No value provided for input HTTP label: SubscriptionDefinitionId.");
@@ -2734,7 +2734,7 @@ const serializeAws_restJson1UpdateThingRuntimeConfigurationCommand = async (inpu
2734
2734
  if (labelValue.length <= 0) {
2735
2735
  throw new Error("Empty value provided for input HTTP label: ThingName.");
2736
2736
  }
2737
- resolvedPath = resolvedPath.replace("{ThingName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
2737
+ resolvedPath = resolvedPath.replace("{ThingName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
2738
2738
  }
2739
2739
  else {
2740
2740
  throw new Error("No value provided for input HTTP label: ThingName.");
@@ -2765,9 +2765,9 @@ const deserializeAws_restJson1AssociateRoleToGroupCommand = async (output, conte
2765
2765
  $metadata: deserializeMetadata(output),
2766
2766
  AssociatedAt: undefined,
2767
2767
  };
2768
- const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
2768
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
2769
2769
  if (data.AssociatedAt !== undefined && data.AssociatedAt !== null) {
2770
- contents.AssociatedAt = (0, smithy_client_1.expectString)(data.AssociatedAt);
2770
+ contents.AssociatedAt = smithy_client_1.expectString(data.AssociatedAt);
2771
2771
  }
2772
2772
  return Promise.resolve(contents);
2773
2773
  };
@@ -2821,9 +2821,9 @@ const deserializeAws_restJson1AssociateServiceRoleToAccountCommand = async (outp
2821
2821
  $metadata: deserializeMetadata(output),
2822
2822
  AssociatedAt: undefined,
2823
2823
  };
2824
- const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
2824
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
2825
2825
  if (data.AssociatedAt !== undefined && data.AssociatedAt !== null) {
2826
- contents.AssociatedAt = (0, smithy_client_1.expectString)(data.AssociatedAt);
2826
+ contents.AssociatedAt = smithy_client_1.expectString(data.AssociatedAt);
2827
2827
  }
2828
2828
  return Promise.resolve(contents);
2829
2829
  };
@@ -2883,27 +2883,27 @@ const deserializeAws_restJson1CreateConnectorDefinitionCommand = async (output,
2883
2883
  LatestVersionArn: undefined,
2884
2884
  Name: undefined,
2885
2885
  };
2886
- const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
2886
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
2887
2887
  if (data.Arn !== undefined && data.Arn !== null) {
2888
- contents.Arn = (0, smithy_client_1.expectString)(data.Arn);
2888
+ contents.Arn = smithy_client_1.expectString(data.Arn);
2889
2889
  }
2890
2890
  if (data.CreationTimestamp !== undefined && data.CreationTimestamp !== null) {
2891
- contents.CreationTimestamp = (0, smithy_client_1.expectString)(data.CreationTimestamp);
2891
+ contents.CreationTimestamp = smithy_client_1.expectString(data.CreationTimestamp);
2892
2892
  }
2893
2893
  if (data.Id !== undefined && data.Id !== null) {
2894
- contents.Id = (0, smithy_client_1.expectString)(data.Id);
2894
+ contents.Id = smithy_client_1.expectString(data.Id);
2895
2895
  }
2896
2896
  if (data.LastUpdatedTimestamp !== undefined && data.LastUpdatedTimestamp !== null) {
2897
- contents.LastUpdatedTimestamp = (0, smithy_client_1.expectString)(data.LastUpdatedTimestamp);
2897
+ contents.LastUpdatedTimestamp = smithy_client_1.expectString(data.LastUpdatedTimestamp);
2898
2898
  }
2899
2899
  if (data.LatestVersion !== undefined && data.LatestVersion !== null) {
2900
- contents.LatestVersion = (0, smithy_client_1.expectString)(data.LatestVersion);
2900
+ contents.LatestVersion = smithy_client_1.expectString(data.LatestVersion);
2901
2901
  }
2902
2902
  if (data.LatestVersionArn !== undefined && data.LatestVersionArn !== null) {
2903
- contents.LatestVersionArn = (0, smithy_client_1.expectString)(data.LatestVersionArn);
2903
+ contents.LatestVersionArn = smithy_client_1.expectString(data.LatestVersionArn);
2904
2904
  }
2905
2905
  if (data.Name !== undefined && data.Name !== null) {
2906
- contents.Name = (0, smithy_client_1.expectString)(data.Name);
2906
+ contents.Name = smithy_client_1.expectString(data.Name);
2907
2907
  }
2908
2908
  return Promise.resolve(contents);
2909
2909
  };
@@ -2952,18 +2952,18 @@ const deserializeAws_restJson1CreateConnectorDefinitionVersionCommand = async (o
2952
2952
  Id: undefined,
2953
2953
  Version: undefined,
2954
2954
  };
2955
- const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
2955
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
2956
2956
  if (data.Arn !== undefined && data.Arn !== null) {
2957
- contents.Arn = (0, smithy_client_1.expectString)(data.Arn);
2957
+ contents.Arn = smithy_client_1.expectString(data.Arn);
2958
2958
  }
2959
2959
  if (data.CreationTimestamp !== undefined && data.CreationTimestamp !== null) {
2960
- contents.CreationTimestamp = (0, smithy_client_1.expectString)(data.CreationTimestamp);
2960
+ contents.CreationTimestamp = smithy_client_1.expectString(data.CreationTimestamp);
2961
2961
  }
2962
2962
  if (data.Id !== undefined && data.Id !== null) {
2963
- contents.Id = (0, smithy_client_1.expectString)(data.Id);
2963
+ contents.Id = smithy_client_1.expectString(data.Id);
2964
2964
  }
2965
2965
  if (data.Version !== undefined && data.Version !== null) {
2966
- contents.Version = (0, smithy_client_1.expectString)(data.Version);
2966
+ contents.Version = smithy_client_1.expectString(data.Version);
2967
2967
  }
2968
2968
  return Promise.resolve(contents);
2969
2969
  };
@@ -3015,27 +3015,27 @@ const deserializeAws_restJson1CreateCoreDefinitionCommand = async (output, conte
3015
3015
  LatestVersionArn: undefined,
3016
3016
  Name: undefined,
3017
3017
  };
3018
- const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
3018
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
3019
3019
  if (data.Arn !== undefined && data.Arn !== null) {
3020
- contents.Arn = (0, smithy_client_1.expectString)(data.Arn);
3020
+ contents.Arn = smithy_client_1.expectString(data.Arn);
3021
3021
  }
3022
3022
  if (data.CreationTimestamp !== undefined && data.CreationTimestamp !== null) {
3023
- contents.CreationTimestamp = (0, smithy_client_1.expectString)(data.CreationTimestamp);
3023
+ contents.CreationTimestamp = smithy_client_1.expectString(data.CreationTimestamp);
3024
3024
  }
3025
3025
  if (data.Id !== undefined && data.Id !== null) {
3026
- contents.Id = (0, smithy_client_1.expectString)(data.Id);
3026
+ contents.Id = smithy_client_1.expectString(data.Id);
3027
3027
  }
3028
3028
  if (data.LastUpdatedTimestamp !== undefined && data.LastUpdatedTimestamp !== null) {
3029
- contents.LastUpdatedTimestamp = (0, smithy_client_1.expectString)(data.LastUpdatedTimestamp);
3029
+ contents.LastUpdatedTimestamp = smithy_client_1.expectString(data.LastUpdatedTimestamp);
3030
3030
  }
3031
3031
  if (data.LatestVersion !== undefined && data.LatestVersion !== null) {
3032
- contents.LatestVersion = (0, smithy_client_1.expectString)(data.LatestVersion);
3032
+ contents.LatestVersion = smithy_client_1.expectString(data.LatestVersion);
3033
3033
  }
3034
3034
  if (data.LatestVersionArn !== undefined && data.LatestVersionArn !== null) {
3035
- contents.LatestVersionArn = (0, smithy_client_1.expectString)(data.LatestVersionArn);
3035
+ contents.LatestVersionArn = smithy_client_1.expectString(data.LatestVersionArn);
3036
3036
  }
3037
3037
  if (data.Name !== undefined && data.Name !== null) {
3038
- contents.Name = (0, smithy_client_1.expectString)(data.Name);
3038
+ contents.Name = smithy_client_1.expectString(data.Name);
3039
3039
  }
3040
3040
  return Promise.resolve(contents);
3041
3041
  };
@@ -3084,18 +3084,18 @@ const deserializeAws_restJson1CreateCoreDefinitionVersionCommand = async (output
3084
3084
  Id: undefined,
3085
3085
  Version: undefined,
3086
3086
  };
3087
- const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
3087
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
3088
3088
  if (data.Arn !== undefined && data.Arn !== null) {
3089
- contents.Arn = (0, smithy_client_1.expectString)(data.Arn);
3089
+ contents.Arn = smithy_client_1.expectString(data.Arn);
3090
3090
  }
3091
3091
  if (data.CreationTimestamp !== undefined && data.CreationTimestamp !== null) {
3092
- contents.CreationTimestamp = (0, smithy_client_1.expectString)(data.CreationTimestamp);
3092
+ contents.CreationTimestamp = smithy_client_1.expectString(data.CreationTimestamp);
3093
3093
  }
3094
3094
  if (data.Id !== undefined && data.Id !== null) {
3095
- contents.Id = (0, smithy_client_1.expectString)(data.Id);
3095
+ contents.Id = smithy_client_1.expectString(data.Id);
3096
3096
  }
3097
3097
  if (data.Version !== undefined && data.Version !== null) {
3098
- contents.Version = (0, smithy_client_1.expectString)(data.Version);
3098
+ contents.Version = smithy_client_1.expectString(data.Version);
3099
3099
  }
3100
3100
  return Promise.resolve(contents);
3101
3101
  };
@@ -3142,12 +3142,12 @@ const deserializeAws_restJson1CreateDeploymentCommand = async (output, context)
3142
3142
  DeploymentArn: undefined,
3143
3143
  DeploymentId: undefined,
3144
3144
  };
3145
- const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
3145
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
3146
3146
  if (data.DeploymentArn !== undefined && data.DeploymentArn !== null) {
3147
- contents.DeploymentArn = (0, smithy_client_1.expectString)(data.DeploymentArn);
3147
+ contents.DeploymentArn = smithy_client_1.expectString(data.DeploymentArn);
3148
3148
  }
3149
3149
  if (data.DeploymentId !== undefined && data.DeploymentId !== null) {
3150
- contents.DeploymentId = (0, smithy_client_1.expectString)(data.DeploymentId);
3150
+ contents.DeploymentId = smithy_client_1.expectString(data.DeploymentId);
3151
3151
  }
3152
3152
  return Promise.resolve(contents);
3153
3153
  };
@@ -3199,27 +3199,27 @@ const deserializeAws_restJson1CreateDeviceDefinitionCommand = async (output, con
3199
3199
  LatestVersionArn: undefined,
3200
3200
  Name: undefined,
3201
3201
  };
3202
- const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
3202
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
3203
3203
  if (data.Arn !== undefined && data.Arn !== null) {
3204
- contents.Arn = (0, smithy_client_1.expectString)(data.Arn);
3204
+ contents.Arn = smithy_client_1.expectString(data.Arn);
3205
3205
  }
3206
3206
  if (data.CreationTimestamp !== undefined && data.CreationTimestamp !== null) {
3207
- contents.CreationTimestamp = (0, smithy_client_1.expectString)(data.CreationTimestamp);
3207
+ contents.CreationTimestamp = smithy_client_1.expectString(data.CreationTimestamp);
3208
3208
  }
3209
3209
  if (data.Id !== undefined && data.Id !== null) {
3210
- contents.Id = (0, smithy_client_1.expectString)(data.Id);
3210
+ contents.Id = smithy_client_1.expectString(data.Id);
3211
3211
  }
3212
3212
  if (data.LastUpdatedTimestamp !== undefined && data.LastUpdatedTimestamp !== null) {
3213
- contents.LastUpdatedTimestamp = (0, smithy_client_1.expectString)(data.LastUpdatedTimestamp);
3213
+ contents.LastUpdatedTimestamp = smithy_client_1.expectString(data.LastUpdatedTimestamp);
3214
3214
  }
3215
3215
  if (data.LatestVersion !== undefined && data.LatestVersion !== null) {
3216
- contents.LatestVersion = (0, smithy_client_1.expectString)(data.LatestVersion);
3216
+ contents.LatestVersion = smithy_client_1.expectString(data.LatestVersion);
3217
3217
  }
3218
3218
  if (data.LatestVersionArn !== undefined && data.LatestVersionArn !== null) {
3219
- contents.LatestVersionArn = (0, smithy_client_1.expectString)(data.LatestVersionArn);
3219
+ contents.LatestVersionArn = smithy_client_1.expectString(data.LatestVersionArn);
3220
3220
  }
3221
3221
  if (data.Name !== undefined && data.Name !== null) {
3222
- contents.Name = (0, smithy_client_1.expectString)(data.Name);
3222
+ contents.Name = smithy_client_1.expectString(data.Name);
3223
3223
  }
3224
3224
  return Promise.resolve(contents);
3225
3225
  };
@@ -3268,18 +3268,18 @@ const deserializeAws_restJson1CreateDeviceDefinitionVersionCommand = async (outp
3268
3268
  Id: undefined,
3269
3269
  Version: undefined,
3270
3270
  };
3271
- const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
3271
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
3272
3272
  if (data.Arn !== undefined && data.Arn !== null) {
3273
- contents.Arn = (0, smithy_client_1.expectString)(data.Arn);
3273
+ contents.Arn = smithy_client_1.expectString(data.Arn);
3274
3274
  }
3275
3275
  if (data.CreationTimestamp !== undefined && data.CreationTimestamp !== null) {
3276
- contents.CreationTimestamp = (0, smithy_client_1.expectString)(data.CreationTimestamp);
3276
+ contents.CreationTimestamp = smithy_client_1.expectString(data.CreationTimestamp);
3277
3277
  }
3278
3278
  if (data.Id !== undefined && data.Id !== null) {
3279
- contents.Id = (0, smithy_client_1.expectString)(data.Id);
3279
+ contents.Id = smithy_client_1.expectString(data.Id);
3280
3280
  }
3281
3281
  if (data.Version !== undefined && data.Version !== null) {
3282
- contents.Version = (0, smithy_client_1.expectString)(data.Version);
3282
+ contents.Version = smithy_client_1.expectString(data.Version);
3283
3283
  }
3284
3284
  return Promise.resolve(contents);
3285
3285
  };
@@ -3331,27 +3331,27 @@ const deserializeAws_restJson1CreateFunctionDefinitionCommand = async (output, c
3331
3331
  LatestVersionArn: undefined,
3332
3332
  Name: undefined,
3333
3333
  };
3334
- const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
3334
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
3335
3335
  if (data.Arn !== undefined && data.Arn !== null) {
3336
- contents.Arn = (0, smithy_client_1.expectString)(data.Arn);
3336
+ contents.Arn = smithy_client_1.expectString(data.Arn);
3337
3337
  }
3338
3338
  if (data.CreationTimestamp !== undefined && data.CreationTimestamp !== null) {
3339
- contents.CreationTimestamp = (0, smithy_client_1.expectString)(data.CreationTimestamp);
3339
+ contents.CreationTimestamp = smithy_client_1.expectString(data.CreationTimestamp);
3340
3340
  }
3341
3341
  if (data.Id !== undefined && data.Id !== null) {
3342
- contents.Id = (0, smithy_client_1.expectString)(data.Id);
3342
+ contents.Id = smithy_client_1.expectString(data.Id);
3343
3343
  }
3344
3344
  if (data.LastUpdatedTimestamp !== undefined && data.LastUpdatedTimestamp !== null) {
3345
- contents.LastUpdatedTimestamp = (0, smithy_client_1.expectString)(data.LastUpdatedTimestamp);
3345
+ contents.LastUpdatedTimestamp = smithy_client_1.expectString(data.LastUpdatedTimestamp);
3346
3346
  }
3347
3347
  if (data.LatestVersion !== undefined && data.LatestVersion !== null) {
3348
- contents.LatestVersion = (0, smithy_client_1.expectString)(data.LatestVersion);
3348
+ contents.LatestVersion = smithy_client_1.expectString(data.LatestVersion);
3349
3349
  }
3350
3350
  if (data.LatestVersionArn !== undefined && data.LatestVersionArn !== null) {
3351
- contents.LatestVersionArn = (0, smithy_client_1.expectString)(data.LatestVersionArn);
3351
+ contents.LatestVersionArn = smithy_client_1.expectString(data.LatestVersionArn);
3352
3352
  }
3353
3353
  if (data.Name !== undefined && data.Name !== null) {
3354
- contents.Name = (0, smithy_client_1.expectString)(data.Name);
3354
+ contents.Name = smithy_client_1.expectString(data.Name);
3355
3355
  }
3356
3356
  return Promise.resolve(contents);
3357
3357
  };
@@ -3400,18 +3400,18 @@ const deserializeAws_restJson1CreateFunctionDefinitionVersionCommand = async (ou
3400
3400
  Id: undefined,
3401
3401
  Version: undefined,
3402
3402
  };
3403
- const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
3403
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
3404
3404
  if (data.Arn !== undefined && data.Arn !== null) {
3405
- contents.Arn = (0, smithy_client_1.expectString)(data.Arn);
3405
+ contents.Arn = smithy_client_1.expectString(data.Arn);
3406
3406
  }
3407
3407
  if (data.CreationTimestamp !== undefined && data.CreationTimestamp !== null) {
3408
- contents.CreationTimestamp = (0, smithy_client_1.expectString)(data.CreationTimestamp);
3408
+ contents.CreationTimestamp = smithy_client_1.expectString(data.CreationTimestamp);
3409
3409
  }
3410
3410
  if (data.Id !== undefined && data.Id !== null) {
3411
- contents.Id = (0, smithy_client_1.expectString)(data.Id);
3411
+ contents.Id = smithy_client_1.expectString(data.Id);
3412
3412
  }
3413
3413
  if (data.Version !== undefined && data.Version !== null) {
3414
- contents.Version = (0, smithy_client_1.expectString)(data.Version);
3414
+ contents.Version = smithy_client_1.expectString(data.Version);
3415
3415
  }
3416
3416
  return Promise.resolve(contents);
3417
3417
  };
@@ -3463,27 +3463,27 @@ const deserializeAws_restJson1CreateGroupCommand = async (output, context) => {
3463
3463
  LatestVersionArn: undefined,
3464
3464
  Name: undefined,
3465
3465
  };
3466
- const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
3466
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
3467
3467
  if (data.Arn !== undefined && data.Arn !== null) {
3468
- contents.Arn = (0, smithy_client_1.expectString)(data.Arn);
3468
+ contents.Arn = smithy_client_1.expectString(data.Arn);
3469
3469
  }
3470
3470
  if (data.CreationTimestamp !== undefined && data.CreationTimestamp !== null) {
3471
- contents.CreationTimestamp = (0, smithy_client_1.expectString)(data.CreationTimestamp);
3471
+ contents.CreationTimestamp = smithy_client_1.expectString(data.CreationTimestamp);
3472
3472
  }
3473
3473
  if (data.Id !== undefined && data.Id !== null) {
3474
- contents.Id = (0, smithy_client_1.expectString)(data.Id);
3474
+ contents.Id = smithy_client_1.expectString(data.Id);
3475
3475
  }
3476
3476
  if (data.LastUpdatedTimestamp !== undefined && data.LastUpdatedTimestamp !== null) {
3477
- contents.LastUpdatedTimestamp = (0, smithy_client_1.expectString)(data.LastUpdatedTimestamp);
3477
+ contents.LastUpdatedTimestamp = smithy_client_1.expectString(data.LastUpdatedTimestamp);
3478
3478
  }
3479
3479
  if (data.LatestVersion !== undefined && data.LatestVersion !== null) {
3480
- contents.LatestVersion = (0, smithy_client_1.expectString)(data.LatestVersion);
3480
+ contents.LatestVersion = smithy_client_1.expectString(data.LatestVersion);
3481
3481
  }
3482
3482
  if (data.LatestVersionArn !== undefined && data.LatestVersionArn !== null) {
3483
- contents.LatestVersionArn = (0, smithy_client_1.expectString)(data.LatestVersionArn);
3483
+ contents.LatestVersionArn = smithy_client_1.expectString(data.LatestVersionArn);
3484
3484
  }
3485
3485
  if (data.Name !== undefined && data.Name !== null) {
3486
- contents.Name = (0, smithy_client_1.expectString)(data.Name);
3486
+ contents.Name = smithy_client_1.expectString(data.Name);
3487
3487
  }
3488
3488
  return Promise.resolve(contents);
3489
3489
  };
@@ -3529,9 +3529,9 @@ const deserializeAws_restJson1CreateGroupCertificateAuthorityCommand = async (ou
3529
3529
  $metadata: deserializeMetadata(output),
3530
3530
  GroupCertificateAuthorityArn: undefined,
3531
3531
  };
3532
- const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
3532
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
3533
3533
  if (data.GroupCertificateAuthorityArn !== undefined && data.GroupCertificateAuthorityArn !== null) {
3534
- contents.GroupCertificateAuthorityArn = (0, smithy_client_1.expectString)(data.GroupCertificateAuthorityArn);
3534
+ contents.GroupCertificateAuthorityArn = smithy_client_1.expectString(data.GroupCertificateAuthorityArn);
3535
3535
  }
3536
3536
  return Promise.resolve(contents);
3537
3537
  };
@@ -3588,18 +3588,18 @@ const deserializeAws_restJson1CreateGroupVersionCommand = async (output, context
3588
3588
  Id: undefined,
3589
3589
  Version: undefined,
3590
3590
  };
3591
- const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
3591
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
3592
3592
  if (data.Arn !== undefined && data.Arn !== null) {
3593
- contents.Arn = (0, smithy_client_1.expectString)(data.Arn);
3593
+ contents.Arn = smithy_client_1.expectString(data.Arn);
3594
3594
  }
3595
3595
  if (data.CreationTimestamp !== undefined && data.CreationTimestamp !== null) {
3596
- contents.CreationTimestamp = (0, smithy_client_1.expectString)(data.CreationTimestamp);
3596
+ contents.CreationTimestamp = smithy_client_1.expectString(data.CreationTimestamp);
3597
3597
  }
3598
3598
  if (data.Id !== undefined && data.Id !== null) {
3599
- contents.Id = (0, smithy_client_1.expectString)(data.Id);
3599
+ contents.Id = smithy_client_1.expectString(data.Id);
3600
3600
  }
3601
3601
  if (data.Version !== undefined && data.Version !== null) {
3602
- contents.Version = (0, smithy_client_1.expectString)(data.Version);
3602
+ contents.Version = smithy_client_1.expectString(data.Version);
3603
3603
  }
3604
3604
  return Promise.resolve(contents);
3605
3605
  };
@@ -3651,27 +3651,27 @@ const deserializeAws_restJson1CreateLoggerDefinitionCommand = async (output, con
3651
3651
  LatestVersionArn: undefined,
3652
3652
  Name: undefined,
3653
3653
  };
3654
- const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
3654
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
3655
3655
  if (data.Arn !== undefined && data.Arn !== null) {
3656
- contents.Arn = (0, smithy_client_1.expectString)(data.Arn);
3656
+ contents.Arn = smithy_client_1.expectString(data.Arn);
3657
3657
  }
3658
3658
  if (data.CreationTimestamp !== undefined && data.CreationTimestamp !== null) {
3659
- contents.CreationTimestamp = (0, smithy_client_1.expectString)(data.CreationTimestamp);
3659
+ contents.CreationTimestamp = smithy_client_1.expectString(data.CreationTimestamp);
3660
3660
  }
3661
3661
  if (data.Id !== undefined && data.Id !== null) {
3662
- contents.Id = (0, smithy_client_1.expectString)(data.Id);
3662
+ contents.Id = smithy_client_1.expectString(data.Id);
3663
3663
  }
3664
3664
  if (data.LastUpdatedTimestamp !== undefined && data.LastUpdatedTimestamp !== null) {
3665
- contents.LastUpdatedTimestamp = (0, smithy_client_1.expectString)(data.LastUpdatedTimestamp);
3665
+ contents.LastUpdatedTimestamp = smithy_client_1.expectString(data.LastUpdatedTimestamp);
3666
3666
  }
3667
3667
  if (data.LatestVersion !== undefined && data.LatestVersion !== null) {
3668
- contents.LatestVersion = (0, smithy_client_1.expectString)(data.LatestVersion);
3668
+ contents.LatestVersion = smithy_client_1.expectString(data.LatestVersion);
3669
3669
  }
3670
3670
  if (data.LatestVersionArn !== undefined && data.LatestVersionArn !== null) {
3671
- contents.LatestVersionArn = (0, smithy_client_1.expectString)(data.LatestVersionArn);
3671
+ contents.LatestVersionArn = smithy_client_1.expectString(data.LatestVersionArn);
3672
3672
  }
3673
3673
  if (data.Name !== undefined && data.Name !== null) {
3674
- contents.Name = (0, smithy_client_1.expectString)(data.Name);
3674
+ contents.Name = smithy_client_1.expectString(data.Name);
3675
3675
  }
3676
3676
  return Promise.resolve(contents);
3677
3677
  };
@@ -3720,18 +3720,18 @@ const deserializeAws_restJson1CreateLoggerDefinitionVersionCommand = async (outp
3720
3720
  Id: undefined,
3721
3721
  Version: undefined,
3722
3722
  };
3723
- const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
3723
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
3724
3724
  if (data.Arn !== undefined && data.Arn !== null) {
3725
- contents.Arn = (0, smithy_client_1.expectString)(data.Arn);
3725
+ contents.Arn = smithy_client_1.expectString(data.Arn);
3726
3726
  }
3727
3727
  if (data.CreationTimestamp !== undefined && data.CreationTimestamp !== null) {
3728
- contents.CreationTimestamp = (0, smithy_client_1.expectString)(data.CreationTimestamp);
3728
+ contents.CreationTimestamp = smithy_client_1.expectString(data.CreationTimestamp);
3729
3729
  }
3730
3730
  if (data.Id !== undefined && data.Id !== null) {
3731
- contents.Id = (0, smithy_client_1.expectString)(data.Id);
3731
+ contents.Id = smithy_client_1.expectString(data.Id);
3732
3732
  }
3733
3733
  if (data.Version !== undefined && data.Version !== null) {
3734
- contents.Version = (0, smithy_client_1.expectString)(data.Version);
3734
+ contents.Version = smithy_client_1.expectString(data.Version);
3735
3735
  }
3736
3736
  return Promise.resolve(contents);
3737
3737
  };
@@ -3783,27 +3783,27 @@ const deserializeAws_restJson1CreateResourceDefinitionCommand = async (output, c
3783
3783
  LatestVersionArn: undefined,
3784
3784
  Name: undefined,
3785
3785
  };
3786
- const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
3786
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
3787
3787
  if (data.Arn !== undefined && data.Arn !== null) {
3788
- contents.Arn = (0, smithy_client_1.expectString)(data.Arn);
3788
+ contents.Arn = smithy_client_1.expectString(data.Arn);
3789
3789
  }
3790
3790
  if (data.CreationTimestamp !== undefined && data.CreationTimestamp !== null) {
3791
- contents.CreationTimestamp = (0, smithy_client_1.expectString)(data.CreationTimestamp);
3791
+ contents.CreationTimestamp = smithy_client_1.expectString(data.CreationTimestamp);
3792
3792
  }
3793
3793
  if (data.Id !== undefined && data.Id !== null) {
3794
- contents.Id = (0, smithy_client_1.expectString)(data.Id);
3794
+ contents.Id = smithy_client_1.expectString(data.Id);
3795
3795
  }
3796
3796
  if (data.LastUpdatedTimestamp !== undefined && data.LastUpdatedTimestamp !== null) {
3797
- contents.LastUpdatedTimestamp = (0, smithy_client_1.expectString)(data.LastUpdatedTimestamp);
3797
+ contents.LastUpdatedTimestamp = smithy_client_1.expectString(data.LastUpdatedTimestamp);
3798
3798
  }
3799
3799
  if (data.LatestVersion !== undefined && data.LatestVersion !== null) {
3800
- contents.LatestVersion = (0, smithy_client_1.expectString)(data.LatestVersion);
3800
+ contents.LatestVersion = smithy_client_1.expectString(data.LatestVersion);
3801
3801
  }
3802
3802
  if (data.LatestVersionArn !== undefined && data.LatestVersionArn !== null) {
3803
- contents.LatestVersionArn = (0, smithy_client_1.expectString)(data.LatestVersionArn);
3803
+ contents.LatestVersionArn = smithy_client_1.expectString(data.LatestVersionArn);
3804
3804
  }
3805
3805
  if (data.Name !== undefined && data.Name !== null) {
3806
- contents.Name = (0, smithy_client_1.expectString)(data.Name);
3806
+ contents.Name = smithy_client_1.expectString(data.Name);
3807
3807
  }
3808
3808
  return Promise.resolve(contents);
3809
3809
  };
@@ -3852,18 +3852,18 @@ const deserializeAws_restJson1CreateResourceDefinitionVersionCommand = async (ou
3852
3852
  Id: undefined,
3853
3853
  Version: undefined,
3854
3854
  };
3855
- const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
3855
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
3856
3856
  if (data.Arn !== undefined && data.Arn !== null) {
3857
- contents.Arn = (0, smithy_client_1.expectString)(data.Arn);
3857
+ contents.Arn = smithy_client_1.expectString(data.Arn);
3858
3858
  }
3859
3859
  if (data.CreationTimestamp !== undefined && data.CreationTimestamp !== null) {
3860
- contents.CreationTimestamp = (0, smithy_client_1.expectString)(data.CreationTimestamp);
3860
+ contents.CreationTimestamp = smithy_client_1.expectString(data.CreationTimestamp);
3861
3861
  }
3862
3862
  if (data.Id !== undefined && data.Id !== null) {
3863
- contents.Id = (0, smithy_client_1.expectString)(data.Id);
3863
+ contents.Id = smithy_client_1.expectString(data.Id);
3864
3864
  }
3865
3865
  if (data.Version !== undefined && data.Version !== null) {
3866
- contents.Version = (0, smithy_client_1.expectString)(data.Version);
3866
+ contents.Version = smithy_client_1.expectString(data.Version);
3867
3867
  }
3868
3868
  return Promise.resolve(contents);
3869
3869
  };
@@ -3911,15 +3911,15 @@ const deserializeAws_restJson1CreateSoftwareUpdateJobCommand = async (output, co
3911
3911
  IotJobId: undefined,
3912
3912
  PlatformSoftwareVersion: undefined,
3913
3913
  };
3914
- const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
3914
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
3915
3915
  if (data.IotJobArn !== undefined && data.IotJobArn !== null) {
3916
- contents.IotJobArn = (0, smithy_client_1.expectString)(data.IotJobArn);
3916
+ contents.IotJobArn = smithy_client_1.expectString(data.IotJobArn);
3917
3917
  }
3918
3918
  if (data.IotJobId !== undefined && data.IotJobId !== null) {
3919
- contents.IotJobId = (0, smithy_client_1.expectString)(data.IotJobId);
3919
+ contents.IotJobId = smithy_client_1.expectString(data.IotJobId);
3920
3920
  }
3921
3921
  if (data.PlatformSoftwareVersion !== undefined && data.PlatformSoftwareVersion !== null) {
3922
- contents.PlatformSoftwareVersion = (0, smithy_client_1.expectString)(data.PlatformSoftwareVersion);
3922
+ contents.PlatformSoftwareVersion = smithy_client_1.expectString(data.PlatformSoftwareVersion);
3923
3923
  }
3924
3924
  return Promise.resolve(contents);
3925
3925
  };
@@ -3979,27 +3979,27 @@ const deserializeAws_restJson1CreateSubscriptionDefinitionCommand = async (outpu
3979
3979
  LatestVersionArn: undefined,
3980
3980
  Name: undefined,
3981
3981
  };
3982
- const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
3982
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
3983
3983
  if (data.Arn !== undefined && data.Arn !== null) {
3984
- contents.Arn = (0, smithy_client_1.expectString)(data.Arn);
3984
+ contents.Arn = smithy_client_1.expectString(data.Arn);
3985
3985
  }
3986
3986
  if (data.CreationTimestamp !== undefined && data.CreationTimestamp !== null) {
3987
- contents.CreationTimestamp = (0, smithy_client_1.expectString)(data.CreationTimestamp);
3987
+ contents.CreationTimestamp = smithy_client_1.expectString(data.CreationTimestamp);
3988
3988
  }
3989
3989
  if (data.Id !== undefined && data.Id !== null) {
3990
- contents.Id = (0, smithy_client_1.expectString)(data.Id);
3990
+ contents.Id = smithy_client_1.expectString(data.Id);
3991
3991
  }
3992
3992
  if (data.LastUpdatedTimestamp !== undefined && data.LastUpdatedTimestamp !== null) {
3993
- contents.LastUpdatedTimestamp = (0, smithy_client_1.expectString)(data.LastUpdatedTimestamp);
3993
+ contents.LastUpdatedTimestamp = smithy_client_1.expectString(data.LastUpdatedTimestamp);
3994
3994
  }
3995
3995
  if (data.LatestVersion !== undefined && data.LatestVersion !== null) {
3996
- contents.LatestVersion = (0, smithy_client_1.expectString)(data.LatestVersion);
3996
+ contents.LatestVersion = smithy_client_1.expectString(data.LatestVersion);
3997
3997
  }
3998
3998
  if (data.LatestVersionArn !== undefined && data.LatestVersionArn !== null) {
3999
- contents.LatestVersionArn = (0, smithy_client_1.expectString)(data.LatestVersionArn);
3999
+ contents.LatestVersionArn = smithy_client_1.expectString(data.LatestVersionArn);
4000
4000
  }
4001
4001
  if (data.Name !== undefined && data.Name !== null) {
4002
- contents.Name = (0, smithy_client_1.expectString)(data.Name);
4002
+ contents.Name = smithy_client_1.expectString(data.Name);
4003
4003
  }
4004
4004
  return Promise.resolve(contents);
4005
4005
  };
@@ -4048,18 +4048,18 @@ const deserializeAws_restJson1CreateSubscriptionDefinitionVersionCommand = async
4048
4048
  Id: undefined,
4049
4049
  Version: undefined,
4050
4050
  };
4051
- const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
4051
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
4052
4052
  if (data.Arn !== undefined && data.Arn !== null) {
4053
- contents.Arn = (0, smithy_client_1.expectString)(data.Arn);
4053
+ contents.Arn = smithy_client_1.expectString(data.Arn);
4054
4054
  }
4055
4055
  if (data.CreationTimestamp !== undefined && data.CreationTimestamp !== null) {
4056
- contents.CreationTimestamp = (0, smithy_client_1.expectString)(data.CreationTimestamp);
4056
+ contents.CreationTimestamp = smithy_client_1.expectString(data.CreationTimestamp);
4057
4057
  }
4058
4058
  if (data.Id !== undefined && data.Id !== null) {
4059
- contents.Id = (0, smithy_client_1.expectString)(data.Id);
4059
+ contents.Id = smithy_client_1.expectString(data.Id);
4060
4060
  }
4061
4061
  if (data.Version !== undefined && data.Version !== null) {
4062
- contents.Version = (0, smithy_client_1.expectString)(data.Version);
4062
+ contents.Version = smithy_client_1.expectString(data.Version);
4063
4063
  }
4064
4064
  return Promise.resolve(contents);
4065
4065
  };
@@ -4457,9 +4457,9 @@ const deserializeAws_restJson1DisassociateRoleFromGroupCommand = async (output,
4457
4457
  $metadata: deserializeMetadata(output),
4458
4458
  DisassociatedAt: undefined,
4459
4459
  };
4460
- const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
4460
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
4461
4461
  if (data.DisassociatedAt !== undefined && data.DisassociatedAt !== null) {
4462
- contents.DisassociatedAt = (0, smithy_client_1.expectString)(data.DisassociatedAt);
4462
+ contents.DisassociatedAt = smithy_client_1.expectString(data.DisassociatedAt);
4463
4463
  }
4464
4464
  return Promise.resolve(contents);
4465
4465
  };
@@ -4513,9 +4513,9 @@ const deserializeAws_restJson1DisassociateServiceRoleFromAccountCommand = async
4513
4513
  $metadata: deserializeMetadata(output),
4514
4514
  DisassociatedAt: undefined,
4515
4515
  };
4516
- const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
4516
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
4517
4517
  if (data.DisassociatedAt !== undefined && data.DisassociatedAt !== null) {
4518
- contents.DisassociatedAt = (0, smithy_client_1.expectString)(data.DisassociatedAt);
4518
+ contents.DisassociatedAt = smithy_client_1.expectString(data.DisassociatedAt);
4519
4519
  }
4520
4520
  return Promise.resolve(contents);
4521
4521
  };
@@ -4562,12 +4562,12 @@ const deserializeAws_restJson1GetAssociatedRoleCommand = async (output, context)
4562
4562
  AssociatedAt: undefined,
4563
4563
  RoleArn: undefined,
4564
4564
  };
4565
- const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
4565
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
4566
4566
  if (data.AssociatedAt !== undefined && data.AssociatedAt !== null) {
4567
- contents.AssociatedAt = (0, smithy_client_1.expectString)(data.AssociatedAt);
4567
+ contents.AssociatedAt = smithy_client_1.expectString(data.AssociatedAt);
4568
4568
  }
4569
4569
  if (data.RoleArn !== undefined && data.RoleArn !== null) {
4570
- contents.RoleArn = (0, smithy_client_1.expectString)(data.RoleArn);
4570
+ contents.RoleArn = smithy_client_1.expectString(data.RoleArn);
4571
4571
  }
4572
4572
  return Promise.resolve(contents);
4573
4573
  };
@@ -4626,21 +4626,21 @@ const deserializeAws_restJson1GetBulkDeploymentStatusCommand = async (output, co
4626
4626
  ErrorMessage: undefined,
4627
4627
  tags: undefined,
4628
4628
  };
4629
- const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
4629
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
4630
4630
  if (data.BulkDeploymentMetrics !== undefined && data.BulkDeploymentMetrics !== null) {
4631
4631
  contents.BulkDeploymentMetrics = deserializeAws_restJson1BulkDeploymentMetrics(data.BulkDeploymentMetrics, context);
4632
4632
  }
4633
4633
  if (data.BulkDeploymentStatus !== undefined && data.BulkDeploymentStatus !== null) {
4634
- contents.BulkDeploymentStatus = (0, smithy_client_1.expectString)(data.BulkDeploymentStatus);
4634
+ contents.BulkDeploymentStatus = smithy_client_1.expectString(data.BulkDeploymentStatus);
4635
4635
  }
4636
4636
  if (data.CreatedAt !== undefined && data.CreatedAt !== null) {
4637
- contents.CreatedAt = (0, smithy_client_1.expectString)(data.CreatedAt);
4637
+ contents.CreatedAt = smithy_client_1.expectString(data.CreatedAt);
4638
4638
  }
4639
4639
  if (data.ErrorDetails !== undefined && data.ErrorDetails !== null) {
4640
4640
  contents.ErrorDetails = deserializeAws_restJson1ErrorDetails(data.ErrorDetails, context);
4641
4641
  }
4642
4642
  if (data.ErrorMessage !== undefined && data.ErrorMessage !== null) {
4643
- contents.ErrorMessage = (0, smithy_client_1.expectString)(data.ErrorMessage);
4643
+ contents.ErrorMessage = smithy_client_1.expectString(data.ErrorMessage);
4644
4644
  }
4645
4645
  if (data.tags !== undefined && data.tags !== null) {
4646
4646
  contents.tags = deserializeAws_restJson1Tags(data.tags, context);
@@ -4690,12 +4690,12 @@ const deserializeAws_restJson1GetConnectivityInfoCommand = async (output, contex
4690
4690
  ConnectivityInfo: undefined,
4691
4691
  Message: undefined,
4692
4692
  };
4693
- const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
4693
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
4694
4694
  if (data.ConnectivityInfo !== undefined && data.ConnectivityInfo !== null) {
4695
4695
  contents.ConnectivityInfo = deserializeAws_restJson1__listOfConnectivityInfo(data.ConnectivityInfo, context);
4696
4696
  }
4697
4697
  if (data.message !== undefined && data.message !== null) {
4698
- contents.Message = (0, smithy_client_1.expectString)(data.message);
4698
+ contents.Message = smithy_client_1.expectString(data.message);
4699
4699
  }
4700
4700
  return Promise.resolve(contents);
4701
4701
  };
@@ -4756,27 +4756,27 @@ const deserializeAws_restJson1GetConnectorDefinitionCommand = async (output, con
4756
4756
  Name: undefined,
4757
4757
  tags: undefined,
4758
4758
  };
4759
- const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
4759
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
4760
4760
  if (data.Arn !== undefined && data.Arn !== null) {
4761
- contents.Arn = (0, smithy_client_1.expectString)(data.Arn);
4761
+ contents.Arn = smithy_client_1.expectString(data.Arn);
4762
4762
  }
4763
4763
  if (data.CreationTimestamp !== undefined && data.CreationTimestamp !== null) {
4764
- contents.CreationTimestamp = (0, smithy_client_1.expectString)(data.CreationTimestamp);
4764
+ contents.CreationTimestamp = smithy_client_1.expectString(data.CreationTimestamp);
4765
4765
  }
4766
4766
  if (data.Id !== undefined && data.Id !== null) {
4767
- contents.Id = (0, smithy_client_1.expectString)(data.Id);
4767
+ contents.Id = smithy_client_1.expectString(data.Id);
4768
4768
  }
4769
4769
  if (data.LastUpdatedTimestamp !== undefined && data.LastUpdatedTimestamp !== null) {
4770
- contents.LastUpdatedTimestamp = (0, smithy_client_1.expectString)(data.LastUpdatedTimestamp);
4770
+ contents.LastUpdatedTimestamp = smithy_client_1.expectString(data.LastUpdatedTimestamp);
4771
4771
  }
4772
4772
  if (data.LatestVersion !== undefined && data.LatestVersion !== null) {
4773
- contents.LatestVersion = (0, smithy_client_1.expectString)(data.LatestVersion);
4773
+ contents.LatestVersion = smithy_client_1.expectString(data.LatestVersion);
4774
4774
  }
4775
4775
  if (data.LatestVersionArn !== undefined && data.LatestVersionArn !== null) {
4776
- contents.LatestVersionArn = (0, smithy_client_1.expectString)(data.LatestVersionArn);
4776
+ contents.LatestVersionArn = smithy_client_1.expectString(data.LatestVersionArn);
4777
4777
  }
4778
4778
  if (data.Name !== undefined && data.Name !== null) {
4779
- contents.Name = (0, smithy_client_1.expectString)(data.Name);
4779
+ contents.Name = smithy_client_1.expectString(data.Name);
4780
4780
  }
4781
4781
  if (data.tags !== undefined && data.tags !== null) {
4782
4782
  contents.tags = deserializeAws_restJson1Tags(data.tags, context);
@@ -4830,24 +4830,24 @@ const deserializeAws_restJson1GetConnectorDefinitionVersionCommand = async (outp
4830
4830
  NextToken: undefined,
4831
4831
  Version: undefined,
4832
4832
  };
4833
- const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
4833
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
4834
4834
  if (data.Arn !== undefined && data.Arn !== null) {
4835
- contents.Arn = (0, smithy_client_1.expectString)(data.Arn);
4835
+ contents.Arn = smithy_client_1.expectString(data.Arn);
4836
4836
  }
4837
4837
  if (data.CreationTimestamp !== undefined && data.CreationTimestamp !== null) {
4838
- contents.CreationTimestamp = (0, smithy_client_1.expectString)(data.CreationTimestamp);
4838
+ contents.CreationTimestamp = smithy_client_1.expectString(data.CreationTimestamp);
4839
4839
  }
4840
4840
  if (data.Definition !== undefined && data.Definition !== null) {
4841
4841
  contents.Definition = deserializeAws_restJson1ConnectorDefinitionVersion(data.Definition, context);
4842
4842
  }
4843
4843
  if (data.Id !== undefined && data.Id !== null) {
4844
- contents.Id = (0, smithy_client_1.expectString)(data.Id);
4844
+ contents.Id = smithy_client_1.expectString(data.Id);
4845
4845
  }
4846
4846
  if (data.NextToken !== undefined && data.NextToken !== null) {
4847
- contents.NextToken = (0, smithy_client_1.expectString)(data.NextToken);
4847
+ contents.NextToken = smithy_client_1.expectString(data.NextToken);
4848
4848
  }
4849
4849
  if (data.Version !== undefined && data.Version !== null) {
4850
- contents.Version = (0, smithy_client_1.expectString)(data.Version);
4850
+ contents.Version = smithy_client_1.expectString(data.Version);
4851
4851
  }
4852
4852
  return Promise.resolve(contents);
4853
4853
  };
@@ -4900,27 +4900,27 @@ const deserializeAws_restJson1GetCoreDefinitionCommand = async (output, context)
4900
4900
  Name: undefined,
4901
4901
  tags: undefined,
4902
4902
  };
4903
- const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
4903
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
4904
4904
  if (data.Arn !== undefined && data.Arn !== null) {
4905
- contents.Arn = (0, smithy_client_1.expectString)(data.Arn);
4905
+ contents.Arn = smithy_client_1.expectString(data.Arn);
4906
4906
  }
4907
4907
  if (data.CreationTimestamp !== undefined && data.CreationTimestamp !== null) {
4908
- contents.CreationTimestamp = (0, smithy_client_1.expectString)(data.CreationTimestamp);
4908
+ contents.CreationTimestamp = smithy_client_1.expectString(data.CreationTimestamp);
4909
4909
  }
4910
4910
  if (data.Id !== undefined && data.Id !== null) {
4911
- contents.Id = (0, smithy_client_1.expectString)(data.Id);
4911
+ contents.Id = smithy_client_1.expectString(data.Id);
4912
4912
  }
4913
4913
  if (data.LastUpdatedTimestamp !== undefined && data.LastUpdatedTimestamp !== null) {
4914
- contents.LastUpdatedTimestamp = (0, smithy_client_1.expectString)(data.LastUpdatedTimestamp);
4914
+ contents.LastUpdatedTimestamp = smithy_client_1.expectString(data.LastUpdatedTimestamp);
4915
4915
  }
4916
4916
  if (data.LatestVersion !== undefined && data.LatestVersion !== null) {
4917
- contents.LatestVersion = (0, smithy_client_1.expectString)(data.LatestVersion);
4917
+ contents.LatestVersion = smithy_client_1.expectString(data.LatestVersion);
4918
4918
  }
4919
4919
  if (data.LatestVersionArn !== undefined && data.LatestVersionArn !== null) {
4920
- contents.LatestVersionArn = (0, smithy_client_1.expectString)(data.LatestVersionArn);
4920
+ contents.LatestVersionArn = smithy_client_1.expectString(data.LatestVersionArn);
4921
4921
  }
4922
4922
  if (data.Name !== undefined && data.Name !== null) {
4923
- contents.Name = (0, smithy_client_1.expectString)(data.Name);
4923
+ contents.Name = smithy_client_1.expectString(data.Name);
4924
4924
  }
4925
4925
  if (data.tags !== undefined && data.tags !== null) {
4926
4926
  contents.tags = deserializeAws_restJson1Tags(data.tags, context);
@@ -4974,24 +4974,24 @@ const deserializeAws_restJson1GetCoreDefinitionVersionCommand = async (output, c
4974
4974
  NextToken: undefined,
4975
4975
  Version: undefined,
4976
4976
  };
4977
- const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
4977
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
4978
4978
  if (data.Arn !== undefined && data.Arn !== null) {
4979
- contents.Arn = (0, smithy_client_1.expectString)(data.Arn);
4979
+ contents.Arn = smithy_client_1.expectString(data.Arn);
4980
4980
  }
4981
4981
  if (data.CreationTimestamp !== undefined && data.CreationTimestamp !== null) {
4982
- contents.CreationTimestamp = (0, smithy_client_1.expectString)(data.CreationTimestamp);
4982
+ contents.CreationTimestamp = smithy_client_1.expectString(data.CreationTimestamp);
4983
4983
  }
4984
4984
  if (data.Definition !== undefined && data.Definition !== null) {
4985
4985
  contents.Definition = deserializeAws_restJson1CoreDefinitionVersion(data.Definition, context);
4986
4986
  }
4987
4987
  if (data.Id !== undefined && data.Id !== null) {
4988
- contents.Id = (0, smithy_client_1.expectString)(data.Id);
4988
+ contents.Id = smithy_client_1.expectString(data.Id);
4989
4989
  }
4990
4990
  if (data.NextToken !== undefined && data.NextToken !== null) {
4991
- contents.NextToken = (0, smithy_client_1.expectString)(data.NextToken);
4991
+ contents.NextToken = smithy_client_1.expectString(data.NextToken);
4992
4992
  }
4993
4993
  if (data.Version !== undefined && data.Version !== null) {
4994
- contents.Version = (0, smithy_client_1.expectString)(data.Version);
4994
+ contents.Version = smithy_client_1.expectString(data.Version);
4995
4995
  }
4996
4996
  return Promise.resolve(contents);
4997
4997
  };
@@ -5041,21 +5041,21 @@ const deserializeAws_restJson1GetDeploymentStatusCommand = async (output, contex
5041
5041
  ErrorMessage: undefined,
5042
5042
  UpdatedAt: undefined,
5043
5043
  };
5044
- const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
5044
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
5045
5045
  if (data.DeploymentStatus !== undefined && data.DeploymentStatus !== null) {
5046
- contents.DeploymentStatus = (0, smithy_client_1.expectString)(data.DeploymentStatus);
5046
+ contents.DeploymentStatus = smithy_client_1.expectString(data.DeploymentStatus);
5047
5047
  }
5048
5048
  if (data.DeploymentType !== undefined && data.DeploymentType !== null) {
5049
- contents.DeploymentType = (0, smithy_client_1.expectString)(data.DeploymentType);
5049
+ contents.DeploymentType = smithy_client_1.expectString(data.DeploymentType);
5050
5050
  }
5051
5051
  if (data.ErrorDetails !== undefined && data.ErrorDetails !== null) {
5052
5052
  contents.ErrorDetails = deserializeAws_restJson1ErrorDetails(data.ErrorDetails, context);
5053
5053
  }
5054
5054
  if (data.ErrorMessage !== undefined && data.ErrorMessage !== null) {
5055
- contents.ErrorMessage = (0, smithy_client_1.expectString)(data.ErrorMessage);
5055
+ contents.ErrorMessage = smithy_client_1.expectString(data.ErrorMessage);
5056
5056
  }
5057
5057
  if (data.UpdatedAt !== undefined && data.UpdatedAt !== null) {
5058
- contents.UpdatedAt = (0, smithy_client_1.expectString)(data.UpdatedAt);
5058
+ contents.UpdatedAt = smithy_client_1.expectString(data.UpdatedAt);
5059
5059
  }
5060
5060
  return Promise.resolve(contents);
5061
5061
  };
@@ -5108,27 +5108,27 @@ const deserializeAws_restJson1GetDeviceDefinitionCommand = async (output, contex
5108
5108
  Name: undefined,
5109
5109
  tags: undefined,
5110
5110
  };
5111
- const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
5111
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
5112
5112
  if (data.Arn !== undefined && data.Arn !== null) {
5113
- contents.Arn = (0, smithy_client_1.expectString)(data.Arn);
5113
+ contents.Arn = smithy_client_1.expectString(data.Arn);
5114
5114
  }
5115
5115
  if (data.CreationTimestamp !== undefined && data.CreationTimestamp !== null) {
5116
- contents.CreationTimestamp = (0, smithy_client_1.expectString)(data.CreationTimestamp);
5116
+ contents.CreationTimestamp = smithy_client_1.expectString(data.CreationTimestamp);
5117
5117
  }
5118
5118
  if (data.Id !== undefined && data.Id !== null) {
5119
- contents.Id = (0, smithy_client_1.expectString)(data.Id);
5119
+ contents.Id = smithy_client_1.expectString(data.Id);
5120
5120
  }
5121
5121
  if (data.LastUpdatedTimestamp !== undefined && data.LastUpdatedTimestamp !== null) {
5122
- contents.LastUpdatedTimestamp = (0, smithy_client_1.expectString)(data.LastUpdatedTimestamp);
5122
+ contents.LastUpdatedTimestamp = smithy_client_1.expectString(data.LastUpdatedTimestamp);
5123
5123
  }
5124
5124
  if (data.LatestVersion !== undefined && data.LatestVersion !== null) {
5125
- contents.LatestVersion = (0, smithy_client_1.expectString)(data.LatestVersion);
5125
+ contents.LatestVersion = smithy_client_1.expectString(data.LatestVersion);
5126
5126
  }
5127
5127
  if (data.LatestVersionArn !== undefined && data.LatestVersionArn !== null) {
5128
- contents.LatestVersionArn = (0, smithy_client_1.expectString)(data.LatestVersionArn);
5128
+ contents.LatestVersionArn = smithy_client_1.expectString(data.LatestVersionArn);
5129
5129
  }
5130
5130
  if (data.Name !== undefined && data.Name !== null) {
5131
- contents.Name = (0, smithy_client_1.expectString)(data.Name);
5131
+ contents.Name = smithy_client_1.expectString(data.Name);
5132
5132
  }
5133
5133
  if (data.tags !== undefined && data.tags !== null) {
5134
5134
  contents.tags = deserializeAws_restJson1Tags(data.tags, context);
@@ -5182,24 +5182,24 @@ const deserializeAws_restJson1GetDeviceDefinitionVersionCommand = async (output,
5182
5182
  NextToken: undefined,
5183
5183
  Version: undefined,
5184
5184
  };
5185
- const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
5185
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
5186
5186
  if (data.Arn !== undefined && data.Arn !== null) {
5187
- contents.Arn = (0, smithy_client_1.expectString)(data.Arn);
5187
+ contents.Arn = smithy_client_1.expectString(data.Arn);
5188
5188
  }
5189
5189
  if (data.CreationTimestamp !== undefined && data.CreationTimestamp !== null) {
5190
- contents.CreationTimestamp = (0, smithy_client_1.expectString)(data.CreationTimestamp);
5190
+ contents.CreationTimestamp = smithy_client_1.expectString(data.CreationTimestamp);
5191
5191
  }
5192
5192
  if (data.Definition !== undefined && data.Definition !== null) {
5193
5193
  contents.Definition = deserializeAws_restJson1DeviceDefinitionVersion(data.Definition, context);
5194
5194
  }
5195
5195
  if (data.Id !== undefined && data.Id !== null) {
5196
- contents.Id = (0, smithy_client_1.expectString)(data.Id);
5196
+ contents.Id = smithy_client_1.expectString(data.Id);
5197
5197
  }
5198
5198
  if (data.NextToken !== undefined && data.NextToken !== null) {
5199
- contents.NextToken = (0, smithy_client_1.expectString)(data.NextToken);
5199
+ contents.NextToken = smithy_client_1.expectString(data.NextToken);
5200
5200
  }
5201
5201
  if (data.Version !== undefined && data.Version !== null) {
5202
- contents.Version = (0, smithy_client_1.expectString)(data.Version);
5202
+ contents.Version = smithy_client_1.expectString(data.Version);
5203
5203
  }
5204
5204
  return Promise.resolve(contents);
5205
5205
  };
@@ -5252,27 +5252,27 @@ const deserializeAws_restJson1GetFunctionDefinitionCommand = async (output, cont
5252
5252
  Name: undefined,
5253
5253
  tags: undefined,
5254
5254
  };
5255
- const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
5255
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
5256
5256
  if (data.Arn !== undefined && data.Arn !== null) {
5257
- contents.Arn = (0, smithy_client_1.expectString)(data.Arn);
5257
+ contents.Arn = smithy_client_1.expectString(data.Arn);
5258
5258
  }
5259
5259
  if (data.CreationTimestamp !== undefined && data.CreationTimestamp !== null) {
5260
- contents.CreationTimestamp = (0, smithy_client_1.expectString)(data.CreationTimestamp);
5260
+ contents.CreationTimestamp = smithy_client_1.expectString(data.CreationTimestamp);
5261
5261
  }
5262
5262
  if (data.Id !== undefined && data.Id !== null) {
5263
- contents.Id = (0, smithy_client_1.expectString)(data.Id);
5263
+ contents.Id = smithy_client_1.expectString(data.Id);
5264
5264
  }
5265
5265
  if (data.LastUpdatedTimestamp !== undefined && data.LastUpdatedTimestamp !== null) {
5266
- contents.LastUpdatedTimestamp = (0, smithy_client_1.expectString)(data.LastUpdatedTimestamp);
5266
+ contents.LastUpdatedTimestamp = smithy_client_1.expectString(data.LastUpdatedTimestamp);
5267
5267
  }
5268
5268
  if (data.LatestVersion !== undefined && data.LatestVersion !== null) {
5269
- contents.LatestVersion = (0, smithy_client_1.expectString)(data.LatestVersion);
5269
+ contents.LatestVersion = smithy_client_1.expectString(data.LatestVersion);
5270
5270
  }
5271
5271
  if (data.LatestVersionArn !== undefined && data.LatestVersionArn !== null) {
5272
- contents.LatestVersionArn = (0, smithy_client_1.expectString)(data.LatestVersionArn);
5272
+ contents.LatestVersionArn = smithy_client_1.expectString(data.LatestVersionArn);
5273
5273
  }
5274
5274
  if (data.Name !== undefined && data.Name !== null) {
5275
- contents.Name = (0, smithy_client_1.expectString)(data.Name);
5275
+ contents.Name = smithy_client_1.expectString(data.Name);
5276
5276
  }
5277
5277
  if (data.tags !== undefined && data.tags !== null) {
5278
5278
  contents.tags = deserializeAws_restJson1Tags(data.tags, context);
@@ -5326,24 +5326,24 @@ const deserializeAws_restJson1GetFunctionDefinitionVersionCommand = async (outpu
5326
5326
  NextToken: undefined,
5327
5327
  Version: undefined,
5328
5328
  };
5329
- const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
5329
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
5330
5330
  if (data.Arn !== undefined && data.Arn !== null) {
5331
- contents.Arn = (0, smithy_client_1.expectString)(data.Arn);
5331
+ contents.Arn = smithy_client_1.expectString(data.Arn);
5332
5332
  }
5333
5333
  if (data.CreationTimestamp !== undefined && data.CreationTimestamp !== null) {
5334
- contents.CreationTimestamp = (0, smithy_client_1.expectString)(data.CreationTimestamp);
5334
+ contents.CreationTimestamp = smithy_client_1.expectString(data.CreationTimestamp);
5335
5335
  }
5336
5336
  if (data.Definition !== undefined && data.Definition !== null) {
5337
5337
  contents.Definition = deserializeAws_restJson1FunctionDefinitionVersion(data.Definition, context);
5338
5338
  }
5339
5339
  if (data.Id !== undefined && data.Id !== null) {
5340
- contents.Id = (0, smithy_client_1.expectString)(data.Id);
5340
+ contents.Id = smithy_client_1.expectString(data.Id);
5341
5341
  }
5342
5342
  if (data.NextToken !== undefined && data.NextToken !== null) {
5343
- contents.NextToken = (0, smithy_client_1.expectString)(data.NextToken);
5343
+ contents.NextToken = smithy_client_1.expectString(data.NextToken);
5344
5344
  }
5345
5345
  if (data.Version !== undefined && data.Version !== null) {
5346
- contents.Version = (0, smithy_client_1.expectString)(data.Version);
5346
+ contents.Version = smithy_client_1.expectString(data.Version);
5347
5347
  }
5348
5348
  return Promise.resolve(contents);
5349
5349
  };
@@ -5396,27 +5396,27 @@ const deserializeAws_restJson1GetGroupCommand = async (output, context) => {
5396
5396
  Name: undefined,
5397
5397
  tags: undefined,
5398
5398
  };
5399
- const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
5399
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
5400
5400
  if (data.Arn !== undefined && data.Arn !== null) {
5401
- contents.Arn = (0, smithy_client_1.expectString)(data.Arn);
5401
+ contents.Arn = smithy_client_1.expectString(data.Arn);
5402
5402
  }
5403
5403
  if (data.CreationTimestamp !== undefined && data.CreationTimestamp !== null) {
5404
- contents.CreationTimestamp = (0, smithy_client_1.expectString)(data.CreationTimestamp);
5404
+ contents.CreationTimestamp = smithy_client_1.expectString(data.CreationTimestamp);
5405
5405
  }
5406
5406
  if (data.Id !== undefined && data.Id !== null) {
5407
- contents.Id = (0, smithy_client_1.expectString)(data.Id);
5407
+ contents.Id = smithy_client_1.expectString(data.Id);
5408
5408
  }
5409
5409
  if (data.LastUpdatedTimestamp !== undefined && data.LastUpdatedTimestamp !== null) {
5410
- contents.LastUpdatedTimestamp = (0, smithy_client_1.expectString)(data.LastUpdatedTimestamp);
5410
+ contents.LastUpdatedTimestamp = smithy_client_1.expectString(data.LastUpdatedTimestamp);
5411
5411
  }
5412
5412
  if (data.LatestVersion !== undefined && data.LatestVersion !== null) {
5413
- contents.LatestVersion = (0, smithy_client_1.expectString)(data.LatestVersion);
5413
+ contents.LatestVersion = smithy_client_1.expectString(data.LatestVersion);
5414
5414
  }
5415
5415
  if (data.LatestVersionArn !== undefined && data.LatestVersionArn !== null) {
5416
- contents.LatestVersionArn = (0, smithy_client_1.expectString)(data.LatestVersionArn);
5416
+ contents.LatestVersionArn = smithy_client_1.expectString(data.LatestVersionArn);
5417
5417
  }
5418
5418
  if (data.Name !== undefined && data.Name !== null) {
5419
- contents.Name = (0, smithy_client_1.expectString)(data.Name);
5419
+ contents.Name = smithy_client_1.expectString(data.Name);
5420
5420
  }
5421
5421
  if (data.tags !== undefined && data.tags !== null) {
5422
5422
  contents.tags = deserializeAws_restJson1Tags(data.tags, context);
@@ -5467,15 +5467,15 @@ const deserializeAws_restJson1GetGroupCertificateAuthorityCommand = async (outpu
5467
5467
  GroupCertificateAuthorityId: undefined,
5468
5468
  PemEncodedCertificate: undefined,
5469
5469
  };
5470
- const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
5470
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
5471
5471
  if (data.GroupCertificateAuthorityArn !== undefined && data.GroupCertificateAuthorityArn !== null) {
5472
- contents.GroupCertificateAuthorityArn = (0, smithy_client_1.expectString)(data.GroupCertificateAuthorityArn);
5472
+ contents.GroupCertificateAuthorityArn = smithy_client_1.expectString(data.GroupCertificateAuthorityArn);
5473
5473
  }
5474
5474
  if (data.GroupCertificateAuthorityId !== undefined && data.GroupCertificateAuthorityId !== null) {
5475
- contents.GroupCertificateAuthorityId = (0, smithy_client_1.expectString)(data.GroupCertificateAuthorityId);
5475
+ contents.GroupCertificateAuthorityId = smithy_client_1.expectString(data.GroupCertificateAuthorityId);
5476
5476
  }
5477
5477
  if (data.PemEncodedCertificate !== undefined && data.PemEncodedCertificate !== null) {
5478
- contents.PemEncodedCertificate = (0, smithy_client_1.expectString)(data.PemEncodedCertificate);
5478
+ contents.PemEncodedCertificate = smithy_client_1.expectString(data.PemEncodedCertificate);
5479
5479
  }
5480
5480
  return Promise.resolve(contents);
5481
5481
  };
@@ -5531,16 +5531,16 @@ const deserializeAws_restJson1GetGroupCertificateConfigurationCommand = async (o
5531
5531
  CertificateExpiryInMilliseconds: undefined,
5532
5532
  GroupId: undefined,
5533
5533
  };
5534
- const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
5534
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
5535
5535
  if (data.CertificateAuthorityExpiryInMilliseconds !== undefined &&
5536
5536
  data.CertificateAuthorityExpiryInMilliseconds !== null) {
5537
- contents.CertificateAuthorityExpiryInMilliseconds = (0, smithy_client_1.expectString)(data.CertificateAuthorityExpiryInMilliseconds);
5537
+ contents.CertificateAuthorityExpiryInMilliseconds = smithy_client_1.expectString(data.CertificateAuthorityExpiryInMilliseconds);
5538
5538
  }
5539
5539
  if (data.CertificateExpiryInMilliseconds !== undefined && data.CertificateExpiryInMilliseconds !== null) {
5540
- contents.CertificateExpiryInMilliseconds = (0, smithy_client_1.expectString)(data.CertificateExpiryInMilliseconds);
5540
+ contents.CertificateExpiryInMilliseconds = smithy_client_1.expectString(data.CertificateExpiryInMilliseconds);
5541
5541
  }
5542
5542
  if (data.GroupId !== undefined && data.GroupId !== null) {
5543
- contents.GroupId = (0, smithy_client_1.expectString)(data.GroupId);
5543
+ contents.GroupId = smithy_client_1.expectString(data.GroupId);
5544
5544
  }
5545
5545
  return Promise.resolve(contents);
5546
5546
  };
@@ -5598,21 +5598,21 @@ const deserializeAws_restJson1GetGroupVersionCommand = async (output, context) =
5598
5598
  Id: undefined,
5599
5599
  Version: undefined,
5600
5600
  };
5601
- const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
5601
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
5602
5602
  if (data.Arn !== undefined && data.Arn !== null) {
5603
- contents.Arn = (0, smithy_client_1.expectString)(data.Arn);
5603
+ contents.Arn = smithy_client_1.expectString(data.Arn);
5604
5604
  }
5605
5605
  if (data.CreationTimestamp !== undefined && data.CreationTimestamp !== null) {
5606
- contents.CreationTimestamp = (0, smithy_client_1.expectString)(data.CreationTimestamp);
5606
+ contents.CreationTimestamp = smithy_client_1.expectString(data.CreationTimestamp);
5607
5607
  }
5608
5608
  if (data.Definition !== undefined && data.Definition !== null) {
5609
5609
  contents.Definition = deserializeAws_restJson1GroupVersion(data.Definition, context);
5610
5610
  }
5611
5611
  if (data.Id !== undefined && data.Id !== null) {
5612
- contents.Id = (0, smithy_client_1.expectString)(data.Id);
5612
+ contents.Id = smithy_client_1.expectString(data.Id);
5613
5613
  }
5614
5614
  if (data.Version !== undefined && data.Version !== null) {
5615
- contents.Version = (0, smithy_client_1.expectString)(data.Version);
5615
+ contents.Version = smithy_client_1.expectString(data.Version);
5616
5616
  }
5617
5617
  return Promise.resolve(contents);
5618
5618
  };
@@ -5665,27 +5665,27 @@ const deserializeAws_restJson1GetLoggerDefinitionCommand = async (output, contex
5665
5665
  Name: undefined,
5666
5666
  tags: undefined,
5667
5667
  };
5668
- const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
5668
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
5669
5669
  if (data.Arn !== undefined && data.Arn !== null) {
5670
- contents.Arn = (0, smithy_client_1.expectString)(data.Arn);
5670
+ contents.Arn = smithy_client_1.expectString(data.Arn);
5671
5671
  }
5672
5672
  if (data.CreationTimestamp !== undefined && data.CreationTimestamp !== null) {
5673
- contents.CreationTimestamp = (0, smithy_client_1.expectString)(data.CreationTimestamp);
5673
+ contents.CreationTimestamp = smithy_client_1.expectString(data.CreationTimestamp);
5674
5674
  }
5675
5675
  if (data.Id !== undefined && data.Id !== null) {
5676
- contents.Id = (0, smithy_client_1.expectString)(data.Id);
5676
+ contents.Id = smithy_client_1.expectString(data.Id);
5677
5677
  }
5678
5678
  if (data.LastUpdatedTimestamp !== undefined && data.LastUpdatedTimestamp !== null) {
5679
- contents.LastUpdatedTimestamp = (0, smithy_client_1.expectString)(data.LastUpdatedTimestamp);
5679
+ contents.LastUpdatedTimestamp = smithy_client_1.expectString(data.LastUpdatedTimestamp);
5680
5680
  }
5681
5681
  if (data.LatestVersion !== undefined && data.LatestVersion !== null) {
5682
- contents.LatestVersion = (0, smithy_client_1.expectString)(data.LatestVersion);
5682
+ contents.LatestVersion = smithy_client_1.expectString(data.LatestVersion);
5683
5683
  }
5684
5684
  if (data.LatestVersionArn !== undefined && data.LatestVersionArn !== null) {
5685
- contents.LatestVersionArn = (0, smithy_client_1.expectString)(data.LatestVersionArn);
5685
+ contents.LatestVersionArn = smithy_client_1.expectString(data.LatestVersionArn);
5686
5686
  }
5687
5687
  if (data.Name !== undefined && data.Name !== null) {
5688
- contents.Name = (0, smithy_client_1.expectString)(data.Name);
5688
+ contents.Name = smithy_client_1.expectString(data.Name);
5689
5689
  }
5690
5690
  if (data.tags !== undefined && data.tags !== null) {
5691
5691
  contents.tags = deserializeAws_restJson1Tags(data.tags, context);
@@ -5738,21 +5738,21 @@ const deserializeAws_restJson1GetLoggerDefinitionVersionCommand = async (output,
5738
5738
  Id: undefined,
5739
5739
  Version: undefined,
5740
5740
  };
5741
- const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
5741
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
5742
5742
  if (data.Arn !== undefined && data.Arn !== null) {
5743
- contents.Arn = (0, smithy_client_1.expectString)(data.Arn);
5743
+ contents.Arn = smithy_client_1.expectString(data.Arn);
5744
5744
  }
5745
5745
  if (data.CreationTimestamp !== undefined && data.CreationTimestamp !== null) {
5746
- contents.CreationTimestamp = (0, smithy_client_1.expectString)(data.CreationTimestamp);
5746
+ contents.CreationTimestamp = smithy_client_1.expectString(data.CreationTimestamp);
5747
5747
  }
5748
5748
  if (data.Definition !== undefined && data.Definition !== null) {
5749
5749
  contents.Definition = deserializeAws_restJson1LoggerDefinitionVersion(data.Definition, context);
5750
5750
  }
5751
5751
  if (data.Id !== undefined && data.Id !== null) {
5752
- contents.Id = (0, smithy_client_1.expectString)(data.Id);
5752
+ contents.Id = smithy_client_1.expectString(data.Id);
5753
5753
  }
5754
5754
  if (data.Version !== undefined && data.Version !== null) {
5755
- contents.Version = (0, smithy_client_1.expectString)(data.Version);
5755
+ contents.Version = smithy_client_1.expectString(data.Version);
5756
5756
  }
5757
5757
  return Promise.resolve(contents);
5758
5758
  };
@@ -5805,27 +5805,27 @@ const deserializeAws_restJson1GetResourceDefinitionCommand = async (output, cont
5805
5805
  Name: undefined,
5806
5806
  tags: undefined,
5807
5807
  };
5808
- const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
5808
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
5809
5809
  if (data.Arn !== undefined && data.Arn !== null) {
5810
- contents.Arn = (0, smithy_client_1.expectString)(data.Arn);
5810
+ contents.Arn = smithy_client_1.expectString(data.Arn);
5811
5811
  }
5812
5812
  if (data.CreationTimestamp !== undefined && data.CreationTimestamp !== null) {
5813
- contents.CreationTimestamp = (0, smithy_client_1.expectString)(data.CreationTimestamp);
5813
+ contents.CreationTimestamp = smithy_client_1.expectString(data.CreationTimestamp);
5814
5814
  }
5815
5815
  if (data.Id !== undefined && data.Id !== null) {
5816
- contents.Id = (0, smithy_client_1.expectString)(data.Id);
5816
+ contents.Id = smithy_client_1.expectString(data.Id);
5817
5817
  }
5818
5818
  if (data.LastUpdatedTimestamp !== undefined && data.LastUpdatedTimestamp !== null) {
5819
- contents.LastUpdatedTimestamp = (0, smithy_client_1.expectString)(data.LastUpdatedTimestamp);
5819
+ contents.LastUpdatedTimestamp = smithy_client_1.expectString(data.LastUpdatedTimestamp);
5820
5820
  }
5821
5821
  if (data.LatestVersion !== undefined && data.LatestVersion !== null) {
5822
- contents.LatestVersion = (0, smithy_client_1.expectString)(data.LatestVersion);
5822
+ contents.LatestVersion = smithy_client_1.expectString(data.LatestVersion);
5823
5823
  }
5824
5824
  if (data.LatestVersionArn !== undefined && data.LatestVersionArn !== null) {
5825
- contents.LatestVersionArn = (0, smithy_client_1.expectString)(data.LatestVersionArn);
5825
+ contents.LatestVersionArn = smithy_client_1.expectString(data.LatestVersionArn);
5826
5826
  }
5827
5827
  if (data.Name !== undefined && data.Name !== null) {
5828
- contents.Name = (0, smithy_client_1.expectString)(data.Name);
5828
+ contents.Name = smithy_client_1.expectString(data.Name);
5829
5829
  }
5830
5830
  if (data.tags !== undefined && data.tags !== null) {
5831
5831
  contents.tags = deserializeAws_restJson1Tags(data.tags, context);
@@ -5878,21 +5878,21 @@ const deserializeAws_restJson1GetResourceDefinitionVersionCommand = async (outpu
5878
5878
  Id: undefined,
5879
5879
  Version: undefined,
5880
5880
  };
5881
- const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
5881
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
5882
5882
  if (data.Arn !== undefined && data.Arn !== null) {
5883
- contents.Arn = (0, smithy_client_1.expectString)(data.Arn);
5883
+ contents.Arn = smithy_client_1.expectString(data.Arn);
5884
5884
  }
5885
5885
  if (data.CreationTimestamp !== undefined && data.CreationTimestamp !== null) {
5886
- contents.CreationTimestamp = (0, smithy_client_1.expectString)(data.CreationTimestamp);
5886
+ contents.CreationTimestamp = smithy_client_1.expectString(data.CreationTimestamp);
5887
5887
  }
5888
5888
  if (data.Definition !== undefined && data.Definition !== null) {
5889
5889
  contents.Definition = deserializeAws_restJson1ResourceDefinitionVersion(data.Definition, context);
5890
5890
  }
5891
5891
  if (data.Id !== undefined && data.Id !== null) {
5892
- contents.Id = (0, smithy_client_1.expectString)(data.Id);
5892
+ contents.Id = smithy_client_1.expectString(data.Id);
5893
5893
  }
5894
5894
  if (data.Version !== undefined && data.Version !== null) {
5895
- contents.Version = (0, smithy_client_1.expectString)(data.Version);
5895
+ contents.Version = smithy_client_1.expectString(data.Version);
5896
5896
  }
5897
5897
  return Promise.resolve(contents);
5898
5898
  };
@@ -5939,12 +5939,12 @@ const deserializeAws_restJson1GetServiceRoleForAccountCommand = async (output, c
5939
5939
  AssociatedAt: undefined,
5940
5940
  RoleArn: undefined,
5941
5941
  };
5942
- const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
5942
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
5943
5943
  if (data.AssociatedAt !== undefined && data.AssociatedAt !== null) {
5944
- contents.AssociatedAt = (0, smithy_client_1.expectString)(data.AssociatedAt);
5944
+ contents.AssociatedAt = smithy_client_1.expectString(data.AssociatedAt);
5945
5945
  }
5946
5946
  if (data.RoleArn !== undefined && data.RoleArn !== null) {
5947
- contents.RoleArn = (0, smithy_client_1.expectString)(data.RoleArn);
5947
+ contents.RoleArn = smithy_client_1.expectString(data.RoleArn);
5948
5948
  }
5949
5949
  return Promise.resolve(contents);
5950
5950
  };
@@ -5997,27 +5997,27 @@ const deserializeAws_restJson1GetSubscriptionDefinitionCommand = async (output,
5997
5997
  Name: undefined,
5998
5998
  tags: undefined,
5999
5999
  };
6000
- const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
6000
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
6001
6001
  if (data.Arn !== undefined && data.Arn !== null) {
6002
- contents.Arn = (0, smithy_client_1.expectString)(data.Arn);
6002
+ contents.Arn = smithy_client_1.expectString(data.Arn);
6003
6003
  }
6004
6004
  if (data.CreationTimestamp !== undefined && data.CreationTimestamp !== null) {
6005
- contents.CreationTimestamp = (0, smithy_client_1.expectString)(data.CreationTimestamp);
6005
+ contents.CreationTimestamp = smithy_client_1.expectString(data.CreationTimestamp);
6006
6006
  }
6007
6007
  if (data.Id !== undefined && data.Id !== null) {
6008
- contents.Id = (0, smithy_client_1.expectString)(data.Id);
6008
+ contents.Id = smithy_client_1.expectString(data.Id);
6009
6009
  }
6010
6010
  if (data.LastUpdatedTimestamp !== undefined && data.LastUpdatedTimestamp !== null) {
6011
- contents.LastUpdatedTimestamp = (0, smithy_client_1.expectString)(data.LastUpdatedTimestamp);
6011
+ contents.LastUpdatedTimestamp = smithy_client_1.expectString(data.LastUpdatedTimestamp);
6012
6012
  }
6013
6013
  if (data.LatestVersion !== undefined && data.LatestVersion !== null) {
6014
- contents.LatestVersion = (0, smithy_client_1.expectString)(data.LatestVersion);
6014
+ contents.LatestVersion = smithy_client_1.expectString(data.LatestVersion);
6015
6015
  }
6016
6016
  if (data.LatestVersionArn !== undefined && data.LatestVersionArn !== null) {
6017
- contents.LatestVersionArn = (0, smithy_client_1.expectString)(data.LatestVersionArn);
6017
+ contents.LatestVersionArn = smithy_client_1.expectString(data.LatestVersionArn);
6018
6018
  }
6019
6019
  if (data.Name !== undefined && data.Name !== null) {
6020
- contents.Name = (0, smithy_client_1.expectString)(data.Name);
6020
+ contents.Name = smithy_client_1.expectString(data.Name);
6021
6021
  }
6022
6022
  if (data.tags !== undefined && data.tags !== null) {
6023
6023
  contents.tags = deserializeAws_restJson1Tags(data.tags, context);
@@ -6071,24 +6071,24 @@ const deserializeAws_restJson1GetSubscriptionDefinitionVersionCommand = async (o
6071
6071
  NextToken: undefined,
6072
6072
  Version: undefined,
6073
6073
  };
6074
- const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
6074
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
6075
6075
  if (data.Arn !== undefined && data.Arn !== null) {
6076
- contents.Arn = (0, smithy_client_1.expectString)(data.Arn);
6076
+ contents.Arn = smithy_client_1.expectString(data.Arn);
6077
6077
  }
6078
6078
  if (data.CreationTimestamp !== undefined && data.CreationTimestamp !== null) {
6079
- contents.CreationTimestamp = (0, smithy_client_1.expectString)(data.CreationTimestamp);
6079
+ contents.CreationTimestamp = smithy_client_1.expectString(data.CreationTimestamp);
6080
6080
  }
6081
6081
  if (data.Definition !== undefined && data.Definition !== null) {
6082
6082
  contents.Definition = deserializeAws_restJson1SubscriptionDefinitionVersion(data.Definition, context);
6083
6083
  }
6084
6084
  if (data.Id !== undefined && data.Id !== null) {
6085
- contents.Id = (0, smithy_client_1.expectString)(data.Id);
6085
+ contents.Id = smithy_client_1.expectString(data.Id);
6086
6086
  }
6087
6087
  if (data.NextToken !== undefined && data.NextToken !== null) {
6088
- contents.NextToken = (0, smithy_client_1.expectString)(data.NextToken);
6088
+ contents.NextToken = smithy_client_1.expectString(data.NextToken);
6089
6089
  }
6090
6090
  if (data.Version !== undefined && data.Version !== null) {
6091
- contents.Version = (0, smithy_client_1.expectString)(data.Version);
6091
+ contents.Version = smithy_client_1.expectString(data.Version);
6092
6092
  }
6093
6093
  return Promise.resolve(contents);
6094
6094
  };
@@ -6134,7 +6134,7 @@ const deserializeAws_restJson1GetThingRuntimeConfigurationCommand = async (outpu
6134
6134
  $metadata: deserializeMetadata(output),
6135
6135
  RuntimeConfiguration: undefined,
6136
6136
  };
6137
- const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
6137
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
6138
6138
  if (data.RuntimeConfiguration !== undefined && data.RuntimeConfiguration !== null) {
6139
6139
  contents.RuntimeConfiguration = deserializeAws_restJson1RuntimeConfiguration(data.RuntimeConfiguration, context);
6140
6140
  }
@@ -6191,12 +6191,12 @@ const deserializeAws_restJson1ListBulkDeploymentDetailedReportsCommand = async (
6191
6191
  Deployments: undefined,
6192
6192
  NextToken: undefined,
6193
6193
  };
6194
- const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
6194
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
6195
6195
  if (data.Deployments !== undefined && data.Deployments !== null) {
6196
6196
  contents.Deployments = deserializeAws_restJson1BulkDeploymentResults(data.Deployments, context);
6197
6197
  }
6198
6198
  if (data.NextToken !== undefined && data.NextToken !== null) {
6199
- contents.NextToken = (0, smithy_client_1.expectString)(data.NextToken);
6199
+ contents.NextToken = smithy_client_1.expectString(data.NextToken);
6200
6200
  }
6201
6201
  return Promise.resolve(contents);
6202
6202
  };
@@ -6243,12 +6243,12 @@ const deserializeAws_restJson1ListBulkDeploymentsCommand = async (output, contex
6243
6243
  BulkDeployments: undefined,
6244
6244
  NextToken: undefined,
6245
6245
  };
6246
- const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
6246
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
6247
6247
  if (data.BulkDeployments !== undefined && data.BulkDeployments !== null) {
6248
6248
  contents.BulkDeployments = deserializeAws_restJson1BulkDeployments(data.BulkDeployments, context);
6249
6249
  }
6250
6250
  if (data.NextToken !== undefined && data.NextToken !== null) {
6251
- contents.NextToken = (0, smithy_client_1.expectString)(data.NextToken);
6251
+ contents.NextToken = smithy_client_1.expectString(data.NextToken);
6252
6252
  }
6253
6253
  return Promise.resolve(contents);
6254
6254
  };
@@ -6295,12 +6295,12 @@ const deserializeAws_restJson1ListConnectorDefinitionsCommand = async (output, c
6295
6295
  Definitions: undefined,
6296
6296
  NextToken: undefined,
6297
6297
  };
6298
- const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
6298
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
6299
6299
  if (data.Definitions !== undefined && data.Definitions !== null) {
6300
6300
  contents.Definitions = deserializeAws_restJson1__listOfDefinitionInformation(data.Definitions, context);
6301
6301
  }
6302
6302
  if (data.NextToken !== undefined && data.NextToken !== null) {
6303
- contents.NextToken = (0, smithy_client_1.expectString)(data.NextToken);
6303
+ contents.NextToken = smithy_client_1.expectString(data.NextToken);
6304
6304
  }
6305
6305
  return Promise.resolve(contents);
6306
6306
  };
@@ -6339,9 +6339,9 @@ const deserializeAws_restJson1ListConnectorDefinitionVersionsCommand = async (ou
6339
6339
  NextToken: undefined,
6340
6340
  Versions: undefined,
6341
6341
  };
6342
- const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
6342
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
6343
6343
  if (data.NextToken !== undefined && data.NextToken !== null) {
6344
- contents.NextToken = (0, smithy_client_1.expectString)(data.NextToken);
6344
+ contents.NextToken = smithy_client_1.expectString(data.NextToken);
6345
6345
  }
6346
6346
  if (data.Versions !== undefined && data.Versions !== null) {
6347
6347
  contents.Versions = deserializeAws_restJson1__listOfVersionInformation(data.Versions, context);
@@ -6391,12 +6391,12 @@ const deserializeAws_restJson1ListCoreDefinitionsCommand = async (output, contex
6391
6391
  Definitions: undefined,
6392
6392
  NextToken: undefined,
6393
6393
  };
6394
- const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
6394
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
6395
6395
  if (data.Definitions !== undefined && data.Definitions !== null) {
6396
6396
  contents.Definitions = deserializeAws_restJson1__listOfDefinitionInformation(data.Definitions, context);
6397
6397
  }
6398
6398
  if (data.NextToken !== undefined && data.NextToken !== null) {
6399
- contents.NextToken = (0, smithy_client_1.expectString)(data.NextToken);
6399
+ contents.NextToken = smithy_client_1.expectString(data.NextToken);
6400
6400
  }
6401
6401
  return Promise.resolve(contents);
6402
6402
  };
@@ -6435,9 +6435,9 @@ const deserializeAws_restJson1ListCoreDefinitionVersionsCommand = async (output,
6435
6435
  NextToken: undefined,
6436
6436
  Versions: undefined,
6437
6437
  };
6438
- const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
6438
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
6439
6439
  if (data.NextToken !== undefined && data.NextToken !== null) {
6440
- contents.NextToken = (0, smithy_client_1.expectString)(data.NextToken);
6440
+ contents.NextToken = smithy_client_1.expectString(data.NextToken);
6441
6441
  }
6442
6442
  if (data.Versions !== undefined && data.Versions !== null) {
6443
6443
  contents.Versions = deserializeAws_restJson1__listOfVersionInformation(data.Versions, context);
@@ -6487,12 +6487,12 @@ const deserializeAws_restJson1ListDeploymentsCommand = async (output, context) =
6487
6487
  Deployments: undefined,
6488
6488
  NextToken: undefined,
6489
6489
  };
6490
- const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
6490
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
6491
6491
  if (data.Deployments !== undefined && data.Deployments !== null) {
6492
6492
  contents.Deployments = deserializeAws_restJson1Deployments(data.Deployments, context);
6493
6493
  }
6494
6494
  if (data.NextToken !== undefined && data.NextToken !== null) {
6495
- contents.NextToken = (0, smithy_client_1.expectString)(data.NextToken);
6495
+ contents.NextToken = smithy_client_1.expectString(data.NextToken);
6496
6496
  }
6497
6497
  return Promise.resolve(contents);
6498
6498
  };
@@ -6539,12 +6539,12 @@ const deserializeAws_restJson1ListDeviceDefinitionsCommand = async (output, cont
6539
6539
  Definitions: undefined,
6540
6540
  NextToken: undefined,
6541
6541
  };
6542
- const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
6542
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
6543
6543
  if (data.Definitions !== undefined && data.Definitions !== null) {
6544
6544
  contents.Definitions = deserializeAws_restJson1__listOfDefinitionInformation(data.Definitions, context);
6545
6545
  }
6546
6546
  if (data.NextToken !== undefined && data.NextToken !== null) {
6547
- contents.NextToken = (0, smithy_client_1.expectString)(data.NextToken);
6547
+ contents.NextToken = smithy_client_1.expectString(data.NextToken);
6548
6548
  }
6549
6549
  return Promise.resolve(contents);
6550
6550
  };
@@ -6583,9 +6583,9 @@ const deserializeAws_restJson1ListDeviceDefinitionVersionsCommand = async (outpu
6583
6583
  NextToken: undefined,
6584
6584
  Versions: undefined,
6585
6585
  };
6586
- const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
6586
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
6587
6587
  if (data.NextToken !== undefined && data.NextToken !== null) {
6588
- contents.NextToken = (0, smithy_client_1.expectString)(data.NextToken);
6588
+ contents.NextToken = smithy_client_1.expectString(data.NextToken);
6589
6589
  }
6590
6590
  if (data.Versions !== undefined && data.Versions !== null) {
6591
6591
  contents.Versions = deserializeAws_restJson1__listOfVersionInformation(data.Versions, context);
@@ -6635,12 +6635,12 @@ const deserializeAws_restJson1ListFunctionDefinitionsCommand = async (output, co
6635
6635
  Definitions: undefined,
6636
6636
  NextToken: undefined,
6637
6637
  };
6638
- const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
6638
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
6639
6639
  if (data.Definitions !== undefined && data.Definitions !== null) {
6640
6640
  contents.Definitions = deserializeAws_restJson1__listOfDefinitionInformation(data.Definitions, context);
6641
6641
  }
6642
6642
  if (data.NextToken !== undefined && data.NextToken !== null) {
6643
- contents.NextToken = (0, smithy_client_1.expectString)(data.NextToken);
6643
+ contents.NextToken = smithy_client_1.expectString(data.NextToken);
6644
6644
  }
6645
6645
  return Promise.resolve(contents);
6646
6646
  };
@@ -6679,9 +6679,9 @@ const deserializeAws_restJson1ListFunctionDefinitionVersionsCommand = async (out
6679
6679
  NextToken: undefined,
6680
6680
  Versions: undefined,
6681
6681
  };
6682
- const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
6682
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
6683
6683
  if (data.NextToken !== undefined && data.NextToken !== null) {
6684
- contents.NextToken = (0, smithy_client_1.expectString)(data.NextToken);
6684
+ contents.NextToken = smithy_client_1.expectString(data.NextToken);
6685
6685
  }
6686
6686
  if (data.Versions !== undefined && data.Versions !== null) {
6687
6687
  contents.Versions = deserializeAws_restJson1__listOfVersionInformation(data.Versions, context);
@@ -6730,7 +6730,7 @@ const deserializeAws_restJson1ListGroupCertificateAuthoritiesCommand = async (ou
6730
6730
  $metadata: deserializeMetadata(output),
6731
6731
  GroupCertificateAuthorities: undefined,
6732
6732
  };
6733
- const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
6733
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
6734
6734
  if (data.GroupCertificateAuthorities !== undefined && data.GroupCertificateAuthorities !== null) {
6735
6735
  contents.GroupCertificateAuthorities = deserializeAws_restJson1__listOfGroupCertificateAuthorityProperties(data.GroupCertificateAuthorities, context);
6736
6736
  }
@@ -6787,12 +6787,12 @@ const deserializeAws_restJson1ListGroupsCommand = async (output, context) => {
6787
6787
  Groups: undefined,
6788
6788
  NextToken: undefined,
6789
6789
  };
6790
- const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
6790
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
6791
6791
  if (data.Groups !== undefined && data.Groups !== null) {
6792
6792
  contents.Groups = deserializeAws_restJson1__listOfGroupInformation(data.Groups, context);
6793
6793
  }
6794
6794
  if (data.NextToken !== undefined && data.NextToken !== null) {
6795
- contents.NextToken = (0, smithy_client_1.expectString)(data.NextToken);
6795
+ contents.NextToken = smithy_client_1.expectString(data.NextToken);
6796
6796
  }
6797
6797
  return Promise.resolve(contents);
6798
6798
  };
@@ -6831,9 +6831,9 @@ const deserializeAws_restJson1ListGroupVersionsCommand = async (output, context)
6831
6831
  NextToken: undefined,
6832
6832
  Versions: undefined,
6833
6833
  };
6834
- const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
6834
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
6835
6835
  if (data.NextToken !== undefined && data.NextToken !== null) {
6836
- contents.NextToken = (0, smithy_client_1.expectString)(data.NextToken);
6836
+ contents.NextToken = smithy_client_1.expectString(data.NextToken);
6837
6837
  }
6838
6838
  if (data.Versions !== undefined && data.Versions !== null) {
6839
6839
  contents.Versions = deserializeAws_restJson1__listOfVersionInformation(data.Versions, context);
@@ -6883,12 +6883,12 @@ const deserializeAws_restJson1ListLoggerDefinitionsCommand = async (output, cont
6883
6883
  Definitions: undefined,
6884
6884
  NextToken: undefined,
6885
6885
  };
6886
- const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
6886
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
6887
6887
  if (data.Definitions !== undefined && data.Definitions !== null) {
6888
6888
  contents.Definitions = deserializeAws_restJson1__listOfDefinitionInformation(data.Definitions, context);
6889
6889
  }
6890
6890
  if (data.NextToken !== undefined && data.NextToken !== null) {
6891
- contents.NextToken = (0, smithy_client_1.expectString)(data.NextToken);
6891
+ contents.NextToken = smithy_client_1.expectString(data.NextToken);
6892
6892
  }
6893
6893
  return Promise.resolve(contents);
6894
6894
  };
@@ -6927,9 +6927,9 @@ const deserializeAws_restJson1ListLoggerDefinitionVersionsCommand = async (outpu
6927
6927
  NextToken: undefined,
6928
6928
  Versions: undefined,
6929
6929
  };
6930
- const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
6930
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
6931
6931
  if (data.NextToken !== undefined && data.NextToken !== null) {
6932
- contents.NextToken = (0, smithy_client_1.expectString)(data.NextToken);
6932
+ contents.NextToken = smithy_client_1.expectString(data.NextToken);
6933
6933
  }
6934
6934
  if (data.Versions !== undefined && data.Versions !== null) {
6935
6935
  contents.Versions = deserializeAws_restJson1__listOfVersionInformation(data.Versions, context);
@@ -6979,12 +6979,12 @@ const deserializeAws_restJson1ListResourceDefinitionsCommand = async (output, co
6979
6979
  Definitions: undefined,
6980
6980
  NextToken: undefined,
6981
6981
  };
6982
- const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
6982
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
6983
6983
  if (data.Definitions !== undefined && data.Definitions !== null) {
6984
6984
  contents.Definitions = deserializeAws_restJson1__listOfDefinitionInformation(data.Definitions, context);
6985
6985
  }
6986
6986
  if (data.NextToken !== undefined && data.NextToken !== null) {
6987
- contents.NextToken = (0, smithy_client_1.expectString)(data.NextToken);
6987
+ contents.NextToken = smithy_client_1.expectString(data.NextToken);
6988
6988
  }
6989
6989
  return Promise.resolve(contents);
6990
6990
  };
@@ -7023,9 +7023,9 @@ const deserializeAws_restJson1ListResourceDefinitionVersionsCommand = async (out
7023
7023
  NextToken: undefined,
7024
7024
  Versions: undefined,
7025
7025
  };
7026
- const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
7026
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
7027
7027
  if (data.NextToken !== undefined && data.NextToken !== null) {
7028
- contents.NextToken = (0, smithy_client_1.expectString)(data.NextToken);
7028
+ contents.NextToken = smithy_client_1.expectString(data.NextToken);
7029
7029
  }
7030
7030
  if (data.Versions !== undefined && data.Versions !== null) {
7031
7031
  contents.Versions = deserializeAws_restJson1__listOfVersionInformation(data.Versions, context);
@@ -7075,12 +7075,12 @@ const deserializeAws_restJson1ListSubscriptionDefinitionsCommand = async (output
7075
7075
  Definitions: undefined,
7076
7076
  NextToken: undefined,
7077
7077
  };
7078
- const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
7078
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
7079
7079
  if (data.Definitions !== undefined && data.Definitions !== null) {
7080
7080
  contents.Definitions = deserializeAws_restJson1__listOfDefinitionInformation(data.Definitions, context);
7081
7081
  }
7082
7082
  if (data.NextToken !== undefined && data.NextToken !== null) {
7083
- contents.NextToken = (0, smithy_client_1.expectString)(data.NextToken);
7083
+ contents.NextToken = smithy_client_1.expectString(data.NextToken);
7084
7084
  }
7085
7085
  return Promise.resolve(contents);
7086
7086
  };
@@ -7119,9 +7119,9 @@ const deserializeAws_restJson1ListSubscriptionDefinitionVersionsCommand = async
7119
7119
  NextToken: undefined,
7120
7120
  Versions: undefined,
7121
7121
  };
7122
- const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
7122
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
7123
7123
  if (data.NextToken !== undefined && data.NextToken !== null) {
7124
- contents.NextToken = (0, smithy_client_1.expectString)(data.NextToken);
7124
+ contents.NextToken = smithy_client_1.expectString(data.NextToken);
7125
7125
  }
7126
7126
  if (data.Versions !== undefined && data.Versions !== null) {
7127
7127
  contents.Versions = deserializeAws_restJson1__listOfVersionInformation(data.Versions, context);
@@ -7170,7 +7170,7 @@ const deserializeAws_restJson1ListTagsForResourceCommand = async (output, contex
7170
7170
  $metadata: deserializeMetadata(output),
7171
7171
  tags: undefined,
7172
7172
  };
7173
- const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
7173
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
7174
7174
  if (data.tags !== undefined && data.tags !== null) {
7175
7175
  contents.tags = deserializeAws_restJson1Tags(data.tags, context);
7176
7176
  }
@@ -7219,12 +7219,12 @@ const deserializeAws_restJson1ResetDeploymentsCommand = async (output, context)
7219
7219
  DeploymentArn: undefined,
7220
7220
  DeploymentId: undefined,
7221
7221
  };
7222
- const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
7222
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
7223
7223
  if (data.DeploymentArn !== undefined && data.DeploymentArn !== null) {
7224
- contents.DeploymentArn = (0, smithy_client_1.expectString)(data.DeploymentArn);
7224
+ contents.DeploymentArn = smithy_client_1.expectString(data.DeploymentArn);
7225
7225
  }
7226
7226
  if (data.DeploymentId !== undefined && data.DeploymentId !== null) {
7227
- contents.DeploymentId = (0, smithy_client_1.expectString)(data.DeploymentId);
7227
+ contents.DeploymentId = smithy_client_1.expectString(data.DeploymentId);
7228
7228
  }
7229
7229
  return Promise.resolve(contents);
7230
7230
  };
@@ -7271,12 +7271,12 @@ const deserializeAws_restJson1StartBulkDeploymentCommand = async (output, contex
7271
7271
  BulkDeploymentArn: undefined,
7272
7272
  BulkDeploymentId: undefined,
7273
7273
  };
7274
- const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
7274
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
7275
7275
  if (data.BulkDeploymentArn !== undefined && data.BulkDeploymentArn !== null) {
7276
- contents.BulkDeploymentArn = (0, smithy_client_1.expectString)(data.BulkDeploymentArn);
7276
+ contents.BulkDeploymentArn = smithy_client_1.expectString(data.BulkDeploymentArn);
7277
7277
  }
7278
7278
  if (data.BulkDeploymentId !== undefined && data.BulkDeploymentId !== null) {
7279
- contents.BulkDeploymentId = (0, smithy_client_1.expectString)(data.BulkDeploymentId);
7279
+ contents.BulkDeploymentId = smithy_client_1.expectString(data.BulkDeploymentId);
7280
7280
  }
7281
7281
  return Promise.resolve(contents);
7282
7282
  };
@@ -7455,12 +7455,12 @@ const deserializeAws_restJson1UpdateConnectivityInfoCommand = async (output, con
7455
7455
  Message: undefined,
7456
7456
  Version: undefined,
7457
7457
  };
7458
- const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
7458
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
7459
7459
  if (data.message !== undefined && data.message !== null) {
7460
- contents.Message = (0, smithy_client_1.expectString)(data.message);
7460
+ contents.Message = smithy_client_1.expectString(data.message);
7461
7461
  }
7462
7462
  if (data.Version !== undefined && data.Version !== null) {
7463
- contents.Version = (0, smithy_client_1.expectString)(data.Version);
7463
+ contents.Version = smithy_client_1.expectString(data.Version);
7464
7464
  }
7465
7465
  return Promise.resolve(contents);
7466
7466
  };
@@ -7736,16 +7736,16 @@ const deserializeAws_restJson1UpdateGroupCertificateConfigurationCommand = async
7736
7736
  CertificateExpiryInMilliseconds: undefined,
7737
7737
  GroupId: undefined,
7738
7738
  };
7739
- const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
7739
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
7740
7740
  if (data.CertificateAuthorityExpiryInMilliseconds !== undefined &&
7741
7741
  data.CertificateAuthorityExpiryInMilliseconds !== null) {
7742
- contents.CertificateAuthorityExpiryInMilliseconds = (0, smithy_client_1.expectString)(data.CertificateAuthorityExpiryInMilliseconds);
7742
+ contents.CertificateAuthorityExpiryInMilliseconds = smithy_client_1.expectString(data.CertificateAuthorityExpiryInMilliseconds);
7743
7743
  }
7744
7744
  if (data.CertificateExpiryInMilliseconds !== undefined && data.CertificateExpiryInMilliseconds !== null) {
7745
- contents.CertificateExpiryInMilliseconds = (0, smithy_client_1.expectString)(data.CertificateExpiryInMilliseconds);
7745
+ contents.CertificateExpiryInMilliseconds = smithy_client_1.expectString(data.CertificateExpiryInMilliseconds);
7746
7746
  }
7747
7747
  if (data.GroupId !== undefined && data.GroupId !== null) {
7748
- contents.GroupId = (0, smithy_client_1.expectString)(data.GroupId);
7748
+ contents.GroupId = smithy_client_1.expectString(data.GroupId);
7749
7749
  }
7750
7750
  return Promise.resolve(contents);
7751
7751
  };
@@ -7988,7 +7988,7 @@ const deserializeAws_restJson1BadRequestExceptionResponse = async (parsedOutput,
7988
7988
  contents.ErrorDetails = deserializeAws_restJson1ErrorDetails(data.ErrorDetails, context);
7989
7989
  }
7990
7990
  if (data.Message !== undefined && data.Message !== null) {
7991
- contents.Message = (0, smithy_client_1.expectString)(data.Message);
7991
+ contents.Message = smithy_client_1.expectString(data.Message);
7992
7992
  }
7993
7993
  return contents;
7994
7994
  };
@@ -8005,7 +8005,7 @@ const deserializeAws_restJson1InternalServerErrorExceptionResponse = async (pars
8005
8005
  contents.ErrorDetails = deserializeAws_restJson1ErrorDetails(data.ErrorDetails, context);
8006
8006
  }
8007
8007
  if (data.Message !== undefined && data.Message !== null) {
8008
- contents.Message = (0, smithy_client_1.expectString)(data.Message);
8008
+ contents.Message = smithy_client_1.expectString(data.Message);
8009
8009
  }
8010
8010
  return contents;
8011
8011
  };
@@ -8451,7 +8451,7 @@ const deserializeAws_restJson1__listOf__string = (output, context) => {
8451
8451
  if (entry === null) {
8452
8452
  return null;
8453
8453
  }
8454
- return (0, smithy_client_1.expectString)(entry);
8454
+ return smithy_client_1.expectString(entry);
8455
8455
  });
8456
8456
  };
8457
8457
  const deserializeAws_restJson1__listOfConnectivityInfo = (output, context) => {
@@ -8591,36 +8591,36 @@ const deserializeAws_restJson1__mapOf__string = (output, context) => {
8591
8591
  }
8592
8592
  return {
8593
8593
  ...acc,
8594
- [key]: (0, smithy_client_1.expectString)(value),
8594
+ [key]: smithy_client_1.expectString(value),
8595
8595
  };
8596
8596
  }, {});
8597
8597
  };
8598
8598
  const deserializeAws_restJson1BulkDeployment = (output, context) => {
8599
8599
  return {
8600
- BulkDeploymentArn: (0, smithy_client_1.expectString)(output.BulkDeploymentArn),
8601
- BulkDeploymentId: (0, smithy_client_1.expectString)(output.BulkDeploymentId),
8602
- CreatedAt: (0, smithy_client_1.expectString)(output.CreatedAt),
8600
+ BulkDeploymentArn: smithy_client_1.expectString(output.BulkDeploymentArn),
8601
+ BulkDeploymentId: smithy_client_1.expectString(output.BulkDeploymentId),
8602
+ CreatedAt: smithy_client_1.expectString(output.CreatedAt),
8603
8603
  };
8604
8604
  };
8605
8605
  const deserializeAws_restJson1BulkDeploymentMetrics = (output, context) => {
8606
8606
  return {
8607
- InvalidInputRecords: (0, smithy_client_1.expectInt32)(output.InvalidInputRecords),
8608
- RecordsProcessed: (0, smithy_client_1.expectInt32)(output.RecordsProcessed),
8609
- RetryAttempts: (0, smithy_client_1.expectInt32)(output.RetryAttempts),
8607
+ InvalidInputRecords: smithy_client_1.expectInt32(output.InvalidInputRecords),
8608
+ RecordsProcessed: smithy_client_1.expectInt32(output.RecordsProcessed),
8609
+ RetryAttempts: smithy_client_1.expectInt32(output.RetryAttempts),
8610
8610
  };
8611
8611
  };
8612
8612
  const deserializeAws_restJson1BulkDeploymentResult = (output, context) => {
8613
8613
  return {
8614
- CreatedAt: (0, smithy_client_1.expectString)(output.CreatedAt),
8615
- DeploymentArn: (0, smithy_client_1.expectString)(output.DeploymentArn),
8616
- DeploymentId: (0, smithy_client_1.expectString)(output.DeploymentId),
8617
- DeploymentStatus: (0, smithy_client_1.expectString)(output.DeploymentStatus),
8618
- DeploymentType: (0, smithy_client_1.expectString)(output.DeploymentType),
8614
+ CreatedAt: smithy_client_1.expectString(output.CreatedAt),
8615
+ DeploymentArn: smithy_client_1.expectString(output.DeploymentArn),
8616
+ DeploymentId: smithy_client_1.expectString(output.DeploymentId),
8617
+ DeploymentStatus: smithy_client_1.expectString(output.DeploymentStatus),
8618
+ DeploymentType: smithy_client_1.expectString(output.DeploymentType),
8619
8619
  ErrorDetails: output.ErrorDetails !== undefined && output.ErrorDetails !== null
8620
8620
  ? deserializeAws_restJson1ErrorDetails(output.ErrorDetails, context)
8621
8621
  : undefined,
8622
- ErrorMessage: (0, smithy_client_1.expectString)(output.ErrorMessage),
8623
- GroupArn: (0, smithy_client_1.expectString)(output.GroupArn),
8622
+ ErrorMessage: smithy_client_1.expectString(output.ErrorMessage),
8623
+ GroupArn: smithy_client_1.expectString(output.GroupArn),
8624
8624
  };
8625
8625
  };
8626
8626
  const deserializeAws_restJson1BulkDeploymentResults = (output, context) => {
@@ -8645,16 +8645,16 @@ const deserializeAws_restJson1BulkDeployments = (output, context) => {
8645
8645
  };
8646
8646
  const deserializeAws_restJson1ConnectivityInfo = (output, context) => {
8647
8647
  return {
8648
- HostAddress: (0, smithy_client_1.expectString)(output.HostAddress),
8649
- Id: (0, smithy_client_1.expectString)(output.Id),
8650
- Metadata: (0, smithy_client_1.expectString)(output.Metadata),
8651
- PortNumber: (0, smithy_client_1.expectInt32)(output.PortNumber),
8648
+ HostAddress: smithy_client_1.expectString(output.HostAddress),
8649
+ Id: smithy_client_1.expectString(output.Id),
8650
+ Metadata: smithy_client_1.expectString(output.Metadata),
8651
+ PortNumber: smithy_client_1.expectInt32(output.PortNumber),
8652
8652
  };
8653
8653
  };
8654
8654
  const deserializeAws_restJson1Connector = (output, context) => {
8655
8655
  return {
8656
- ConnectorArn: (0, smithy_client_1.expectString)(output.ConnectorArn),
8657
- Id: (0, smithy_client_1.expectString)(output.Id),
8656
+ ConnectorArn: smithy_client_1.expectString(output.ConnectorArn),
8657
+ Id: smithy_client_1.expectString(output.Id),
8658
8658
  Parameters: output.Parameters !== undefined && output.Parameters !== null
8659
8659
  ? deserializeAws_restJson1__mapOf__string(output.Parameters, context)
8660
8660
  : undefined,
@@ -8669,10 +8669,10 @@ const deserializeAws_restJson1ConnectorDefinitionVersion = (output, context) =>
8669
8669
  };
8670
8670
  const deserializeAws_restJson1Core = (output, context) => {
8671
8671
  return {
8672
- CertificateArn: (0, smithy_client_1.expectString)(output.CertificateArn),
8673
- Id: (0, smithy_client_1.expectString)(output.Id),
8674
- SyncShadow: (0, smithy_client_1.expectBoolean)(output.SyncShadow),
8675
- ThingArn: (0, smithy_client_1.expectString)(output.ThingArn),
8672
+ CertificateArn: smithy_client_1.expectString(output.CertificateArn),
8673
+ Id: smithy_client_1.expectString(output.Id),
8674
+ SyncShadow: smithy_client_1.expectBoolean(output.SyncShadow),
8675
+ ThingArn: smithy_client_1.expectString(output.ThingArn),
8676
8676
  };
8677
8677
  };
8678
8678
  const deserializeAws_restJson1CoreDefinitionVersion = (output, context) => {
@@ -8684,13 +8684,13 @@ const deserializeAws_restJson1CoreDefinitionVersion = (output, context) => {
8684
8684
  };
8685
8685
  const deserializeAws_restJson1DefinitionInformation = (output, context) => {
8686
8686
  return {
8687
- Arn: (0, smithy_client_1.expectString)(output.Arn),
8688
- CreationTimestamp: (0, smithy_client_1.expectString)(output.CreationTimestamp),
8689
- Id: (0, smithy_client_1.expectString)(output.Id),
8690
- LastUpdatedTimestamp: (0, smithy_client_1.expectString)(output.LastUpdatedTimestamp),
8691
- LatestVersion: (0, smithy_client_1.expectString)(output.LatestVersion),
8692
- LatestVersionArn: (0, smithy_client_1.expectString)(output.LatestVersionArn),
8693
- Name: (0, smithy_client_1.expectString)(output.Name),
8687
+ Arn: smithy_client_1.expectString(output.Arn),
8688
+ CreationTimestamp: smithy_client_1.expectString(output.CreationTimestamp),
8689
+ Id: smithy_client_1.expectString(output.Id),
8690
+ LastUpdatedTimestamp: smithy_client_1.expectString(output.LastUpdatedTimestamp),
8691
+ LatestVersion: smithy_client_1.expectString(output.LatestVersion),
8692
+ LatestVersionArn: smithy_client_1.expectString(output.LatestVersionArn),
8693
+ Name: smithy_client_1.expectString(output.Name),
8694
8694
  Tags: output.tags !== undefined && output.tags !== null
8695
8695
  ? deserializeAws_restJson1Tags(output.tags, context)
8696
8696
  : undefined,
@@ -8698,11 +8698,11 @@ const deserializeAws_restJson1DefinitionInformation = (output, context) => {
8698
8698
  };
8699
8699
  const deserializeAws_restJson1Deployment = (output, context) => {
8700
8700
  return {
8701
- CreatedAt: (0, smithy_client_1.expectString)(output.CreatedAt),
8702
- DeploymentArn: (0, smithy_client_1.expectString)(output.DeploymentArn),
8703
- DeploymentId: (0, smithy_client_1.expectString)(output.DeploymentId),
8704
- DeploymentType: (0, smithy_client_1.expectString)(output.DeploymentType),
8705
- GroupArn: (0, smithy_client_1.expectString)(output.GroupArn),
8701
+ CreatedAt: smithy_client_1.expectString(output.CreatedAt),
8702
+ DeploymentArn: smithy_client_1.expectString(output.DeploymentArn),
8703
+ DeploymentId: smithy_client_1.expectString(output.DeploymentId),
8704
+ DeploymentType: smithy_client_1.expectString(output.DeploymentType),
8705
+ GroupArn: smithy_client_1.expectString(output.GroupArn),
8706
8706
  };
8707
8707
  };
8708
8708
  const deserializeAws_restJson1Deployments = (output, context) => {
@@ -8717,10 +8717,10 @@ const deserializeAws_restJson1Deployments = (output, context) => {
8717
8717
  };
8718
8718
  const deserializeAws_restJson1Device = (output, context) => {
8719
8719
  return {
8720
- CertificateArn: (0, smithy_client_1.expectString)(output.CertificateArn),
8721
- Id: (0, smithy_client_1.expectString)(output.Id),
8722
- SyncShadow: (0, smithy_client_1.expectBoolean)(output.SyncShadow),
8723
- ThingArn: (0, smithy_client_1.expectString)(output.ThingArn),
8720
+ CertificateArn: smithy_client_1.expectString(output.CertificateArn),
8721
+ Id: smithy_client_1.expectString(output.Id),
8722
+ SyncShadow: smithy_client_1.expectBoolean(output.SyncShadow),
8723
+ ThingArn: smithy_client_1.expectString(output.ThingArn),
8724
8724
  };
8725
8725
  };
8726
8726
  const deserializeAws_restJson1DeviceDefinitionVersion = (output, context) => {
@@ -8732,8 +8732,8 @@ const deserializeAws_restJson1DeviceDefinitionVersion = (output, context) => {
8732
8732
  };
8733
8733
  const deserializeAws_restJson1ErrorDetail = (output, context) => {
8734
8734
  return {
8735
- DetailedErrorCode: (0, smithy_client_1.expectString)(output.DetailedErrorCode),
8736
- DetailedErrorMessage: (0, smithy_client_1.expectString)(output.DetailedErrorMessage),
8735
+ DetailedErrorCode: smithy_client_1.expectString(output.DetailedErrorCode),
8736
+ DetailedErrorMessage: smithy_client_1.expectString(output.DetailedErrorMessage),
8737
8737
  };
8738
8738
  };
8739
8739
  const deserializeAws_restJson1ErrorDetails = (output, context) => {
@@ -8748,29 +8748,29 @@ const deserializeAws_restJson1ErrorDetails = (output, context) => {
8748
8748
  };
8749
8749
  const deserializeAws_restJson1Function = (output, context) => {
8750
8750
  return {
8751
- FunctionArn: (0, smithy_client_1.expectString)(output.FunctionArn),
8751
+ FunctionArn: smithy_client_1.expectString(output.FunctionArn),
8752
8752
  FunctionConfiguration: output.FunctionConfiguration !== undefined && output.FunctionConfiguration !== null
8753
8753
  ? deserializeAws_restJson1FunctionConfiguration(output.FunctionConfiguration, context)
8754
8754
  : undefined,
8755
- Id: (0, smithy_client_1.expectString)(output.Id),
8755
+ Id: smithy_client_1.expectString(output.Id),
8756
8756
  };
8757
8757
  };
8758
8758
  const deserializeAws_restJson1FunctionConfiguration = (output, context) => {
8759
8759
  return {
8760
- EncodingType: (0, smithy_client_1.expectString)(output.EncodingType),
8760
+ EncodingType: smithy_client_1.expectString(output.EncodingType),
8761
8761
  Environment: output.Environment !== undefined && output.Environment !== null
8762
8762
  ? deserializeAws_restJson1FunctionConfigurationEnvironment(output.Environment, context)
8763
8763
  : undefined,
8764
- ExecArgs: (0, smithy_client_1.expectString)(output.ExecArgs),
8765
- Executable: (0, smithy_client_1.expectString)(output.Executable),
8766
- MemorySize: (0, smithy_client_1.expectInt32)(output.MemorySize),
8767
- Pinned: (0, smithy_client_1.expectBoolean)(output.Pinned),
8768
- Timeout: (0, smithy_client_1.expectInt32)(output.Timeout),
8764
+ ExecArgs: smithy_client_1.expectString(output.ExecArgs),
8765
+ Executable: smithy_client_1.expectString(output.Executable),
8766
+ MemorySize: smithy_client_1.expectInt32(output.MemorySize),
8767
+ Pinned: smithy_client_1.expectBoolean(output.Pinned),
8768
+ Timeout: smithy_client_1.expectInt32(output.Timeout),
8769
8769
  };
8770
8770
  };
8771
8771
  const deserializeAws_restJson1FunctionConfigurationEnvironment = (output, context) => {
8772
8772
  return {
8773
- AccessSysfs: (0, smithy_client_1.expectBoolean)(output.AccessSysfs),
8773
+ AccessSysfs: smithy_client_1.expectBoolean(output.AccessSysfs),
8774
8774
  Execution: output.Execution !== undefined && output.Execution !== null
8775
8775
  ? deserializeAws_restJson1FunctionExecutionConfig(output.Execution, context)
8776
8776
  : undefined,
@@ -8791,7 +8791,7 @@ const deserializeAws_restJson1FunctionDefaultConfig = (output, context) => {
8791
8791
  };
8792
8792
  const deserializeAws_restJson1FunctionDefaultExecutionConfig = (output, context) => {
8793
8793
  return {
8794
- IsolationMode: (0, smithy_client_1.expectString)(output.IsolationMode),
8794
+ IsolationMode: smithy_client_1.expectString(output.IsolationMode),
8795
8795
  RunAs: output.RunAs !== undefined && output.RunAs !== null
8796
8796
  ? deserializeAws_restJson1FunctionRunAsConfig(output.RunAs, context)
8797
8797
  : undefined,
@@ -8809,7 +8809,7 @@ const deserializeAws_restJson1FunctionDefinitionVersion = (output, context) => {
8809
8809
  };
8810
8810
  const deserializeAws_restJson1FunctionExecutionConfig = (output, context) => {
8811
8811
  return {
8812
- IsolationMode: (0, smithy_client_1.expectString)(output.IsolationMode),
8812
+ IsolationMode: smithy_client_1.expectString(output.IsolationMode),
8813
8813
  RunAs: output.RunAs !== undefined && output.RunAs !== null
8814
8814
  ? deserializeAws_restJson1FunctionRunAsConfig(output.RunAs, context)
8815
8815
  : undefined,
@@ -8817,42 +8817,42 @@ const deserializeAws_restJson1FunctionExecutionConfig = (output, context) => {
8817
8817
  };
8818
8818
  const deserializeAws_restJson1FunctionRunAsConfig = (output, context) => {
8819
8819
  return {
8820
- Gid: (0, smithy_client_1.expectInt32)(output.Gid),
8821
- Uid: (0, smithy_client_1.expectInt32)(output.Uid),
8820
+ Gid: smithy_client_1.expectInt32(output.Gid),
8821
+ Uid: smithy_client_1.expectInt32(output.Uid),
8822
8822
  };
8823
8823
  };
8824
8824
  const deserializeAws_restJson1GroupCertificateAuthorityProperties = (output, context) => {
8825
8825
  return {
8826
- GroupCertificateAuthorityArn: (0, smithy_client_1.expectString)(output.GroupCertificateAuthorityArn),
8827
- GroupCertificateAuthorityId: (0, smithy_client_1.expectString)(output.GroupCertificateAuthorityId),
8826
+ GroupCertificateAuthorityArn: smithy_client_1.expectString(output.GroupCertificateAuthorityArn),
8827
+ GroupCertificateAuthorityId: smithy_client_1.expectString(output.GroupCertificateAuthorityId),
8828
8828
  };
8829
8829
  };
8830
8830
  const deserializeAws_restJson1GroupInformation = (output, context) => {
8831
8831
  return {
8832
- Arn: (0, smithy_client_1.expectString)(output.Arn),
8833
- CreationTimestamp: (0, smithy_client_1.expectString)(output.CreationTimestamp),
8834
- Id: (0, smithy_client_1.expectString)(output.Id),
8835
- LastUpdatedTimestamp: (0, smithy_client_1.expectString)(output.LastUpdatedTimestamp),
8836
- LatestVersion: (0, smithy_client_1.expectString)(output.LatestVersion),
8837
- LatestVersionArn: (0, smithy_client_1.expectString)(output.LatestVersionArn),
8838
- Name: (0, smithy_client_1.expectString)(output.Name),
8832
+ Arn: smithy_client_1.expectString(output.Arn),
8833
+ CreationTimestamp: smithy_client_1.expectString(output.CreationTimestamp),
8834
+ Id: smithy_client_1.expectString(output.Id),
8835
+ LastUpdatedTimestamp: smithy_client_1.expectString(output.LastUpdatedTimestamp),
8836
+ LatestVersion: smithy_client_1.expectString(output.LatestVersion),
8837
+ LatestVersionArn: smithy_client_1.expectString(output.LatestVersionArn),
8838
+ Name: smithy_client_1.expectString(output.Name),
8839
8839
  };
8840
8840
  };
8841
8841
  const deserializeAws_restJson1GroupOwnerSetting = (output, context) => {
8842
8842
  return {
8843
- AutoAddGroupOwner: (0, smithy_client_1.expectBoolean)(output.AutoAddGroupOwner),
8844
- GroupOwner: (0, smithy_client_1.expectString)(output.GroupOwner),
8843
+ AutoAddGroupOwner: smithy_client_1.expectBoolean(output.AutoAddGroupOwner),
8844
+ GroupOwner: smithy_client_1.expectString(output.GroupOwner),
8845
8845
  };
8846
8846
  };
8847
8847
  const deserializeAws_restJson1GroupVersion = (output, context) => {
8848
8848
  return {
8849
- ConnectorDefinitionVersionArn: (0, smithy_client_1.expectString)(output.ConnectorDefinitionVersionArn),
8850
- CoreDefinitionVersionArn: (0, smithy_client_1.expectString)(output.CoreDefinitionVersionArn),
8851
- DeviceDefinitionVersionArn: (0, smithy_client_1.expectString)(output.DeviceDefinitionVersionArn),
8852
- FunctionDefinitionVersionArn: (0, smithy_client_1.expectString)(output.FunctionDefinitionVersionArn),
8853
- LoggerDefinitionVersionArn: (0, smithy_client_1.expectString)(output.LoggerDefinitionVersionArn),
8854
- ResourceDefinitionVersionArn: (0, smithy_client_1.expectString)(output.ResourceDefinitionVersionArn),
8855
- SubscriptionDefinitionVersionArn: (0, smithy_client_1.expectString)(output.SubscriptionDefinitionVersionArn),
8849
+ ConnectorDefinitionVersionArn: smithy_client_1.expectString(output.ConnectorDefinitionVersionArn),
8850
+ CoreDefinitionVersionArn: smithy_client_1.expectString(output.CoreDefinitionVersionArn),
8851
+ DeviceDefinitionVersionArn: smithy_client_1.expectString(output.DeviceDefinitionVersionArn),
8852
+ FunctionDefinitionVersionArn: smithy_client_1.expectString(output.FunctionDefinitionVersionArn),
8853
+ LoggerDefinitionVersionArn: smithy_client_1.expectString(output.LoggerDefinitionVersionArn),
8854
+ ResourceDefinitionVersionArn: smithy_client_1.expectString(output.ResourceDefinitionVersionArn),
8855
+ SubscriptionDefinitionVersionArn: smithy_client_1.expectString(output.SubscriptionDefinitionVersionArn),
8856
8856
  };
8857
8857
  };
8858
8858
  const deserializeAws_restJson1LocalDeviceResourceData = (output, context) => {
@@ -8860,25 +8860,25 @@ const deserializeAws_restJson1LocalDeviceResourceData = (output, context) => {
8860
8860
  GroupOwnerSetting: output.GroupOwnerSetting !== undefined && output.GroupOwnerSetting !== null
8861
8861
  ? deserializeAws_restJson1GroupOwnerSetting(output.GroupOwnerSetting, context)
8862
8862
  : undefined,
8863
- SourcePath: (0, smithy_client_1.expectString)(output.SourcePath),
8863
+ SourcePath: smithy_client_1.expectString(output.SourcePath),
8864
8864
  };
8865
8865
  };
8866
8866
  const deserializeAws_restJson1LocalVolumeResourceData = (output, context) => {
8867
8867
  return {
8868
- DestinationPath: (0, smithy_client_1.expectString)(output.DestinationPath),
8868
+ DestinationPath: smithy_client_1.expectString(output.DestinationPath),
8869
8869
  GroupOwnerSetting: output.GroupOwnerSetting !== undefined && output.GroupOwnerSetting !== null
8870
8870
  ? deserializeAws_restJson1GroupOwnerSetting(output.GroupOwnerSetting, context)
8871
8871
  : undefined,
8872
- SourcePath: (0, smithy_client_1.expectString)(output.SourcePath),
8872
+ SourcePath: smithy_client_1.expectString(output.SourcePath),
8873
8873
  };
8874
8874
  };
8875
8875
  const deserializeAws_restJson1Logger = (output, context) => {
8876
8876
  return {
8877
- Component: (0, smithy_client_1.expectString)(output.Component),
8878
- Id: (0, smithy_client_1.expectString)(output.Id),
8879
- Level: (0, smithy_client_1.expectString)(output.Level),
8880
- Space: (0, smithy_client_1.expectInt32)(output.Space),
8881
- Type: (0, smithy_client_1.expectString)(output.Type),
8877
+ Component: smithy_client_1.expectString(output.Component),
8878
+ Id: smithy_client_1.expectString(output.Id),
8879
+ Level: smithy_client_1.expectString(output.Level),
8880
+ Space: smithy_client_1.expectInt32(output.Space),
8881
+ Type: smithy_client_1.expectString(output.Type),
8882
8882
  };
8883
8883
  };
8884
8884
  const deserializeAws_restJson1LoggerDefinitionVersion = (output, context) => {
@@ -8890,8 +8890,8 @@ const deserializeAws_restJson1LoggerDefinitionVersion = (output, context) => {
8890
8890
  };
8891
8891
  const deserializeAws_restJson1Resource = (output, context) => {
8892
8892
  return {
8893
- Id: (0, smithy_client_1.expectString)(output.Id),
8894
- Name: (0, smithy_client_1.expectString)(output.Name),
8893
+ Id: smithy_client_1.expectString(output.Id),
8894
+ Name: smithy_client_1.expectString(output.Name),
8895
8895
  ResourceDataContainer: output.ResourceDataContainer !== undefined && output.ResourceDataContainer !== null
8896
8896
  ? deserializeAws_restJson1ResourceDataContainer(output.ResourceDataContainer, context)
8897
8897
  : undefined,
@@ -8899,8 +8899,8 @@ const deserializeAws_restJson1Resource = (output, context) => {
8899
8899
  };
8900
8900
  const deserializeAws_restJson1ResourceAccessPolicy = (output, context) => {
8901
8901
  return {
8902
- Permission: (0, smithy_client_1.expectString)(output.Permission),
8903
- ResourceId: (0, smithy_client_1.expectString)(output.ResourceId),
8902
+ Permission: smithy_client_1.expectString(output.Permission),
8903
+ ResourceId: smithy_client_1.expectString(output.ResourceId),
8904
8904
  };
8905
8905
  };
8906
8906
  const deserializeAws_restJson1ResourceDataContainer = (output, context) => {
@@ -8932,8 +8932,8 @@ const deserializeAws_restJson1ResourceDefinitionVersion = (output, context) => {
8932
8932
  };
8933
8933
  const deserializeAws_restJson1ResourceDownloadOwnerSetting = (output, context) => {
8934
8934
  return {
8935
- GroupOwner: (0, smithy_client_1.expectString)(output.GroupOwner),
8936
- GroupPermission: (0, smithy_client_1.expectString)(output.GroupPermission),
8935
+ GroupOwner: smithy_client_1.expectString(output.GroupOwner),
8936
+ GroupPermission: smithy_client_1.expectString(output.GroupPermission),
8937
8937
  };
8938
8938
  };
8939
8939
  const deserializeAws_restJson1RuntimeConfiguration = (output, context) => {
@@ -8945,25 +8945,25 @@ const deserializeAws_restJson1RuntimeConfiguration = (output, context) => {
8945
8945
  };
8946
8946
  const deserializeAws_restJson1S3MachineLearningModelResourceData = (output, context) => {
8947
8947
  return {
8948
- DestinationPath: (0, smithy_client_1.expectString)(output.DestinationPath),
8948
+ DestinationPath: smithy_client_1.expectString(output.DestinationPath),
8949
8949
  OwnerSetting: output.OwnerSetting !== undefined && output.OwnerSetting !== null
8950
8950
  ? deserializeAws_restJson1ResourceDownloadOwnerSetting(output.OwnerSetting, context)
8951
8951
  : undefined,
8952
- S3Uri: (0, smithy_client_1.expectString)(output.S3Uri),
8952
+ S3Uri: smithy_client_1.expectString(output.S3Uri),
8953
8953
  };
8954
8954
  };
8955
8955
  const deserializeAws_restJson1SageMakerMachineLearningModelResourceData = (output, context) => {
8956
8956
  return {
8957
- DestinationPath: (0, smithy_client_1.expectString)(output.DestinationPath),
8957
+ DestinationPath: smithy_client_1.expectString(output.DestinationPath),
8958
8958
  OwnerSetting: output.OwnerSetting !== undefined && output.OwnerSetting !== null
8959
8959
  ? deserializeAws_restJson1ResourceDownloadOwnerSetting(output.OwnerSetting, context)
8960
8960
  : undefined,
8961
- SageMakerJobArn: (0, smithy_client_1.expectString)(output.SageMakerJobArn),
8961
+ SageMakerJobArn: smithy_client_1.expectString(output.SageMakerJobArn),
8962
8962
  };
8963
8963
  };
8964
8964
  const deserializeAws_restJson1SecretsManagerSecretResourceData = (output, context) => {
8965
8965
  return {
8966
- ARN: (0, smithy_client_1.expectString)(output.ARN),
8966
+ ARN: smithy_client_1.expectString(output.ARN),
8967
8967
  AdditionalStagingLabelsToDownload: output.AdditionalStagingLabelsToDownload !== undefined && output.AdditionalStagingLabelsToDownload !== null
8968
8968
  ? deserializeAws_restJson1__listOf__string(output.AdditionalStagingLabelsToDownload, context)
8969
8969
  : undefined,
@@ -8971,10 +8971,10 @@ const deserializeAws_restJson1SecretsManagerSecretResourceData = (output, contex
8971
8971
  };
8972
8972
  const deserializeAws_restJson1Subscription = (output, context) => {
8973
8973
  return {
8974
- Id: (0, smithy_client_1.expectString)(output.Id),
8975
- Source: (0, smithy_client_1.expectString)(output.Source),
8976
- Subject: (0, smithy_client_1.expectString)(output.Subject),
8977
- Target: (0, smithy_client_1.expectString)(output.Target),
8974
+ Id: smithy_client_1.expectString(output.Id),
8975
+ Source: smithy_client_1.expectString(output.Source),
8976
+ Subject: smithy_client_1.expectString(output.Subject),
8977
+ Target: smithy_client_1.expectString(output.Target),
8978
8978
  };
8979
8979
  };
8980
8980
  const deserializeAws_restJson1SubscriptionDefinitionVersion = (output, context) => {
@@ -8991,22 +8991,22 @@ const deserializeAws_restJson1Tags = (output, context) => {
8991
8991
  }
8992
8992
  return {
8993
8993
  ...acc,
8994
- [key]: (0, smithy_client_1.expectString)(value),
8994
+ [key]: smithy_client_1.expectString(value),
8995
8995
  };
8996
8996
  }, {});
8997
8997
  };
8998
8998
  const deserializeAws_restJson1TelemetryConfiguration = (output, context) => {
8999
8999
  return {
9000
- ConfigurationSyncStatus: (0, smithy_client_1.expectString)(output.ConfigurationSyncStatus),
9001
- Telemetry: (0, smithy_client_1.expectString)(output.Telemetry),
9000
+ ConfigurationSyncStatus: smithy_client_1.expectString(output.ConfigurationSyncStatus),
9001
+ Telemetry: smithy_client_1.expectString(output.Telemetry),
9002
9002
  };
9003
9003
  };
9004
9004
  const deserializeAws_restJson1VersionInformation = (output, context) => {
9005
9005
  return {
9006
- Arn: (0, smithy_client_1.expectString)(output.Arn),
9007
- CreationTimestamp: (0, smithy_client_1.expectString)(output.CreationTimestamp),
9008
- Id: (0, smithy_client_1.expectString)(output.Id),
9009
- Version: (0, smithy_client_1.expectString)(output.Version),
9006
+ Arn: smithy_client_1.expectString(output.Arn),
9007
+ CreationTimestamp: smithy_client_1.expectString(output.CreationTimestamp),
9008
+ Id: smithy_client_1.expectString(output.Id),
9009
+ Version: smithy_client_1.expectString(output.Version),
9010
9010
  };
9011
9011
  };
9012
9012
  const deserializeMetadata = (output) => {