@aws-sdk/client-iotdeviceadvisor 3.31.0 → 3.35.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 (248) hide show
  1. package/CHANGELOG.md +39 -0
  2. package/{dist/cjs → dist-cjs}/IotDeviceAdvisor.js +1 -1
  3. package/dist-cjs/IotDeviceAdvisor.js.map +1 -0
  4. package/{dist/cjs → dist-cjs}/IotDeviceAdvisorClient.js +14 -14
  5. package/dist-cjs/IotDeviceAdvisorClient.js.map +1 -0
  6. package/{dist/cjs → dist-cjs}/commands/CreateSuiteDefinitionCommand.js +5 -5
  7. package/dist-cjs/commands/CreateSuiteDefinitionCommand.js.map +1 -0
  8. package/{dist/cjs → dist-cjs}/commands/DeleteSuiteDefinitionCommand.js +5 -5
  9. package/dist-cjs/commands/DeleteSuiteDefinitionCommand.js.map +1 -0
  10. package/{dist/cjs → dist-cjs}/commands/GetSuiteDefinitionCommand.js +5 -5
  11. package/dist-cjs/commands/GetSuiteDefinitionCommand.js.map +1 -0
  12. package/{dist/cjs → dist-cjs}/commands/GetSuiteRunCommand.js +5 -5
  13. package/dist-cjs/commands/GetSuiteRunCommand.js.map +1 -0
  14. package/{dist/cjs → dist-cjs}/commands/GetSuiteRunReportCommand.js +5 -5
  15. package/dist-cjs/commands/GetSuiteRunReportCommand.js.map +1 -0
  16. package/{dist/cjs → dist-cjs}/commands/ListSuiteDefinitionsCommand.js +5 -5
  17. package/dist-cjs/commands/ListSuiteDefinitionsCommand.js.map +1 -0
  18. package/{dist/cjs → dist-cjs}/commands/ListSuiteRunsCommand.js +5 -5
  19. package/dist-cjs/commands/ListSuiteRunsCommand.js.map +1 -0
  20. package/{dist/cjs → dist-cjs}/commands/ListTagsForResourceCommand.js +5 -5
  21. package/dist-cjs/commands/ListTagsForResourceCommand.js.map +1 -0
  22. package/{dist/cjs → dist-cjs}/commands/StartSuiteRunCommand.js +5 -5
  23. package/dist-cjs/commands/StartSuiteRunCommand.js.map +1 -0
  24. package/{dist/cjs → dist-cjs}/commands/StopSuiteRunCommand.js +5 -5
  25. package/dist-cjs/commands/StopSuiteRunCommand.js.map +1 -0
  26. package/{dist/cjs → dist-cjs}/commands/TagResourceCommand.js +5 -5
  27. package/dist-cjs/commands/TagResourceCommand.js.map +1 -0
  28. package/{dist/cjs → dist-cjs}/commands/UntagResourceCommand.js +5 -5
  29. package/dist-cjs/commands/UntagResourceCommand.js.map +1 -0
  30. package/{dist/cjs → dist-cjs}/commands/UpdateSuiteDefinitionCommand.js +5 -5
  31. package/dist-cjs/commands/UpdateSuiteDefinitionCommand.js.map +1 -0
  32. package/{dist/cjs → dist-cjs}/endpoints.js +1 -1
  33. package/dist-cjs/endpoints.js.map +1 -0
  34. package/dist-cjs/index.js +23 -0
  35. package/dist-cjs/index.js.map +1 -0
  36. package/{dist/cjs → dist-cjs}/models/index.js +1 -1
  37. package/{dist/cjs → dist-cjs}/models/index.js.map +1 -1
  38. package/{dist/cjs → dist-cjs}/models/models_0.js +0 -0
  39. package/dist-cjs/models/models_0.js.map +1 -0
  40. package/{dist/cjs → dist-cjs}/pagination/Interfaces.js +0 -0
  41. package/{dist/cjs → dist-cjs}/pagination/Interfaces.js.map +1 -1
  42. package/{dist/cjs → dist-cjs}/pagination/ListSuiteDefinitionsPaginator.js +1 -1
  43. package/dist-cjs/pagination/ListSuiteDefinitionsPaginator.js.map +1 -0
  44. package/{dist/cjs → dist-cjs}/pagination/ListSuiteRunsPaginator.js +1 -1
  45. package/dist-cjs/pagination/ListSuiteRunsPaginator.js.map +1 -0
  46. package/{dist/cjs → dist-cjs}/protocols/Aws_restJson1.js +92 -92
  47. package/dist-cjs/protocols/Aws_restJson1.js.map +1 -0
  48. package/{dist/cjs → dist-cjs}/runtimeConfig.browser.js +5 -4
  49. package/dist-cjs/runtimeConfig.browser.js.map +1 -0
  50. package/{dist/cjs → dist-cjs}/runtimeConfig.js +10 -9
  51. package/dist-cjs/runtimeConfig.js.map +1 -0
  52. package/{dist/cjs → dist-cjs}/runtimeConfig.native.js +1 -1
  53. package/dist-cjs/runtimeConfig.native.js.map +1 -0
  54. package/{dist/cjs → dist-cjs}/runtimeConfig.shared.js +1 -1
  55. package/dist-cjs/runtimeConfig.shared.js.map +1 -0
  56. package/{dist/es → dist-es}/IotDeviceAdvisor.js +2 -5
  57. package/dist-es/IotDeviceAdvisor.js.map +1 -0
  58. package/{dist/es → dist-es}/IotDeviceAdvisorClient.js +2 -10
  59. package/dist-es/IotDeviceAdvisorClient.js.map +1 -0
  60. package/{dist/es → dist-es}/commands/CreateSuiteDefinitionCommand.js +4 -29
  61. package/dist-es/commands/CreateSuiteDefinitionCommand.js.map +1 -0
  62. package/{dist/es → dist-es}/commands/DeleteSuiteDefinitionCommand.js +4 -29
  63. package/dist-es/commands/DeleteSuiteDefinitionCommand.js.map +1 -0
  64. package/{dist/es → dist-es}/commands/GetSuiteDefinitionCommand.js +4 -29
  65. package/dist-es/commands/GetSuiteDefinitionCommand.js.map +1 -0
  66. package/{dist/es → dist-es}/commands/GetSuiteRunCommand.js +4 -29
  67. package/dist-es/commands/GetSuiteRunCommand.js.map +1 -0
  68. package/{dist/es → dist-es}/commands/GetSuiteRunReportCommand.js +4 -29
  69. package/dist-es/commands/GetSuiteRunReportCommand.js.map +1 -0
  70. package/{dist/es → dist-es}/commands/ListSuiteDefinitionsCommand.js +4 -29
  71. package/dist-es/commands/ListSuiteDefinitionsCommand.js.map +1 -0
  72. package/{dist/es → dist-es}/commands/ListSuiteRunsCommand.js +4 -30
  73. package/dist-es/commands/ListSuiteRunsCommand.js.map +1 -0
  74. package/{dist/es → dist-es}/commands/ListTagsForResourceCommand.js +4 -29
  75. package/dist-es/commands/ListTagsForResourceCommand.js.map +1 -0
  76. package/{dist/es → dist-es}/commands/StartSuiteRunCommand.js +4 -29
  77. package/dist-es/commands/StartSuiteRunCommand.js.map +1 -0
  78. package/{dist/es → dist-es}/commands/StopSuiteRunCommand.js +4 -29
  79. package/dist-es/commands/StopSuiteRunCommand.js.map +1 -0
  80. package/{dist/es → dist-es}/commands/TagResourceCommand.js +4 -29
  81. package/dist-es/commands/TagResourceCommand.js.map +1 -0
  82. package/{dist/es → dist-es}/commands/UntagResourceCommand.js +4 -29
  83. package/dist-es/commands/UntagResourceCommand.js.map +1 -0
  84. package/{dist/es → dist-es}/commands/UpdateSuiteDefinitionCommand.js +4 -29
  85. package/dist-es/commands/UpdateSuiteDefinitionCommand.js.map +1 -0
  86. package/{dist/es → dist-es}/endpoints.js +1 -1
  87. package/dist-es/endpoints.js.map +1 -0
  88. package/{dist/es → dist-es}/index.js +0 -0
  89. package/dist-es/index.js.map +1 -0
  90. package/{dist/es → dist-es}/models/index.js +0 -0
  91. package/dist-es/models/index.js.map +1 -0
  92. package/{dist/es → dist-es}/models/models_0.js +0 -114
  93. package/dist-es/models/models_0.js.map +1 -0
  94. package/{dist/es → dist-es}/pagination/Interfaces.js +0 -0
  95. package/{dist/es → dist-es}/pagination/Interfaces.js.map +1 -1
  96. package/{dist/es → dist-es}/pagination/ListSuiteDefinitionsPaginator.js +17 -29
  97. package/dist-es/pagination/ListSuiteDefinitionsPaginator.js.map +1 -0
  98. package/{dist/es → dist-es}/pagination/ListSuiteRunsPaginator.js +17 -29
  99. package/dist-es/pagination/ListSuiteRunsPaginator.js.map +1 -0
  100. package/{dist/es → dist-es}/protocols/Aws_restJson1.js +252 -257
  101. package/dist-es/protocols/Aws_restJson1.js.map +1 -0
  102. package/{dist/es → dist-es}/runtimeConfig.browser.js +1 -4
  103. package/dist-es/runtimeConfig.browser.js.map +1 -0
  104. package/{dist/es → dist-es}/runtimeConfig.js +2 -5
  105. package/dist-es/runtimeConfig.js.map +1 -0
  106. package/{dist/es → dist-es}/runtimeConfig.native.js +0 -3
  107. package/dist-es/runtimeConfig.native.js.map +1 -0
  108. package/{dist/es → dist-es}/runtimeConfig.shared.js +1 -4
  109. package/dist-es/runtimeConfig.shared.js.map +1 -0
  110. package/{dist/types → dist-types}/IotDeviceAdvisor.d.ts +2 -2
  111. package/{dist/types → dist-types}/IotDeviceAdvisorClient.d.ts +8 -8
  112. package/{dist/types → dist-types}/commands/CreateSuiteDefinitionCommand.d.ts +2 -2
  113. package/{dist/types → dist-types}/commands/DeleteSuiteDefinitionCommand.d.ts +2 -2
  114. package/{dist/types → dist-types}/commands/GetSuiteDefinitionCommand.d.ts +2 -2
  115. package/{dist/types → dist-types}/commands/GetSuiteRunCommand.d.ts +2 -2
  116. package/{dist/types → dist-types}/commands/GetSuiteRunReportCommand.d.ts +2 -2
  117. package/{dist/types → dist-types}/commands/ListSuiteDefinitionsCommand.d.ts +2 -2
  118. package/{dist/types → dist-types}/commands/ListSuiteRunsCommand.d.ts +2 -2
  119. package/{dist/types → dist-types}/commands/ListTagsForResourceCommand.d.ts +2 -2
  120. package/{dist/types → dist-types}/commands/StartSuiteRunCommand.d.ts +2 -2
  121. package/{dist/types → dist-types}/commands/StopSuiteRunCommand.d.ts +2 -2
  122. package/{dist/types → dist-types}/commands/TagResourceCommand.d.ts +2 -2
  123. package/{dist/types → dist-types}/commands/UntagResourceCommand.d.ts +2 -2
  124. package/{dist/types → dist-types}/commands/UpdateSuiteDefinitionCommand.d.ts +2 -2
  125. package/{dist/types → dist-types}/endpoints.d.ts +0 -0
  126. package/{dist/types → dist-types}/index.d.ts +0 -0
  127. package/{dist/types → dist-types}/models/index.d.ts +0 -0
  128. package/{dist/types → dist-types}/models/models_0.d.ts +0 -0
  129. package/{dist/types → dist-types}/pagination/Interfaces.d.ts +1 -1
  130. package/{dist/types → dist-types}/pagination/ListSuiteDefinitionsPaginator.d.ts +1 -1
  131. package/{dist/types → dist-types}/pagination/ListSuiteRunsPaginator.d.ts +1 -1
  132. package/{dist/types → dist-types}/protocols/Aws_restJson1.d.ts +2 -2
  133. package/{dist/types/ts3.4 → dist-types}/runtimeConfig.browser.d.ts +37 -36
  134. package/{dist/types/ts3.4 → dist-types}/runtimeConfig.d.ts +37 -36
  135. package/{dist/types → dist-types}/runtimeConfig.native.d.ts +1 -0
  136. package/{dist/types → dist-types}/runtimeConfig.shared.d.ts +0 -0
  137. package/{dist/types → dist-types}/ts3.4/IotDeviceAdvisor.d.ts +2 -2
  138. package/{dist/types → dist-types}/ts3.4/IotDeviceAdvisorClient.d.ts +8 -8
  139. package/{dist/types → dist-types}/ts3.4/commands/CreateSuiteDefinitionCommand.d.ts +2 -2
  140. package/{dist/types → dist-types}/ts3.4/commands/DeleteSuiteDefinitionCommand.d.ts +2 -2
  141. package/{dist/types → dist-types}/ts3.4/commands/GetSuiteDefinitionCommand.d.ts +2 -2
  142. package/{dist/types → dist-types}/ts3.4/commands/GetSuiteRunCommand.d.ts +2 -2
  143. package/{dist/types → dist-types}/ts3.4/commands/GetSuiteRunReportCommand.d.ts +2 -2
  144. package/{dist/types → dist-types}/ts3.4/commands/ListSuiteDefinitionsCommand.d.ts +2 -2
  145. package/{dist/types → dist-types}/ts3.4/commands/ListSuiteRunsCommand.d.ts +2 -2
  146. package/{dist/types → dist-types}/ts3.4/commands/ListTagsForResourceCommand.d.ts +2 -2
  147. package/{dist/types → dist-types}/ts3.4/commands/StartSuiteRunCommand.d.ts +2 -2
  148. package/{dist/types → dist-types}/ts3.4/commands/StopSuiteRunCommand.d.ts +2 -2
  149. package/{dist/types → dist-types}/ts3.4/commands/TagResourceCommand.d.ts +2 -2
  150. package/{dist/types → dist-types}/ts3.4/commands/UntagResourceCommand.d.ts +2 -2
  151. package/{dist/types → dist-types}/ts3.4/commands/UpdateSuiteDefinitionCommand.d.ts +2 -2
  152. package/{dist/types → dist-types}/ts3.4/endpoints.d.ts +0 -0
  153. package/{dist/types → dist-types}/ts3.4/index.d.ts +0 -0
  154. package/{dist/types → dist-types}/ts3.4/models/index.d.ts +0 -0
  155. package/{dist/types → dist-types}/ts3.4/models/models_0.d.ts +0 -0
  156. package/{dist/types → dist-types}/ts3.4/pagination/Interfaces.d.ts +1 -1
  157. package/{dist/types → dist-types}/ts3.4/pagination/ListSuiteDefinitionsPaginator.d.ts +1 -1
  158. package/{dist/types → dist-types}/ts3.4/pagination/ListSuiteRunsPaginator.d.ts +1 -1
  159. package/{dist/types → dist-types}/ts3.4/protocols/Aws_restJson1.d.ts +2 -2
  160. package/{dist/types → dist-types/ts3.4}/runtimeConfig.browser.d.ts +37 -36
  161. package/{dist/types → dist-types/ts3.4}/runtimeConfig.d.ts +37 -36
  162. package/{dist/types → dist-types}/ts3.4/runtimeConfig.native.d.ts +1 -0
  163. package/{dist/types → dist-types}/ts3.4/runtimeConfig.shared.d.ts +0 -0
  164. package/package.json +50 -50
  165. package/{IotDeviceAdvisor.ts → src/IotDeviceAdvisor.ts} +3 -2
  166. package/{IotDeviceAdvisorClient.ts → src/IotDeviceAdvisorClient.ts} +43 -42
  167. package/{commands → src/commands}/CreateSuiteDefinitionCommand.ts +8 -7
  168. package/{commands → src/commands}/DeleteSuiteDefinitionCommand.ts +8 -7
  169. package/{commands → src/commands}/GetSuiteDefinitionCommand.ts +8 -7
  170. package/{commands → src/commands}/GetSuiteRunCommand.ts +8 -7
  171. package/{commands → src/commands}/GetSuiteRunReportCommand.ts +8 -7
  172. package/{commands → src/commands}/ListSuiteDefinitionsCommand.ts +8 -7
  173. package/{commands → src/commands}/ListSuiteRunsCommand.ts +8 -7
  174. package/{commands → src/commands}/ListTagsForResourceCommand.ts +8 -7
  175. package/{commands → src/commands}/StartSuiteRunCommand.ts +8 -7
  176. package/{commands → src/commands}/StopSuiteRunCommand.ts +8 -7
  177. package/{commands → src/commands}/TagResourceCommand.ts +8 -7
  178. package/{commands → src/commands}/UntagResourceCommand.ts +8 -7
  179. package/{commands → src/commands}/UpdateSuiteDefinitionCommand.ts +8 -7
  180. package/{endpoints.ts → src/endpoints.ts} +1 -1
  181. package/{index.ts → src/index.ts} +0 -0
  182. package/{models → src/models}/index.ts +0 -0
  183. package/{models → src/models}/models_0.ts +0 -0
  184. package/{pagination → src/pagination}/Interfaces.ts +2 -1
  185. package/{pagination → src/pagination}/ListSuiteDefinitionsPaginator.ts +4 -3
  186. package/{pagination → src/pagination}/ListSuiteRunsPaginator.ts +4 -3
  187. package/{protocols → src/protocols}/Aws_restJson1.ts +35 -34
  188. package/{runtimeConfig.browser.ts → src/runtimeConfig.browser.ts} +3 -2
  189. package/{runtimeConfig.native.ts → src/runtimeConfig.native.ts} +1 -0
  190. package/{runtimeConfig.shared.ts → src/runtimeConfig.shared.ts} +2 -1
  191. package/{runtimeConfig.ts → src/runtimeConfig.ts} +4 -3
  192. package/tsconfig.es.json +1 -3
  193. package/tsconfig.json +7 -7
  194. package/tsconfig.types.json +9 -0
  195. package/dist/cjs/IotDeviceAdvisor.js.map +0 -1
  196. package/dist/cjs/IotDeviceAdvisorClient.js.map +0 -1
  197. package/dist/cjs/commands/CreateSuiteDefinitionCommand.js.map +0 -1
  198. package/dist/cjs/commands/DeleteSuiteDefinitionCommand.js.map +0 -1
  199. package/dist/cjs/commands/GetSuiteDefinitionCommand.js.map +0 -1
  200. package/dist/cjs/commands/GetSuiteRunCommand.js.map +0 -1
  201. package/dist/cjs/commands/GetSuiteRunReportCommand.js.map +0 -1
  202. package/dist/cjs/commands/ListSuiteDefinitionsCommand.js.map +0 -1
  203. package/dist/cjs/commands/ListSuiteRunsCommand.js.map +0 -1
  204. package/dist/cjs/commands/ListTagsForResourceCommand.js.map +0 -1
  205. package/dist/cjs/commands/StartSuiteRunCommand.js.map +0 -1
  206. package/dist/cjs/commands/StopSuiteRunCommand.js.map +0 -1
  207. package/dist/cjs/commands/TagResourceCommand.js.map +0 -1
  208. package/dist/cjs/commands/UntagResourceCommand.js.map +0 -1
  209. package/dist/cjs/commands/UpdateSuiteDefinitionCommand.js.map +0 -1
  210. package/dist/cjs/endpoints.js.map +0 -1
  211. package/dist/cjs/index.js +0 -23
  212. package/dist/cjs/index.js.map +0 -1
  213. package/dist/cjs/models/models_0.js.map +0 -1
  214. package/dist/cjs/package.json +0 -91
  215. package/dist/cjs/pagination/ListSuiteDefinitionsPaginator.js.map +0 -1
  216. package/dist/cjs/pagination/ListSuiteRunsPaginator.js.map +0 -1
  217. package/dist/cjs/protocols/Aws_restJson1.js.map +0 -1
  218. package/dist/cjs/runtimeConfig.browser.js.map +0 -1
  219. package/dist/cjs/runtimeConfig.js.map +0 -1
  220. package/dist/cjs/runtimeConfig.native.js.map +0 -1
  221. package/dist/cjs/runtimeConfig.shared.js.map +0 -1
  222. package/dist/es/IotDeviceAdvisor.js.map +0 -1
  223. package/dist/es/IotDeviceAdvisorClient.js.map +0 -1
  224. package/dist/es/commands/CreateSuiteDefinitionCommand.js.map +0 -1
  225. package/dist/es/commands/DeleteSuiteDefinitionCommand.js.map +0 -1
  226. package/dist/es/commands/GetSuiteDefinitionCommand.js.map +0 -1
  227. package/dist/es/commands/GetSuiteRunCommand.js.map +0 -1
  228. package/dist/es/commands/GetSuiteRunReportCommand.js.map +0 -1
  229. package/dist/es/commands/ListSuiteDefinitionsCommand.js.map +0 -1
  230. package/dist/es/commands/ListSuiteRunsCommand.js.map +0 -1
  231. package/dist/es/commands/ListTagsForResourceCommand.js.map +0 -1
  232. package/dist/es/commands/StartSuiteRunCommand.js.map +0 -1
  233. package/dist/es/commands/StopSuiteRunCommand.js.map +0 -1
  234. package/dist/es/commands/TagResourceCommand.js.map +0 -1
  235. package/dist/es/commands/UntagResourceCommand.js.map +0 -1
  236. package/dist/es/commands/UpdateSuiteDefinitionCommand.js.map +0 -1
  237. package/dist/es/endpoints.js.map +0 -1
  238. package/dist/es/index.js.map +0 -1
  239. package/dist/es/models/index.js.map +0 -1
  240. package/dist/es/models/models_0.js.map +0 -1
  241. package/dist/es/package.json +0 -91
  242. package/dist/es/pagination/ListSuiteDefinitionsPaginator.js.map +0 -1
  243. package/dist/es/pagination/ListSuiteRunsPaginator.js.map +0 -1
  244. package/dist/es/protocols/Aws_restJson1.js.map +0 -1
  245. package/dist/es/runtimeConfig.browser.js.map +0 -1
  246. package/dist/es/runtimeConfig.js.map +0 -1
  247. package/dist/es/runtimeConfig.native.js.map +0 -1
  248. package/dist/es/runtimeConfig.shared.js.map +0 -1
