@aws-sdk/client-s3-control 3.30.0 → 3.34.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 (292) hide show
  1. package/CHANGELOG.md +35 -0
  2. package/dist/cjs/S3Control.spec.js +23 -23
  3. package/dist/cjs/S3Control.spec.js.map +1 -1
  4. package/dist/cjs/S3ControlClient.js +14 -14
  5. package/dist/cjs/S3ControlClient.js.map +1 -1
  6. package/dist/cjs/commands/CreateAccessPointCommand.js +4 -4
  7. package/dist/cjs/commands/CreateAccessPointCommand.js.map +1 -1
  8. package/dist/cjs/commands/CreateAccessPointForObjectLambdaCommand.js +4 -4
  9. package/dist/cjs/commands/CreateAccessPointForObjectLambdaCommand.js.map +1 -1
  10. package/dist/cjs/commands/CreateBucketCommand.js +5 -5
  11. package/dist/cjs/commands/CreateBucketCommand.js.map +1 -1
  12. package/dist/cjs/commands/CreateJobCommand.js +4 -4
  13. package/dist/cjs/commands/CreateJobCommand.js.map +1 -1
  14. package/dist/cjs/commands/CreateMultiRegionAccessPointCommand.js +5 -5
  15. package/dist/cjs/commands/CreateMultiRegionAccessPointCommand.js.map +1 -1
  16. package/dist/cjs/commands/DeleteAccessPointCommand.js +4 -4
  17. package/dist/cjs/commands/DeleteAccessPointCommand.js.map +1 -1
  18. package/dist/cjs/commands/DeleteAccessPointForObjectLambdaCommand.js +4 -4
  19. package/dist/cjs/commands/DeleteAccessPointForObjectLambdaCommand.js.map +1 -1
  20. package/dist/cjs/commands/DeleteAccessPointPolicyCommand.js +4 -4
  21. package/dist/cjs/commands/DeleteAccessPointPolicyCommand.js.map +1 -1
  22. package/dist/cjs/commands/DeleteAccessPointPolicyForObjectLambdaCommand.js +4 -4
  23. package/dist/cjs/commands/DeleteAccessPointPolicyForObjectLambdaCommand.js.map +1 -1
  24. package/dist/cjs/commands/DeleteBucketCommand.js +4 -4
  25. package/dist/cjs/commands/DeleteBucketCommand.js.map +1 -1
  26. package/dist/cjs/commands/DeleteBucketLifecycleConfigurationCommand.js +4 -4
  27. package/dist/cjs/commands/DeleteBucketLifecycleConfigurationCommand.js.map +1 -1
  28. package/dist/cjs/commands/DeleteBucketPolicyCommand.js +4 -4
  29. package/dist/cjs/commands/DeleteBucketPolicyCommand.js.map +1 -1
  30. package/dist/cjs/commands/DeleteBucketTaggingCommand.js +4 -4
  31. package/dist/cjs/commands/DeleteBucketTaggingCommand.js.map +1 -1
  32. package/dist/cjs/commands/DeleteJobTaggingCommand.js +4 -4
  33. package/dist/cjs/commands/DeleteJobTaggingCommand.js.map +1 -1
  34. package/dist/cjs/commands/DeleteMultiRegionAccessPointCommand.js +5 -5
  35. package/dist/cjs/commands/DeleteMultiRegionAccessPointCommand.js.map +1 -1
  36. package/dist/cjs/commands/DeletePublicAccessBlockCommand.js +4 -4
  37. package/dist/cjs/commands/DeletePublicAccessBlockCommand.js.map +1 -1
  38. package/dist/cjs/commands/DeleteStorageLensConfigurationCommand.js +4 -4
  39. package/dist/cjs/commands/DeleteStorageLensConfigurationCommand.js.map +1 -1
  40. package/dist/cjs/commands/DeleteStorageLensConfigurationTaggingCommand.js +4 -4
  41. package/dist/cjs/commands/DeleteStorageLensConfigurationTaggingCommand.js.map +1 -1
  42. package/dist/cjs/commands/DescribeJobCommand.js +4 -4
  43. package/dist/cjs/commands/DescribeJobCommand.js.map +1 -1
  44. package/dist/cjs/commands/DescribeMultiRegionAccessPointOperationCommand.js +5 -5
  45. package/dist/cjs/commands/DescribeMultiRegionAccessPointOperationCommand.js.map +1 -1
  46. package/dist/cjs/commands/GetAccessPointCommand.js +4 -4
  47. package/dist/cjs/commands/GetAccessPointCommand.js.map +1 -1
  48. package/dist/cjs/commands/GetAccessPointConfigurationForObjectLambdaCommand.js +4 -4
  49. package/dist/cjs/commands/GetAccessPointConfigurationForObjectLambdaCommand.js.map +1 -1
  50. package/dist/cjs/commands/GetAccessPointForObjectLambdaCommand.js +4 -4
  51. package/dist/cjs/commands/GetAccessPointForObjectLambdaCommand.js.map +1 -1
  52. package/dist/cjs/commands/GetAccessPointPolicyCommand.js +4 -4
  53. package/dist/cjs/commands/GetAccessPointPolicyCommand.js.map +1 -1
  54. package/dist/cjs/commands/GetAccessPointPolicyForObjectLambdaCommand.js +4 -4
  55. package/dist/cjs/commands/GetAccessPointPolicyForObjectLambdaCommand.js.map +1 -1
  56. package/dist/cjs/commands/GetAccessPointPolicyStatusCommand.js +4 -4
  57. package/dist/cjs/commands/GetAccessPointPolicyStatusCommand.js.map +1 -1
  58. package/dist/cjs/commands/GetAccessPointPolicyStatusForObjectLambdaCommand.js +4 -4
  59. package/dist/cjs/commands/GetAccessPointPolicyStatusForObjectLambdaCommand.js.map +1 -1
  60. package/dist/cjs/commands/GetBucketCommand.js +4 -4
  61. package/dist/cjs/commands/GetBucketCommand.js.map +1 -1
  62. package/dist/cjs/commands/GetBucketLifecycleConfigurationCommand.js +4 -4
  63. package/dist/cjs/commands/GetBucketLifecycleConfigurationCommand.js.map +1 -1
  64. package/dist/cjs/commands/GetBucketPolicyCommand.js +4 -4
  65. package/dist/cjs/commands/GetBucketPolicyCommand.js.map +1 -1
  66. package/dist/cjs/commands/GetBucketTaggingCommand.js +4 -4
  67. package/dist/cjs/commands/GetBucketTaggingCommand.js.map +1 -1
  68. package/dist/cjs/commands/GetJobTaggingCommand.js +4 -4
  69. package/dist/cjs/commands/GetJobTaggingCommand.js.map +1 -1
  70. package/dist/cjs/commands/GetMultiRegionAccessPointCommand.js +5 -5
  71. package/dist/cjs/commands/GetMultiRegionAccessPointCommand.js.map +1 -1
  72. package/dist/cjs/commands/GetMultiRegionAccessPointPolicyCommand.js +5 -5
  73. package/dist/cjs/commands/GetMultiRegionAccessPointPolicyCommand.js.map +1 -1
  74. package/dist/cjs/commands/GetMultiRegionAccessPointPolicyStatusCommand.js +5 -5
  75. package/dist/cjs/commands/GetMultiRegionAccessPointPolicyStatusCommand.js.map +1 -1
  76. package/dist/cjs/commands/GetPublicAccessBlockCommand.js +4 -4
  77. package/dist/cjs/commands/GetPublicAccessBlockCommand.js.map +1 -1
  78. package/dist/cjs/commands/GetStorageLensConfigurationCommand.js +4 -4
  79. package/dist/cjs/commands/GetStorageLensConfigurationCommand.js.map +1 -1
  80. package/dist/cjs/commands/GetStorageLensConfigurationTaggingCommand.js +4 -4
  81. package/dist/cjs/commands/GetStorageLensConfigurationTaggingCommand.js.map +1 -1
  82. package/dist/cjs/commands/ListAccessPointsCommand.js +4 -4
  83. package/dist/cjs/commands/ListAccessPointsCommand.js.map +1 -1
  84. package/dist/cjs/commands/ListAccessPointsForObjectLambdaCommand.js +4 -4
  85. package/dist/cjs/commands/ListAccessPointsForObjectLambdaCommand.js.map +1 -1
  86. package/dist/cjs/commands/ListJobsCommand.js +4 -4
  87. package/dist/cjs/commands/ListJobsCommand.js.map +1 -1
  88. package/dist/cjs/commands/ListMultiRegionAccessPointsCommand.js +5 -5
  89. package/dist/cjs/commands/ListMultiRegionAccessPointsCommand.js.map +1 -1
  90. package/dist/cjs/commands/ListRegionalBucketsCommand.js +4 -4
  91. package/dist/cjs/commands/ListRegionalBucketsCommand.js.map +1 -1
  92. package/dist/cjs/commands/ListStorageLensConfigurationsCommand.js +4 -4
  93. package/dist/cjs/commands/ListStorageLensConfigurationsCommand.js.map +1 -1
  94. package/dist/cjs/commands/PutAccessPointConfigurationForObjectLambdaCommand.js +4 -4
  95. package/dist/cjs/commands/PutAccessPointConfigurationForObjectLambdaCommand.js.map +1 -1
  96. package/dist/cjs/commands/PutAccessPointPolicyCommand.js +4 -4
  97. package/dist/cjs/commands/PutAccessPointPolicyCommand.js.map +1 -1
  98. package/dist/cjs/commands/PutAccessPointPolicyForObjectLambdaCommand.js +4 -4
  99. package/dist/cjs/commands/PutAccessPointPolicyForObjectLambdaCommand.js.map +1 -1
  100. package/dist/cjs/commands/PutBucketLifecycleConfigurationCommand.js +5 -5
  101. package/dist/cjs/commands/PutBucketLifecycleConfigurationCommand.js.map +1 -1
  102. package/dist/cjs/commands/PutBucketPolicyCommand.js +5 -5
  103. package/dist/cjs/commands/PutBucketPolicyCommand.js.map +1 -1
  104. package/dist/cjs/commands/PutBucketTaggingCommand.js +5 -5
  105. package/dist/cjs/commands/PutBucketTaggingCommand.js.map +1 -1
  106. package/dist/cjs/commands/PutJobTaggingCommand.js +4 -4
  107. package/dist/cjs/commands/PutJobTaggingCommand.js.map +1 -1
  108. package/dist/cjs/commands/PutMultiRegionAccessPointPolicyCommand.js +5 -5
  109. package/dist/cjs/commands/PutMultiRegionAccessPointPolicyCommand.js.map +1 -1
  110. package/dist/cjs/commands/PutPublicAccessBlockCommand.js +4 -4
  111. package/dist/cjs/commands/PutPublicAccessBlockCommand.js.map +1 -1
  112. package/dist/cjs/commands/PutStorageLensConfigurationCommand.js +4 -4
  113. package/dist/cjs/commands/PutStorageLensConfigurationCommand.js.map +1 -1
  114. package/dist/cjs/commands/PutStorageLensConfigurationTaggingCommand.js +4 -4
  115. package/dist/cjs/commands/PutStorageLensConfigurationTaggingCommand.js.map +1 -1
  116. package/dist/cjs/commands/UpdateJobPriorityCommand.js +4 -4
  117. package/dist/cjs/commands/UpdateJobPriorityCommand.js.map +1 -1
  118. package/dist/cjs/commands/UpdateJobStatusCommand.js +4 -4
  119. package/dist/cjs/commands/UpdateJobStatusCommand.js.map +1 -1
  120. package/dist/cjs/endpoints.js +1 -1
  121. package/dist/cjs/endpoints.js.map +1 -1
  122. package/dist/cjs/index.js +67 -67
  123. package/dist/cjs/index.js.map +1 -1
  124. package/dist/cjs/models/index.js +1 -1
  125. package/dist/cjs/models/index.js.map +1 -1
  126. package/dist/cjs/package.json +46 -46
  127. package/dist/cjs/protocols/Aws_restXml.js +377 -377
  128. package/dist/cjs/protocols/Aws_restXml.js.map +1 -1
  129. package/dist/cjs/runtimeConfig.browser.js +4 -4
  130. package/dist/cjs/runtimeConfig.browser.js.map +1 -1
  131. package/dist/cjs/runtimeConfig.js +8 -8
  132. package/dist/cjs/runtimeConfig.js.map +1 -1
  133. package/dist/cjs/runtimeConfig.native.js +1 -1
  134. package/dist/cjs/runtimeConfig.native.js.map +1 -1
  135. package/dist/es/S3Control.js +1 -7
  136. package/dist/es/S3Control.js.map +1 -1
  137. package/dist/es/S3Control.spec.js +16 -21
  138. package/dist/es/S3Control.spec.js.map +1 -1
  139. package/dist/es/S3ControlClient.js +1 -12
  140. package/dist/es/S3ControlClient.js.map +1 -1
  141. package/dist/es/commands/CreateAccessPointCommand.js +2 -57
  142. package/dist/es/commands/CreateAccessPointCommand.js.map +1 -1
  143. package/dist/es/commands/CreateAccessPointForObjectLambdaCommand.js +2 -46
  144. package/dist/es/commands/CreateAccessPointForObjectLambdaCommand.js.map +1 -1
  145. package/dist/es/commands/CreateBucketCommand.js +2 -76
  146. package/dist/es/commands/CreateBucketCommand.js.map +1 -1
  147. package/dist/es/commands/CreateJobCommand.js +2 -60
  148. package/dist/es/commands/CreateJobCommand.js.map +1 -1
  149. package/dist/es/commands/CreateMultiRegionAccessPointCommand.js +2 -60
  150. package/dist/es/commands/CreateMultiRegionAccessPointCommand.js.map +1 -1
  151. package/dist/es/commands/DeleteAccessPointCommand.js +2 -47
  152. package/dist/es/commands/DeleteAccessPointCommand.js.map +1 -1
  153. package/dist/es/commands/DeleteAccessPointForObjectLambdaCommand.js +2 -45
  154. package/dist/es/commands/DeleteAccessPointForObjectLambdaCommand.js.map +1 -1
  155. package/dist/es/commands/DeleteAccessPointPolicyCommand.js +2 -42
  156. package/dist/es/commands/DeleteAccessPointPolicyCommand.js.map +1 -1
  157. package/dist/es/commands/DeleteAccessPointPolicyForObjectLambdaCommand.js +2 -40
  158. package/dist/es/commands/DeleteAccessPointPolicyForObjectLambdaCommand.js.map +1 -1
  159. package/dist/es/commands/DeleteBucketCommand.js +2 -55
  160. package/dist/es/commands/DeleteBucketCommand.js.map +1 -1
  161. package/dist/es/commands/DeleteBucketLifecycleConfigurationCommand.js +2 -55
  162. package/dist/es/commands/DeleteBucketLifecycleConfigurationCommand.js.map +1 -1
  163. package/dist/es/commands/DeleteBucketPolicyCommand.js +2 -67
  164. package/dist/es/commands/DeleteBucketPolicyCommand.js.map +1 -1
  165. package/dist/es/commands/DeleteBucketTaggingCommand.js +2 -53
  166. package/dist/es/commands/DeleteBucketTaggingCommand.js.map +1 -1
  167. package/dist/es/commands/DeleteJobTaggingCommand.js +2 -49
  168. package/dist/es/commands/DeleteJobTaggingCommand.js.map +1 -1
  169. package/dist/es/commands/DeleteMultiRegionAccessPointCommand.js +2 -59
  170. package/dist/es/commands/DeleteMultiRegionAccessPointCommand.js.map +1 -1
  171. package/dist/es/commands/DeletePublicAccessBlockCommand.js +2 -42
  172. package/dist/es/commands/DeletePublicAccessBlockCommand.js.map +1 -1
  173. package/dist/es/commands/DeleteStorageLensConfigurationCommand.js +2 -36
  174. package/dist/es/commands/DeleteStorageLensConfigurationCommand.js.map +1 -1
  175. package/dist/es/commands/DeleteStorageLensConfigurationTaggingCommand.js +2 -36
  176. package/dist/es/commands/DeleteStorageLensConfigurationTaggingCommand.js.map +1 -1
  177. package/dist/es/commands/DescribeJobCommand.js +2 -53
  178. package/dist/es/commands/DescribeJobCommand.js.map +1 -1
  179. package/dist/es/commands/DescribeMultiRegionAccessPointOperationCommand.js +2 -53
  180. package/dist/es/commands/DescribeMultiRegionAccessPointOperationCommand.js.map +1 -1
  181. package/dist/es/commands/GetAccessPointCommand.js +2 -48
  182. package/dist/es/commands/GetAccessPointCommand.js.map +1 -1
  183. package/dist/es/commands/GetAccessPointConfigurationForObjectLambdaCommand.js +2 -35
  184. package/dist/es/commands/GetAccessPointConfigurationForObjectLambdaCommand.js.map +1 -1
  185. package/dist/es/commands/GetAccessPointForObjectLambdaCommand.js +2 -45
  186. package/dist/es/commands/GetAccessPointForObjectLambdaCommand.js.map +1 -1
  187. package/dist/es/commands/GetAccessPointPolicyCommand.js +2 -40
  188. package/dist/es/commands/GetAccessPointPolicyCommand.js.map +1 -1
  189. package/dist/es/commands/GetAccessPointPolicyForObjectLambdaCommand.js +2 -40
  190. package/dist/es/commands/GetAccessPointPolicyForObjectLambdaCommand.js.map +1 -1
  191. package/dist/es/commands/GetAccessPointPolicyStatusCommand.js +2 -27
  192. package/dist/es/commands/GetAccessPointPolicyStatusCommand.js.map +1 -1
  193. package/dist/es/commands/GetAccessPointPolicyStatusForObjectLambdaCommand.js +2 -27
  194. package/dist/es/commands/GetAccessPointPolicyStatusForObjectLambdaCommand.js.map +1 -1
  195. package/dist/es/commands/GetBucketCommand.js +2 -57
  196. package/dist/es/commands/GetBucketCommand.js.map +1 -1
  197. package/dist/es/commands/GetBucketLifecycleConfigurationCommand.js +2 -75
  198. package/dist/es/commands/GetBucketLifecycleConfigurationCommand.js.map +1 -1
  199. package/dist/es/commands/GetBucketPolicyCommand.js +2 -67
  200. package/dist/es/commands/GetBucketPolicyCommand.js.map +1 -1
  201. package/dist/es/commands/GetBucketTaggingCommand.js +2 -65
  202. package/dist/es/commands/GetBucketTaggingCommand.js.map +1 -1
  203. package/dist/es/commands/GetJobTaggingCommand.js +2 -50
  204. package/dist/es/commands/GetJobTaggingCommand.js.map +1 -1
  205. package/dist/es/commands/GetMultiRegionAccessPointCommand.js +2 -54
  206. package/dist/es/commands/GetMultiRegionAccessPointCommand.js.map +1 -1
  207. package/dist/es/commands/GetMultiRegionAccessPointPolicyCommand.js +2 -44
  208. package/dist/es/commands/GetMultiRegionAccessPointPolicyCommand.js.map +1 -1
  209. package/dist/es/commands/GetMultiRegionAccessPointPolicyStatusCommand.js +2 -45
  210. package/dist/es/commands/GetMultiRegionAccessPointPolicyStatusCommand.js.map +1 -1
  211. package/dist/es/commands/GetPublicAccessBlockCommand.js +2 -42
  212. package/dist/es/commands/GetPublicAccessBlockCommand.js.map +1 -1
  213. package/dist/es/commands/GetStorageLensConfigurationCommand.js +2 -36
  214. package/dist/es/commands/GetStorageLensConfigurationCommand.js.map +1 -1
  215. package/dist/es/commands/GetStorageLensConfigurationTaggingCommand.js +2 -35
  216. package/dist/es/commands/GetStorageLensConfigurationTaggingCommand.js.map +1 -1
  217. package/dist/es/commands/ListAccessPointsCommand.js +2 -50
  218. package/dist/es/commands/ListAccessPointsCommand.js.map +1 -1
  219. package/dist/es/commands/ListAccessPointsForObjectLambdaCommand.js +2 -48
  220. package/dist/es/commands/ListAccessPointsForObjectLambdaCommand.js.map +1 -1
  221. package/dist/es/commands/ListJobsCommand.js +2 -53
  222. package/dist/es/commands/ListJobsCommand.js.map +1 -1
  223. package/dist/es/commands/ListMultiRegionAccessPointsCommand.js +2 -56
  224. package/dist/es/commands/ListMultiRegionAccessPointsCommand.js.map +1 -1
  225. package/dist/es/commands/ListRegionalBucketsCommand.js +2 -31
  226. package/dist/es/commands/ListRegionalBucketsCommand.js.map +1 -1
  227. package/dist/es/commands/ListStorageLensConfigurationsCommand.js +2 -36
  228. package/dist/es/commands/ListStorageLensConfigurationsCommand.js.map +1 -1
  229. package/dist/es/commands/PutAccessPointConfigurationForObjectLambdaCommand.js +2 -35
  230. package/dist/es/commands/PutAccessPointConfigurationForObjectLambdaCommand.js.map +1 -1
  231. package/dist/es/commands/PutAccessPointPolicyCommand.js +2 -43
  232. package/dist/es/commands/PutAccessPointPolicyCommand.js.map +1 -1
  233. package/dist/es/commands/PutAccessPointPolicyForObjectLambdaCommand.js +2 -41
  234. package/dist/es/commands/PutAccessPointPolicyForObjectLambdaCommand.js.map +1 -1
  235. package/dist/es/commands/PutBucketLifecycleConfigurationCommand.js +2 -49
  236. package/dist/es/commands/PutBucketLifecycleConfigurationCommand.js.map +1 -1
  237. package/dist/es/commands/PutBucketPolicyCommand.js +2 -65
  238. package/dist/es/commands/PutBucketPolicyCommand.js.map +1 -1
  239. package/dist/es/commands/PutBucketTaggingCommand.js +2 -110
  240. package/dist/es/commands/PutBucketTaggingCommand.js.map +1 -1
  241. package/dist/es/commands/PutJobTaggingCommand.js +2 -89
  242. package/dist/es/commands/PutJobTaggingCommand.js.map +1 -1
  243. package/dist/es/commands/PutMultiRegionAccessPointPolicyCommand.js +2 -46
  244. package/dist/es/commands/PutMultiRegionAccessPointPolicyCommand.js.map +1 -1
  245. package/dist/es/commands/PutPublicAccessBlockCommand.js +2 -42
  246. package/dist/es/commands/PutPublicAccessBlockCommand.js.map +1 -1
  247. package/dist/es/commands/PutStorageLensConfigurationCommand.js +2 -34
  248. package/dist/es/commands/PutStorageLensConfigurationCommand.js.map +1 -1
  249. package/dist/es/commands/PutStorageLensConfigurationTaggingCommand.js +2 -36
  250. package/dist/es/commands/PutStorageLensConfigurationTaggingCommand.js.map +1 -1
  251. package/dist/es/commands/UpdateJobPriorityCommand.js +2 -52
  252. package/dist/es/commands/UpdateJobPriorityCommand.js.map +1 -1
  253. package/dist/es/commands/UpdateJobStatusCommand.js +2 -53
  254. package/dist/es/commands/UpdateJobStatusCommand.js.map +1 -1
  255. package/dist/es/endpoints.js +1 -1
  256. package/dist/es/endpoints.js.map +1 -1
  257. package/dist/es/models/models_0.js +0 -561
  258. package/dist/es/models/models_0.js.map +1 -1
  259. package/dist/es/package.json +46 -46
  260. package/dist/es/pagination/ListAccessPointsForObjectLambdaPaginator.js +16 -28
  261. package/dist/es/pagination/ListAccessPointsForObjectLambdaPaginator.js.map +1 -1
  262. package/dist/es/pagination/ListAccessPointsPaginator.js +16 -28
  263. package/dist/es/pagination/ListAccessPointsPaginator.js.map +1 -1
  264. package/dist/es/pagination/ListJobsPaginator.js +16 -28
  265. package/dist/es/pagination/ListJobsPaginator.js.map +1 -1
  266. package/dist/es/pagination/ListMultiRegionAccessPointsPaginator.js +16 -28
  267. package/dist/es/pagination/ListMultiRegionAccessPointsPaginator.js.map +1 -1
  268. package/dist/es/pagination/ListRegionalBucketsPaginator.js +16 -28
  269. package/dist/es/pagination/ListRegionalBucketsPaginator.js.map +1 -1
  270. package/dist/es/pagination/ListStorageLensConfigurationsPaginator.js +16 -28
  271. package/dist/es/pagination/ListStorageLensConfigurationsPaginator.js.map +1 -1
  272. package/dist/es/protocols/Aws_restXml.js +637 -639
  273. package/dist/es/protocols/Aws_restXml.js.map +1 -1
  274. package/dist/es/runtimeConfig.browser.js +0 -3
  275. package/dist/es/runtimeConfig.browser.js.map +1 -1
  276. package/dist/es/runtimeConfig.js +0 -3
  277. package/dist/es/runtimeConfig.js.map +1 -1
  278. package/dist/es/runtimeConfig.native.js +0 -3
  279. package/dist/es/runtimeConfig.native.js.map +1 -1
  280. package/dist/es/runtimeConfig.shared.js +0 -3
  281. package/dist/es/runtimeConfig.shared.js.map +1 -1
  282. package/dist/types/runtimeConfig.browser.d.ts +1 -0
  283. package/dist/types/runtimeConfig.d.ts +1 -0
  284. package/dist/types/runtimeConfig.native.d.ts +1 -0
  285. package/dist/types/ts3.4/runtimeConfig.browser.d.ts +1 -0
  286. package/dist/types/ts3.4/runtimeConfig.d.ts +1 -0
  287. package/dist/types/ts3.4/runtimeConfig.native.d.ts +1 -0
  288. package/package.json +46 -46
  289. package/protocols/Aws_restXml.ts +23 -21
  290. package/tsconfig.es.json +0 -2
  291. package/tsconfig.json +3 -5
  292. package/tsconfig.types.json +8 -0
@@ -22,7 +22,7 @@ const serializeAws_restXmlCreateAccessPointCommand = async (input, context) => {
22
22
  if (labelValue.length <= 0) {
23
23
  throw new Error("Empty value provided for input HTTP label: Name.");
24
24
  }
25
- resolvedPath = resolvedPath.replace("{Name}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
25
+ resolvedPath = resolvedPath.replace("{Name}", smithy_client_1.extendedEncodeURIComponent(labelValue));
26
26
  }
27
27
  else {
28
28
  throw new Error("No value provided for input HTTP label: Name.");
@@ -51,7 +51,7 @@ const serializeAws_restXmlCreateAccessPointCommand = async (input, context) => {
51
51
  throw new Error("Empty value provided for input host prefix: AccountId.");
52
52
  }
53
53
  resolvedHostname = resolvedHostname.replace("{AccountId}", input.AccountId);
54
- if (!(0, protocol_http_1.isValidHostname)(resolvedHostname)) {
54
+ if (!protocol_http_1.isValidHostname(resolvedHostname)) {
55
55
  throw new Error("ValidationError: prefixed hostname must be hostname compatible.");
56
56
  }
57
57
  }
@@ -79,7 +79,7 @@ const serializeAws_restXmlCreateAccessPointForObjectLambdaCommand = async (input
79
79
  if (labelValue.length <= 0) {
80
80
  throw new Error("Empty value provided for input HTTP label: Name.");
81
81
  }
82
- resolvedPath = resolvedPath.replace("{Name}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
82
+ resolvedPath = resolvedPath.replace("{Name}", smithy_client_1.extendedEncodeURIComponent(labelValue));
83
83
  }
84
84
  else {
85
85
  throw new Error("No value provided for input HTTP label: Name.");
@@ -100,7 +100,7 @@ const serializeAws_restXmlCreateAccessPointForObjectLambdaCommand = async (input
100
100
  throw new Error("Empty value provided for input host prefix: AccountId.");
101
101
  }
102
102
  resolvedHostname = resolvedHostname.replace("{AccountId}", input.AccountId);
103
- if (!(0, protocol_http_1.isValidHostname)(resolvedHostname)) {
103
+ if (!protocol_http_1.isValidHostname(resolvedHostname)) {
104
104
  throw new Error("ValidationError: prefixed hostname must be hostname compatible.");
105
105
  }
106
106
  }
@@ -136,7 +136,7 @@ const serializeAws_restXmlCreateBucketCommand = async (input, context) => {
136
136
  if (labelValue.length <= 0) {
137
137
  throw new Error("Empty value provided for input HTTP label: Bucket.");
138
138
  }
139
- resolvedPath = resolvedPath.replace("{Bucket}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
139
+ resolvedPath = resolvedPath.replace("{Bucket}", smithy_client_1.extendedEncodeURIComponent(labelValue));
140
140
  }
141
141
  else {
142
142
  throw new Error("No value provided for input HTTP label: Bucket.");
@@ -175,7 +175,7 @@ const serializeAws_restXmlCreateJobCommand = async (input, context) => {
175
175
  const bodyNode = new xml_builder_1.XmlNode("CreateJobRequest");
176
176
  bodyNode.addAttribute("xmlns", "http://awss3control.amazonaws.com/doc/2018-08-20/");
177
177
  if (input.ClientRequestToken === undefined) {
178
- input.ClientRequestToken = (0, uuid_1.v4)();
178
+ input.ClientRequestToken = uuid_1.v4();
179
179
  }
180
180
  if (input.ClientRequestToken !== undefined) {
181
181
  const node = new xml_builder_1.XmlNode("NonEmptyMaxLength64String")
@@ -231,7 +231,7 @@ const serializeAws_restXmlCreateJobCommand = async (input, context) => {
231
231
  throw new Error("Empty value provided for input host prefix: AccountId.");
232
232
  }
233
233
  resolvedHostname = resolvedHostname.replace("{AccountId}", input.AccountId);
234
- if (!(0, protocol_http_1.isValidHostname)(resolvedHostname)) {
234
+ if (!protocol_http_1.isValidHostname(resolvedHostname)) {
235
235
  throw new Error("ValidationError: prefixed hostname must be hostname compatible.");
236
236
  }
237
237
  }
@@ -258,7 +258,7 @@ const serializeAws_restXmlCreateMultiRegionAccessPointCommand = async (input, co
258
258
  const bodyNode = new xml_builder_1.XmlNode("CreateMultiRegionAccessPointRequest");
259
259
  bodyNode.addAttribute("xmlns", "http://awss3control.amazonaws.com/doc/2018-08-20/");
260
260
  if (input.ClientToken === undefined) {
261
- input.ClientToken = (0, uuid_1.v4)();
261
+ input.ClientToken = uuid_1.v4();
262
262
  }
263
263
  if (input.ClientToken !== undefined) {
264
264
  const node = new xml_builder_1.XmlNode("MultiRegionAccessPointClientToken")
@@ -278,7 +278,7 @@ const serializeAws_restXmlCreateMultiRegionAccessPointCommand = async (input, co
278
278
  throw new Error("Empty value provided for input host prefix: AccountId.");
279
279
  }
280
280
  resolvedHostname = resolvedHostname.replace("{AccountId}", input.AccountId);
281
- if (!(0, protocol_http_1.isValidHostname)(resolvedHostname)) {
281
+ if (!protocol_http_1.isValidHostname(resolvedHostname)) {
282
282
  throw new Error("ValidationError: prefixed hostname must be hostname compatible.");
283
283
  }
284
284
  }
@@ -304,7 +304,7 @@ const serializeAws_restXmlDeleteAccessPointCommand = async (input, context) => {
304
304
  if (labelValue.length <= 0) {
305
305
  throw new Error("Empty value provided for input HTTP label: Name.");
306
306
  }
307
- resolvedPath = resolvedPath.replace("{Name}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
307
+ resolvedPath = resolvedPath.replace("{Name}", smithy_client_1.extendedEncodeURIComponent(labelValue));
308
308
  }
309
309
  else {
310
310
  throw new Error("No value provided for input HTTP label: Name.");
@@ -317,7 +317,7 @@ const serializeAws_restXmlDeleteAccessPointCommand = async (input, context) => {
317
317
  throw new Error("Empty value provided for input host prefix: AccountId.");
318
318
  }
319
319
  resolvedHostname = resolvedHostname.replace("{AccountId}", input.AccountId);
320
- if (!(0, protocol_http_1.isValidHostname)(resolvedHostname)) {
320
+ if (!protocol_http_1.isValidHostname(resolvedHostname)) {
321
321
  throw new Error("ValidationError: prefixed hostname must be hostname compatible.");
322
322
  }
323
323
  }
@@ -344,7 +344,7 @@ const serializeAws_restXmlDeleteAccessPointForObjectLambdaCommand = async (input
344
344
  if (labelValue.length <= 0) {
345
345
  throw new Error("Empty value provided for input HTTP label: Name.");
346
346
  }
347
- resolvedPath = resolvedPath.replace("{Name}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
347
+ resolvedPath = resolvedPath.replace("{Name}", smithy_client_1.extendedEncodeURIComponent(labelValue));
348
348
  }
349
349
  else {
350
350
  throw new Error("No value provided for input HTTP label: Name.");
@@ -357,7 +357,7 @@ const serializeAws_restXmlDeleteAccessPointForObjectLambdaCommand = async (input
357
357
  throw new Error("Empty value provided for input host prefix: AccountId.");
358
358
  }
359
359
  resolvedHostname = resolvedHostname.replace("{AccountId}", input.AccountId);
360
- if (!(0, protocol_http_1.isValidHostname)(resolvedHostname)) {
360
+ if (!protocol_http_1.isValidHostname(resolvedHostname)) {
361
361
  throw new Error("ValidationError: prefixed hostname must be hostname compatible.");
362
362
  }
363
363
  }
@@ -383,7 +383,7 @@ const serializeAws_restXmlDeleteAccessPointPolicyCommand = async (input, context
383
383
  if (labelValue.length <= 0) {
384
384
  throw new Error("Empty value provided for input HTTP label: Name.");
385
385
  }
386
- resolvedPath = resolvedPath.replace("{Name}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
386
+ resolvedPath = resolvedPath.replace("{Name}", smithy_client_1.extendedEncodeURIComponent(labelValue));
387
387
  }
388
388
  else {
389
389
  throw new Error("No value provided for input HTTP label: Name.");
@@ -396,7 +396,7 @@ const serializeAws_restXmlDeleteAccessPointPolicyCommand = async (input, context
396
396
  throw new Error("Empty value provided for input host prefix: AccountId.");
397
397
  }
398
398
  resolvedHostname = resolvedHostname.replace("{AccountId}", input.AccountId);
399
- if (!(0, protocol_http_1.isValidHostname)(resolvedHostname)) {
399
+ if (!protocol_http_1.isValidHostname(resolvedHostname)) {
400
400
  throw new Error("ValidationError: prefixed hostname must be hostname compatible.");
401
401
  }
402
402
  }
@@ -423,7 +423,7 @@ const serializeAws_restXmlDeleteAccessPointPolicyForObjectLambdaCommand = async
423
423
  if (labelValue.length <= 0) {
424
424
  throw new Error("Empty value provided for input HTTP label: Name.");
425
425
  }
426
- resolvedPath = resolvedPath.replace("{Name}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
426
+ resolvedPath = resolvedPath.replace("{Name}", smithy_client_1.extendedEncodeURIComponent(labelValue));
427
427
  }
428
428
  else {
429
429
  throw new Error("No value provided for input HTTP label: Name.");
@@ -436,7 +436,7 @@ const serializeAws_restXmlDeleteAccessPointPolicyForObjectLambdaCommand = async
436
436
  throw new Error("Empty value provided for input host prefix: AccountId.");
437
437
  }
438
438
  resolvedHostname = resolvedHostname.replace("{AccountId}", input.AccountId);
439
- if (!(0, protocol_http_1.isValidHostname)(resolvedHostname)) {
439
+ if (!protocol_http_1.isValidHostname(resolvedHostname)) {
440
440
  throw new Error("ValidationError: prefixed hostname must be hostname compatible.");
441
441
  }
442
442
  }
@@ -462,7 +462,7 @@ const serializeAws_restXmlDeleteBucketCommand = async (input, context) => {
462
462
  if (labelValue.length <= 0) {
463
463
  throw new Error("Empty value provided for input HTTP label: Bucket.");
464
464
  }
465
- resolvedPath = resolvedPath.replace("{Bucket}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
465
+ resolvedPath = resolvedPath.replace("{Bucket}", smithy_client_1.extendedEncodeURIComponent(labelValue));
466
466
  }
467
467
  else {
468
468
  throw new Error("No value provided for input HTTP label: Bucket.");
@@ -475,7 +475,7 @@ const serializeAws_restXmlDeleteBucketCommand = async (input, context) => {
475
475
  throw new Error("Empty value provided for input host prefix: AccountId.");
476
476
  }
477
477
  resolvedHostname = resolvedHostname.replace("{AccountId}", input.AccountId);
478
- if (!(0, protocol_http_1.isValidHostname)(resolvedHostname)) {
478
+ if (!protocol_http_1.isValidHostname(resolvedHostname)) {
479
479
  throw new Error("ValidationError: prefixed hostname must be hostname compatible.");
480
480
  }
481
481
  }
@@ -502,7 +502,7 @@ const serializeAws_restXmlDeleteBucketLifecycleConfigurationCommand = async (inp
502
502
  if (labelValue.length <= 0) {
503
503
  throw new Error("Empty value provided for input HTTP label: Bucket.");
504
504
  }
505
- resolvedPath = resolvedPath.replace("{Bucket}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
505
+ resolvedPath = resolvedPath.replace("{Bucket}", smithy_client_1.extendedEncodeURIComponent(labelValue));
506
506
  }
507
507
  else {
508
508
  throw new Error("No value provided for input HTTP label: Bucket.");
@@ -515,7 +515,7 @@ const serializeAws_restXmlDeleteBucketLifecycleConfigurationCommand = async (inp
515
515
  throw new Error("Empty value provided for input host prefix: AccountId.");
516
516
  }
517
517
  resolvedHostname = resolvedHostname.replace("{AccountId}", input.AccountId);
518
- if (!(0, protocol_http_1.isValidHostname)(resolvedHostname)) {
518
+ if (!protocol_http_1.isValidHostname(resolvedHostname)) {
519
519
  throw new Error("ValidationError: prefixed hostname must be hostname compatible.");
520
520
  }
521
521
  }
@@ -541,7 +541,7 @@ const serializeAws_restXmlDeleteBucketPolicyCommand = async (input, context) =>
541
541
  if (labelValue.length <= 0) {
542
542
  throw new Error("Empty value provided for input HTTP label: Bucket.");
543
543
  }
544
- resolvedPath = resolvedPath.replace("{Bucket}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
544
+ resolvedPath = resolvedPath.replace("{Bucket}", smithy_client_1.extendedEncodeURIComponent(labelValue));
545
545
  }
546
546
  else {
547
547
  throw new Error("No value provided for input HTTP label: Bucket.");
@@ -554,7 +554,7 @@ const serializeAws_restXmlDeleteBucketPolicyCommand = async (input, context) =>
554
554
  throw new Error("Empty value provided for input host prefix: AccountId.");
555
555
  }
556
556
  resolvedHostname = resolvedHostname.replace("{AccountId}", input.AccountId);
557
- if (!(0, protocol_http_1.isValidHostname)(resolvedHostname)) {
557
+ if (!protocol_http_1.isValidHostname(resolvedHostname)) {
558
558
  throw new Error("ValidationError: prefixed hostname must be hostname compatible.");
559
559
  }
560
560
  }
@@ -580,7 +580,7 @@ const serializeAws_restXmlDeleteBucketTaggingCommand = async (input, context) =>
580
580
  if (labelValue.length <= 0) {
581
581
  throw new Error("Empty value provided for input HTTP label: Bucket.");
582
582
  }
583
- resolvedPath = resolvedPath.replace("{Bucket}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
583
+ resolvedPath = resolvedPath.replace("{Bucket}", smithy_client_1.extendedEncodeURIComponent(labelValue));
584
584
  }
585
585
  else {
586
586
  throw new Error("No value provided for input HTTP label: Bucket.");
@@ -593,7 +593,7 @@ const serializeAws_restXmlDeleteBucketTaggingCommand = async (input, context) =>
593
593
  throw new Error("Empty value provided for input host prefix: AccountId.");
594
594
  }
595
595
  resolvedHostname = resolvedHostname.replace("{AccountId}", input.AccountId);
596
- if (!(0, protocol_http_1.isValidHostname)(resolvedHostname)) {
596
+ if (!protocol_http_1.isValidHostname(resolvedHostname)) {
597
597
  throw new Error("ValidationError: prefixed hostname must be hostname compatible.");
598
598
  }
599
599
  }
@@ -619,7 +619,7 @@ const serializeAws_restXmlDeleteJobTaggingCommand = async (input, context) => {
619
619
  if (labelValue.length <= 0) {
620
620
  throw new Error("Empty value provided for input HTTP label: JobId.");
621
621
  }
622
- resolvedPath = resolvedPath.replace("{JobId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
622
+ resolvedPath = resolvedPath.replace("{JobId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
623
623
  }
624
624
  else {
625
625
  throw new Error("No value provided for input HTTP label: JobId.");
@@ -632,7 +632,7 @@ const serializeAws_restXmlDeleteJobTaggingCommand = async (input, context) => {
632
632
  throw new Error("Empty value provided for input host prefix: AccountId.");
633
633
  }
634
634
  resolvedHostname = resolvedHostname.replace("{AccountId}", input.AccountId);
635
- if (!(0, protocol_http_1.isValidHostname)(resolvedHostname)) {
635
+ if (!protocol_http_1.isValidHostname(resolvedHostname)) {
636
636
  throw new Error("ValidationError: prefixed hostname must be hostname compatible.");
637
637
  }
638
638
  }
@@ -659,7 +659,7 @@ const serializeAws_restXmlDeleteMultiRegionAccessPointCommand = async (input, co
659
659
  const bodyNode = new xml_builder_1.XmlNode("DeleteMultiRegionAccessPointRequest");
660
660
  bodyNode.addAttribute("xmlns", "http://awss3control.amazonaws.com/doc/2018-08-20/");
661
661
  if (input.ClientToken === undefined) {
662
- input.ClientToken = (0, uuid_1.v4)();
662
+ input.ClientToken = uuid_1.v4();
663
663
  }
664
664
  if (input.ClientToken !== undefined) {
665
665
  const node = new xml_builder_1.XmlNode("MultiRegionAccessPointClientToken")
@@ -679,7 +679,7 @@ const serializeAws_restXmlDeleteMultiRegionAccessPointCommand = async (input, co
679
679
  throw new Error("Empty value provided for input host prefix: AccountId.");
680
680
  }
681
681
  resolvedHostname = resolvedHostname.replace("{AccountId}", input.AccountId);
682
- if (!(0, protocol_http_1.isValidHostname)(resolvedHostname)) {
682
+ if (!protocol_http_1.isValidHostname(resolvedHostname)) {
683
683
  throw new Error("ValidationError: prefixed hostname must be hostname compatible.");
684
684
  }
685
685
  }
@@ -709,7 +709,7 @@ const serializeAws_restXmlDeletePublicAccessBlockCommand = async (input, context
709
709
  throw new Error("Empty value provided for input host prefix: AccountId.");
710
710
  }
711
711
  resolvedHostname = resolvedHostname.replace("{AccountId}", input.AccountId);
712
- if (!(0, protocol_http_1.isValidHostname)(resolvedHostname)) {
712
+ if (!protocol_http_1.isValidHostname(resolvedHostname)) {
713
713
  throw new Error("ValidationError: prefixed hostname must be hostname compatible.");
714
714
  }
715
715
  }
@@ -735,7 +735,7 @@ const serializeAws_restXmlDeleteStorageLensConfigurationCommand = async (input,
735
735
  if (labelValue.length <= 0) {
736
736
  throw new Error("Empty value provided for input HTTP label: ConfigId.");
737
737
  }
738
- resolvedPath = resolvedPath.replace("{ConfigId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
738
+ resolvedPath = resolvedPath.replace("{ConfigId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
739
739
  }
740
740
  else {
741
741
  throw new Error("No value provided for input HTTP label: ConfigId.");
@@ -748,7 +748,7 @@ const serializeAws_restXmlDeleteStorageLensConfigurationCommand = async (input,
748
748
  throw new Error("Empty value provided for input host prefix: AccountId.");
749
749
  }
750
750
  resolvedHostname = resolvedHostname.replace("{AccountId}", input.AccountId);
751
- if (!(0, protocol_http_1.isValidHostname)(resolvedHostname)) {
751
+ if (!protocol_http_1.isValidHostname(resolvedHostname)) {
752
752
  throw new Error("ValidationError: prefixed hostname must be hostname compatible.");
753
753
  }
754
754
  }
@@ -774,7 +774,7 @@ const serializeAws_restXmlDeleteStorageLensConfigurationTaggingCommand = async (
774
774
  if (labelValue.length <= 0) {
775
775
  throw new Error("Empty value provided for input HTTP label: ConfigId.");
776
776
  }
777
- resolvedPath = resolvedPath.replace("{ConfigId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
777
+ resolvedPath = resolvedPath.replace("{ConfigId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
778
778
  }
779
779
  else {
780
780
  throw new Error("No value provided for input HTTP label: ConfigId.");
@@ -787,7 +787,7 @@ const serializeAws_restXmlDeleteStorageLensConfigurationTaggingCommand = async (
787
787
  throw new Error("Empty value provided for input host prefix: AccountId.");
788
788
  }
789
789
  resolvedHostname = resolvedHostname.replace("{AccountId}", input.AccountId);
790
- if (!(0, protocol_http_1.isValidHostname)(resolvedHostname)) {
790
+ if (!protocol_http_1.isValidHostname(resolvedHostname)) {
791
791
  throw new Error("ValidationError: prefixed hostname must be hostname compatible.");
792
792
  }
793
793
  }
@@ -813,7 +813,7 @@ const serializeAws_restXmlDescribeJobCommand = async (input, context) => {
813
813
  if (labelValue.length <= 0) {
814
814
  throw new Error("Empty value provided for input HTTP label: JobId.");
815
815
  }
816
- resolvedPath = resolvedPath.replace("{JobId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
816
+ resolvedPath = resolvedPath.replace("{JobId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
817
817
  }
818
818
  else {
819
819
  throw new Error("No value provided for input HTTP label: JobId.");
@@ -826,7 +826,7 @@ const serializeAws_restXmlDescribeJobCommand = async (input, context) => {
826
826
  throw new Error("Empty value provided for input host prefix: AccountId.");
827
827
  }
828
828
  resolvedHostname = resolvedHostname.replace("{AccountId}", input.AccountId);
829
- if (!(0, protocol_http_1.isValidHostname)(resolvedHostname)) {
829
+ if (!protocol_http_1.isValidHostname(resolvedHostname)) {
830
830
  throw new Error("ValidationError: prefixed hostname must be hostname compatible.");
831
831
  }
832
832
  }
@@ -855,7 +855,7 @@ const serializeAws_restXmlDescribeMultiRegionAccessPointOperationCommand = async
855
855
  }
856
856
  resolvedPath = resolvedPath.replace("{RequestTokenARN+}", labelValue
857
857
  .split("/")
858
- .map((segment) => (0, smithy_client_1.extendedEncodeURIComponent)(segment))
858
+ .map((segment) => smithy_client_1.extendedEncodeURIComponent(segment))
859
859
  .join("/"));
860
860
  }
861
861
  else {
@@ -869,7 +869,7 @@ const serializeAws_restXmlDescribeMultiRegionAccessPointOperationCommand = async
869
869
  throw new Error("Empty value provided for input host prefix: AccountId.");
870
870
  }
871
871
  resolvedHostname = resolvedHostname.replace("{AccountId}", input.AccountId);
872
- if (!(0, protocol_http_1.isValidHostname)(resolvedHostname)) {
872
+ if (!protocol_http_1.isValidHostname(resolvedHostname)) {
873
873
  throw new Error("ValidationError: prefixed hostname must be hostname compatible.");
874
874
  }
875
875
  }
@@ -895,7 +895,7 @@ const serializeAws_restXmlGetAccessPointCommand = async (input, context) => {
895
895
  if (labelValue.length <= 0) {
896
896
  throw new Error("Empty value provided for input HTTP label: Name.");
897
897
  }
898
- resolvedPath = resolvedPath.replace("{Name}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
898
+ resolvedPath = resolvedPath.replace("{Name}", smithy_client_1.extendedEncodeURIComponent(labelValue));
899
899
  }
900
900
  else {
901
901
  throw new Error("No value provided for input HTTP label: Name.");
@@ -908,7 +908,7 @@ const serializeAws_restXmlGetAccessPointCommand = async (input, context) => {
908
908
  throw new Error("Empty value provided for input host prefix: AccountId.");
909
909
  }
910
910
  resolvedHostname = resolvedHostname.replace("{AccountId}", input.AccountId);
911
- if (!(0, protocol_http_1.isValidHostname)(resolvedHostname)) {
911
+ if (!protocol_http_1.isValidHostname(resolvedHostname)) {
912
912
  throw new Error("ValidationError: prefixed hostname must be hostname compatible.");
913
913
  }
914
914
  }
@@ -935,7 +935,7 @@ const serializeAws_restXmlGetAccessPointConfigurationForObjectLambdaCommand = as
935
935
  if (labelValue.length <= 0) {
936
936
  throw new Error("Empty value provided for input HTTP label: Name.");
937
937
  }
938
- resolvedPath = resolvedPath.replace("{Name}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
938
+ resolvedPath = resolvedPath.replace("{Name}", smithy_client_1.extendedEncodeURIComponent(labelValue));
939
939
  }
940
940
  else {
941
941
  throw new Error("No value provided for input HTTP label: Name.");
@@ -948,7 +948,7 @@ const serializeAws_restXmlGetAccessPointConfigurationForObjectLambdaCommand = as
948
948
  throw new Error("Empty value provided for input host prefix: AccountId.");
949
949
  }
950
950
  resolvedHostname = resolvedHostname.replace("{AccountId}", input.AccountId);
951
- if (!(0, protocol_http_1.isValidHostname)(resolvedHostname)) {
951
+ if (!protocol_http_1.isValidHostname(resolvedHostname)) {
952
952
  throw new Error("ValidationError: prefixed hostname must be hostname compatible.");
953
953
  }
954
954
  }
@@ -975,7 +975,7 @@ const serializeAws_restXmlGetAccessPointForObjectLambdaCommand = async (input, c
975
975
  if (labelValue.length <= 0) {
976
976
  throw new Error("Empty value provided for input HTTP label: Name.");
977
977
  }
978
- resolvedPath = resolvedPath.replace("{Name}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
978
+ resolvedPath = resolvedPath.replace("{Name}", smithy_client_1.extendedEncodeURIComponent(labelValue));
979
979
  }
980
980
  else {
981
981
  throw new Error("No value provided for input HTTP label: Name.");
@@ -988,7 +988,7 @@ const serializeAws_restXmlGetAccessPointForObjectLambdaCommand = async (input, c
988
988
  throw new Error("Empty value provided for input host prefix: AccountId.");
989
989
  }
990
990
  resolvedHostname = resolvedHostname.replace("{AccountId}", input.AccountId);
991
- if (!(0, protocol_http_1.isValidHostname)(resolvedHostname)) {
991
+ if (!protocol_http_1.isValidHostname(resolvedHostname)) {
992
992
  throw new Error("ValidationError: prefixed hostname must be hostname compatible.");
993
993
  }
994
994
  }
@@ -1014,7 +1014,7 @@ const serializeAws_restXmlGetAccessPointPolicyCommand = async (input, context) =
1014
1014
  if (labelValue.length <= 0) {
1015
1015
  throw new Error("Empty value provided for input HTTP label: Name.");
1016
1016
  }
1017
- resolvedPath = resolvedPath.replace("{Name}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
1017
+ resolvedPath = resolvedPath.replace("{Name}", smithy_client_1.extendedEncodeURIComponent(labelValue));
1018
1018
  }
1019
1019
  else {
1020
1020
  throw new Error("No value provided for input HTTP label: Name.");
@@ -1027,7 +1027,7 @@ const serializeAws_restXmlGetAccessPointPolicyCommand = async (input, context) =
1027
1027
  throw new Error("Empty value provided for input host prefix: AccountId.");
1028
1028
  }
1029
1029
  resolvedHostname = resolvedHostname.replace("{AccountId}", input.AccountId);
1030
- if (!(0, protocol_http_1.isValidHostname)(resolvedHostname)) {
1030
+ if (!protocol_http_1.isValidHostname(resolvedHostname)) {
1031
1031
  throw new Error("ValidationError: prefixed hostname must be hostname compatible.");
1032
1032
  }
1033
1033
  }
@@ -1054,7 +1054,7 @@ const serializeAws_restXmlGetAccessPointPolicyForObjectLambdaCommand = async (in
1054
1054
  if (labelValue.length <= 0) {
1055
1055
  throw new Error("Empty value provided for input HTTP label: Name.");
1056
1056
  }
1057
- resolvedPath = resolvedPath.replace("{Name}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
1057
+ resolvedPath = resolvedPath.replace("{Name}", smithy_client_1.extendedEncodeURIComponent(labelValue));
1058
1058
  }
1059
1059
  else {
1060
1060
  throw new Error("No value provided for input HTTP label: Name.");
@@ -1067,7 +1067,7 @@ const serializeAws_restXmlGetAccessPointPolicyForObjectLambdaCommand = async (in
1067
1067
  throw new Error("Empty value provided for input host prefix: AccountId.");
1068
1068
  }
1069
1069
  resolvedHostname = resolvedHostname.replace("{AccountId}", input.AccountId);
1070
- if (!(0, protocol_http_1.isValidHostname)(resolvedHostname)) {
1070
+ if (!protocol_http_1.isValidHostname(resolvedHostname)) {
1071
1071
  throw new Error("ValidationError: prefixed hostname must be hostname compatible.");
1072
1072
  }
1073
1073
  }
@@ -1094,7 +1094,7 @@ const serializeAws_restXmlGetAccessPointPolicyStatusCommand = async (input, cont
1094
1094
  if (labelValue.length <= 0) {
1095
1095
  throw new Error("Empty value provided for input HTTP label: Name.");
1096
1096
  }
1097
- resolvedPath = resolvedPath.replace("{Name}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
1097
+ resolvedPath = resolvedPath.replace("{Name}", smithy_client_1.extendedEncodeURIComponent(labelValue));
1098
1098
  }
1099
1099
  else {
1100
1100
  throw new Error("No value provided for input HTTP label: Name.");
@@ -1107,7 +1107,7 @@ const serializeAws_restXmlGetAccessPointPolicyStatusCommand = async (input, cont
1107
1107
  throw new Error("Empty value provided for input host prefix: AccountId.");
1108
1108
  }
1109
1109
  resolvedHostname = resolvedHostname.replace("{AccountId}", input.AccountId);
1110
- if (!(0, protocol_http_1.isValidHostname)(resolvedHostname)) {
1110
+ if (!protocol_http_1.isValidHostname(resolvedHostname)) {
1111
1111
  throw new Error("ValidationError: prefixed hostname must be hostname compatible.");
1112
1112
  }
1113
1113
  }
@@ -1134,7 +1134,7 @@ const serializeAws_restXmlGetAccessPointPolicyStatusForObjectLambdaCommand = asy
1134
1134
  if (labelValue.length <= 0) {
1135
1135
  throw new Error("Empty value provided for input HTTP label: Name.");
1136
1136
  }
1137
- resolvedPath = resolvedPath.replace("{Name}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
1137
+ resolvedPath = resolvedPath.replace("{Name}", smithy_client_1.extendedEncodeURIComponent(labelValue));
1138
1138
  }
1139
1139
  else {
1140
1140
  throw new Error("No value provided for input HTTP label: Name.");
@@ -1147,7 +1147,7 @@ const serializeAws_restXmlGetAccessPointPolicyStatusForObjectLambdaCommand = asy
1147
1147
  throw new Error("Empty value provided for input host prefix: AccountId.");
1148
1148
  }
1149
1149
  resolvedHostname = resolvedHostname.replace("{AccountId}", input.AccountId);
1150
- if (!(0, protocol_http_1.isValidHostname)(resolvedHostname)) {
1150
+ if (!protocol_http_1.isValidHostname(resolvedHostname)) {
1151
1151
  throw new Error("ValidationError: prefixed hostname must be hostname compatible.");
1152
1152
  }
1153
1153
  }
@@ -1173,7 +1173,7 @@ const serializeAws_restXmlGetBucketCommand = async (input, context) => {
1173
1173
  if (labelValue.length <= 0) {
1174
1174
  throw new Error("Empty value provided for input HTTP label: Bucket.");
1175
1175
  }
1176
- resolvedPath = resolvedPath.replace("{Bucket}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
1176
+ resolvedPath = resolvedPath.replace("{Bucket}", smithy_client_1.extendedEncodeURIComponent(labelValue));
1177
1177
  }
1178
1178
  else {
1179
1179
  throw new Error("No value provided for input HTTP label: Bucket.");
@@ -1186,7 +1186,7 @@ const serializeAws_restXmlGetBucketCommand = async (input, context) => {
1186
1186
  throw new Error("Empty value provided for input host prefix: AccountId.");
1187
1187
  }
1188
1188
  resolvedHostname = resolvedHostname.replace("{AccountId}", input.AccountId);
1189
- if (!(0, protocol_http_1.isValidHostname)(resolvedHostname)) {
1189
+ if (!protocol_http_1.isValidHostname(resolvedHostname)) {
1190
1190
  throw new Error("ValidationError: prefixed hostname must be hostname compatible.");
1191
1191
  }
1192
1192
  }
@@ -1213,7 +1213,7 @@ const serializeAws_restXmlGetBucketLifecycleConfigurationCommand = async (input,
1213
1213
  if (labelValue.length <= 0) {
1214
1214
  throw new Error("Empty value provided for input HTTP label: Bucket.");
1215
1215
  }
1216
- resolvedPath = resolvedPath.replace("{Bucket}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
1216
+ resolvedPath = resolvedPath.replace("{Bucket}", smithy_client_1.extendedEncodeURIComponent(labelValue));
1217
1217
  }
1218
1218
  else {
1219
1219
  throw new Error("No value provided for input HTTP label: Bucket.");
@@ -1226,7 +1226,7 @@ const serializeAws_restXmlGetBucketLifecycleConfigurationCommand = async (input,
1226
1226
  throw new Error("Empty value provided for input host prefix: AccountId.");
1227
1227
  }
1228
1228
  resolvedHostname = resolvedHostname.replace("{AccountId}", input.AccountId);
1229
- if (!(0, protocol_http_1.isValidHostname)(resolvedHostname)) {
1229
+ if (!protocol_http_1.isValidHostname(resolvedHostname)) {
1230
1230
  throw new Error("ValidationError: prefixed hostname must be hostname compatible.");
1231
1231
  }
1232
1232
  }
@@ -1252,7 +1252,7 @@ const serializeAws_restXmlGetBucketPolicyCommand = async (input, context) => {
1252
1252
  if (labelValue.length <= 0) {
1253
1253
  throw new Error("Empty value provided for input HTTP label: Bucket.");
1254
1254
  }
1255
- resolvedPath = resolvedPath.replace("{Bucket}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
1255
+ resolvedPath = resolvedPath.replace("{Bucket}", smithy_client_1.extendedEncodeURIComponent(labelValue));
1256
1256
  }
1257
1257
  else {
1258
1258
  throw new Error("No value provided for input HTTP label: Bucket.");
@@ -1265,7 +1265,7 @@ const serializeAws_restXmlGetBucketPolicyCommand = async (input, context) => {
1265
1265
  throw new Error("Empty value provided for input host prefix: AccountId.");
1266
1266
  }
1267
1267
  resolvedHostname = resolvedHostname.replace("{AccountId}", input.AccountId);
1268
- if (!(0, protocol_http_1.isValidHostname)(resolvedHostname)) {
1268
+ if (!protocol_http_1.isValidHostname(resolvedHostname)) {
1269
1269
  throw new Error("ValidationError: prefixed hostname must be hostname compatible.");
1270
1270
  }
1271
1271
  }
@@ -1291,7 +1291,7 @@ const serializeAws_restXmlGetBucketTaggingCommand = async (input, context) => {
1291
1291
  if (labelValue.length <= 0) {
1292
1292
  throw new Error("Empty value provided for input HTTP label: Bucket.");
1293
1293
  }
1294
- resolvedPath = resolvedPath.replace("{Bucket}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
1294
+ resolvedPath = resolvedPath.replace("{Bucket}", smithy_client_1.extendedEncodeURIComponent(labelValue));
1295
1295
  }
1296
1296
  else {
1297
1297
  throw new Error("No value provided for input HTTP label: Bucket.");
@@ -1304,7 +1304,7 @@ const serializeAws_restXmlGetBucketTaggingCommand = async (input, context) => {
1304
1304
  throw new Error("Empty value provided for input host prefix: AccountId.");
1305
1305
  }
1306
1306
  resolvedHostname = resolvedHostname.replace("{AccountId}", input.AccountId);
1307
- if (!(0, protocol_http_1.isValidHostname)(resolvedHostname)) {
1307
+ if (!protocol_http_1.isValidHostname(resolvedHostname)) {
1308
1308
  throw new Error("ValidationError: prefixed hostname must be hostname compatible.");
1309
1309
  }
1310
1310
  }
@@ -1330,7 +1330,7 @@ const serializeAws_restXmlGetJobTaggingCommand = async (input, context) => {
1330
1330
  if (labelValue.length <= 0) {
1331
1331
  throw new Error("Empty value provided for input HTTP label: JobId.");
1332
1332
  }
1333
- resolvedPath = resolvedPath.replace("{JobId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
1333
+ resolvedPath = resolvedPath.replace("{JobId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
1334
1334
  }
1335
1335
  else {
1336
1336
  throw new Error("No value provided for input HTTP label: JobId.");
@@ -1343,7 +1343,7 @@ const serializeAws_restXmlGetJobTaggingCommand = async (input, context) => {
1343
1343
  throw new Error("Empty value provided for input host prefix: AccountId.");
1344
1344
  }
1345
1345
  resolvedHostname = resolvedHostname.replace("{AccountId}", input.AccountId);
1346
- if (!(0, protocol_http_1.isValidHostname)(resolvedHostname)) {
1346
+ if (!protocol_http_1.isValidHostname(resolvedHostname)) {
1347
1347
  throw new Error("ValidationError: prefixed hostname must be hostname compatible.");
1348
1348
  }
1349
1349
  }
@@ -1369,7 +1369,7 @@ const serializeAws_restXmlGetMultiRegionAccessPointCommand = async (input, conte
1369
1369
  if (labelValue.length <= 0) {
1370
1370
  throw new Error("Empty value provided for input HTTP label: Name.");
1371
1371
  }
1372
- resolvedPath = resolvedPath.replace("{Name}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
1372
+ resolvedPath = resolvedPath.replace("{Name}", smithy_client_1.extendedEncodeURIComponent(labelValue));
1373
1373
  }
1374
1374
  else {
1375
1375
  throw new Error("No value provided for input HTTP label: Name.");
@@ -1382,7 +1382,7 @@ const serializeAws_restXmlGetMultiRegionAccessPointCommand = async (input, conte
1382
1382
  throw new Error("Empty value provided for input host prefix: AccountId.");
1383
1383
  }
1384
1384
  resolvedHostname = resolvedHostname.replace("{AccountId}", input.AccountId);
1385
- if (!(0, protocol_http_1.isValidHostname)(resolvedHostname)) {
1385
+ if (!protocol_http_1.isValidHostname(resolvedHostname)) {
1386
1386
  throw new Error("ValidationError: prefixed hostname must be hostname compatible.");
1387
1387
  }
1388
1388
  }
@@ -1408,7 +1408,7 @@ const serializeAws_restXmlGetMultiRegionAccessPointPolicyCommand = async (input,
1408
1408
  if (labelValue.length <= 0) {
1409
1409
  throw new Error("Empty value provided for input HTTP label: Name.");
1410
1410
  }
1411
- resolvedPath = resolvedPath.replace("{Name}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
1411
+ resolvedPath = resolvedPath.replace("{Name}", smithy_client_1.extendedEncodeURIComponent(labelValue));
1412
1412
  }
1413
1413
  else {
1414
1414
  throw new Error("No value provided for input HTTP label: Name.");
@@ -1421,7 +1421,7 @@ const serializeAws_restXmlGetMultiRegionAccessPointPolicyCommand = async (input,
1421
1421
  throw new Error("Empty value provided for input host prefix: AccountId.");
1422
1422
  }
1423
1423
  resolvedHostname = resolvedHostname.replace("{AccountId}", input.AccountId);
1424
- if (!(0, protocol_http_1.isValidHostname)(resolvedHostname)) {
1424
+ if (!protocol_http_1.isValidHostname(resolvedHostname)) {
1425
1425
  throw new Error("ValidationError: prefixed hostname must be hostname compatible.");
1426
1426
  }
1427
1427
  }
@@ -1448,7 +1448,7 @@ const serializeAws_restXmlGetMultiRegionAccessPointPolicyStatusCommand = async (
1448
1448
  if (labelValue.length <= 0) {
1449
1449
  throw new Error("Empty value provided for input HTTP label: Name.");
1450
1450
  }
1451
- resolvedPath = resolvedPath.replace("{Name}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
1451
+ resolvedPath = resolvedPath.replace("{Name}", smithy_client_1.extendedEncodeURIComponent(labelValue));
1452
1452
  }
1453
1453
  else {
1454
1454
  throw new Error("No value provided for input HTTP label: Name.");
@@ -1461,7 +1461,7 @@ const serializeAws_restXmlGetMultiRegionAccessPointPolicyStatusCommand = async (
1461
1461
  throw new Error("Empty value provided for input host prefix: AccountId.");
1462
1462
  }
1463
1463
  resolvedHostname = resolvedHostname.replace("{AccountId}", input.AccountId);
1464
- if (!(0, protocol_http_1.isValidHostname)(resolvedHostname)) {
1464
+ if (!protocol_http_1.isValidHostname(resolvedHostname)) {
1465
1465
  throw new Error("ValidationError: prefixed hostname must be hostname compatible.");
1466
1466
  }
1467
1467
  }
@@ -1491,7 +1491,7 @@ const serializeAws_restXmlGetPublicAccessBlockCommand = async (input, context) =
1491
1491
  throw new Error("Empty value provided for input host prefix: AccountId.");
1492
1492
  }
1493
1493
  resolvedHostname = resolvedHostname.replace("{AccountId}", input.AccountId);
1494
- if (!(0, protocol_http_1.isValidHostname)(resolvedHostname)) {
1494
+ if (!protocol_http_1.isValidHostname(resolvedHostname)) {
1495
1495
  throw new Error("ValidationError: prefixed hostname must be hostname compatible.");
1496
1496
  }
1497
1497
  }
@@ -1517,7 +1517,7 @@ const serializeAws_restXmlGetStorageLensConfigurationCommand = async (input, con
1517
1517
  if (labelValue.length <= 0) {
1518
1518
  throw new Error("Empty value provided for input HTTP label: ConfigId.");
1519
1519
  }
1520
- resolvedPath = resolvedPath.replace("{ConfigId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
1520
+ resolvedPath = resolvedPath.replace("{ConfigId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
1521
1521
  }
1522
1522
  else {
1523
1523
  throw new Error("No value provided for input HTTP label: ConfigId.");
@@ -1530,7 +1530,7 @@ const serializeAws_restXmlGetStorageLensConfigurationCommand = async (input, con
1530
1530
  throw new Error("Empty value provided for input host prefix: AccountId.");
1531
1531
  }
1532
1532
  resolvedHostname = resolvedHostname.replace("{AccountId}", input.AccountId);
1533
- if (!(0, protocol_http_1.isValidHostname)(resolvedHostname)) {
1533
+ if (!protocol_http_1.isValidHostname(resolvedHostname)) {
1534
1534
  throw new Error("ValidationError: prefixed hostname must be hostname compatible.");
1535
1535
  }
1536
1536
  }
@@ -1556,7 +1556,7 @@ const serializeAws_restXmlGetStorageLensConfigurationTaggingCommand = async (inp
1556
1556
  if (labelValue.length <= 0) {
1557
1557
  throw new Error("Empty value provided for input HTTP label: ConfigId.");
1558
1558
  }
1559
- resolvedPath = resolvedPath.replace("{ConfigId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
1559
+ resolvedPath = resolvedPath.replace("{ConfigId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
1560
1560
  }
1561
1561
  else {
1562
1562
  throw new Error("No value provided for input HTTP label: ConfigId.");
@@ -1569,7 +1569,7 @@ const serializeAws_restXmlGetStorageLensConfigurationTaggingCommand = async (inp
1569
1569
  throw new Error("Empty value provided for input host prefix: AccountId.");
1570
1570
  }
1571
1571
  resolvedHostname = resolvedHostname.replace("{AccountId}", input.AccountId);
1572
- if (!(0, protocol_http_1.isValidHostname)(resolvedHostname)) {
1572
+ if (!protocol_http_1.isValidHostname(resolvedHostname)) {
1573
1573
  throw new Error("ValidationError: prefixed hostname must be hostname compatible.");
1574
1574
  }
1575
1575
  }
@@ -1603,7 +1603,7 @@ const serializeAws_restXmlListAccessPointsCommand = async (input, context) => {
1603
1603
  throw new Error("Empty value provided for input host prefix: AccountId.");
1604
1604
  }
1605
1605
  resolvedHostname = resolvedHostname.replace("{AccountId}", input.AccountId);
1606
- if (!(0, protocol_http_1.isValidHostname)(resolvedHostname)) {
1606
+ if (!protocol_http_1.isValidHostname(resolvedHostname)) {
1607
1607
  throw new Error("ValidationError: prefixed hostname must be hostname compatible.");
1608
1608
  }
1609
1609
  }
@@ -1637,7 +1637,7 @@ const serializeAws_restXmlListAccessPointsForObjectLambdaCommand = async (input,
1637
1637
  throw new Error("Empty value provided for input host prefix: AccountId.");
1638
1638
  }
1639
1639
  resolvedHostname = resolvedHostname.replace("{AccountId}", input.AccountId);
1640
- if (!(0, protocol_http_1.isValidHostname)(resolvedHostname)) {
1640
+ if (!protocol_http_1.isValidHostname(resolvedHostname)) {
1641
1641
  throw new Error("ValidationError: prefixed hostname must be hostname compatible.");
1642
1642
  }
1643
1643
  }
@@ -1672,7 +1672,7 @@ const serializeAws_restXmlListJobsCommand = async (input, context) => {
1672
1672
  throw new Error("Empty value provided for input host prefix: AccountId.");
1673
1673
  }
1674
1674
  resolvedHostname = resolvedHostname.replace("{AccountId}", input.AccountId);
1675
- if (!(0, protocol_http_1.isValidHostname)(resolvedHostname)) {
1675
+ if (!protocol_http_1.isValidHostname(resolvedHostname)) {
1676
1676
  throw new Error("ValidationError: prefixed hostname must be hostname compatible.");
1677
1677
  }
1678
1678
  }
@@ -1706,7 +1706,7 @@ const serializeAws_restXmlListMultiRegionAccessPointsCommand = async (input, con
1706
1706
  throw new Error("Empty value provided for input host prefix: AccountId.");
1707
1707
  }
1708
1708
  resolvedHostname = resolvedHostname.replace("{AccountId}", input.AccountId);
1709
- if (!(0, protocol_http_1.isValidHostname)(resolvedHostname)) {
1709
+ if (!protocol_http_1.isValidHostname(resolvedHostname)) {
1710
1710
  throw new Error("ValidationError: prefixed hostname must be hostname compatible.");
1711
1711
  }
1712
1712
  }
@@ -1741,7 +1741,7 @@ const serializeAws_restXmlListRegionalBucketsCommand = async (input, context) =>
1741
1741
  throw new Error("Empty value provided for input host prefix: AccountId.");
1742
1742
  }
1743
1743
  resolvedHostname = resolvedHostname.replace("{AccountId}", input.AccountId);
1744
- if (!(0, protocol_http_1.isValidHostname)(resolvedHostname)) {
1744
+ if (!protocol_http_1.isValidHostname(resolvedHostname)) {
1745
1745
  throw new Error("ValidationError: prefixed hostname must be hostname compatible.");
1746
1746
  }
1747
1747
  }
@@ -1774,7 +1774,7 @@ const serializeAws_restXmlListStorageLensConfigurationsCommand = async (input, c
1774
1774
  throw new Error("Empty value provided for input host prefix: AccountId.");
1775
1775
  }
1776
1776
  resolvedHostname = resolvedHostname.replace("{AccountId}", input.AccountId);
1777
- if (!(0, protocol_http_1.isValidHostname)(resolvedHostname)) {
1777
+ if (!protocol_http_1.isValidHostname(resolvedHostname)) {
1778
1778
  throw new Error("ValidationError: prefixed hostname must be hostname compatible.");
1779
1779
  }
1780
1780
  }
@@ -1803,7 +1803,7 @@ const serializeAws_restXmlPutAccessPointConfigurationForObjectLambdaCommand = as
1803
1803
  if (labelValue.length <= 0) {
1804
1804
  throw new Error("Empty value provided for input HTTP label: Name.");
1805
1805
  }
1806
- resolvedPath = resolvedPath.replace("{Name}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
1806
+ resolvedPath = resolvedPath.replace("{Name}", smithy_client_1.extendedEncodeURIComponent(labelValue));
1807
1807
  }
1808
1808
  else {
1809
1809
  throw new Error("No value provided for input HTTP label: Name.");
@@ -1824,7 +1824,7 @@ const serializeAws_restXmlPutAccessPointConfigurationForObjectLambdaCommand = as
1824
1824
  throw new Error("Empty value provided for input host prefix: AccountId.");
1825
1825
  }
1826
1826
  resolvedHostname = resolvedHostname.replace("{AccountId}", input.AccountId);
1827
- if (!(0, protocol_http_1.isValidHostname)(resolvedHostname)) {
1827
+ if (!protocol_http_1.isValidHostname(resolvedHostname)) {
1828
1828
  throw new Error("ValidationError: prefixed hostname must be hostname compatible.");
1829
1829
  }
1830
1830
  }
@@ -1851,7 +1851,7 @@ const serializeAws_restXmlPutAccessPointPolicyCommand = async (input, context) =
1851
1851
  if (labelValue.length <= 0) {
1852
1852
  throw new Error("Empty value provided for input HTTP label: Name.");
1853
1853
  }
1854
- resolvedPath = resolvedPath.replace("{Name}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
1854
+ resolvedPath = resolvedPath.replace("{Name}", smithy_client_1.extendedEncodeURIComponent(labelValue));
1855
1855
  }
1856
1856
  else {
1857
1857
  throw new Error("No value provided for input HTTP label: Name.");
@@ -1872,7 +1872,7 @@ const serializeAws_restXmlPutAccessPointPolicyCommand = async (input, context) =
1872
1872
  throw new Error("Empty value provided for input host prefix: AccountId.");
1873
1873
  }
1874
1874
  resolvedHostname = resolvedHostname.replace("{AccountId}", input.AccountId);
1875
- if (!(0, protocol_http_1.isValidHostname)(resolvedHostname)) {
1875
+ if (!protocol_http_1.isValidHostname(resolvedHostname)) {
1876
1876
  throw new Error("ValidationError: prefixed hostname must be hostname compatible.");
1877
1877
  }
1878
1878
  }
@@ -1900,7 +1900,7 @@ const serializeAws_restXmlPutAccessPointPolicyForObjectLambdaCommand = async (in
1900
1900
  if (labelValue.length <= 0) {
1901
1901
  throw new Error("Empty value provided for input HTTP label: Name.");
1902
1902
  }
1903
- resolvedPath = resolvedPath.replace("{Name}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
1903
+ resolvedPath = resolvedPath.replace("{Name}", smithy_client_1.extendedEncodeURIComponent(labelValue));
1904
1904
  }
1905
1905
  else {
1906
1906
  throw new Error("No value provided for input HTTP label: Name.");
@@ -1921,7 +1921,7 @@ const serializeAws_restXmlPutAccessPointPolicyForObjectLambdaCommand = async (in
1921
1921
  throw new Error("Empty value provided for input host prefix: AccountId.");
1922
1922
  }
1923
1923
  resolvedHostname = resolvedHostname.replace("{AccountId}", input.AccountId);
1924
- if (!(0, protocol_http_1.isValidHostname)(resolvedHostname)) {
1924
+ if (!protocol_http_1.isValidHostname(resolvedHostname)) {
1925
1925
  throw new Error("ValidationError: prefixed hostname must be hostname compatible.");
1926
1926
  }
1927
1927
  }
@@ -1949,7 +1949,7 @@ const serializeAws_restXmlPutBucketLifecycleConfigurationCommand = async (input,
1949
1949
  if (labelValue.length <= 0) {
1950
1950
  throw new Error("Empty value provided for input HTTP label: Bucket.");
1951
1951
  }
1952
- resolvedPath = resolvedPath.replace("{Bucket}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
1952
+ resolvedPath = resolvedPath.replace("{Bucket}", smithy_client_1.extendedEncodeURIComponent(labelValue));
1953
1953
  }
1954
1954
  else {
1955
1955
  throw new Error("No value provided for input HTTP label: Bucket.");
@@ -1972,7 +1972,7 @@ const serializeAws_restXmlPutBucketLifecycleConfigurationCommand = async (input,
1972
1972
  throw new Error("Empty value provided for input host prefix: AccountId.");
1973
1973
  }
1974
1974
  resolvedHostname = resolvedHostname.replace("{AccountId}", input.AccountId);
1975
- if (!(0, protocol_http_1.isValidHostname)(resolvedHostname)) {
1975
+ if (!protocol_http_1.isValidHostname(resolvedHostname)) {
1976
1976
  throw new Error("ValidationError: prefixed hostname must be hostname compatible.");
1977
1977
  }
1978
1978
  }
@@ -2002,7 +2002,7 @@ const serializeAws_restXmlPutBucketPolicyCommand = async (input, context) => {
2002
2002
  if (labelValue.length <= 0) {
2003
2003
  throw new Error("Empty value provided for input HTTP label: Bucket.");
2004
2004
  }
2005
- resolvedPath = resolvedPath.replace("{Bucket}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
2005
+ resolvedPath = resolvedPath.replace("{Bucket}", smithy_client_1.extendedEncodeURIComponent(labelValue));
2006
2006
  }
2007
2007
  else {
2008
2008
  throw new Error("No value provided for input HTTP label: Bucket.");
@@ -2023,7 +2023,7 @@ const serializeAws_restXmlPutBucketPolicyCommand = async (input, context) => {
2023
2023
  throw new Error("Empty value provided for input host prefix: AccountId.");
2024
2024
  }
2025
2025
  resolvedHostname = resolvedHostname.replace("{AccountId}", input.AccountId);
2026
- if (!(0, protocol_http_1.isValidHostname)(resolvedHostname)) {
2026
+ if (!protocol_http_1.isValidHostname(resolvedHostname)) {
2027
2027
  throw new Error("ValidationError: prefixed hostname must be hostname compatible.");
2028
2028
  }
2029
2029
  }
@@ -2050,7 +2050,7 @@ const serializeAws_restXmlPutBucketTaggingCommand = async (input, context) => {
2050
2050
  if (labelValue.length <= 0) {
2051
2051
  throw new Error("Empty value provided for input HTTP label: Bucket.");
2052
2052
  }
2053
- resolvedPath = resolvedPath.replace("{Bucket}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
2053
+ resolvedPath = resolvedPath.replace("{Bucket}", smithy_client_1.extendedEncodeURIComponent(labelValue));
2054
2054
  }
2055
2055
  else {
2056
2056
  throw new Error("No value provided for input HTTP label: Bucket.");
@@ -2073,7 +2073,7 @@ const serializeAws_restXmlPutBucketTaggingCommand = async (input, context) => {
2073
2073
  throw new Error("Empty value provided for input host prefix: AccountId.");
2074
2074
  }
2075
2075
  resolvedHostname = resolvedHostname.replace("{AccountId}", input.AccountId);
2076
- if (!(0, protocol_http_1.isValidHostname)(resolvedHostname)) {
2076
+ if (!protocol_http_1.isValidHostname(resolvedHostname)) {
2077
2077
  throw new Error("ValidationError: prefixed hostname must be hostname compatible.");
2078
2078
  }
2079
2079
  }
@@ -2100,7 +2100,7 @@ const serializeAws_restXmlPutJobTaggingCommand = async (input, context) => {
2100
2100
  if (labelValue.length <= 0) {
2101
2101
  throw new Error("Empty value provided for input HTTP label: JobId.");
2102
2102
  }
2103
- resolvedPath = resolvedPath.replace("{JobId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
2103
+ resolvedPath = resolvedPath.replace("{JobId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
2104
2104
  }
2105
2105
  else {
2106
2106
  throw new Error("No value provided for input HTTP label: JobId.");
@@ -2125,7 +2125,7 @@ const serializeAws_restXmlPutJobTaggingCommand = async (input, context) => {
2125
2125
  throw new Error("Empty value provided for input host prefix: AccountId.");
2126
2126
  }
2127
2127
  resolvedHostname = resolvedHostname.replace("{AccountId}", input.AccountId);
2128
- if (!(0, protocol_http_1.isValidHostname)(resolvedHostname)) {
2128
+ if (!protocol_http_1.isValidHostname(resolvedHostname)) {
2129
2129
  throw new Error("ValidationError: prefixed hostname must be hostname compatible.");
2130
2130
  }
2131
2131
  }
@@ -2152,7 +2152,7 @@ const serializeAws_restXmlPutMultiRegionAccessPointPolicyCommand = async (input,
2152
2152
  const bodyNode = new xml_builder_1.XmlNode("PutMultiRegionAccessPointPolicyRequest");
2153
2153
  bodyNode.addAttribute("xmlns", "http://awss3control.amazonaws.com/doc/2018-08-20/");
2154
2154
  if (input.ClientToken === undefined) {
2155
- input.ClientToken = (0, uuid_1.v4)();
2155
+ input.ClientToken = uuid_1.v4();
2156
2156
  }
2157
2157
  if (input.ClientToken !== undefined) {
2158
2158
  const node = new xml_builder_1.XmlNode("MultiRegionAccessPointClientToken")
@@ -2172,7 +2172,7 @@ const serializeAws_restXmlPutMultiRegionAccessPointPolicyCommand = async (input,
2172
2172
  throw new Error("Empty value provided for input host prefix: AccountId.");
2173
2173
  }
2174
2174
  resolvedHostname = resolvedHostname.replace("{AccountId}", input.AccountId);
2175
- if (!(0, protocol_http_1.isValidHostname)(resolvedHostname)) {
2175
+ if (!protocol_http_1.isValidHostname(resolvedHostname)) {
2176
2176
  throw new Error("ValidationError: prefixed hostname must be hostname compatible.");
2177
2177
  }
2178
2178
  }
@@ -2213,7 +2213,7 @@ const serializeAws_restXmlPutPublicAccessBlockCommand = async (input, context) =
2213
2213
  throw new Error("Empty value provided for input host prefix: AccountId.");
2214
2214
  }
2215
2215
  resolvedHostname = resolvedHostname.replace("{AccountId}", input.AccountId);
2216
- if (!(0, protocol_http_1.isValidHostname)(resolvedHostname)) {
2216
+ if (!protocol_http_1.isValidHostname(resolvedHostname)) {
2217
2217
  throw new Error("ValidationError: prefixed hostname must be hostname compatible.");
2218
2218
  }
2219
2219
  }
@@ -2240,7 +2240,7 @@ const serializeAws_restXmlPutStorageLensConfigurationCommand = async (input, con
2240
2240
  if (labelValue.length <= 0) {
2241
2241
  throw new Error("Empty value provided for input HTTP label: ConfigId.");
2242
2242
  }
2243
- resolvedPath = resolvedPath.replace("{ConfigId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
2243
+ resolvedPath = resolvedPath.replace("{ConfigId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
2244
2244
  }
2245
2245
  else {
2246
2246
  throw new Error("No value provided for input HTTP label: ConfigId.");
@@ -2269,7 +2269,7 @@ const serializeAws_restXmlPutStorageLensConfigurationCommand = async (input, con
2269
2269
  throw new Error("Empty value provided for input host prefix: AccountId.");
2270
2270
  }
2271
2271
  resolvedHostname = resolvedHostname.replace("{AccountId}", input.AccountId);
2272
- if (!(0, protocol_http_1.isValidHostname)(resolvedHostname)) {
2272
+ if (!protocol_http_1.isValidHostname(resolvedHostname)) {
2273
2273
  throw new Error("ValidationError: prefixed hostname must be hostname compatible.");
2274
2274
  }
2275
2275
  }
@@ -2296,7 +2296,7 @@ const serializeAws_restXmlPutStorageLensConfigurationTaggingCommand = async (inp
2296
2296
  if (labelValue.length <= 0) {
2297
2297
  throw new Error("Empty value provided for input HTTP label: ConfigId.");
2298
2298
  }
2299
- resolvedPath = resolvedPath.replace("{ConfigId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
2299
+ resolvedPath = resolvedPath.replace("{ConfigId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
2300
2300
  }
2301
2301
  else {
2302
2302
  throw new Error("No value provided for input HTTP label: ConfigId.");
@@ -2321,7 +2321,7 @@ const serializeAws_restXmlPutStorageLensConfigurationTaggingCommand = async (inp
2321
2321
  throw new Error("Empty value provided for input host prefix: AccountId.");
2322
2322
  }
2323
2323
  resolvedHostname = resolvedHostname.replace("{AccountId}", input.AccountId);
2324
- if (!(0, protocol_http_1.isValidHostname)(resolvedHostname)) {
2324
+ if (!protocol_http_1.isValidHostname(resolvedHostname)) {
2325
2325
  throw new Error("ValidationError: prefixed hostname must be hostname compatible.");
2326
2326
  }
2327
2327
  }
@@ -2347,7 +2347,7 @@ const serializeAws_restXmlUpdateJobPriorityCommand = async (input, context) => {
2347
2347
  if (labelValue.length <= 0) {
2348
2348
  throw new Error("Empty value provided for input HTTP label: JobId.");
2349
2349
  }
2350
- resolvedPath = resolvedPath.replace("{JobId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
2350
+ resolvedPath = resolvedPath.replace("{JobId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
2351
2351
  }
2352
2352
  else {
2353
2353
  throw new Error("No value provided for input HTTP label: JobId.");
@@ -2363,7 +2363,7 @@ const serializeAws_restXmlUpdateJobPriorityCommand = async (input, context) => {
2363
2363
  throw new Error("Empty value provided for input host prefix: AccountId.");
2364
2364
  }
2365
2365
  resolvedHostname = resolvedHostname.replace("{AccountId}", input.AccountId);
2366
- if (!(0, protocol_http_1.isValidHostname)(resolvedHostname)) {
2366
+ if (!protocol_http_1.isValidHostname(resolvedHostname)) {
2367
2367
  throw new Error("ValidationError: prefixed hostname must be hostname compatible.");
2368
2368
  }
2369
2369
  }
@@ -2390,7 +2390,7 @@ const serializeAws_restXmlUpdateJobStatusCommand = async (input, context) => {
2390
2390
  if (labelValue.length <= 0) {
2391
2391
  throw new Error("Empty value provided for input HTTP label: JobId.");
2392
2392
  }
2393
- resolvedPath = resolvedPath.replace("{JobId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
2393
+ resolvedPath = resolvedPath.replace("{JobId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
2394
2394
  }
2395
2395
  else {
2396
2396
  throw new Error("No value provided for input HTTP label: JobId.");
@@ -2407,7 +2407,7 @@ const serializeAws_restXmlUpdateJobStatusCommand = async (input, context) => {
2407
2407
  throw new Error("Empty value provided for input host prefix: AccountId.");
2408
2408
  }
2409
2409
  resolvedHostname = resolvedHostname.replace("{AccountId}", input.AccountId);
2410
- if (!(0, protocol_http_1.isValidHostname)(resolvedHostname)) {
2410
+ if (!protocol_http_1.isValidHostname(resolvedHostname)) {
2411
2411
  throw new Error("ValidationError: prefixed hostname must be hostname compatible.");
2412
2412
  }
2413
2413
  }
@@ -2432,12 +2432,12 @@ const deserializeAws_restXmlCreateAccessPointCommand = async (output, context) =
2432
2432
  AccessPointArn: undefined,
2433
2433
  Alias: undefined,
2434
2434
  };
2435
- const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
2435
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
2436
2436
  if (data["AccessPointArn"] !== undefined) {
2437
- contents.AccessPointArn = (0, smithy_client_1.expectString)(data["AccessPointArn"]);
2437
+ contents.AccessPointArn = smithy_client_1.expectString(data["AccessPointArn"]);
2438
2438
  }
2439
2439
  if (data["Alias"] !== undefined) {
2440
- contents.Alias = (0, smithy_client_1.expectString)(data["Alias"]);
2440
+ contents.Alias = smithy_client_1.expectString(data["Alias"]);
2441
2441
  }
2442
2442
  return Promise.resolve(contents);
2443
2443
  };
@@ -2475,9 +2475,9 @@ const deserializeAws_restXmlCreateAccessPointForObjectLambdaCommand = async (out
2475
2475
  $metadata: deserializeMetadata(output),
2476
2476
  ObjectLambdaAccessPointArn: undefined,
2477
2477
  };
2478
- const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
2478
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
2479
2479
  if (data["ObjectLambdaAccessPointArn"] !== undefined) {
2480
- contents.ObjectLambdaAccessPointArn = (0, smithy_client_1.expectString)(data["ObjectLambdaAccessPointArn"]);
2480
+ contents.ObjectLambdaAccessPointArn = smithy_client_1.expectString(data["ObjectLambdaAccessPointArn"]);
2481
2481
  }
2482
2482
  return Promise.resolve(contents);
2483
2483
  };
@@ -2519,9 +2519,9 @@ const deserializeAws_restXmlCreateBucketCommand = async (output, context) => {
2519
2519
  if (output.headers["location"] !== undefined) {
2520
2520
  contents.Location = output.headers["location"];
2521
2521
  }
2522
- const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
2522
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
2523
2523
  if (data["BucketArn"] !== undefined) {
2524
- contents.BucketArn = (0, smithy_client_1.expectString)(data["BucketArn"]);
2524
+ contents.BucketArn = smithy_client_1.expectString(data["BucketArn"]);
2525
2525
  }
2526
2526
  return Promise.resolve(contents);
2527
2527
  };
@@ -2575,9 +2575,9 @@ const deserializeAws_restXmlCreateJobCommand = async (output, context) => {
2575
2575
  $metadata: deserializeMetadata(output),
2576
2576
  JobId: undefined,
2577
2577
  };
2578
- const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
2578
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
2579
2579
  if (data["JobId"] !== undefined) {
2580
- contents.JobId = (0, smithy_client_1.expectString)(data["JobId"]);
2580
+ contents.JobId = smithy_client_1.expectString(data["JobId"]);
2581
2581
  }
2582
2582
  return Promise.resolve(contents);
2583
2583
  };
@@ -2647,9 +2647,9 @@ const deserializeAws_restXmlCreateMultiRegionAccessPointCommand = async (output,
2647
2647
  $metadata: deserializeMetadata(output),
2648
2648
  RequestTokenARN: undefined,
2649
2649
  };
2650
- const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
2650
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
2651
2651
  if (data["RequestTokenARN"] !== undefined) {
2652
- contents.RequestTokenARN = (0, smithy_client_1.expectString)(data["RequestTokenARN"]);
2652
+ contents.RequestTokenARN = smithy_client_1.expectString(data["RequestTokenARN"]);
2653
2653
  }
2654
2654
  return Promise.resolve(contents);
2655
2655
  };
@@ -3035,9 +3035,9 @@ const deserializeAws_restXmlDeleteMultiRegionAccessPointCommand = async (output,
3035
3035
  $metadata: deserializeMetadata(output),
3036
3036
  RequestTokenARN: undefined,
3037
3037
  };
3038
- const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
3038
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
3039
3039
  if (data["RequestTokenARN"] !== undefined) {
3040
- contents.RequestTokenARN = (0, smithy_client_1.expectString)(data["RequestTokenARN"]);
3040
+ contents.RequestTokenARN = smithy_client_1.expectString(data["RequestTokenARN"]);
3041
3041
  }
3042
3042
  return Promise.resolve(contents);
3043
3043
  };
@@ -3183,7 +3183,7 @@ const deserializeAws_restXmlDescribeJobCommand = async (output, context) => {
3183
3183
  $metadata: deserializeMetadata(output),
3184
3184
  Job: undefined,
3185
3185
  };
3186
- const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
3186
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
3187
3187
  if (data["Job"] !== undefined) {
3188
3188
  contents.Job = deserializeAws_restXmlJobDescriptor(data["Job"], context);
3189
3189
  }
@@ -3255,7 +3255,7 @@ const deserializeAws_restXmlDescribeMultiRegionAccessPointOperationCommand = asy
3255
3255
  $metadata: deserializeMetadata(output),
3256
3256
  AsyncOperation: undefined,
3257
3257
  };
3258
- const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
3258
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
3259
3259
  if (data["AsyncOperation"] !== undefined) {
3260
3260
  contents.AsyncOperation = deserializeAws_restXmlAsyncOperation(data["AsyncOperation"], context);
3261
3261
  }
@@ -3303,30 +3303,30 @@ const deserializeAws_restXmlGetAccessPointCommand = async (output, context) => {
3303
3303
  PublicAccessBlockConfiguration: undefined,
3304
3304
  VpcConfiguration: undefined,
3305
3305
  };
3306
- const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
3306
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
3307
3307
  if (data["AccessPointArn"] !== undefined) {
3308
- contents.AccessPointArn = (0, smithy_client_1.expectString)(data["AccessPointArn"]);
3308
+ contents.AccessPointArn = smithy_client_1.expectString(data["AccessPointArn"]);
3309
3309
  }
3310
3310
  if (data["Alias"] !== undefined) {
3311
- contents.Alias = (0, smithy_client_1.expectString)(data["Alias"]);
3311
+ contents.Alias = smithy_client_1.expectString(data["Alias"]);
3312
3312
  }
3313
3313
  if (data["Bucket"] !== undefined) {
3314
- contents.Bucket = (0, smithy_client_1.expectString)(data["Bucket"]);
3314
+ contents.Bucket = smithy_client_1.expectString(data["Bucket"]);
3315
3315
  }
3316
3316
  if (data["CreationDate"] !== undefined) {
3317
- contents.CreationDate = new Date(data["CreationDate"]);
3317
+ contents.CreationDate = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(data["CreationDate"]));
3318
3318
  }
3319
3319
  if (data.Endpoints === "") {
3320
3320
  contents.Endpoints = {};
3321
3321
  }
3322
3322
  if (data["Endpoints"] !== undefined && data["Endpoints"]["entry"] !== undefined) {
3323
- contents.Endpoints = deserializeAws_restXmlEndpoints((0, smithy_client_1.getArrayIfSingleItem)(data["Endpoints"]["entry"]), context);
3323
+ contents.Endpoints = deserializeAws_restXmlEndpoints(smithy_client_1.getArrayIfSingleItem(data["Endpoints"]["entry"]), context);
3324
3324
  }
3325
3325
  if (data["Name"] !== undefined) {
3326
- contents.Name = (0, smithy_client_1.expectString)(data["Name"]);
3326
+ contents.Name = smithy_client_1.expectString(data["Name"]);
3327
3327
  }
3328
3328
  if (data["NetworkOrigin"] !== undefined) {
3329
- contents.NetworkOrigin = (0, smithy_client_1.expectString)(data["NetworkOrigin"]);
3329
+ contents.NetworkOrigin = smithy_client_1.expectString(data["NetworkOrigin"]);
3330
3330
  }
3331
3331
  if (data["PublicAccessBlockConfiguration"] !== undefined) {
3332
3332
  contents.PublicAccessBlockConfiguration = deserializeAws_restXmlPublicAccessBlockConfiguration(data["PublicAccessBlockConfiguration"], context);
@@ -3370,7 +3370,7 @@ const deserializeAws_restXmlGetAccessPointConfigurationForObjectLambdaCommand =
3370
3370
  $metadata: deserializeMetadata(output),
3371
3371
  Configuration: undefined,
3372
3372
  };
3373
- const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
3373
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
3374
3374
  if (data["Configuration"] !== undefined) {
3375
3375
  contents.Configuration = deserializeAws_restXmlObjectLambdaConfiguration(data["Configuration"], context);
3376
3376
  }
@@ -3412,12 +3412,12 @@ const deserializeAws_restXmlGetAccessPointForObjectLambdaCommand = async (output
3412
3412
  Name: undefined,
3413
3413
  PublicAccessBlockConfiguration: undefined,
3414
3414
  };
3415
- const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
3415
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
3416
3416
  if (data["CreationDate"] !== undefined) {
3417
- contents.CreationDate = new Date(data["CreationDate"]);
3417
+ contents.CreationDate = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(data["CreationDate"]));
3418
3418
  }
3419
3419
  if (data["Name"] !== undefined) {
3420
- contents.Name = (0, smithy_client_1.expectString)(data["Name"]);
3420
+ contents.Name = smithy_client_1.expectString(data["Name"]);
3421
3421
  }
3422
3422
  if (data["PublicAccessBlockConfiguration"] !== undefined) {
3423
3423
  contents.PublicAccessBlockConfiguration = deserializeAws_restXmlPublicAccessBlockConfiguration(data["PublicAccessBlockConfiguration"], context);
@@ -3458,9 +3458,9 @@ const deserializeAws_restXmlGetAccessPointPolicyCommand = async (output, context
3458
3458
  $metadata: deserializeMetadata(output),
3459
3459
  Policy: undefined,
3460
3460
  };
3461
- const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
3461
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
3462
3462
  if (data["Policy"] !== undefined) {
3463
- contents.Policy = (0, smithy_client_1.expectString)(data["Policy"]);
3463
+ contents.Policy = smithy_client_1.expectString(data["Policy"]);
3464
3464
  }
3465
3465
  return Promise.resolve(contents);
3466
3466
  };
@@ -3498,9 +3498,9 @@ const deserializeAws_restXmlGetAccessPointPolicyForObjectLambdaCommand = async (
3498
3498
  $metadata: deserializeMetadata(output),
3499
3499
  Policy: undefined,
3500
3500
  };
3501
- const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
3501
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
3502
3502
  if (data["Policy"] !== undefined) {
3503
- contents.Policy = (0, smithy_client_1.expectString)(data["Policy"]);
3503
+ contents.Policy = smithy_client_1.expectString(data["Policy"]);
3504
3504
  }
3505
3505
  return Promise.resolve(contents);
3506
3506
  };
@@ -3538,7 +3538,7 @@ const deserializeAws_restXmlGetAccessPointPolicyStatusCommand = async (output, c
3538
3538
  $metadata: deserializeMetadata(output),
3539
3539
  PolicyStatus: undefined,
3540
3540
  };
3541
- const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
3541
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
3542
3542
  if (data["PolicyStatus"] !== undefined) {
3543
3543
  contents.PolicyStatus = deserializeAws_restXmlPolicyStatus(data["PolicyStatus"], context);
3544
3544
  }
@@ -3578,7 +3578,7 @@ const deserializeAws_restXmlGetAccessPointPolicyStatusForObjectLambdaCommand = a
3578
3578
  $metadata: deserializeMetadata(output),
3579
3579
  PolicyStatus: undefined,
3580
3580
  };
3581
- const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
3581
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
3582
3582
  if (data["PolicyStatus"] !== undefined) {
3583
3583
  contents.PolicyStatus = deserializeAws_restXmlPolicyStatus(data["PolicyStatus"], context);
3584
3584
  }
@@ -3620,15 +3620,15 @@ const deserializeAws_restXmlGetBucketCommand = async (output, context) => {
3620
3620
  CreationDate: undefined,
3621
3621
  PublicAccessBlockEnabled: undefined,
3622
3622
  };
3623
- const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
3623
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
3624
3624
  if (data["Bucket"] !== undefined) {
3625
- contents.Bucket = (0, smithy_client_1.expectString)(data["Bucket"]);
3625
+ contents.Bucket = smithy_client_1.expectString(data["Bucket"]);
3626
3626
  }
3627
3627
  if (data["CreationDate"] !== undefined) {
3628
- contents.CreationDate = new Date(data["CreationDate"]);
3628
+ contents.CreationDate = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(data["CreationDate"]));
3629
3629
  }
3630
3630
  if (data["PublicAccessBlockEnabled"] !== undefined) {
3631
- contents.PublicAccessBlockEnabled = (0, smithy_client_1.parseBoolean)(data["PublicAccessBlockEnabled"]);
3631
+ contents.PublicAccessBlockEnabled = smithy_client_1.parseBoolean(data["PublicAccessBlockEnabled"]);
3632
3632
  }
3633
3633
  return Promise.resolve(contents);
3634
3634
  };
@@ -3666,12 +3666,12 @@ const deserializeAws_restXmlGetBucketLifecycleConfigurationCommand = async (outp
3666
3666
  $metadata: deserializeMetadata(output),
3667
3667
  Rules: undefined,
3668
3668
  };
3669
- const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
3669
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
3670
3670
  if (data.Rules === "") {
3671
3671
  contents.Rules = [];
3672
3672
  }
3673
3673
  if (data["Rules"] !== undefined && data["Rules"]["Rule"] !== undefined) {
3674
- contents.Rules = deserializeAws_restXmlLifecycleRules((0, smithy_client_1.getArrayIfSingleItem)(data["Rules"]["Rule"]), context);
3674
+ contents.Rules = deserializeAws_restXmlLifecycleRules(smithy_client_1.getArrayIfSingleItem(data["Rules"]["Rule"]), context);
3675
3675
  }
3676
3676
  return Promise.resolve(contents);
3677
3677
  };
@@ -3709,9 +3709,9 @@ const deserializeAws_restXmlGetBucketPolicyCommand = async (output, context) =>
3709
3709
  $metadata: deserializeMetadata(output),
3710
3710
  Policy: undefined,
3711
3711
  };
3712
- const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
3712
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
3713
3713
  if (data["Policy"] !== undefined) {
3714
- contents.Policy = (0, smithy_client_1.expectString)(data["Policy"]);
3714
+ contents.Policy = smithy_client_1.expectString(data["Policy"]);
3715
3715
  }
3716
3716
  return Promise.resolve(contents);
3717
3717
  };
@@ -3749,12 +3749,12 @@ const deserializeAws_restXmlGetBucketTaggingCommand = async (output, context) =>
3749
3749
  $metadata: deserializeMetadata(output),
3750
3750
  TagSet: undefined,
3751
3751
  };
3752
- const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
3752
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
3753
3753
  if (data.TagSet === "") {
3754
3754
  contents.TagSet = [];
3755
3755
  }
3756
3756
  if (data["TagSet"] !== undefined && data["TagSet"]["member"] !== undefined) {
3757
- contents.TagSet = deserializeAws_restXmlS3TagSet((0, smithy_client_1.getArrayIfSingleItem)(data["TagSet"]["member"]), context);
3757
+ contents.TagSet = deserializeAws_restXmlS3TagSet(smithy_client_1.getArrayIfSingleItem(data["TagSet"]["member"]), context);
3758
3758
  }
3759
3759
  return Promise.resolve(contents);
3760
3760
  };
@@ -3792,12 +3792,12 @@ const deserializeAws_restXmlGetJobTaggingCommand = async (output, context) => {
3792
3792
  $metadata: deserializeMetadata(output),
3793
3793
  Tags: undefined,
3794
3794
  };
3795
- const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
3795
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
3796
3796
  if (data.Tags === "") {
3797
3797
  contents.Tags = [];
3798
3798
  }
3799
3799
  if (data["Tags"] !== undefined && data["Tags"]["member"] !== undefined) {
3800
- contents.Tags = deserializeAws_restXmlS3TagSet((0, smithy_client_1.getArrayIfSingleItem)(data["Tags"]["member"]), context);
3800
+ contents.Tags = deserializeAws_restXmlS3TagSet(smithy_client_1.getArrayIfSingleItem(data["Tags"]["member"]), context);
3801
3801
  }
3802
3802
  return Promise.resolve(contents);
3803
3803
  };
@@ -3859,7 +3859,7 @@ const deserializeAws_restXmlGetMultiRegionAccessPointCommand = async (output, co
3859
3859
  $metadata: deserializeMetadata(output),
3860
3860
  AccessPoint: undefined,
3861
3861
  };
3862
- const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
3862
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
3863
3863
  if (data["AccessPoint"] !== undefined) {
3864
3864
  contents.AccessPoint = deserializeAws_restXmlMultiRegionAccessPointReport(data["AccessPoint"], context);
3865
3865
  }
@@ -3899,7 +3899,7 @@ const deserializeAws_restXmlGetMultiRegionAccessPointPolicyCommand = async (outp
3899
3899
  $metadata: deserializeMetadata(output),
3900
3900
  Policy: undefined,
3901
3901
  };
3902
- const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
3902
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
3903
3903
  if (data["Policy"] !== undefined) {
3904
3904
  contents.Policy = deserializeAws_restXmlMultiRegionAccessPointPolicyDocument(data["Policy"], context);
3905
3905
  }
@@ -3939,7 +3939,7 @@ const deserializeAws_restXmlGetMultiRegionAccessPointPolicyStatusCommand = async
3939
3939
  $metadata: deserializeMetadata(output),
3940
3940
  Established: undefined,
3941
3941
  };
3942
- const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
3942
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
3943
3943
  if (data["Established"] !== undefined) {
3944
3944
  contents.Established = deserializeAws_restXmlPolicyStatus(data["Established"], context);
3945
3945
  }
@@ -3979,7 +3979,7 @@ const deserializeAws_restXmlGetPublicAccessBlockCommand = async (output, context
3979
3979
  $metadata: deserializeMetadata(output),
3980
3980
  PublicAccessBlockConfiguration: undefined,
3981
3981
  };
3982
- const data = (0, smithy_client_1.expectObject)(await parseBody(output.body, context));
3982
+ const data = smithy_client_1.expectObject(await parseBody(output.body, context));
3983
3983
  contents.PublicAccessBlockConfiguration = deserializeAws_restXmlPublicAccessBlockConfiguration(data, context);
3984
3984
  return Promise.resolve(contents);
3985
3985
  };
@@ -4025,7 +4025,7 @@ const deserializeAws_restXmlGetStorageLensConfigurationCommand = async (output,
4025
4025
  $metadata: deserializeMetadata(output),
4026
4026
  StorageLensConfiguration: undefined,
4027
4027
  };
4028
- const data = (0, smithy_client_1.expectObject)(await parseBody(output.body, context));
4028
+ const data = smithy_client_1.expectObject(await parseBody(output.body, context));
4029
4029
  contents.StorageLensConfiguration = deserializeAws_restXmlStorageLensConfiguration(data, context);
4030
4030
  return Promise.resolve(contents);
4031
4031
  };
@@ -4063,12 +4063,12 @@ const deserializeAws_restXmlGetStorageLensConfigurationTaggingCommand = async (o
4063
4063
  $metadata: deserializeMetadata(output),
4064
4064
  Tags: undefined,
4065
4065
  };
4066
- const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
4066
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
4067
4067
  if (data.Tags === "") {
4068
4068
  contents.Tags = [];
4069
4069
  }
4070
4070
  if (data["Tags"] !== undefined && data["Tags"]["Tag"] !== undefined) {
4071
- contents.Tags = deserializeAws_restXmlStorageLensTags((0, smithy_client_1.getArrayIfSingleItem)(data["Tags"]["Tag"]), context);
4071
+ contents.Tags = deserializeAws_restXmlStorageLensTags(smithy_client_1.getArrayIfSingleItem(data["Tags"]["Tag"]), context);
4072
4072
  }
4073
4073
  return Promise.resolve(contents);
4074
4074
  };
@@ -4107,15 +4107,15 @@ const deserializeAws_restXmlListAccessPointsCommand = async (output, context) =>
4107
4107
  AccessPointList: undefined,
4108
4108
  NextToken: undefined,
4109
4109
  };
4110
- const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
4110
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
4111
4111
  if (data.AccessPointList === "") {
4112
4112
  contents.AccessPointList = [];
4113
4113
  }
4114
4114
  if (data["AccessPointList"] !== undefined && data["AccessPointList"]["AccessPoint"] !== undefined) {
4115
- contents.AccessPointList = deserializeAws_restXmlAccessPointList((0, smithy_client_1.getArrayIfSingleItem)(data["AccessPointList"]["AccessPoint"]), context);
4115
+ contents.AccessPointList = deserializeAws_restXmlAccessPointList(smithy_client_1.getArrayIfSingleItem(data["AccessPointList"]["AccessPoint"]), context);
4116
4116
  }
4117
4117
  if (data["NextToken"] !== undefined) {
4118
- contents.NextToken = (0, smithy_client_1.expectString)(data["NextToken"]);
4118
+ contents.NextToken = smithy_client_1.expectString(data["NextToken"]);
4119
4119
  }
4120
4120
  return Promise.resolve(contents);
4121
4121
  };
@@ -4154,16 +4154,16 @@ const deserializeAws_restXmlListAccessPointsForObjectLambdaCommand = async (outp
4154
4154
  NextToken: undefined,
4155
4155
  ObjectLambdaAccessPointList: undefined,
4156
4156
  };
4157
- const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
4157
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
4158
4158
  if (data["NextToken"] !== undefined) {
4159
- contents.NextToken = (0, smithy_client_1.expectString)(data["NextToken"]);
4159
+ contents.NextToken = smithy_client_1.expectString(data["NextToken"]);
4160
4160
  }
4161
4161
  if (data.ObjectLambdaAccessPointList === "") {
4162
4162
  contents.ObjectLambdaAccessPointList = [];
4163
4163
  }
4164
4164
  if (data["ObjectLambdaAccessPointList"] !== undefined &&
4165
4165
  data["ObjectLambdaAccessPointList"]["ObjectLambdaAccessPoint"] !== undefined) {
4166
- contents.ObjectLambdaAccessPointList = deserializeAws_restXmlObjectLambdaAccessPointList((0, smithy_client_1.getArrayIfSingleItem)(data["ObjectLambdaAccessPointList"]["ObjectLambdaAccessPoint"]), context);
4166
+ contents.ObjectLambdaAccessPointList = deserializeAws_restXmlObjectLambdaAccessPointList(smithy_client_1.getArrayIfSingleItem(data["ObjectLambdaAccessPointList"]["ObjectLambdaAccessPoint"]), context);
4167
4167
  }
4168
4168
  return Promise.resolve(contents);
4169
4169
  };
@@ -4202,15 +4202,15 @@ const deserializeAws_restXmlListJobsCommand = async (output, context) => {
4202
4202
  Jobs: undefined,
4203
4203
  NextToken: undefined,
4204
4204
  };
4205
- const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
4205
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
4206
4206
  if (data.Jobs === "") {
4207
4207
  contents.Jobs = [];
4208
4208
  }
4209
4209
  if (data["Jobs"] !== undefined && data["Jobs"]["member"] !== undefined) {
4210
- contents.Jobs = deserializeAws_restXmlJobListDescriptorList((0, smithy_client_1.getArrayIfSingleItem)(data["Jobs"]["member"]), context);
4210
+ contents.Jobs = deserializeAws_restXmlJobListDescriptorList(smithy_client_1.getArrayIfSingleItem(data["Jobs"]["member"]), context);
4211
4211
  }
4212
4212
  if (data["NextToken"] !== undefined) {
4213
- contents.NextToken = (0, smithy_client_1.expectString)(data["NextToken"]);
4213
+ contents.NextToken = smithy_client_1.expectString(data["NextToken"]);
4214
4214
  }
4215
4215
  return Promise.resolve(contents);
4216
4216
  };
@@ -4273,15 +4273,15 @@ const deserializeAws_restXmlListMultiRegionAccessPointsCommand = async (output,
4273
4273
  AccessPoints: undefined,
4274
4274
  NextToken: undefined,
4275
4275
  };
4276
- const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
4276
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
4277
4277
  if (data.AccessPoints === "") {
4278
4278
  contents.AccessPoints = [];
4279
4279
  }
4280
4280
  if (data["AccessPoints"] !== undefined && data["AccessPoints"]["AccessPoint"] !== undefined) {
4281
- contents.AccessPoints = deserializeAws_restXmlMultiRegionAccessPointReportList((0, smithy_client_1.getArrayIfSingleItem)(data["AccessPoints"]["AccessPoint"]), context);
4281
+ contents.AccessPoints = deserializeAws_restXmlMultiRegionAccessPointReportList(smithy_client_1.getArrayIfSingleItem(data["AccessPoints"]["AccessPoint"]), context);
4282
4282
  }
4283
4283
  if (data["NextToken"] !== undefined) {
4284
- contents.NextToken = (0, smithy_client_1.expectString)(data["NextToken"]);
4284
+ contents.NextToken = smithy_client_1.expectString(data["NextToken"]);
4285
4285
  }
4286
4286
  return Promise.resolve(contents);
4287
4287
  };
@@ -4320,15 +4320,15 @@ const deserializeAws_restXmlListRegionalBucketsCommand = async (output, context)
4320
4320
  NextToken: undefined,
4321
4321
  RegionalBucketList: undefined,
4322
4322
  };
4323
- const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
4323
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
4324
4324
  if (data["NextToken"] !== undefined) {
4325
- contents.NextToken = (0, smithy_client_1.expectString)(data["NextToken"]);
4325
+ contents.NextToken = smithy_client_1.expectString(data["NextToken"]);
4326
4326
  }
4327
4327
  if (data.RegionalBucketList === "") {
4328
4328
  contents.RegionalBucketList = [];
4329
4329
  }
4330
4330
  if (data["RegionalBucketList"] !== undefined && data["RegionalBucketList"]["RegionalBucket"] !== undefined) {
4331
- contents.RegionalBucketList = deserializeAws_restXmlRegionalBucketList((0, smithy_client_1.getArrayIfSingleItem)(data["RegionalBucketList"]["RegionalBucket"]), context);
4331
+ contents.RegionalBucketList = deserializeAws_restXmlRegionalBucketList(smithy_client_1.getArrayIfSingleItem(data["RegionalBucketList"]["RegionalBucket"]), context);
4332
4332
  }
4333
4333
  return Promise.resolve(contents);
4334
4334
  };
@@ -4367,15 +4367,15 @@ const deserializeAws_restXmlListStorageLensConfigurationsCommand = async (output
4367
4367
  NextToken: undefined,
4368
4368
  StorageLensConfigurationList: undefined,
4369
4369
  };
4370
- const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
4370
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
4371
4371
  if (data["NextToken"] !== undefined) {
4372
- contents.NextToken = (0, smithy_client_1.expectString)(data["NextToken"]);
4372
+ contents.NextToken = smithy_client_1.expectString(data["NextToken"]);
4373
4373
  }
4374
4374
  if (data.StorageLensConfigurationList === "") {
4375
4375
  contents.StorageLensConfigurationList = [];
4376
4376
  }
4377
4377
  if (data["StorageLensConfigurationList"] !== undefined) {
4378
- contents.StorageLensConfigurationList = deserializeAws_restXmlStorageLensConfigurationList((0, smithy_client_1.getArrayIfSingleItem)(data["StorageLensConfigurationList"]), context);
4378
+ contents.StorageLensConfigurationList = deserializeAws_restXmlStorageLensConfigurationList(smithy_client_1.getArrayIfSingleItem(data["StorageLensConfigurationList"]), context);
4379
4379
  }
4380
4380
  return Promise.resolve(contents);
4381
4381
  };
@@ -4697,9 +4697,9 @@ const deserializeAws_restXmlPutMultiRegionAccessPointPolicyCommand = async (outp
4697
4697
  $metadata: deserializeMetadata(output),
4698
4698
  RequestTokenARN: undefined,
4699
4699
  };
4700
- const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
4700
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
4701
4701
  if (data["RequestTokenARN"] !== undefined) {
4702
- contents.RequestTokenARN = (0, smithy_client_1.expectString)(data["RequestTokenARN"]);
4702
+ contents.RequestTokenARN = smithy_client_1.expectString(data["RequestTokenARN"]);
4703
4703
  }
4704
4704
  return Promise.resolve(contents);
4705
4705
  };
@@ -4846,12 +4846,12 @@ const deserializeAws_restXmlUpdateJobPriorityCommand = async (output, context) =
4846
4846
  JobId: undefined,
4847
4847
  Priority: undefined,
4848
4848
  };
4849
- const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
4849
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
4850
4850
  if (data["JobId"] !== undefined) {
4851
- contents.JobId = (0, smithy_client_1.expectString)(data["JobId"]);
4851
+ contents.JobId = smithy_client_1.expectString(data["JobId"]);
4852
4852
  }
4853
4853
  if (data["Priority"] !== undefined) {
4854
- contents.Priority = (0, smithy_client_1.strictParseInt32)(data["Priority"]);
4854
+ contents.Priority = smithy_client_1.strictParseInt32(data["Priority"]);
4855
4855
  }
4856
4856
  return Promise.resolve(contents);
4857
4857
  };
@@ -4923,15 +4923,15 @@ const deserializeAws_restXmlUpdateJobStatusCommand = async (output, context) =>
4923
4923
  Status: undefined,
4924
4924
  StatusUpdateReason: undefined,
4925
4925
  };
4926
- const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
4926
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
4927
4927
  if (data["JobId"] !== undefined) {
4928
- contents.JobId = (0, smithy_client_1.expectString)(data["JobId"]);
4928
+ contents.JobId = smithy_client_1.expectString(data["JobId"]);
4929
4929
  }
4930
4930
  if (data["Status"] !== undefined) {
4931
- contents.Status = (0, smithy_client_1.expectString)(data["Status"]);
4931
+ contents.Status = smithy_client_1.expectString(data["Status"]);
4932
4932
  }
4933
4933
  if (data["StatusUpdateReason"] !== undefined) {
4934
- contents.StatusUpdateReason = (0, smithy_client_1.expectString)(data["StatusUpdateReason"]);
4934
+ contents.StatusUpdateReason = smithy_client_1.expectString(data["StatusUpdateReason"]);
4935
4935
  }
4936
4936
  return Promise.resolve(contents);
4937
4937
  };
@@ -5010,7 +5010,7 @@ const deserializeAws_restXmlBadRequestExceptionResponse = async (parsedOutput, c
5010
5010
  };
5011
5011
  const data = parsedOutput.body.Error;
5012
5012
  if (data["Message"] !== undefined) {
5013
- contents.Message = (0, smithy_client_1.expectString)(data["Message"]);
5013
+ contents.Message = smithy_client_1.expectString(data["Message"]);
5014
5014
  }
5015
5015
  return contents;
5016
5016
  };
@@ -5041,7 +5041,7 @@ const deserializeAws_restXmlIdempotencyExceptionResponse = async (parsedOutput,
5041
5041
  };
5042
5042
  const data = parsedOutput.body.Error;
5043
5043
  if (data["Message"] !== undefined) {
5044
- contents.Message = (0, smithy_client_1.expectString)(data["Message"]);
5044
+ contents.Message = smithy_client_1.expectString(data["Message"]);
5045
5045
  }
5046
5046
  return contents;
5047
5047
  };
@@ -5054,7 +5054,7 @@ const deserializeAws_restXmlInternalServiceExceptionResponse = async (parsedOutp
5054
5054
  };
5055
5055
  const data = parsedOutput.body.Error;
5056
5056
  if (data["Message"] !== undefined) {
5057
- contents.Message = (0, smithy_client_1.expectString)(data["Message"]);
5057
+ contents.Message = smithy_client_1.expectString(data["Message"]);
5058
5058
  }
5059
5059
  return contents;
5060
5060
  };
@@ -5067,7 +5067,7 @@ const deserializeAws_restXmlInvalidNextTokenExceptionResponse = async (parsedOut
5067
5067
  };
5068
5068
  const data = parsedOutput.body.Error;
5069
5069
  if (data["Message"] !== undefined) {
5070
- contents.Message = (0, smithy_client_1.expectString)(data["Message"]);
5070
+ contents.Message = smithy_client_1.expectString(data["Message"]);
5071
5071
  }
5072
5072
  return contents;
5073
5073
  };
@@ -5080,7 +5080,7 @@ const deserializeAws_restXmlInvalidRequestExceptionResponse = async (parsedOutpu
5080
5080
  };
5081
5081
  const data = parsedOutput.body.Error;
5082
5082
  if (data["Message"] !== undefined) {
5083
- contents.Message = (0, smithy_client_1.expectString)(data["Message"]);
5083
+ contents.Message = smithy_client_1.expectString(data["Message"]);
5084
5084
  }
5085
5085
  return contents;
5086
5086
  };
@@ -5093,7 +5093,7 @@ const deserializeAws_restXmlJobStatusExceptionResponse = async (parsedOutput, co
5093
5093
  };
5094
5094
  const data = parsedOutput.body.Error;
5095
5095
  if (data["Message"] !== undefined) {
5096
- contents.Message = (0, smithy_client_1.expectString)(data["Message"]);
5096
+ contents.Message = smithy_client_1.expectString(data["Message"]);
5097
5097
  }
5098
5098
  return contents;
5099
5099
  };
@@ -5106,7 +5106,7 @@ const deserializeAws_restXmlNoSuchPublicAccessBlockConfigurationResponse = async
5106
5106
  };
5107
5107
  const data = parsedOutput.body.Error;
5108
5108
  if (data["Message"] !== undefined) {
5109
- contents.Message = (0, smithy_client_1.expectString)(data["Message"]);
5109
+ contents.Message = smithy_client_1.expectString(data["Message"]);
5110
5110
  }
5111
5111
  return contents;
5112
5112
  };
@@ -5119,7 +5119,7 @@ const deserializeAws_restXmlNotFoundExceptionResponse = async (parsedOutput, con
5119
5119
  };
5120
5120
  const data = parsedOutput.body.Error;
5121
5121
  if (data["Message"] !== undefined) {
5122
- contents.Message = (0, smithy_client_1.expectString)(data["Message"]);
5122
+ contents.Message = smithy_client_1.expectString(data["Message"]);
5123
5123
  }
5124
5124
  return contents;
5125
5125
  };
@@ -5132,7 +5132,7 @@ const deserializeAws_restXmlTooManyRequestsExceptionResponse = async (parsedOutp
5132
5132
  };
5133
5133
  const data = parsedOutput.body.Error;
5134
5134
  if (data["Message"] !== undefined) {
5135
- contents.Message = (0, smithy_client_1.expectString)(data["Message"]);
5135
+ contents.Message = smithy_client_1.expectString(data["Message"]);
5136
5136
  }
5137
5137
  return contents;
5138
5138
  };
@@ -5145,7 +5145,7 @@ const deserializeAws_restXmlTooManyTagsExceptionResponse = async (parsedOutput,
5145
5145
  };
5146
5146
  const data = parsedOutput.body.Error;
5147
5147
  if (data["Message"] !== undefined) {
5148
- contents.Message = (0, smithy_client_1.expectString)(data["Message"]);
5148
+ contents.Message = smithy_client_1.expectString(data["Message"]);
5149
5149
  }
5150
5150
  return contents;
5151
5151
  };
@@ -6366,7 +6366,7 @@ const deserializeAws_restXmlAbortIncompleteMultipartUpload = (output, context) =
6366
6366
  DaysAfterInitiation: undefined,
6367
6367
  };
6368
6368
  if (output["DaysAfterInitiation"] !== undefined) {
6369
- contents.DaysAfterInitiation = (0, smithy_client_1.strictParseInt32)(output["DaysAfterInitiation"]);
6369
+ contents.DaysAfterInitiation = smithy_client_1.strictParseInt32(output["DaysAfterInitiation"]);
6370
6370
  }
6371
6371
  return contents;
6372
6372
  };
@@ -6380,22 +6380,22 @@ const deserializeAws_restXmlAccessPoint = (output, context) => {
6380
6380
  Alias: undefined,
6381
6381
  };
6382
6382
  if (output["Name"] !== undefined) {
6383
- contents.Name = (0, smithy_client_1.expectString)(output["Name"]);
6383
+ contents.Name = smithy_client_1.expectString(output["Name"]);
6384
6384
  }
6385
6385
  if (output["NetworkOrigin"] !== undefined) {
6386
- contents.NetworkOrigin = (0, smithy_client_1.expectString)(output["NetworkOrigin"]);
6386
+ contents.NetworkOrigin = smithy_client_1.expectString(output["NetworkOrigin"]);
6387
6387
  }
6388
6388
  if (output["VpcConfiguration"] !== undefined) {
6389
6389
  contents.VpcConfiguration = deserializeAws_restXmlVpcConfiguration(output["VpcConfiguration"], context);
6390
6390
  }
6391
6391
  if (output["Bucket"] !== undefined) {
6392
- contents.Bucket = (0, smithy_client_1.expectString)(output["Bucket"]);
6392
+ contents.Bucket = smithy_client_1.expectString(output["Bucket"]);
6393
6393
  }
6394
6394
  if (output["AccessPointArn"] !== undefined) {
6395
- contents.AccessPointArn = (0, smithy_client_1.expectString)(output["AccessPointArn"]);
6395
+ contents.AccessPointArn = smithy_client_1.expectString(output["AccessPointArn"]);
6396
6396
  }
6397
6397
  if (output["Alias"] !== undefined) {
6398
- contents.Alias = (0, smithy_client_1.expectString)(output["Alias"]);
6398
+ contents.Alias = smithy_client_1.expectString(output["Alias"]);
6399
6399
  }
6400
6400
  return contents;
6401
6401
  };
@@ -6427,7 +6427,7 @@ const deserializeAws_restXmlActivityMetrics = (output, context) => {
6427
6427
  IsEnabled: undefined,
6428
6428
  };
6429
6429
  if (output["IsEnabled"] !== undefined) {
6430
- contents.IsEnabled = (0, smithy_client_1.parseBoolean)(output["IsEnabled"]);
6430
+ contents.IsEnabled = smithy_client_1.parseBoolean(output["IsEnabled"]);
6431
6431
  }
6432
6432
  return contents;
6433
6433
  };
@@ -6439,16 +6439,16 @@ const deserializeAws_restXmlAsyncErrorDetails = (output, context) => {
6439
6439
  RequestId: undefined,
6440
6440
  };
6441
6441
  if (output["Code"] !== undefined) {
6442
- contents.Code = (0, smithy_client_1.expectString)(output["Code"]);
6442
+ contents.Code = smithy_client_1.expectString(output["Code"]);
6443
6443
  }
6444
6444
  if (output["Message"] !== undefined) {
6445
- contents.Message = (0, smithy_client_1.expectString)(output["Message"]);
6445
+ contents.Message = smithy_client_1.expectString(output["Message"]);
6446
6446
  }
6447
6447
  if (output["Resource"] !== undefined) {
6448
- contents.Resource = (0, smithy_client_1.expectString)(output["Resource"]);
6448
+ contents.Resource = smithy_client_1.expectString(output["Resource"]);
6449
6449
  }
6450
6450
  if (output["RequestId"] !== undefined) {
6451
- contents.RequestId = (0, smithy_client_1.expectString)(output["RequestId"]);
6451
+ contents.RequestId = smithy_client_1.expectString(output["RequestId"]);
6452
6452
  }
6453
6453
  return contents;
6454
6454
  };
@@ -6462,19 +6462,19 @@ const deserializeAws_restXmlAsyncOperation = (output, context) => {
6462
6462
  ResponseDetails: undefined,
6463
6463
  };
6464
6464
  if (output["CreationTime"] !== undefined) {
6465
- contents.CreationTime = new Date(output["CreationTime"]);
6465
+ contents.CreationTime = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output["CreationTime"]));
6466
6466
  }
6467
6467
  if (output["Operation"] !== undefined) {
6468
- contents.Operation = (0, smithy_client_1.expectString)(output["Operation"]);
6468
+ contents.Operation = smithy_client_1.expectString(output["Operation"]);
6469
6469
  }
6470
6470
  if (output["RequestTokenARN"] !== undefined) {
6471
- contents.RequestTokenARN = (0, smithy_client_1.expectString)(output["RequestTokenARN"]);
6471
+ contents.RequestTokenARN = smithy_client_1.expectString(output["RequestTokenARN"]);
6472
6472
  }
6473
6473
  if (output["RequestParameters"] !== undefined) {
6474
6474
  contents.RequestParameters = deserializeAws_restXmlAsyncRequestParameters(output["RequestParameters"], context);
6475
6475
  }
6476
6476
  if (output["RequestStatus"] !== undefined) {
6477
- contents.RequestStatus = (0, smithy_client_1.expectString)(output["RequestStatus"]);
6477
+ contents.RequestStatus = smithy_client_1.expectString(output["RequestStatus"]);
6478
6478
  }
6479
6479
  if (output["ResponseDetails"] !== undefined) {
6480
6480
  contents.ResponseDetails = deserializeAws_restXmlAsyncResponseDetails(output["ResponseDetails"], context);
@@ -6517,10 +6517,10 @@ const deserializeAws_restXmlAwsLambdaTransformation = (output, context) => {
6517
6517
  FunctionPayload: undefined,
6518
6518
  };
6519
6519
  if (output["FunctionArn"] !== undefined) {
6520
- contents.FunctionArn = (0, smithy_client_1.expectString)(output["FunctionArn"]);
6520
+ contents.FunctionArn = smithy_client_1.expectString(output["FunctionArn"]);
6521
6521
  }
6522
6522
  if (output["FunctionPayload"] !== undefined) {
6523
- contents.FunctionPayload = (0, smithy_client_1.expectString)(output["FunctionPayload"]);
6523
+ contents.FunctionPayload = smithy_client_1.expectString(output["FunctionPayload"]);
6524
6524
  }
6525
6525
  return contents;
6526
6526
  };
@@ -6544,7 +6544,7 @@ const deserializeAws_restXmlBuckets = (output, context) => {
6544
6544
  if (entry === null) {
6545
6545
  return null;
6546
6546
  }
6547
- return (0, smithy_client_1.expectString)(entry);
6547
+ return smithy_client_1.expectString(entry);
6548
6548
  });
6549
6549
  };
6550
6550
  const deserializeAws_restXmlCreateMultiRegionAccessPointInput = (output, context) => {
@@ -6554,7 +6554,7 @@ const deserializeAws_restXmlCreateMultiRegionAccessPointInput = (output, context
6554
6554
  Regions: undefined,
6555
6555
  };
6556
6556
  if (output["Name"] !== undefined) {
6557
- contents.Name = (0, smithy_client_1.expectString)(output["Name"]);
6557
+ contents.Name = smithy_client_1.expectString(output["Name"]);
6558
6558
  }
6559
6559
  if (output["PublicAccessBlock"] !== undefined) {
6560
6560
  contents.PublicAccessBlock = deserializeAws_restXmlPublicAccessBlockConfiguration(output["PublicAccessBlock"], context);
@@ -6563,7 +6563,7 @@ const deserializeAws_restXmlCreateMultiRegionAccessPointInput = (output, context
6563
6563
  contents.Regions = [];
6564
6564
  }
6565
6565
  if (output["Regions"] !== undefined && output["Regions"]["Region"] !== undefined) {
6566
- contents.Regions = deserializeAws_restXmlRegionCreationList((0, smithy_client_1.getArrayIfSingleItem)(output["Regions"]["Region"]), context);
6566
+ contents.Regions = deserializeAws_restXmlRegionCreationList(smithy_client_1.getArrayIfSingleItem(output["Regions"]["Region"]), context);
6567
6567
  }
6568
6568
  return contents;
6569
6569
  };
@@ -6572,7 +6572,7 @@ const deserializeAws_restXmlDeleteMultiRegionAccessPointInput = (output, context
6572
6572
  Name: undefined,
6573
6573
  };
6574
6574
  if (output["Name"] !== undefined) {
6575
- contents.Name = (0, smithy_client_1.expectString)(output["Name"]);
6575
+ contents.Name = smithy_client_1.expectString(output["Name"]);
6576
6576
  }
6577
6577
  return contents;
6578
6578
  };
@@ -6583,7 +6583,7 @@ const deserializeAws_restXmlEndpoints = (output, context) => {
6583
6583
  }
6584
6584
  return {
6585
6585
  ...acc,
6586
- [pair["key"]]: (0, smithy_client_1.expectString)(pair["value"]),
6586
+ [pair["key"]]: smithy_client_1.expectString(pair["value"]),
6587
6587
  };
6588
6588
  }, {});
6589
6589
  };
@@ -6592,7 +6592,7 @@ const deserializeAws_restXmlEstablishedMultiRegionAccessPointPolicy = (output, c
6592
6592
  Policy: undefined,
6593
6593
  };
6594
6594
  if (output["Policy"] !== undefined) {
6595
- contents.Policy = (0, smithy_client_1.expectString)(output["Policy"]);
6595
+ contents.Policy = smithy_client_1.expectString(output["Policy"]);
6596
6596
  }
6597
6597
  return contents;
6598
6598
  };
@@ -6605,13 +6605,13 @@ const deserializeAws_restXml_Exclude = (output, context) => {
6605
6605
  contents.Buckets = [];
6606
6606
  }
6607
6607
  if (output["Buckets"] !== undefined && output["Buckets"]["Arn"] !== undefined) {
6608
- contents.Buckets = deserializeAws_restXmlBuckets((0, smithy_client_1.getArrayIfSingleItem)(output["Buckets"]["Arn"]), context);
6608
+ contents.Buckets = deserializeAws_restXmlBuckets(smithy_client_1.getArrayIfSingleItem(output["Buckets"]["Arn"]), context);
6609
6609
  }
6610
6610
  if (output.Regions === "") {
6611
6611
  contents.Regions = [];
6612
6612
  }
6613
6613
  if (output["Regions"] !== undefined && output["Regions"]["Region"] !== undefined) {
6614
- contents.Regions = deserializeAws_restXmlRegions((0, smithy_client_1.getArrayIfSingleItem)(output["Regions"]["Region"]), context);
6614
+ contents.Regions = deserializeAws_restXmlRegions(smithy_client_1.getArrayIfSingleItem(output["Regions"]["Region"]), context);
6615
6615
  }
6616
6616
  return contents;
6617
6617
  };
@@ -6624,13 +6624,13 @@ const deserializeAws_restXmlInclude = (output, context) => {
6624
6624
  contents.Buckets = [];
6625
6625
  }
6626
6626
  if (output["Buckets"] !== undefined && output["Buckets"]["Arn"] !== undefined) {
6627
- contents.Buckets = deserializeAws_restXmlBuckets((0, smithy_client_1.getArrayIfSingleItem)(output["Buckets"]["Arn"]), context);
6627
+ contents.Buckets = deserializeAws_restXmlBuckets(smithy_client_1.getArrayIfSingleItem(output["Buckets"]["Arn"]), context);
6628
6628
  }
6629
6629
  if (output.Regions === "") {
6630
6630
  contents.Regions = [];
6631
6631
  }
6632
6632
  if (output["Regions"] !== undefined && output["Regions"]["Region"] !== undefined) {
6633
- contents.Regions = deserializeAws_restXmlRegions((0, smithy_client_1.getArrayIfSingleItem)(output["Regions"]["Region"]), context);
6633
+ contents.Regions = deserializeAws_restXmlRegions(smithy_client_1.getArrayIfSingleItem(output["Regions"]["Region"]), context);
6634
6634
  }
6635
6635
  return contents;
6636
6636
  };
@@ -6655,19 +6655,19 @@ const deserializeAws_restXmlJobDescriptor = (output, context) => {
6655
6655
  SuspendedCause: undefined,
6656
6656
  };
6657
6657
  if (output["JobId"] !== undefined) {
6658
- contents.JobId = (0, smithy_client_1.expectString)(output["JobId"]);
6658
+ contents.JobId = smithy_client_1.expectString(output["JobId"]);
6659
6659
  }
6660
6660
  if (output["ConfirmationRequired"] !== undefined) {
6661
- contents.ConfirmationRequired = (0, smithy_client_1.parseBoolean)(output["ConfirmationRequired"]);
6661
+ contents.ConfirmationRequired = smithy_client_1.parseBoolean(output["ConfirmationRequired"]);
6662
6662
  }
6663
6663
  if (output["Description"] !== undefined) {
6664
- contents.Description = (0, smithy_client_1.expectString)(output["Description"]);
6664
+ contents.Description = smithy_client_1.expectString(output["Description"]);
6665
6665
  }
6666
6666
  if (output["JobArn"] !== undefined) {
6667
- contents.JobArn = (0, smithy_client_1.expectString)(output["JobArn"]);
6667
+ contents.JobArn = smithy_client_1.expectString(output["JobArn"]);
6668
6668
  }
6669
6669
  if (output["Status"] !== undefined) {
6670
- contents.Status = (0, smithy_client_1.expectString)(output["Status"]);
6670
+ contents.Status = smithy_client_1.expectString(output["Status"]);
6671
6671
  }
6672
6672
  if (output["Manifest"] !== undefined) {
6673
6673
  contents.Manifest = deserializeAws_restXmlJobManifest(output["Manifest"], context);
@@ -6676,37 +6676,37 @@ const deserializeAws_restXmlJobDescriptor = (output, context) => {
6676
6676
  contents.Operation = deserializeAws_restXmlJobOperation(output["Operation"], context);
6677
6677
  }
6678
6678
  if (output["Priority"] !== undefined) {
6679
- contents.Priority = (0, smithy_client_1.strictParseInt32)(output["Priority"]);
6679
+ contents.Priority = smithy_client_1.strictParseInt32(output["Priority"]);
6680
6680
  }
6681
6681
  if (output["ProgressSummary"] !== undefined) {
6682
6682
  contents.ProgressSummary = deserializeAws_restXmlJobProgressSummary(output["ProgressSummary"], context);
6683
6683
  }
6684
6684
  if (output["StatusUpdateReason"] !== undefined) {
6685
- contents.StatusUpdateReason = (0, smithy_client_1.expectString)(output["StatusUpdateReason"]);
6685
+ contents.StatusUpdateReason = smithy_client_1.expectString(output["StatusUpdateReason"]);
6686
6686
  }
6687
6687
  if (output.FailureReasons === "") {
6688
6688
  contents.FailureReasons = [];
6689
6689
  }
6690
6690
  if (output["FailureReasons"] !== undefined && output["FailureReasons"]["member"] !== undefined) {
6691
- contents.FailureReasons = deserializeAws_restXmlJobFailureList((0, smithy_client_1.getArrayIfSingleItem)(output["FailureReasons"]["member"]), context);
6691
+ contents.FailureReasons = deserializeAws_restXmlJobFailureList(smithy_client_1.getArrayIfSingleItem(output["FailureReasons"]["member"]), context);
6692
6692
  }
6693
6693
  if (output["Report"] !== undefined) {
6694
6694
  contents.Report = deserializeAws_restXmlJobReport(output["Report"], context);
6695
6695
  }
6696
6696
  if (output["CreationTime"] !== undefined) {
6697
- contents.CreationTime = new Date(output["CreationTime"]);
6697
+ contents.CreationTime = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output["CreationTime"]));
6698
6698
  }
6699
6699
  if (output["TerminationDate"] !== undefined) {
6700
- contents.TerminationDate = new Date(output["TerminationDate"]);
6700
+ contents.TerminationDate = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output["TerminationDate"]));
6701
6701
  }
6702
6702
  if (output["RoleArn"] !== undefined) {
6703
- contents.RoleArn = (0, smithy_client_1.expectString)(output["RoleArn"]);
6703
+ contents.RoleArn = smithy_client_1.expectString(output["RoleArn"]);
6704
6704
  }
6705
6705
  if (output["SuspendedDate"] !== undefined) {
6706
- contents.SuspendedDate = new Date(output["SuspendedDate"]);
6706
+ contents.SuspendedDate = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output["SuspendedDate"]));
6707
6707
  }
6708
6708
  if (output["SuspendedCause"] !== undefined) {
6709
- contents.SuspendedCause = (0, smithy_client_1.expectString)(output["SuspendedCause"]);
6709
+ contents.SuspendedCause = smithy_client_1.expectString(output["SuspendedCause"]);
6710
6710
  }
6711
6711
  return contents;
6712
6712
  };
@@ -6716,10 +6716,10 @@ const deserializeAws_restXmlJobFailure = (output, context) => {
6716
6716
  FailureReason: undefined,
6717
6717
  };
6718
6718
  if (output["FailureCode"] !== undefined) {
6719
- contents.FailureCode = (0, smithy_client_1.expectString)(output["FailureCode"]);
6719
+ contents.FailureCode = smithy_client_1.expectString(output["FailureCode"]);
6720
6720
  }
6721
6721
  if (output["FailureReason"] !== undefined) {
6722
- contents.FailureReason = (0, smithy_client_1.expectString)(output["FailureReason"]);
6722
+ contents.FailureReason = smithy_client_1.expectString(output["FailureReason"]);
6723
6723
  }
6724
6724
  return contents;
6725
6725
  };
@@ -6745,25 +6745,25 @@ const deserializeAws_restXmlJobListDescriptor = (output, context) => {
6745
6745
  ProgressSummary: undefined,
6746
6746
  };
6747
6747
  if (output["JobId"] !== undefined) {
6748
- contents.JobId = (0, smithy_client_1.expectString)(output["JobId"]);
6748
+ contents.JobId = smithy_client_1.expectString(output["JobId"]);
6749
6749
  }
6750
6750
  if (output["Description"] !== undefined) {
6751
- contents.Description = (0, smithy_client_1.expectString)(output["Description"]);
6751
+ contents.Description = smithy_client_1.expectString(output["Description"]);
6752
6752
  }
6753
6753
  if (output["Operation"] !== undefined) {
6754
- contents.Operation = (0, smithy_client_1.expectString)(output["Operation"]);
6754
+ contents.Operation = smithy_client_1.expectString(output["Operation"]);
6755
6755
  }
6756
6756
  if (output["Priority"] !== undefined) {
6757
- contents.Priority = (0, smithy_client_1.strictParseInt32)(output["Priority"]);
6757
+ contents.Priority = smithy_client_1.strictParseInt32(output["Priority"]);
6758
6758
  }
6759
6759
  if (output["Status"] !== undefined) {
6760
- contents.Status = (0, smithy_client_1.expectString)(output["Status"]);
6760
+ contents.Status = smithy_client_1.expectString(output["Status"]);
6761
6761
  }
6762
6762
  if (output["CreationTime"] !== undefined) {
6763
- contents.CreationTime = new Date(output["CreationTime"]);
6763
+ contents.CreationTime = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output["CreationTime"]));
6764
6764
  }
6765
6765
  if (output["TerminationDate"] !== undefined) {
6766
- contents.TerminationDate = new Date(output["TerminationDate"]);
6766
+ contents.TerminationDate = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output["TerminationDate"]));
6767
6767
  }
6768
6768
  if (output["ProgressSummary"] !== undefined) {
6769
6769
  contents.ProgressSummary = deserializeAws_restXmlJobProgressSummary(output["ProgressSummary"], context);
@@ -6800,7 +6800,7 @@ const deserializeAws_restXmlJobManifestFieldList = (output, context) => {
6800
6800
  if (entry === null) {
6801
6801
  return null;
6802
6802
  }
6803
- return (0, smithy_client_1.expectString)(entry);
6803
+ return smithy_client_1.expectString(entry);
6804
6804
  });
6805
6805
  };
6806
6806
  const deserializeAws_restXmlJobManifestLocation = (output, context) => {
@@ -6810,13 +6810,13 @@ const deserializeAws_restXmlJobManifestLocation = (output, context) => {
6810
6810
  ETag: undefined,
6811
6811
  };
6812
6812
  if (output["ObjectArn"] !== undefined) {
6813
- contents.ObjectArn = (0, smithy_client_1.expectString)(output["ObjectArn"]);
6813
+ contents.ObjectArn = smithy_client_1.expectString(output["ObjectArn"]);
6814
6814
  }
6815
6815
  if (output["ObjectVersionId"] !== undefined) {
6816
- contents.ObjectVersionId = (0, smithy_client_1.expectString)(output["ObjectVersionId"]);
6816
+ contents.ObjectVersionId = smithy_client_1.expectString(output["ObjectVersionId"]);
6817
6817
  }
6818
6818
  if (output["ETag"] !== undefined) {
6819
- contents.ETag = (0, smithy_client_1.expectString)(output["ETag"]);
6819
+ contents.ETag = smithy_client_1.expectString(output["ETag"]);
6820
6820
  }
6821
6821
  return contents;
6822
6822
  };
@@ -6826,13 +6826,13 @@ const deserializeAws_restXmlJobManifestSpec = (output, context) => {
6826
6826
  Fields: undefined,
6827
6827
  };
6828
6828
  if (output["Format"] !== undefined) {
6829
- contents.Format = (0, smithy_client_1.expectString)(output["Format"]);
6829
+ contents.Format = smithy_client_1.expectString(output["Format"]);
6830
6830
  }
6831
6831
  if (output.Fields === "") {
6832
6832
  contents.Fields = [];
6833
6833
  }
6834
6834
  if (output["Fields"] !== undefined && output["Fields"]["member"] !== undefined) {
6835
- contents.Fields = deserializeAws_restXmlJobManifestFieldList((0, smithy_client_1.getArrayIfSingleItem)(output["Fields"]["member"]), context);
6835
+ contents.Fields = deserializeAws_restXmlJobManifestFieldList(smithy_client_1.getArrayIfSingleItem(output["Fields"]["member"]), context);
6836
6836
  }
6837
6837
  return contents;
6838
6838
  };
@@ -6880,13 +6880,13 @@ const deserializeAws_restXmlJobProgressSummary = (output, context) => {
6880
6880
  NumberOfTasksFailed: undefined,
6881
6881
  };
6882
6882
  if (output["TotalNumberOfTasks"] !== undefined) {
6883
- contents.TotalNumberOfTasks = (0, smithy_client_1.strictParseLong)(output["TotalNumberOfTasks"]);
6883
+ contents.TotalNumberOfTasks = smithy_client_1.strictParseLong(output["TotalNumberOfTasks"]);
6884
6884
  }
6885
6885
  if (output["NumberOfTasksSucceeded"] !== undefined) {
6886
- contents.NumberOfTasksSucceeded = (0, smithy_client_1.strictParseLong)(output["NumberOfTasksSucceeded"]);
6886
+ contents.NumberOfTasksSucceeded = smithy_client_1.strictParseLong(output["NumberOfTasksSucceeded"]);
6887
6887
  }
6888
6888
  if (output["NumberOfTasksFailed"] !== undefined) {
6889
- contents.NumberOfTasksFailed = (0, smithy_client_1.strictParseLong)(output["NumberOfTasksFailed"]);
6889
+ contents.NumberOfTasksFailed = smithy_client_1.strictParseLong(output["NumberOfTasksFailed"]);
6890
6890
  }
6891
6891
  return contents;
6892
6892
  };
@@ -6899,19 +6899,19 @@ const deserializeAws_restXmlJobReport = (output, context) => {
6899
6899
  ReportScope: undefined,
6900
6900
  };
6901
6901
  if (output["Bucket"] !== undefined) {
6902
- contents.Bucket = (0, smithy_client_1.expectString)(output["Bucket"]);
6902
+ contents.Bucket = smithy_client_1.expectString(output["Bucket"]);
6903
6903
  }
6904
6904
  if (output["Format"] !== undefined) {
6905
- contents.Format = (0, smithy_client_1.expectString)(output["Format"]);
6905
+ contents.Format = smithy_client_1.expectString(output["Format"]);
6906
6906
  }
6907
6907
  if (output["Enabled"] !== undefined) {
6908
- contents.Enabled = (0, smithy_client_1.parseBoolean)(output["Enabled"]);
6908
+ contents.Enabled = smithy_client_1.parseBoolean(output["Enabled"]);
6909
6909
  }
6910
6910
  if (output["Prefix"] !== undefined) {
6911
- contents.Prefix = (0, smithy_client_1.expectString)(output["Prefix"]);
6911
+ contents.Prefix = smithy_client_1.expectString(output["Prefix"]);
6912
6912
  }
6913
6913
  if (output["ReportScope"] !== undefined) {
6914
- contents.ReportScope = (0, smithy_client_1.expectString)(output["ReportScope"]);
6914
+ contents.ReportScope = smithy_client_1.expectString(output["ReportScope"]);
6915
6915
  }
6916
6916
  return contents;
6917
6917
  };
@@ -6920,7 +6920,7 @@ const deserializeAws_restXmlLambdaInvokeOperation = (output, context) => {
6920
6920
  FunctionArn: undefined,
6921
6921
  };
6922
6922
  if (output["FunctionArn"] !== undefined) {
6923
- contents.FunctionArn = (0, smithy_client_1.expectString)(output["FunctionArn"]);
6923
+ contents.FunctionArn = smithy_client_1.expectString(output["FunctionArn"]);
6924
6924
  }
6925
6925
  return contents;
6926
6926
  };
@@ -6931,13 +6931,13 @@ const deserializeAws_restXmlLifecycleExpiration = (output, context) => {
6931
6931
  ExpiredObjectDeleteMarker: undefined,
6932
6932
  };
6933
6933
  if (output["Date"] !== undefined) {
6934
- contents.Date = new Date(output["Date"]);
6934
+ contents.Date = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output["Date"]));
6935
6935
  }
6936
6936
  if (output["Days"] !== undefined) {
6937
- contents.Days = (0, smithy_client_1.strictParseInt32)(output["Days"]);
6937
+ contents.Days = smithy_client_1.strictParseInt32(output["Days"]);
6938
6938
  }
6939
6939
  if (output["ExpiredObjectDeleteMarker"] !== undefined) {
6940
- contents.ExpiredObjectDeleteMarker = (0, smithy_client_1.parseBoolean)(output["ExpiredObjectDeleteMarker"]);
6940
+ contents.ExpiredObjectDeleteMarker = smithy_client_1.parseBoolean(output["ExpiredObjectDeleteMarker"]);
6941
6941
  }
6942
6942
  return contents;
6943
6943
  };
@@ -6956,26 +6956,26 @@ const deserializeAws_restXmlLifecycleRule = (output, context) => {
6956
6956
  contents.Expiration = deserializeAws_restXmlLifecycleExpiration(output["Expiration"], context);
6957
6957
  }
6958
6958
  if (output["ID"] !== undefined) {
6959
- contents.ID = (0, smithy_client_1.expectString)(output["ID"]);
6959
+ contents.ID = smithy_client_1.expectString(output["ID"]);
6960
6960
  }
6961
6961
  if (output["Filter"] !== undefined) {
6962
6962
  contents.Filter = deserializeAws_restXmlLifecycleRuleFilter(output["Filter"], context);
6963
6963
  }
6964
6964
  if (output["Status"] !== undefined) {
6965
- contents.Status = (0, smithy_client_1.expectString)(output["Status"]);
6965
+ contents.Status = smithy_client_1.expectString(output["Status"]);
6966
6966
  }
6967
6967
  if (output.Transitions === "") {
6968
6968
  contents.Transitions = [];
6969
6969
  }
6970
6970
  if (output["Transitions"] !== undefined && output["Transitions"]["Transition"] !== undefined) {
6971
- contents.Transitions = deserializeAws_restXmlTransitionList((0, smithy_client_1.getArrayIfSingleItem)(output["Transitions"]["Transition"]), context);
6971
+ contents.Transitions = deserializeAws_restXmlTransitionList(smithy_client_1.getArrayIfSingleItem(output["Transitions"]["Transition"]), context);
6972
6972
  }
6973
6973
  if (output.NoncurrentVersionTransitions === "") {
6974
6974
  contents.NoncurrentVersionTransitions = [];
6975
6975
  }
6976
6976
  if (output["NoncurrentVersionTransitions"] !== undefined &&
6977
6977
  output["NoncurrentVersionTransitions"]["NoncurrentVersionTransition"] !== undefined) {
6978
- contents.NoncurrentVersionTransitions = deserializeAws_restXmlNoncurrentVersionTransitionList((0, smithy_client_1.getArrayIfSingleItem)(output["NoncurrentVersionTransitions"]["NoncurrentVersionTransition"]), context);
6978
+ contents.NoncurrentVersionTransitions = deserializeAws_restXmlNoncurrentVersionTransitionList(smithy_client_1.getArrayIfSingleItem(output["NoncurrentVersionTransitions"]["NoncurrentVersionTransition"]), context);
6979
6979
  }
6980
6980
  if (output["NoncurrentVersionExpiration"] !== undefined) {
6981
6981
  contents.NoncurrentVersionExpiration = deserializeAws_restXmlNoncurrentVersionExpiration(output["NoncurrentVersionExpiration"], context);
@@ -6991,13 +6991,13 @@ const deserializeAws_restXmlLifecycleRuleAndOperator = (output, context) => {
6991
6991
  Tags: undefined,
6992
6992
  };
6993
6993
  if (output["Prefix"] !== undefined) {
6994
- contents.Prefix = (0, smithy_client_1.expectString)(output["Prefix"]);
6994
+ contents.Prefix = smithy_client_1.expectString(output["Prefix"]);
6995
6995
  }
6996
6996
  if (output.Tags === "") {
6997
6997
  contents.Tags = [];
6998
6998
  }
6999
6999
  if (output["Tags"] !== undefined && output["Tags"]["member"] !== undefined) {
7000
- contents.Tags = deserializeAws_restXmlS3TagSet((0, smithy_client_1.getArrayIfSingleItem)(output["Tags"]["member"]), context);
7000
+ contents.Tags = deserializeAws_restXmlS3TagSet(smithy_client_1.getArrayIfSingleItem(output["Tags"]["member"]), context);
7001
7001
  }
7002
7002
  return contents;
7003
7003
  };
@@ -7008,7 +7008,7 @@ const deserializeAws_restXmlLifecycleRuleFilter = (output, context) => {
7008
7008
  And: undefined,
7009
7009
  };
7010
7010
  if (output["Prefix"] !== undefined) {
7011
- contents.Prefix = (0, smithy_client_1.expectString)(output["Prefix"]);
7011
+ contents.Prefix = smithy_client_1.expectString(output["Prefix"]);
7012
7012
  }
7013
7013
  if (output["Tag"] !== undefined) {
7014
7014
  contents.Tag = deserializeAws_restXmlS3Tag(output["Tag"], context);
@@ -7036,16 +7036,16 @@ const deserializeAws_restXmlListStorageLensConfigurationEntry = (output, context
7036
7036
  IsEnabled: undefined,
7037
7037
  };
7038
7038
  if (output["Id"] !== undefined) {
7039
- contents.Id = (0, smithy_client_1.expectString)(output["Id"]);
7039
+ contents.Id = smithy_client_1.expectString(output["Id"]);
7040
7040
  }
7041
7041
  if (output["StorageLensArn"] !== undefined) {
7042
- contents.StorageLensArn = (0, smithy_client_1.expectString)(output["StorageLensArn"]);
7042
+ contents.StorageLensArn = smithy_client_1.expectString(output["StorageLensArn"]);
7043
7043
  }
7044
7044
  if (output["HomeRegion"] !== undefined) {
7045
- contents.HomeRegion = (0, smithy_client_1.expectString)(output["HomeRegion"]);
7045
+ contents.HomeRegion = smithy_client_1.expectString(output["HomeRegion"]);
7046
7046
  }
7047
7047
  if (output["IsEnabled"] !== undefined) {
7048
- contents.IsEnabled = (0, smithy_client_1.parseBoolean)(output["IsEnabled"]);
7048
+ contents.IsEnabled = smithy_client_1.parseBoolean(output["IsEnabled"]);
7049
7049
  }
7050
7050
  return contents;
7051
7051
  };
@@ -7068,10 +7068,10 @@ const deserializeAws_restXmlMultiRegionAccessPointRegionalResponse = (output, co
7068
7068
  RequestStatus: undefined,
7069
7069
  };
7070
7070
  if (output["Name"] !== undefined) {
7071
- contents.Name = (0, smithy_client_1.expectString)(output["Name"]);
7071
+ contents.Name = smithy_client_1.expectString(output["Name"]);
7072
7072
  }
7073
7073
  if (output["RequestStatus"] !== undefined) {
7074
- contents.RequestStatus = (0, smithy_client_1.expectString)(output["RequestStatus"]);
7074
+ contents.RequestStatus = smithy_client_1.expectString(output["RequestStatus"]);
7075
7075
  }
7076
7076
  return contents;
7077
7077
  };
@@ -7095,25 +7095,25 @@ const deserializeAws_restXmlMultiRegionAccessPointReport = (output, context) =>
7095
7095
  Regions: undefined,
7096
7096
  };
7097
7097
  if (output["Name"] !== undefined) {
7098
- contents.Name = (0, smithy_client_1.expectString)(output["Name"]);
7098
+ contents.Name = smithy_client_1.expectString(output["Name"]);
7099
7099
  }
7100
7100
  if (output["Alias"] !== undefined) {
7101
- contents.Alias = (0, smithy_client_1.expectString)(output["Alias"]);
7101
+ contents.Alias = smithy_client_1.expectString(output["Alias"]);
7102
7102
  }
7103
7103
  if (output["CreatedAt"] !== undefined) {
7104
- contents.CreatedAt = new Date(output["CreatedAt"]);
7104
+ contents.CreatedAt = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output["CreatedAt"]));
7105
7105
  }