@@ -8,7 +8,7 @@ const serializeAws_restJson1CreateSuiteDefinitionCommand = async (input, context
8
8
  const headers = {
9
9
  "content-type": "application/json",
10
10
  };
11
- let resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/suiteDefinitions";
11
+ const resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/suiteDefinitions";
12
12
  let body;
13
13
  body = JSON.stringify({
14
14
  ...(input.suiteDefinitionConfiguration !== undefined &&
@@ -37,7 +37,7 @@ const serializeAws_restJson1DeleteSuiteDefinitionCommand = async (input, context
37
37
  if (labelValue.length <= 0) {
38
38
  throw new Error("Empty value provided for input HTTP label: suiteDefinitionId.");
39
39
  }
40
- resolvedPath = resolvedPath.replace("{suiteDefinitionId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
40
+ resolvedPath = resolvedPath.replace("{suiteDefinitionId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
41
41
  }
42
42
  else {
43
43
  throw new Error("No value provided for input HTTP label: suiteDefinitionId.");
@@ -63,7 +63,7 @@ const serializeAws_restJson1GetSuiteDefinitionCommand = async (input, context) =
63
63
  if (labelValue.length <= 0) {
64
64
  throw new Error("Empty value provided for input HTTP label: suiteDefinitionId.");
65
65
  }
66
- resolvedPath = resolvedPath.replace("{suiteDefinitionId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
66
+ resolvedPath = resolvedPath.replace("{suiteDefinitionId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
67
67
  }
68
68
  else {
69
69
  throw new Error("No value provided for input HTTP label: suiteDefinitionId.");
@@ -94,7 +94,7 @@ const serializeAws_restJson1GetSuiteRunCommand = async (input, context) => {
94
94
  if (labelValue.length <= 0) {
95
95
  throw new Error("Empty value provided for input HTTP label: suiteDefinitionId.");
96
96
  }
97
- resolvedPath = resolvedPath.replace("{suiteDefinitionId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
97
+ resolvedPath = resolvedPath.replace("{suiteDefinitionId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
98
98
  }
99
99
  else {
100
100
  throw new Error("No value provided for input HTTP label: suiteDefinitionId.");
@@ -104,7 +104,7 @@ const serializeAws_restJson1GetSuiteRunCommand = async (input, context) => {
104
104
  if (labelValue.length <= 0) {
105
105
  throw new Error("Empty value provided for input HTTP label: suiteRunId.");
106
106
  }
107
- resolvedPath = resolvedPath.replace("{suiteRunId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
107
+ resolvedPath = resolvedPath.replace("{suiteRunId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
108
108
  }
109
109
  else {
110
110
  throw new Error("No value provided for input HTTP label: suiteRunId.");
@@ -131,7 +131,7 @@ const serializeAws_restJson1GetSuiteRunReportCommand = async (input, context) =>
131
131
  if (labelValue.length <= 0) {
132
132
  throw new Error("Empty value provided for input HTTP label: suiteDefinitionId.");
133
133
  }
134
- resolvedPath = resolvedPath.replace("{suiteDefinitionId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
134
+ resolvedPath = resolvedPath.replace("{suiteDefinitionId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
135
135
  }
136
136
  else {
137
137
  throw new Error("No value provided for input HTTP label: suiteDefinitionId.");
@@ -141,7 +141,7 @@ const serializeAws_restJson1GetSuiteRunReportCommand = async (input, context) =>
141
141
  if (labelValue.length <= 0) {
142
142
  throw new Error("Empty value provided for input HTTP label: suiteRunId.");
143
143
  }
144
- resolvedPath = resolvedPath.replace("{suiteRunId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
144
+ resolvedPath = resolvedPath.replace("{suiteRunId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
145
145
  }
146
146
  else {
147
147
  throw new Error("No value provided for input HTTP label: suiteRunId.");
@@ -161,7 +161,7 @@ exports.serializeAws_restJson1GetSuiteRunReportCommand = serializeAws_restJson1G
161
161
  const serializeAws_restJson1ListSuiteDefinitionsCommand = async (input, context) => {
162
162
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
163
163
  const headers = {};
164
- let resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/suiteDefinitions";
164
+ const resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/suiteDefinitions";
165
165
  const query = {
166
166
  ...(input.maxResults !== undefined && { maxResults: input.maxResults.toString() }),
167
167
  ...(input.nextToken !== undefined && { nextToken: input.nextToken }),
@@ -182,7 +182,7 @@ exports.serializeAws_restJson1ListSuiteDefinitionsCommand = serializeAws_restJso
182
182
  const serializeAws_restJson1ListSuiteRunsCommand = async (input, context) => {
183
183
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
184
184
  const headers = {};
185
- let resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/suiteRuns";
185
+ const resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/suiteRuns";
186
186
  const query = {
187
187
  ...(input.suiteDefinitionId !== undefined && { suiteDefinitionId: input.suiteDefinitionId }),
188
188
  ...(input.suiteDefinitionVersion !== undefined && { suiteDefinitionVersion: input.suiteDefinitionVersion }),
@@ -211,7 +211,7 @@ const serializeAws_restJson1ListTagsForResourceCommand = async (input, context)
211
211
  if (labelValue.length <= 0) {
212
212
  throw new Error("Empty value provided for input HTTP label: resourceArn.");
213
213
  }
214
- resolvedPath = resolvedPath.replace("{resourceArn}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
214
+ resolvedPath = resolvedPath.replace("{resourceArn}", smithy_client_1.extendedEncodeURIComponent(labelValue));
215
215
  }
216
216
  else {
217
217
  throw new Error("No value provided for input HTTP label: resourceArn.");
@@ -240,7 +240,7 @@ const serializeAws_restJson1StartSuiteRunCommand = async (input, context) => {
240
240
  if (labelValue.length <= 0) {
241
241
  throw new Error("Empty value provided for input HTTP label: suiteDefinitionId.");
242
242
  }
243
- resolvedPath = resolvedPath.replace("{suiteDefinitionId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
243
+ resolvedPath = resolvedPath.replace("{suiteDefinitionId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
244
244
  }
245
245
  else {
246
246
  throw new Error("No value provided for input HTTP label: suiteDefinitionId.");
@@ -276,7 +276,7 @@ const serializeAws_restJson1StopSuiteRunCommand = async (input, context) => {
276
276
  if (labelValue.length <= 0) {
277
277
  throw new Error("Empty value provided for input HTTP label: suiteDefinitionId.");
278
278
  }
279
- resolvedPath = resolvedPath.replace("{suiteDefinitionId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
279
+ resolvedPath = resolvedPath.replace("{suiteDefinitionId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
280
280
  }
281
281
  else {
282
282
  throw new Error("No value provided for input HTTP label: suiteDefinitionId.");
@@ -286,7 +286,7 @@ const serializeAws_restJson1StopSuiteRunCommand = async (input, context) => {
286
286
  if (labelValue.length <= 0) {
287
287
  throw new Error("Empty value provided for input HTTP label: suiteRunId.");
288
288
  }
289
- resolvedPath = resolvedPath.replace("{suiteRunId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
289
+ resolvedPath = resolvedPath.replace("{suiteRunId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
290
290
  }
291
291
  else {
292
292
  throw new Error("No value provided for input HTTP label: suiteRunId.");
@@ -314,7 +314,7 @@ const serializeAws_restJson1TagResourceCommand = async (input, context) => {
314
314
  if (labelValue.length <= 0) {
315
315
  throw new Error("Empty value provided for input HTTP label: resourceArn.");
316
316
  }
317
- resolvedPath = resolvedPath.replace("{resourceArn}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
317
+ resolvedPath = resolvedPath.replace("{resourceArn}", smithy_client_1.extendedEncodeURIComponent(labelValue));
318
318
  }
319
319
  else {
320
320
  throw new Error("No value provided for input HTTP label: resourceArn.");
@@ -343,7 +343,7 @@ const serializeAws_restJson1UntagResourceCommand = async (input, context) => {
343
343
  if (labelValue.length <= 0) {
344
344
  throw new Error("Empty value provided for input HTTP label: resourceArn.");
345
345
  }
346
- resolvedPath = resolvedPath.replace("{resourceArn}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
346
+ resolvedPath = resolvedPath.replace("{resourceArn}", smithy_client_1.extendedEncodeURIComponent(labelValue));
347
347
  }
348
348
  else {
349
349
  throw new Error("No value provided for input HTTP label: resourceArn.");
@@ -375,7 +375,7 @@ const serializeAws_restJson1UpdateSuiteDefinitionCommand = async (input, context
375
375
  if (labelValue.length <= 0) {
376
376
  throw new Error("Empty value provided for input HTTP label: suiteDefinitionId.");
377
377
  }
378
- resolvedPath = resolvedPath.replace("{suiteDefinitionId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
378
+ resolvedPath = resolvedPath.replace("{suiteDefinitionId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
379
379
  }
380
380
  else {
381
381
  throw new Error("No value provided for input HTTP label: suiteDefinitionId.");
@@ -409,18 +409,18 @@ const deserializeAws_restJson1CreateSuiteDefinitionCommand = async (output, cont
409
409
  suiteDefinitionId: undefined,
410
410
  suiteDefinitionName: undefined,
411
411
  };
412
- const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
412
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
413
413
  if (data.createdAt !== undefined && data.createdAt !== null) {
414
- contents.createdAt = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(data.createdAt)));
414
+ contents.createdAt = smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(data.createdAt)));
415
415
  }
416
416
  if (data.suiteDefinitionArn !== undefined && data.suiteDefinitionArn !== null) {
417
- contents.suiteDefinitionArn = (0, smithy_client_1.expectString)(data.suiteDefinitionArn);
417
+ contents.suiteDefinitionArn = smithy_client_1.expectString(data.suiteDefinitionArn);
418
418
  }
419
419
  if (data.suiteDefinitionId !== undefined && data.suiteDefinitionId !== null) {
420
- contents.suiteDefinitionId = (0, smithy_client_1.expectString)(data.suiteDefinitionId);
420
+ contents.suiteDefinitionId = smithy_client_1.expectString(data.suiteDefinitionId);
421
421
  }
422
422
  if (data.suiteDefinitionName !== undefined && data.suiteDefinitionName !== null) {
423
- contents.suiteDefinitionName = (0, smithy_client_1.expectString)(data.suiteDefinitionName);
423
+ contents.suiteDefinitionName = smithy_client_1.expectString(data.suiteDefinitionName);
424
424
  }
425
425
  return Promise.resolve(contents);
426
426
  };
@@ -533,27 +533,27 @@ const deserializeAws_restJson1GetSuiteDefinitionCommand = async (output, context
533
533
  suiteDefinitionVersion: undefined,
534
534
  tags: undefined,
535
535
  };
536
- const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
536
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
537
537
  if (data.createdAt !== undefined && data.createdAt !== null) {
538
- contents.createdAt = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(data.createdAt)));
538
+ contents.createdAt = smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(data.createdAt)));
539
539
  }
540
540
  if (data.lastModifiedAt !== undefined && data.lastModifiedAt !== null) {
541
- contents.lastModifiedAt = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(data.lastModifiedAt)));
541
+ contents.lastModifiedAt = smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(data.lastModifiedAt)));
542
542
  }
543
543
  if (data.latestVersion !== undefined && data.latestVersion !== null) {
544
- contents.latestVersion = (0, smithy_client_1.expectString)(data.latestVersion);
544
+ contents.latestVersion = smithy_client_1.expectString(data.latestVersion);
545
545
  }
546
546
  if (data.suiteDefinitionArn !== undefined && data.suiteDefinitionArn !== null) {
547
- contents.suiteDefinitionArn = (0, smithy_client_1.expectString)(data.suiteDefinitionArn);
547
+ contents.suiteDefinitionArn = smithy_client_1.expectString(data.suiteDefinitionArn);
548
548
  }
549
549
  if (data.suiteDefinitionConfiguration !== undefined && data.suiteDefinitionConfiguration !== null) {
550
550
  contents.suiteDefinitionConfiguration = deserializeAws_restJson1SuiteDefinitionConfiguration(data.suiteDefinitionConfiguration, context);
551
551
  }
552
552
  if (data.suiteDefinitionId !== undefined && data.suiteDefinitionId !== null) {
553
- contents.suiteDefinitionId = (0, smithy_client_1.expectString)(data.suiteDefinitionId);
553
+ contents.suiteDefinitionId = smithy_client_1.expectString(data.suiteDefinitionId);
554
554
  }
555
555
  if (data.suiteDefinitionVersion !== undefined && data.suiteDefinitionVersion !== null) {
556
- contents.suiteDefinitionVersion = (0, smithy_client_1.expectString)(data.suiteDefinitionVersion);
556
+ contents.suiteDefinitionVersion = smithy_client_1.expectString(data.suiteDefinitionVersion);
557
557
  }
558
558
  if (data.tags !== undefined && data.tags !== null) {
559
559
  contents.tags = deserializeAws_restJson1TagMap(data.tags, context);
@@ -628,33 +628,33 @@ const deserializeAws_restJson1GetSuiteRunCommand = async (output, context) => {
628
628
  tags: undefined,
629
629
  testResult: undefined,
630
630
  };
631
- const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
631
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
632
632
  if (data.endTime !== undefined && data.endTime !== null) {
633
- contents.endTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(data.endTime)));
633
+ contents.endTime = smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(data.endTime)));
634
634
  }
635
635
  if (data.errorReason !== undefined && data.errorReason !== null) {
636
- contents.errorReason = (0, smithy_client_1.expectString)(data.errorReason);
636
+ contents.errorReason = smithy_client_1.expectString(data.errorReason);
637
637
  }
638
638
  if (data.startTime !== undefined && data.startTime !== null) {
639
- contents.startTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(data.startTime)));
639
+ contents.startTime = smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(data.startTime)));
640
640
  }
641
641
  if (data.status !== undefined && data.status !== null) {
642
- contents.status = (0, smithy_client_1.expectString)(data.status);
642
+ contents.status = smithy_client_1.expectString(data.status);
643
643
  }
644
644
  if (data.suiteDefinitionId !== undefined && data.suiteDefinitionId !== null) {
645
- contents.suiteDefinitionId = (0, smithy_client_1.expectString)(data.suiteDefinitionId);
645
+ contents.suiteDefinitionId = smithy_client_1.expectString(data.suiteDefinitionId);
646
646
  }
647
647
  if (data.suiteDefinitionVersion !== undefined && data.suiteDefinitionVersion !== null) {
648
- contents.suiteDefinitionVersion = (0, smithy_client_1.expectString)(data.suiteDefinitionVersion);
648
+ contents.suiteDefinitionVersion = smithy_client_1.expectString(data.suiteDefinitionVersion);
649
649
  }
650
650
  if (data.suiteRunArn !== undefined && data.suiteRunArn !== null) {
651
- contents.suiteRunArn = (0, smithy_client_1.expectString)(data.suiteRunArn);
651
+ contents.suiteRunArn = smithy_client_1.expectString(data.suiteRunArn);
652
652
  }
653
653
  if (data.suiteRunConfiguration !== undefined && data.suiteRunConfiguration !== null) {
654
654
  contents.suiteRunConfiguration = deserializeAws_restJson1SuiteRunConfiguration(data.suiteRunConfiguration, context);
655
655
  }
656
656
  if (data.suiteRunId !== undefined && data.suiteRunId !== null) {
657
- contents.suiteRunId = (0, smithy_client_1.expectString)(data.suiteRunId);
657
+ contents.suiteRunId = smithy_client_1.expectString(data.suiteRunId);
658
658
  }
659
659
  if (data.tags !== undefined && data.tags !== null) {
660
660
  contents.tags = deserializeAws_restJson1TagMap(data.tags, context);
@@ -722,9 +722,9 @@ const deserializeAws_restJson1GetSuiteRunReportCommand = async (output, context)
722
722
  $metadata: deserializeMetadata(output),
723
723
  qualificationReportDownloadUrl: undefined,
724
724
  };
725
- const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
725
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
726
726
  if (data.qualificationReportDownloadUrl !== undefined && data.qualificationReportDownloadUrl !== null) {
727
- contents.qualificationReportDownloadUrl = (0, smithy_client_1.expectString)(data.qualificationReportDownloadUrl);
727
+ contents.qualificationReportDownloadUrl = smithy_client_1.expectString(data.qualificationReportDownloadUrl);
728
728
  }
729
729
  return Promise.resolve(contents);
730
730
  };
@@ -787,9 +787,9 @@ const deserializeAws_restJson1ListSuiteDefinitionsCommand = async (output, conte
787
787
  nextToken: undefined,
788
788
  suiteDefinitionInformationList: undefined,
789
789
  };
790
- const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
790
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
791
791
  if (data.nextToken !== undefined && data.nextToken !== null) {
792
- contents.nextToken = (0, smithy_client_1.expectString)(data.nextToken);
792
+ contents.nextToken = smithy_client_1.expectString(data.nextToken);
793
793
  }
794
794
  if (data.suiteDefinitionInformationList !== undefined && data.suiteDefinitionInformationList !== null) {
795
795
  contents.suiteDefinitionInformationList = deserializeAws_restJson1SuiteDefinitionInformationList(data.suiteDefinitionInformationList, context);
@@ -847,9 +847,9 @@ const deserializeAws_restJson1ListSuiteRunsCommand = async (output, context) =>
847
847
  nextToken: undefined,
848
848
  suiteRunsList: undefined,
849
849
  };
850
- const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
850
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
851
851
  if (data.nextToken !== undefined && data.nextToken !== null) {
852
- contents.nextToken = (0, smithy_client_1.expectString)(data.nextToken);
852
+ contents.nextToken = smithy_client_1.expectString(data.nextToken);
853
853
  }
854
854
  if (data.suiteRunsList !== undefined && data.suiteRunsList !== null) {
855
855
  contents.suiteRunsList = deserializeAws_restJson1SuiteRunsList(data.suiteRunsList, context);
@@ -906,7 +906,7 @@ const deserializeAws_restJson1ListTagsForResourceCommand = async (output, contex
906
906
  $metadata: deserializeMetadata(output),
907
907
  tags: undefined,
908
908
  };
909
- const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
909
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
910
910
  if (data.tags !== undefined && data.tags !== null) {
911
911
  contents.tags = deserializeAws_restJson1TagMap(data.tags, context);
912
912
  }
@@ -972,15 +972,15 @@ const deserializeAws_restJson1StartSuiteRunCommand = async (output, context) =>
972
972
  suiteRunArn: undefined,
973
973
  suiteRunId: undefined,
974
974
  };
975
- const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
975
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
976
976
  if (data.createdAt !== undefined && data.createdAt !== null) {
977
- contents.createdAt = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(data.createdAt)));
977
+ contents.createdAt = smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(data.createdAt)));
978
978
  }
979
979
  if (data.suiteRunArn !== undefined && data.suiteRunArn !== null) {
980
- contents.suiteRunArn = (0, smithy_client_1.expectString)(data.suiteRunArn);
980
+ contents.suiteRunArn = smithy_client_1.expectString(data.suiteRunArn);
981
981
  }
982
982
  if (data.suiteRunId !== undefined && data.suiteRunId !== null) {
983
- contents.suiteRunId = (0, smithy_client_1.expectString)(data.suiteRunId);
983
+ contents.suiteRunId = smithy_client_1.expectString(data.suiteRunId);
984
984
  }
985
985
  return Promise.resolve(contents);
986
986
  };
@@ -1227,24 +1227,24 @@ const deserializeAws_restJson1UpdateSuiteDefinitionCommand = async (output, cont
1227
1227
  suiteDefinitionName: undefined,
1228
1228
  suiteDefinitionVersion: undefined,
1229
1229
  };
1230
- const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1230
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
1231
1231
  if (data.createdAt !== undefined && data.createdAt !== null) {
1232
- contents.createdAt = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(data.createdAt)));
1232
+ contents.createdAt = smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(data.createdAt)));
1233
1233
  }
1234
1234
  if (data.lastUpdatedAt !== undefined && data.lastUpdatedAt !== null) {
1235
- contents.lastUpdatedAt = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(data.lastUpdatedAt)));
1235
+ contents.lastUpdatedAt = smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(data.lastUpdatedAt)));
1236
1236
  }
1237
1237
  if (data.suiteDefinitionArn !== undefined && data.suiteDefinitionArn !== null) {
1238
- contents.suiteDefinitionArn = (0, smithy_client_1.expectString)(data.suiteDefinitionArn);
1238
+ contents.suiteDefinitionArn = smithy_client_1.expectString(data.suiteDefinitionArn);
1239
1239
  }
1240
1240
  if (data.suiteDefinitionId !== undefined && data.suiteDefinitionId !== null) {
1241
- contents.suiteDefinitionId = (0, smithy_client_1.expectString)(data.suiteDefinitionId);
1241
+ contents.suiteDefinitionId = smithy_client_1.expectString(data.suiteDefinitionId);
1242
1242
  }
1243
1243
  if (data.suiteDefinitionName !== undefined && data.suiteDefinitionName !== null) {
1244
- contents.suiteDefinitionName = (0, smithy_client_1.expectString)(data.suiteDefinitionName);
1244
+ contents.suiteDefinitionName = smithy_client_1.expectString(data.suiteDefinitionName);
1245
1245
  }
1246
1246
  if (data.suiteDefinitionVersion !== undefined && data.suiteDefinitionVersion !== null) {
1247
- contents.suiteDefinitionVersion = (0, smithy_client_1.expectString)(data.suiteDefinitionVersion);
1247
+ contents.suiteDefinitionVersion = smithy_client_1.expectString(data.suiteDefinitionVersion);
1248
1248
  }
1249
1249
  return Promise.resolve(contents);
1250
1250
  };
@@ -1299,7 +1299,7 @@ const deserializeAws_restJson1ConflictExceptionResponse = async (parsedOutput, c
1299
1299
  };
1300
1300
  const data = parsedOutput.body;
1301
1301
  if (data.message !== undefined && data.message !== null) {
1302
- contents.message = (0, smithy_client_1.expectString)(data.message);
1302
+ contents.message = smithy_client_1.expectString(data.message);
1303
1303
  }
1304
1304
  return contents;
1305
1305
  };
@@ -1312,7 +1312,7 @@ const deserializeAws_restJson1InternalServerExceptionResponse = async (parsedOut
1312
1312
  };
1313
1313
  const data = parsedOutput.body;
1314
1314
  if (data.message !== undefined && data.message !== null) {
1315
- contents.message = (0, smithy_client_1.expectString)(data.message);
1315
+ contents.message = smithy_client_1.expectString(data.message);
1316
1316
  }
1317
1317
  return contents;
1318
1318
  };
@@ -1325,7 +1325,7 @@ const deserializeAws_restJson1ResourceNotFoundExceptionResponse = async (parsedO
1325
1325
  };
1326
1326
  const data = parsedOutput.body;
1327
1327
  if (data.message !== undefined && data.message !== null) {
1328
- contents.message = (0, smithy_client_1.expectString)(data.message);
1328
+ contents.message = smithy_client_1.expectString(data.message);
1329
1329
  }
1330
1330
  return contents;
1331
1331
  };
@@ -1338,7 +1338,7 @@ const deserializeAws_restJson1ValidationExceptionResponse = async (parsedOutput,
1338
1338
  };
1339
1339
  const data = parsedOutput.body;
1340
1340
  if (data.message !== undefined && data.message !== null) {
1341
- contents.message = (0, smithy_client_1.expectString)(data.message);
1341
+ contents.message = smithy_client_1.expectString(data.message);
1342
1342
  }
1343
1343
  return contents;
1344
1344
  };
@@ -1407,8 +1407,8 @@ const serializeAws_restJson1TagMap = (input, context) => {
1407
1407
  };
1408
1408
  const deserializeAws_restJson1DeviceUnderTest = (output, context) => {
1409
1409
  return {
1410
- certificateArn: (0, smithy_client_1.expectString)(output.certificateArn),
1411
- thingArn: (0, smithy_client_1.expectString)(output.thingArn),
1410
+ certificateArn: smithy_client_1.expectString(output.certificateArn),
1411
+ thingArn: smithy_client_1.expectString(output.thingArn),
1412
1412
  };
1413
1413
  };
1414
1414
  const deserializeAws_restJson1DeviceUnderTestList = (output, context) => {
@@ -1423,8 +1423,8 @@ const deserializeAws_restJson1DeviceUnderTestList = (output, context) => {
1423
1423
  };
1424
1424
  const deserializeAws_restJson1GroupResult = (output, context) => {
1425
1425
  return {
1426
- groupId: (0, smithy_client_1.expectString)(output.groupId),
1427
- groupName: (0, smithy_client_1.expectString)(output.groupName),
1426
+ groupId: smithy_client_1.expectString(output.groupId),
1427
+ groupName: smithy_client_1.expectString(output.groupName),
1428
1428
  tests: output.tests !== undefined && output.tests !== null
1429
1429
  ? deserializeAws_restJson1TestCaseRuns(output.tests, context)
1430
1430
  : undefined,
@@ -1447,31 +1447,31 @@ const deserializeAws_restJson1SelectedTestList = (output, context) => {
1447
1447
  if (entry === null) {
1448
1448
  return null;
1449
1449
  }
1450
- return (0, smithy_client_1.expectString)(entry);
1450
+ return smithy_client_1.expectString(entry);
1451
1451
  });
1452
1452
  };
1453
1453
  const deserializeAws_restJson1SuiteDefinitionConfiguration = (output, context) => {
1454
1454
  return {
1455
- devicePermissionRoleArn: (0, smithy_client_1.expectString)(output.devicePermissionRoleArn),
1455
+ devicePermissionRoleArn: smithy_client_1.expectString(output.devicePermissionRoleArn),
1456
1456
  devices: output.devices !== undefined && output.devices !== null
1457
1457
  ? deserializeAws_restJson1DeviceUnderTestList(output.devices, context)
1458
1458
  : undefined,
1459
- intendedForQualification: (0, smithy_client_1.expectBoolean)(output.intendedForQualification),
1460
- rootGroup: (0, smithy_client_1.expectString)(output.rootGroup),
1461
- suiteDefinitionName: (0, smithy_client_1.expectString)(output.suiteDefinitionName),
1459
+ intendedForQualification: smithy_client_1.expectBoolean(output.intendedForQualification),
1460
+ rootGroup: smithy_client_1.expectString(output.rootGroup),
1461
+ suiteDefinitionName: smithy_client_1.expectString(output.suiteDefinitionName),
1462
1462
  };
1463
1463
  };
1464
1464
  const deserializeAws_restJson1SuiteDefinitionInformation = (output, context) => {
1465
1465
  return {
1466
1466
  createdAt: output.createdAt !== undefined && output.createdAt !== null
1467
- ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.createdAt)))
1467
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.createdAt)))
1468
1468
  : undefined,