7106
7106
  if (output["PublicAccessBlock"] !== undefined) {
7107
7107
  contents.PublicAccessBlock = deserializeAws_restXmlPublicAccessBlockConfiguration(output["PublicAccessBlock"], context);
7108
7108
  }
7109
7109
  if (output["Status"] !== undefined) {
7110
- contents.Status = (0, smithy_client_1.expectString)(output["Status"]);
7110
+ contents.Status = smithy_client_1.expectString(output["Status"]);
7111
7111
  }
7112
7112
  if (output.Regions === "") {
7113
7113
  contents.Regions = [];
7114
7114
  }
7115
7115
  if (output["Regions"] !== undefined && output["Regions"]["Region"] !== undefined) {
7116
- contents.Regions = deserializeAws_restXmlRegionReportList((0, smithy_client_1.getArrayIfSingleItem)(output["Regions"]["Region"]), context);
7116
+ contents.Regions = deserializeAws_restXmlRegionReportList(smithy_client_1.getArrayIfSingleItem(output["Regions"]["Region"]), context);
7117
7117
  }
7118
7118
  return contents;
7119
7119
  };
@@ -7135,7 +7135,7 @@ const deserializeAws_restXmlMultiRegionAccessPointsAsyncResponse = (output, cont
7135
7135
  contents.Regions = [];
7136
7136
  }
7137
7137
  if (output["Regions"] !== undefined && output["Regions"]["Region"] !== undefined) {
7138
- contents.Regions = deserializeAws_restXmlMultiRegionAccessPointRegionalResponseList((0, smithy_client_1.getArrayIfSingleItem)(output["Regions"]["Region"]), context);
7138
+ contents.Regions = deserializeAws_restXmlMultiRegionAccessPointRegionalResponseList(smithy_client_1.getArrayIfSingleItem(output["Regions"]["Region"]), context);
7139
7139
  }
7140
7140
  return contents;
7141
7141
  };
@@ -7144,7 +7144,7 @@ const deserializeAws_restXmlNoncurrentVersionExpiration = (output, context) => {
7144
7144
  NoncurrentDays: undefined,
7145
7145
  };
7146
7146
  if (output["NoncurrentDays"] !== undefined) {
7147
- contents.NoncurrentDays = (0, smithy_client_1.strictParseInt32)(output["NoncurrentDays"]);
7147
+ contents.NoncurrentDays = smithy_client_1.strictParseInt32(output["NoncurrentDays"]);
7148
7148
  }
7149
7149
  return contents;
7150
7150
  };
@@ -7154,10 +7154,10 @@ const deserializeAws_restXmlNoncurrentVersionTransition = (output, context) => {
7154
7154
  StorageClass: undefined,
7155
7155
  };