1469
1469
  defaultDevices: output.defaultDevices !== undefined && output.defaultDevices !== null
1470
1470
  ? deserializeAws_restJson1DeviceUnderTestList(output.defaultDevices, context)
1471
1471
  : undefined,
1472
- intendedForQualification: (0, smithy_client_1.expectBoolean)(output.intendedForQualification),
1473
- suiteDefinitionId: (0, smithy_client_1.expectString)(output.suiteDefinitionId),
1474
- suiteDefinitionName: (0, smithy_client_1.expectString)(output.suiteDefinitionName),
1472
+ intendedForQualification: smithy_client_1.expectBoolean(output.intendedForQualification),
1473
+ suiteDefinitionId: smithy_client_1.expectString(output.suiteDefinitionId),
1474
+ suiteDefinitionName: smithy_client_1.expectString(output.suiteDefinitionName),
1475
1475
  };
1476
1476
  };
1477
1477
  const deserializeAws_restJson1SuiteDefinitionInformationList = (output, context) => {
@@ -1497,21 +1497,21 @@ const deserializeAws_restJson1SuiteRunConfiguration = (output, context) => {
1497
1497
  const deserializeAws_restJson1SuiteRunInformation = (output, context) => {
1498
1498
  return {
1499
1499
  createdAt: output.createdAt !== undefined && output.createdAt !== null
1500
- ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.createdAt)))
1500
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.createdAt)))
1501
1501
  : undefined,