7156
7156
  if (output["NoncurrentDays"] !== undefined) {
7157
- contents.NoncurrentDays = (0, smithy_client_1.strictParseInt32)(output["NoncurrentDays"]);
7157
+ contents.NoncurrentDays = smithy_client_1.strictParseInt32(output["NoncurrentDays"]);
7158
7158
  }
7159
7159
  if (output["StorageClass"] !== undefined) {
7160
- contents.StorageClass = (0, smithy_client_1.expectString)(output["StorageClass"]);
7160
+ contents.StorageClass = smithy_client_1.expectString(output["StorageClass"]);
7161
7161
  }
7162
7162
  return contents;
7163
7163
  };
@@ -7177,10 +7177,10 @@ const deserializeAws_restXmlObjectLambdaAccessPoint = (output, context) => {
7177
7177
  ObjectLambdaAccessPointArn: undefined,
7178
7178
  };
7179
7179
  if (output["Name"] !== undefined) {
7180
- contents.Name = (0, smithy_client_1.expectString)(output["Name"]);
7180
+ contents.Name = smithy_client_1.expectString(output["Name"]);
7181
7181
  }
7182
7182
  if (output["ObjectLambdaAccessPointArn"] !== undefined) {
7183
- contents.ObjectLambdaAccessPointArn = (0, smithy_client_1.expectString)(output["ObjectLambdaAccessPointArn"]);
7183
+ contents.ObjectLambdaAccessPointArn = smithy_client_1.expectString(output["ObjectLambdaAccessPointArn"]);
7184
7184
  }