1502
1502
  endAt: output.endAt !== undefined && output.endAt !== null
1503
- ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.endAt)))
1503
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.endAt)))
1504
1504
  : undefined,
1505
- failed: (0, smithy_client_1.expectInt32)(output.failed),
1506
- passed: (0, smithy_client_1.expectInt32)(output.passed),
1505
+ failed: smithy_client_1.expectInt32(output.failed),
1506
+ passed: smithy_client_1.expectInt32(output.passed),
1507
1507
  startedAt: output.startedAt !== undefined && output.startedAt !== null
1508
- ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.startedAt)))
1508
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.startedAt)))
1509
1509
  : undefined,
1510
- status: (0, smithy_client_1.expectString)(output.status),
1511
- suiteDefinitionId: (0, smithy_client_1.expectString)(output.suiteDefinitionId),
1512
- suiteDefinitionName: (0, smithy_client_1.expectString)(output.suiteDefinitionName),
1513
- suiteDefinitionVersion: (0, smithy_client_1.expectString)(output.suiteDefinitionVersion),
1514
- suiteRunId: (0, smithy_client_1.expectString)(output.suiteRunId),
1510
+ status: smithy_client_1.expectString(output.status),
1511
+ suiteDefinitionId: smithy_client_1.expectString(output.suiteDefinitionId),
1512
+ suiteDefinitionName: smithy_client_1.expectString(output.suiteDefinitionName),
1513
+ suiteDefinitionVersion: smithy_client_1.expectString(output.suiteDefinitionVersion),
1514
+ suiteRunId: smithy_client_1.expectString(output.suiteRunId),
1515
1515
  };