7185
7185
  return contents;
7186
7186
  };
@@ -7201,7 +7201,7 @@ const deserializeAws_restXmlObjectLambdaAllowedFeaturesList = (output, context)
7201
7201
  if (entry === null) {
7202
7202
  return null;
7203
7203
  }
7204
- return (0, smithy_client_1.expectString)(entry);
7204
+ return smithy_client_1.expectString(entry);
7205
7205
  });
7206
7206
  };
7207
7207
  const deserializeAws_restXmlObjectLambdaConfiguration = (output, context) => {
@@ -7212,23 +7212,23 @@ const deserializeAws_restXmlObjectLambdaConfiguration = (output, context) => {
7212
7212
  TransformationConfigurations: undefined,
7213
7213
  };
7214
7214
  if (output["SupportingAccessPoint"] !== undefined) {
7215
- contents.SupportingAccessPoint = (0, smithy_client_1.expectString)(output["SupportingAccessPoint"]);
7215
+ contents.SupportingAccessPoint = smithy_client_1.expectString(output["SupportingAccessPoint"]);
7216
7216
  }
7217
7217
  if (output["CloudWatchMetricsEnabled"] !== undefined) {
7218
- contents.CloudWatchMetricsEnabled = (0, smithy_client_1.parseBoolean)(output["CloudWatchMetricsEnabled"]);
7218
+ contents.CloudWatchMetricsEnabled = smithy_client_1.parseBoolean(output["CloudWatchMetricsEnabled"]);
7219
7219
  }
7220
7220
  if (output.AllowedFeatures === "") {
7221
7221
  contents.AllowedFeatures = [];
7222
7222
  }
7223
7223
  if (output["AllowedFeatures"] !== undefined && output["AllowedFeatures"]["AllowedFeature"] !== undefined) {
7224
- contents.AllowedFeatures = deserializeAws_restXmlObjectLambdaAllowedFeaturesList((0, smithy_client_1.getArrayIfSingleItem)(output["AllowedFeatures"]["AllowedFeature"]), context);
7224
+ contents.AllowedFeatures = deserializeAws_restXmlObjectLambdaAllowedFeaturesList(smithy_client_1.getArrayIfSingleItem(output["AllowedFeatures"]["AllowedFeature"]), context);
7225
7225
  }
7226
7226
  if (output.TransformationConfigurations === "") {
7227
7227
  contents.TransformationConfigurations = [];
7228
7228
  }
7229
7229
  if (output["TransformationConfigurations"] !== undefined &&
7230
7230
  output["TransformationConfigurations"]["TransformationConfiguration"] !== undefined) {
7231
- contents.TransformationConfigurations = deserializeAws_restXmlObjectLambdaTransformationConfigurationsList((0, smithy_client_1.getArrayIfSingleItem)(output["TransformationConfigurations"]["TransformationConfiguration"]), context);
7231
+ contents.TransformationConfigurations = deserializeAws_restXmlObjectLambdaTransformationConfigurationsList(smithy_client_1.getArrayIfSingleItem(output["TransformationConfigurations"]["TransformationConfiguration"]), context);
7232
7232
  }
7233
7233
  return contents;
7234
7234
  };