1516
1516
  };
1517
1517
  const deserializeAws_restJson1SuiteRunsList = (output, context) => {
@@ -1531,25 +1531,25 @@ const deserializeAws_restJson1TagMap = (output, context) => {
1531
1531
  }
1532
1532
  return {
1533
1533
  ...acc,
1534
- [key]: (0, smithy_client_1.expectString)(value),
1534
+ [key]: smithy_client_1.expectString(value),
1535
1535
  };
1536
1536
  }, {});
1537
1537
  };
1538
1538
  const deserializeAws_restJson1TestCaseRun = (output, context) => {
1539
1539
  return {
1540
1540
  endTime: output.endTime !== undefined && output.endTime !== null
1541
- ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.endTime)))
1541
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.endTime)))
1542
1542
  : undefined,
1543
- failure: (0, smithy_client_1.expectString)(output.failure),
1544
- logUrl: (0, smithy_client_1.expectString)(output.logUrl),
1543
+ failure: smithy_client_1.expectString(output.failure),
1544
+ logUrl: smithy_client_1.expectString(output.logUrl),
1545
1545
  startTime: output.startTime !== undefined && output.startTime !== null
1546
- ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.startTime)))
1546
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.startTime)))
1547
1547
  : undefined,
1548
- status: (0, smithy_client_1.expectString)(output.status),
1549
- testCaseDefinitionId: (0, smithy_client_1.expectString)(output.testCaseDefinitionId),
1550
- testCaseDefinitionName: (0, smithy_client_1.expectString)(output.testCaseDefinitionName),
1551
- testCaseRunId: (0, smithy_client_1.expectString)(output.testCaseRunId),
1552
- warnings: (0, smithy_client_1.expectString)(output.warnings),
1548
+ status: smithy_client_1.expectString(output.status),
1549
+ testCaseDefinitionId: smithy_client_1.expectString(output.testCaseDefinitionId),
1550
+ testCaseDefinitionName: smithy_client_1.expectString(output.testCaseDefinitionName),
1551
+ testCaseRunId: smithy_client_1.expectString(output.testCaseRunId),
1552
+ warnings: smithy_client_1.expectString(output.warnings),
1553
1553
  };
1554
1554
  };
1555
1555
  const deserializeAws_restJson1TestCaseRuns = (output, context) => {