@@ -7249,10 +7249,10 @@ const deserializeAws_restXmlObjectLambdaTransformationConfiguration = (output, c
7249
7249
  contents.Actions = [];
7250
7250
  }
7251
7251
  if (output["Actions"] !== undefined && output["Actions"]["Action"] !== undefined) {
7252
- contents.Actions = deserializeAws_restXmlObjectLambdaTransformationConfigurationActionsList((0, smithy_client_1.getArrayIfSingleItem)(output["Actions"]["Action"]), context);
7252
+ contents.Actions = deserializeAws_restXmlObjectLambdaTransformationConfigurationActionsList(smithy_client_1.getArrayIfSingleItem(output["Actions"]["Action"]), context);
7253
7253
  }
7254
7254
  if (output["ContentTransformation"] !== undefined) {
7255
- contents.ContentTransformation = deserializeAws_restXmlObjectLambdaContentTransformation(output["ContentTransformation"], context);
7255
+ contents.ContentTransformation = deserializeAws_restXmlObjectLambdaContentTransformation(smithy_client_1.expectUnion(output["ContentTransformation"]), context);
7256
7256
  }
7257
7257
  return contents;
7258
7258
  };
@@ -7263,7 +7263,7 @@ const deserializeAws_restXmlObjectLambdaTransformationConfigurationActionsList =
7263
7263
  if (entry === null) {
7264
7264
  return null;
7265
7265
  }
7266
- return (0, smithy_client_1.expectString)(entry);
7266
+ return smithy_client_1.expectString(entry);
7267
7267
  });
7268
7268
  };
7269
7269
  const deserializeAws_restXmlObjectLambdaTransformationConfigurationsList = (output, context) => {
@@ -7281,7 +7281,7 @@ const deserializeAws_restXmlPolicyStatus = (output, context) => {
7281
7281
  IsPublic: undefined,
7282
7282
  };
7283
7283
  if (output["IsPublic"] !== undefined) {
7284
- contents.IsPublic = (0, smithy_client_1.parseBoolean)(output["IsPublic"]);
7284
+ contents.IsPublic = smithy_client_1.parseBoolean(output["IsPublic"]);
7285
7285
  }
7286
7286
  return contents;
7287
7287
  };
@@ -7300,7 +7300,7 @@ const deserializeAws_restXmlPrefixLevelStorageMetrics = (output, context) => {
7300
7300
  SelectionCriteria: undefined,
7301
7301
  };
7302
7302
  if (output["IsEnabled"] !== undefined) {
7303
- contents.IsEnabled = (0, smithy_client_1.parseBoolean)(output["IsEnabled"]);
7303
+ contents.IsEnabled = smithy_client_1.parseBoolean(output["IsEnabled"]);
7304
7304
  }
7305
7305
  if (output["SelectionCriteria"] !== undefined) {
7306
7306
  contents.SelectionCriteria = deserializeAws_restXmlSelectionCriteria(output["SelectionCriteria"], context);
@@ -7312,7 +7312,7 @@ const deserializeAws_restXmlProposedMultiRegionAccessPointPolicy = (output, cont
7312
7312
  Policy: undefined,
7313
7313
  };
7314
7314
  if (output["Policy"] !== undefined) {
7315
- contents.Policy = (0, smithy_client_1.expectString)(output["Policy"]);
7315
+ contents.Policy = smithy_client_1.expectString(output["Policy"]);
7316
7316
  }
7317
7317
  return contents;
7318
7318
  };
@@ -7324,16 +7324,16 @@ const deserializeAws_restXmlPublicAccessBlockConfiguration = (output, context) =
7324
7324
  RestrictPublicBuckets: undefined,
7325
7325
  };
7326
7326
  if (output["BlockPublicAcls"] !== undefined) {
7327
- contents.BlockPublicAcls = (0, smithy_client_1.parseBoolean)(output["BlockPublicAcls"]);
7327
+ contents.BlockPublicAcls = smithy_client_1.parseBoolean(output["BlockPublicAcls"]);
7328
7328
  }
7329
7329
  if (output["IgnorePublicAcls"] !== undefined) {
7330
- contents.IgnorePublicAcls = (0, smithy_client_1.parseBoolean)(output["IgnorePublicAcls"]);
7330
+ contents.IgnorePublicAcls = smithy_client_1.parseBoolean(output["IgnorePublicAcls"]);
7331
7331
  }
7332
7332
  if (output["BlockPublicPolicy"] !== undefined) {
7333
- contents.BlockPublicPolicy = (0, smithy_client_1.parseBoolean)(output["BlockPublicPolicy"]);
7333
+ contents.BlockPublicPolicy = smithy_client_1.parseBoolean(output["BlockPublicPolicy"]);
7334
7334
  }
7335
7335
  if (output["RestrictPublicBuckets"] !== undefined) {
7336
- contents.RestrictPublicBuckets = (0, smithy_client_1.parseBoolean)(output["RestrictPublicBuckets"]);
7336
+ contents.RestrictPublicBuckets = smithy_client_1.parseBoolean(output["RestrictPublicBuckets"]);
7337
7337
  }
7338
7338
  return contents;
7339
7339
  };
@@ -7343,10 +7343,10 @@ const deserializeAws_restXmlPutMultiRegionAccessPointPolicyInput = (output, cont
7343
7343
  Policy: undefined,
7344
7344
  };
7345
7345
  if (output["Name"] !== undefined) {
7346
- contents.Name = (0, smithy_client_1.expectString)(output["Name"]);
7346
+ contents.Name = smithy_client_1.expectString(output["Name"]);
7347
7347
  }
7348
7348
  if (output["Policy"] !== undefined) {
7349
- contents.Policy = (0, smithy_client_1.expectString)(output["Policy"]);
7349
+ contents.Policy = smithy_client_1.expectString(output["Policy"]);
7350
7350
  }
7351
7351
  return contents;
7352
7352
  };
@@ -7355,7 +7355,7 @@ const deserializeAws_restXmlRegion = (output, context) => {
7355
7355
  Bucket: undefined,
7356
7356
  };
7357
7357
  if (output["Bucket"] !== undefined) {
7358
- contents.Bucket = (0, smithy_client_1.expectString)(output["Bucket"]);
7358
+ contents.Bucket = smithy_client_1.expectString(output["Bucket"]);
7359
7359
  }
7360
7360
  return contents;
7361
7361
  };
@@ -7368,19 +7368,19 @@ const deserializeAws_restXmlRegionalBucket = (output, context) => {
7368
7368
  OutpostId: undefined,
7369
7369
  };
7370
7370
  if (output["Bucket"] !== undefined) {
7371
- contents.Bucket = (0, smithy_client_1.expectString)(output["Bucket"]);
7371
+ contents.Bucket = smithy_client_1.expectString(output["Bucket"]);
7372
7372
  }
7373
7373
  if (output["BucketArn"] !== undefined) {
7374
- contents.BucketArn = (0, smithy_client_1.expectString)(output["BucketArn"]);
7374
+ contents.BucketArn = smithy_client_1.expectString(output["BucketArn"]);
7375
7375
  }
7376
7376
  if (output["PublicAccessBlockEnabled"] !== undefined) {
7377
- contents.PublicAccessBlockEnabled = (0, smithy_client_1.parseBoolean)(output["PublicAccessBlockEnabled"]);
7377
+ contents.PublicAccessBlockEnabled = smithy_client_1.parseBoolean(output["PublicAccessBlockEnabled"]);
7378
7378
  }
7379
7379
  if (output["CreationDate"] !== undefined) {
7380
- contents.CreationDate = new Date(output["CreationDate"]);
7380
+ contents.CreationDate = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output["CreationDate"]));
7381
7381
  }
7382
7382
  if (output["OutpostId"] !== undefined) {
7383
- contents.OutpostId = (0, smithy_client_1.expectString)(output["OutpostId"]);
7383
+ contents.OutpostId = smithy_client_1.expectString(output["OutpostId"]);
7384
7384
  }
7385
7385
  return contents;
7386
7386
  };
@@ -7410,10 +7410,10 @@ const deserializeAws_restXmlRegionReport = (output, context) => {
7410
7410
  Region: undefined,
7411
7411
  };
7412
7412
  if (output["Bucket"] !== undefined) {
7413
- contents.Bucket = (0, smithy_client_1.expectString)(output["Bucket"]);
7413
+ contents.Bucket = smithy_client_1.expectString(output["Bucket"]);
7414
7414
  }
7415
7415
  if (output["Region"] !== undefined) {
7416
- contents.Region = (0, smithy_client_1.expectString)(output["Region"]);
7416
+ contents.Region = smithy_client_1.expectString(output["Region"]);
7417
7417
  }
7418
7418
  return contents;
7419
7419
  };
@@ -7434,7 +7434,7 @@ const deserializeAws_restXmlRegions = (output, context) => {
7434
7434
  if (entry === null) {
7435
7435
  return null;
7436
7436
  }
7437
- return (0, smithy_client_1.expectString)(entry);
7437
+ return smithy_client_1.expectString(entry);
7438
7438
  });
7439
7439
  };
7440
7440
  const deserializeAws_restXmlS3AccessControlList = (output, context) => {
@@ -7449,7 +7449,7 @@ const deserializeAws_restXmlS3AccessControlList = (output, context) => {
7449
7449
  contents.Grants = [];
7450
7450
  }
7451
7451
  if (output["Grants"] !== undefined && output["Grants"]["member"] !== undefined) {
7452
- contents.Grants = deserializeAws_restXmlS3GrantList((0, smithy_client_1.getArrayIfSingleItem)(output["Grants"]["member"]), context);
7452
+ contents.Grants = deserializeAws_restXmlS3GrantList(smithy_client_1.getArrayIfSingleItem(output["Grants"]["member"]), context);
7453
7453
  }
7454
7454
  return contents;
7455
7455
  };
@@ -7462,7 +7462,7 @@ const deserializeAws_restXmlS3AccessControlPolicy = (output, context) => {
7462
7462
  contents.AccessControlList = deserializeAws_restXmlS3AccessControlList(output["AccessControlList"], context);
7463
7463
  }
7464
7464
  if (output["CannedAccessControlList"] !== undefined) {
7465
- contents.CannedAccessControlList = (0, smithy_client_1.expectString)(output["CannedAccessControlList"]);
7465
+ contents.CannedAccessControlList = smithy_client_1.expectString(output["CannedAccessControlList"]);
7466
7466
  }
7467
7467
  return contents;
7468
7468
  };
@@ -7476,19 +7476,19 @@ const deserializeAws_restXmlS3BucketDestination = (output, context) => {
7476
7476
  Encryption: undefined,
7477
7477
  };
7478
7478
  if (output["Format"] !== undefined) {
7479
- contents.Format = (0, smithy_client_1.expectString)(output["Format"]);
7479
+ contents.Format = smithy_client_1.expectString(output["Format"]);
7480
7480
  }
7481
7481
  if (output["OutputSchemaVersion"] !== undefined) {
7482
- contents.OutputSchemaVersion = (0, smithy_client_1.expectString)(output["OutputSchemaVersion"]);
7482
+ contents.OutputSchemaVersion = smithy_client_1.expectString(output["OutputSchemaVersion"]);
7483
7483
  }
7484
7484
  if (output["AccountId"] !== undefined) {
7485
- contents.AccountId = (0, smithy_client_1.expectString)(output["AccountId"]);
7485
+ contents.AccountId = smithy_client_1.expectString(output["AccountId"]);
7486
7486
  }
7487
7487
  if (output["Arn"] !== undefined) {
7488
- contents.Arn = (0, smithy_client_1.expectString)(output["Arn"]);
7488
+ contents.Arn = smithy_client_1.expectString(output["Arn"]);
7489
7489
  }
7490
7490
  if (output["Prefix"] !== undefined) {
7491
- contents.Prefix = (0, smithy_client_1.expectString)(output["Prefix"]);
7491
+ contents.Prefix = smithy_client_1.expectString(output["Prefix"]);
7492
7492
  }
7493
7493
  if (output["Encryption"] !== undefined) {
7494
7494
  contents.Encryption = deserializeAws_restXmlStorageLensDataExportEncryption(output["Encryption"], context);
@@ -7516,22 +7516,22 @@ const deserializeAws_restXmlS3CopyObjectOperation = (output, context) => {
7516
7516
  BucketKeyEnabled: undefined,
7517
7517
  };
7518
7518
  if (output["TargetResource"] !== undefined) {
7519
- contents.TargetResource = (0, smithy_client_1.expectString)(output["TargetResource"]);
7519
+ contents.TargetResource = smithy_client_1.expectString(output["TargetResource"]);
7520
7520
  }
7521
7521
  if (output["CannedAccessControlList"] !== undefined) {
7522
- contents.CannedAccessControlList = (0, smithy_client_1.expectString)(output["CannedAccessControlList"]);
7522
+ contents.CannedAccessControlList = smithy_client_1.expectString(output["CannedAccessControlList"]);
7523
7523
  }
7524
7524
  if (output.AccessControlGrants === "") {
7525
7525
  contents.AccessControlGrants = [];
7526
7526
  }
7527
7527
  if (output["AccessControlGrants"] !== undefined && output["AccessControlGrants"]["member"] !== undefined) {
7528
- contents.AccessControlGrants = deserializeAws_restXmlS3GrantList((0, smithy_client_1.getArrayIfSingleItem)(output["AccessControlGrants"]["member"]), context);
7528
+ contents.AccessControlGrants = deserializeAws_restXmlS3GrantList(smithy_client_1.getArrayIfSingleItem(output["AccessControlGrants"]["member"]), context);
7529
7529
  }
7530
7530
  if (output["MetadataDirective"] !== undefined) {
7531
- contents.MetadataDirective = (0, smithy_client_1.expectString)(output["MetadataDirective"]);
7531
+ contents.MetadataDirective = smithy_client_1.expectString(output["MetadataDirective"]);
7532
7532
  }
7533
7533
  if (output["ModifiedSinceConstraint"] !== undefined) {
7534
- contents.ModifiedSinceConstraint = new Date(output["ModifiedSinceConstraint"]);
7534
+ contents.ModifiedSinceConstraint = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output["ModifiedSinceConstraint"]));
7535
7535
  }
7536
7536
  if (output["NewObjectMetadata"] !== undefined) {
7537
7537
  contents.NewObjectMetadata = deserializeAws_restXmlS3ObjectMetadata(output["NewObjectMetadata"], context);
@@ -7540,37 +7540,37 @@ const deserializeAws_restXmlS3CopyObjectOperation = (output, context) => {
7540
7540
  contents.NewObjectTagging = [];
7541
7541
  }
7542
7542
  if (output["NewObjectTagging"] !== undefined && output["NewObjectTagging"]["member"] !== undefined) {
7543
- contents.NewObjectTagging = deserializeAws_restXmlS3TagSet((0, smithy_client_1.getArrayIfSingleItem)(output["NewObjectTagging"]["member"]), context);
7543
+ contents.NewObjectTagging = deserializeAws_restXmlS3TagSet(smithy_client_1.getArrayIfSingleItem(output["NewObjectTagging"]["member"]), context);
7544
7544
  }
7545
7545
  if (output["RedirectLocation"] !== undefined) {
7546
- contents.RedirectLocation = (0, smithy_client_1.expectString)(output["RedirectLocation"]);
7546
+ contents.RedirectLocation = smithy_client_1.expectString(output["RedirectLocation"]);
7547
7547
  }
7548
7548
  if (output["RequesterPays"] !== undefined) {
7549
- contents.RequesterPays = (0, smithy_client_1.parseBoolean)(output["RequesterPays"]);
7549
+ contents.RequesterPays = smithy_client_1.parseBoolean(output["RequesterPays"]);
7550
7550
  }
7551
7551
  if (output["StorageClass"] !== undefined) {
7552
- contents.StorageClass = (0, smithy_client_1.expectString)(output["StorageClass"]);
7552
+ contents.StorageClass = smithy_client_1.expectString(output["StorageClass"]);
7553
7553
  }
7554
7554
  if (output["UnModifiedSinceConstraint"] !== undefined) {
7555
- contents.UnModifiedSinceConstraint = new Date(output["UnModifiedSinceConstraint"]);
7555
+ contents.UnModifiedSinceConstraint = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output["UnModifiedSinceConstraint"]));
7556
7556
  }
7557
7557
  if (output["SSEAwsKmsKeyId"] !== undefined) {
7558
- contents.SSEAwsKmsKeyId = (0, smithy_client_1.expectString)(output["SSEAwsKmsKeyId"]);
7558
+ contents.SSEAwsKmsKeyId = smithy_client_1.expectString(output["SSEAwsKmsKeyId"]);
7559
7559
  }
7560
7560
  if (output["TargetKeyPrefix"] !== undefined) {
7561
- contents.TargetKeyPrefix = (0, smithy_client_1.expectString)(output["TargetKeyPrefix"]);
7561
+ contents.TargetKeyPrefix = smithy_client_1.expectString(output["TargetKeyPrefix"]);
7562
7562
  }
7563
7563
  if (output["ObjectLockLegalHoldStatus"] !== undefined) {
7564
- contents.ObjectLockLegalHoldStatus = (0, smithy_client_1.expectString)(output["ObjectLockLegalHoldStatus"]);
7564
+ contents.ObjectLockLegalHoldStatus = smithy_client_1.expectString(output["ObjectLockLegalHoldStatus"]);
7565
7565
  }
7566
7566
  if (output["ObjectLockMode"] !== undefined) {
7567
- contents.ObjectLockMode = (0, smithy_client_1.expectString)(output["ObjectLockMode"]);
7567
+ contents.ObjectLockMode = smithy_client_1.expectString(output["ObjectLockMode"]);
7568
7568
  }
7569
7569
  if (output["ObjectLockRetainUntilDate"] !== undefined) {
7570
- contents.ObjectLockRetainUntilDate = new Date(output["ObjectLockRetainUntilDate"]);
7570
+ contents.ObjectLockRetainUntilDate = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output["ObjectLockRetainUntilDate"]));
7571
7571
  }
7572
7572
  if (output["BucketKeyEnabled"] !== undefined) {
7573
- contents.BucketKeyEnabled = (0, smithy_client_1.parseBoolean)(output["BucketKeyEnabled"]);
7573
+ contents.BucketKeyEnabled = smithy_client_1.parseBoolean(output["BucketKeyEnabled"]);
7574
7574
  }
7575
7575
  return contents;
7576
7576
  };
@@ -7587,7 +7587,7 @@ const deserializeAws_restXmlS3Grant = (output, context) => {
7587
7587
  contents.Grantee = deserializeAws_restXmlS3Grantee(output["Grantee"], context);
7588
7588
  }
7589
7589
  if (output["Permission"] !== undefined) {
7590
- contents.Permission = (0, smithy_client_1.expectString)(output["Permission"]);
7590
+ contents.Permission = smithy_client_1.expectString(output["Permission"]);
7591
7591
  }
7592
7592
  return contents;
7593
7593
  };
@@ -7598,13 +7598,13 @@ const deserializeAws_restXmlS3Grantee = (output, context) => {
7598
7598
  DisplayName: undefined,
7599
7599
  };
7600
7600
  if (output["TypeIdentifier"] !== undefined) {
7601
- contents.TypeIdentifier = (0, smithy_client_1.expectString)(output["TypeIdentifier"]);
7601
+ contents.TypeIdentifier = smithy_client_1.expectString(output["TypeIdentifier"]);
7602
7602
  }
7603
7603
  if (output["Identifier"] !== undefined) {
7604
- contents.Identifier = (0, smithy_client_1.expectString)(output["Identifier"]);
7604
+ contents.Identifier = smithy_client_1.expectString(output["Identifier"]);
7605
7605
  }
7606
7606
  if (output["DisplayName"] !== undefined) {
7607
- contents.DisplayName = (0, smithy_client_1.expectString)(output["DisplayName"]);
7607
+ contents.DisplayName = smithy_client_1.expectString(output["DisplayName"]);
7608
7608
  }
7609
7609
  return contents;
7610
7610
  };
@@ -7624,10 +7624,10 @@ const deserializeAws_restXmlS3InitiateRestoreObjectOperation = (output, context)
7624
7624
  GlacierJobTier: undefined,
7625
7625
  };
7626
7626
  if (output["ExpirationInDays"] !== undefined) {
7627
- contents.ExpirationInDays = (0, smithy_client_1.strictParseInt32)(output["ExpirationInDays"]);
7627
+ contents.ExpirationInDays = smithy_client_1.strictParseInt32(output["ExpirationInDays"]);
7628
7628
  }
7629
7629
  if (output["GlacierJobTier"] !== undefined) {
7630
- contents.GlacierJobTier = (0, smithy_client_1.expectString)(output["GlacierJobTier"]);
7630
+ contents.GlacierJobTier = smithy_client_1.expectString(output["GlacierJobTier"]);
7631
7631
  }
7632
7632
  return contents;
7633
7633
  };
@@ -7636,7 +7636,7 @@ const deserializeAws_restXmlS3ObjectLockLegalHold = (output, context) => {
7636
7636
  Status: undefined,
7637
7637
  };
7638
7638
  if (output["Status"] !== undefined) {
7639
- contents.Status = (0, smithy_client_1.expectString)(output["Status"]);
7639
+ contents.Status = smithy_client_1.expectString(output["Status"]);
7640
7640
  }
7641
7641
  return contents;
7642
7642
  };
@@ -7655,40 +7655,40 @@ const deserializeAws_restXmlS3ObjectMetadata = (output, context) => {
7655
7655
  SSEAlgorithm: undefined,
7656
7656
  };
7657
7657
  if (output["CacheControl"] !== undefined) {
7658
- contents.CacheControl = (0, smithy_client_1.expectString)(output["CacheControl"]);
7658
+ contents.CacheControl = smithy_client_1.expectString(output["CacheControl"]);
7659
7659
  }
7660
7660
  if (output["ContentDisposition"] !== undefined) {
7661
- contents.ContentDisposition = (0, smithy_client_1.expectString)(output["ContentDisposition"]);
7661
+ contents.ContentDisposition = smithy_client_1.expectString(output["ContentDisposition"]);
7662
7662
  }
7663
7663
  if (output["ContentEncoding"] !== undefined) {
7664
- contents.ContentEncoding = (0, smithy_client_1.expectString)(output["ContentEncoding"]);
7664
+ contents.ContentEncoding = smithy_client_1.expectString(output["ContentEncoding"]);
7665
7665
  }
7666
7666
  if (output["ContentLanguage"] !== undefined) {
7667
- contents.ContentLanguage = (0, smithy_client_1.expectString)(output["ContentLanguage"]);
7667
+ contents.ContentLanguage = smithy_client_1.expectString(output["ContentLanguage"]);
7668
7668
  }
7669
7669
  if (output.UserMetadata === "") {
7670
7670
  contents.UserMetadata = {};
7671
7671
  }
7672
7672
  if (output["UserMetadata"] !== undefined && output["UserMetadata"]["entry"] !== undefined) {
7673
- contents.UserMetadata = deserializeAws_restXmlS3UserMetadata((0, smithy_client_1.getArrayIfSingleItem)(output["UserMetadata"]["entry"]), context);
7673
+ contents.UserMetadata = deserializeAws_restXmlS3UserMetadata(smithy_client_1.getArrayIfSingleItem(output["UserMetadata"]["entry"]), context);
7674
7674
  }
7675
7675
  if (output["ContentLength"] !== undefined) {
7676
- contents.ContentLength = (0, smithy_client_1.strictParseLong)(output["ContentLength"]);
7676
+ contents.ContentLength = smithy_client_1.strictParseLong(output["ContentLength"]);
7677
7677
  }
7678
7678
  if (output["ContentMD5"] !== undefined) {
7679
- contents.ContentMD5 = (0, smithy_client_1.expectString)(output["ContentMD5"]);
7679
+ contents.ContentMD5 = smithy_client_1.expectString(output["ContentMD5"]);
7680
7680
  }
7681
7681
  if (output["ContentType"] !== undefined) {
7682
- contents.ContentType = (0, smithy_client_1.expectString)(output["ContentType"]);
7682
+ contents.ContentType = smithy_client_1.expectString(output["ContentType"]);
7683
7683
  }
7684
7684
  if (output["HttpExpiresDate"] !== undefined) {
7685
- contents.HttpExpiresDate = new Date(output["HttpExpiresDate"]);
7685
+ contents.HttpExpiresDate = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output["HttpExpiresDate"]));
7686
7686
  }
7687
7687
  if (output["RequesterCharged"] !== undefined) {
7688
- contents.RequesterCharged = (0, smithy_client_1.parseBoolean)(output["RequesterCharged"]);
7688
+ contents.RequesterCharged = smithy_client_1.parseBoolean(output["RequesterCharged"]);
7689
7689
  }
7690
7690
  if (output["SSEAlgorithm"] !== undefined) {
7691
- contents.SSEAlgorithm = (0, smithy_client_1.expectString)(output["SSEAlgorithm"]);
7691
+ contents.SSEAlgorithm = smithy_client_1.expectString(output["SSEAlgorithm"]);
7692
7692
  }
7693
7693
  return contents;
7694
7694
  };
@@ -7698,10 +7698,10 @@ const deserializeAws_restXmlS3ObjectOwner = (output, context) => {
7698
7698
  DisplayName: undefined,
7699
7699
  };
7700
7700
  if (output["ID"] !== undefined) {
7701
- contents.ID = (0, smithy_client_1.expectString)(output["ID"]);
7701
+ contents.ID = smithy_client_1.expectString(output["ID"]);
7702
7702
  }
7703
7703
  if (output["DisplayName"] !== undefined) {
7704
- contents.DisplayName = (0, smithy_client_1.expectString)(output["DisplayName"]);
7704
+ contents.DisplayName = smithy_client_1.expectString(output["DisplayName"]);
7705
7705
  }
7706
7706
  return contents;
7707
7707
  };
@@ -7711,10 +7711,10 @@ const deserializeAws_restXmlS3Retention = (output, context) => {
7711
7711
  Mode: undefined,
7712
7712
  };
7713
7713
  if (output["RetainUntilDate"] !== undefined) {
7714
- contents.RetainUntilDate = new Date(output["RetainUntilDate"]);
7714
+ contents.RetainUntilDate = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output["RetainUntilDate"]));
7715
7715
  }
7716
7716
  if (output["Mode"] !== undefined) {
7717
- contents.Mode = (0, smithy_client_1.expectString)(output["Mode"]);
7717
+ contents.Mode = smithy_client_1.expectString(output["Mode"]);
7718
7718
  }
7719
7719
  return contents;
7720
7720
  };
@@ -7742,7 +7742,7 @@ const deserializeAws_restXmlS3SetObjectRetentionOperation = (output, context) =>
7742
7742
  Retention: undefined,
7743
7743
  };
7744
7744
  if (output["BypassGovernanceRetention"] !== undefined) {
7745
- contents.BypassGovernanceRetention = (0, smithy_client_1.parseBoolean)(output["BypassGovernanceRetention"]);
7745
+ contents.BypassGovernanceRetention = smithy_client_1.parseBoolean(output["BypassGovernanceRetention"]);
7746
7746
  }
7747
7747
  if (output["Retention"] !== undefined) {
7748
7748
  contents.Retention = deserializeAws_restXmlS3Retention(output["Retention"], context);
@@ -7757,7 +7757,7 @@ const deserializeAws_restXmlS3SetObjectTaggingOperation = (output, context) => {
7757
7757
  contents.TagSet = [];
7758
7758
  }
7759
7759
  if (output["TagSet"] !== undefined && output["TagSet"]["member"] !== undefined) {
7760
- contents.TagSet = deserializeAws_restXmlS3TagSet((0, smithy_client_1.getArrayIfSingleItem)(output["TagSet"]["member"]), context);
7760
+ contents.TagSet = deserializeAws_restXmlS3TagSet(smithy_client_1.getArrayIfSingleItem(output["TagSet"]["member"]), context);
7761
7761
  }
7762
7762
  return contents;
7763
7763
  };
@@ -7767,10 +7767,10 @@ const deserializeAws_restXmlS3Tag = (output, context) => {
7767
7767
  Value: undefined,
7768
7768
  };
7769
7769
  if (output["Key"] !== undefined) {
7770
- contents.Key = (0, smithy_client_1.expectString)(output["Key"]);
7770
+ contents.Key = smithy_client_1.expectString(output["Key"]);
7771
7771
  }
7772
7772
  if (output["Value"] !== undefined) {
7773
- contents.Value = (0, smithy_client_1.expectString)(output["Value"]);
7773
+ contents.Value = smithy_client_1.expectString(output["Value"]);
7774
7774
  }
7775
7775
  return contents;
7776
7776
  };
@@ -7791,7 +7791,7 @@ const deserializeAws_restXmlS3UserMetadata = (output, context) => {
7791
7791
  }
7792
7792
  return {
7793
7793
  ...acc,
7794
- [pair["key"]]: (0, smithy_client_1.expectString)(pair["value"]),
7794
+ [pair["key"]]: smithy_client_1.expectString(pair["value"]),
7795
7795
  };
7796
7796
  }, {});
7797
7797
  };
@@ -7802,13 +7802,13 @@ const deserializeAws_restXmlSelectionCriteria = (output, context) => {
7802
7802
  MinStorageBytesPercentage: undefined,
7803
7803
  };
7804
7804
  if (output["Delimiter"] !== undefined) {
7805
- contents.Delimiter = (0, smithy_client_1.expectString)(output["Delimiter"]);
7805
+ contents.Delimiter = smithy_client_1.expectString(output["Delimiter"]);
7806
7806
  }
7807
7807
  if (output["MaxDepth"] !== undefined) {
7808
- contents.MaxDepth = (0, smithy_client_1.strictParseInt32)(output["MaxDepth"]);
7808
+ contents.MaxDepth = smithy_client_1.strictParseInt32(output["MaxDepth"]);
7809
7809
  }
7810
7810
  if (output["MinStorageBytesPercentage"] !== undefined) {
7811
- contents.MinStorageBytesPercentage = (0, smithy_client_1.strictParseFloat)(output["MinStorageBytesPercentage"]);
7811
+ contents.MinStorageBytesPercentage = smithy_client_1.strictParseFloat(output["MinStorageBytesPercentage"]);
7812
7812
  }
7813
7813
  return contents;
7814
7814
  };
@@ -7817,7 +7817,7 @@ const deserializeAws_restXmlSSEKMS = (output, context) => {
7817
7817
  KeyId: undefined,
7818
7818
  };
7819
7819
  if (output["KeyId"] !== undefined) {
7820
- contents.KeyId = (0, smithy_client_1.expectString)(output["KeyId"]);
7820
+ contents.KeyId = smithy_client_1.expectString(output["KeyId"]);
7821
7821
  }
7822
7822
  return contents;
7823
7823
  };
@@ -7830,7 +7830,7 @@ const deserializeAws_restXmlStorageLensAwsOrg = (output, context) => {
7830
7830
  Arn: undefined,
7831
7831
  };
7832
7832
  if (output["Arn"] !== undefined) {
7833
- contents.Arn = (0, smithy_client_1.expectString)(output["Arn"]);
7833
+ contents.Arn = smithy_client_1.expectString(output["Arn"]);
7834
7834
  }
7835
7835
  return contents;
7836
7836
  };
@@ -7846,7 +7846,7 @@ const deserializeAws_restXmlStorageLensConfiguration = (output, context) => {
7846
7846
  StorageLensArn: undefined,
7847
7847
  };
7848
7848
  if (output["Id"] !== undefined) {
7849
- contents.Id = (0, smithy_client_1.expectString)(output["Id"]);
7849
+ contents.Id = smithy_client_1.expectString(output["Id"]);
7850
7850
  }
7851
7851
  if (output["AccountLevel"] !== undefined) {
7852
7852
  contents.AccountLevel = deserializeAws_restXmlAccountLevel(output["AccountLevel"], context);
@@ -7861,13 +7861,13 @@ const deserializeAws_restXmlStorageLensConfiguration = (output, context) => {
7861
7861
  contents.DataExport = deserializeAws_restXmlStorageLensDataExport(output["DataExport"], context);
7862
7862
  }
7863
7863
  if (output["IsEnabled"] !== undefined) {
7864
- contents.IsEnabled = (0, smithy_client_1.parseBoolean)(output["IsEnabled"]);
7864
+ contents.IsEnabled = smithy_client_1.parseBoolean(output["IsEnabled"]);
7865
7865
  }
7866
7866
  if (output["AwsOrg"] !== undefined) {
7867
7867
  contents.AwsOrg = deserializeAws_restXmlStorageLensAwsOrg(output["AwsOrg"], context);
7868
7868
  }
7869
7869
  if (output["StorageLensArn"] !== undefined) {
7870
- contents.StorageLensArn = (0, smithy_client_1.expectString)(output["StorageLensArn"]);
7870
+ contents.StorageLensArn = smithy_client_1.expectString(output["StorageLensArn"]);
7871
7871
  }
7872
7872
  return contents;
7873
7873
  };
@@ -7909,10 +7909,10 @@ const deserializeAws_restXmlStorageLensTag = (output, context) => {
7909
7909
  Value: undefined,
7910
7910
  };
7911
7911
  if (output["Key"] !== undefined) {
7912
- contents.Key = (0, smithy_client_1.expectString)(output["Key"]);
7912
+ contents.Key = smithy_client_1.expectString(output["Key"]);
7913
7913
  }
7914
7914
  if (output["Value"] !== undefined) {
7915
- contents.Value = (0, smithy_client_1.expectString)(output["Value"]);
7915
+ contents.Value = smithy_client_1.expectString(output["Value"]);
7916
7916
  }
7917
7917
  return contents;
7918
7918
  };
@@ -7933,13 +7933,13 @@ const deserializeAws_restXmlTransition = (output, context) => {
7933
7933
  StorageClass: undefined,
7934
7934
  };
7935
7935
  if (output["Date"] !== undefined) {
7936
- contents.Date = new Date(output["Date"]);
7936
+ contents.Date = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output["Date"]));
7937
7937
  }
7938
7938
  if (output["Days"] !== undefined) {
7939
- contents.Days = (0, smithy_client_1.strictParseInt32)(output["Days"]);
7939
+ contents.Days = smithy_client_1.strictParseInt32(output["Days"]);
7940
7940
  }
7941
7941
  if (output["StorageClass"] !== undefined) {
7942
- contents.StorageClass = (0, smithy_client_1.expectString)(output["StorageClass"]);
7942
+ contents.StorageClass = smithy_client_1.expectString(output["StorageClass"]);
7943
7943
  }
7944
7944
  return contents;
7945
7945
  };
@@ -7958,7 +7958,7 @@ const deserializeAws_restXmlVpcConfiguration = (output, context) => {
7958
7958
  VpcId: undefined,
7959
7959
  };
7960
7960
  if (output["VpcId"] !== undefined) {
7961
- contents.VpcId = (0, smithy_client_1.expectString)(output["VpcId"]);
7961
+ contents.VpcId = smithy_client_1.expectString(output["VpcId"]);
7962
7962
  }
7963
7963
  return contents;
7964
7964
  };
@@ -7987,12 +7987,12 @@ const isSerializableHeaderValue = (value) => value !== undefined &&
7987
7987
  (!Object.getOwnPropertyNames(value).includes("size") || value.size != 0);
7988
7988
  const parseBody = (streamBody, context) => collectBodyString(streamBody, context).then((encoded) => {
7989
7989
  if (encoded.length) {
7990
- const parsedObj = (0, fast_xml_parser_1.parse)(encoded, {
7990
+ const parsedObj = fast_xml_parser_1.parse(encoded, {
7991
7991
  attributeNamePrefix: "",
7992
7992
  ignoreAttributes: false,
7993
7993
  parseNodeValue: false,
7994
7994
  trimValues: false,
7995
- tagValueProcessor: (val) => (val.trim() === "" && val.includes("\n") ? "" : (0, entities_1.decodeHTML)(val)),
7995
+ tagValueProcessor: (val) => (val.trim() === "" && val.includes("\n") ? "" : entities_1.decodeHTML(val)),
7996
7996
  });
7997
7997
  const textNodeName = "#text";
7998
7998
  const key = Object.keys(parsedObj)[0];
@@ -8001,7 +8001,7 @@ const parseBody = (streamBody, context) => collectBodyString(streamBody, context
8001
8001
  parsedObjToReturn[key] = parsedObjToReturn[textNodeName];
8002
8002
  delete parsedObjToReturn[textNodeName];
8003
8003
  }
8004
- return (0, smithy_client_1.getValueFromTextNode)(parsedObjToReturn);
8004
+ return smithy_client_1.getValueFromTextNode(parsedObjToReturn);
8005
8005
  }
8006
8006
  return {};
8007
8007
  });