@aws-sdk/client-cloudwatch-events 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 (252) hide show
  1. package/CHANGELOG.md +35 -0
  2. package/dist/cjs/CloudWatchEventsClient.js +13 -13
  3. package/dist/cjs/CloudWatchEventsClient.js.map +1 -1
  4. package/dist/cjs/commands/ActivateEventSourceCommand.js +3 -3
  5. package/dist/cjs/commands/ActivateEventSourceCommand.js.map +1 -1
  6. package/dist/cjs/commands/CancelReplayCommand.js +3 -3
  7. package/dist/cjs/commands/CancelReplayCommand.js.map +1 -1
  8. package/dist/cjs/commands/CreateApiDestinationCommand.js +3 -3
  9. package/dist/cjs/commands/CreateApiDestinationCommand.js.map +1 -1
  10. package/dist/cjs/commands/CreateArchiveCommand.js +3 -3
  11. package/dist/cjs/commands/CreateArchiveCommand.js.map +1 -1
  12. package/dist/cjs/commands/CreateConnectionCommand.js +3 -3
  13. package/dist/cjs/commands/CreateConnectionCommand.js.map +1 -1
  14. package/dist/cjs/commands/CreateEventBusCommand.js +3 -3
  15. package/dist/cjs/commands/CreateEventBusCommand.js.map +1 -1
  16. package/dist/cjs/commands/CreatePartnerEventSourceCommand.js +3 -3
  17. package/dist/cjs/commands/CreatePartnerEventSourceCommand.js.map +1 -1
  18. package/dist/cjs/commands/DeactivateEventSourceCommand.js +3 -3
  19. package/dist/cjs/commands/DeactivateEventSourceCommand.js.map +1 -1
  20. package/dist/cjs/commands/DeauthorizeConnectionCommand.js +3 -3
  21. package/dist/cjs/commands/DeauthorizeConnectionCommand.js.map +1 -1
  22. package/dist/cjs/commands/DeleteApiDestinationCommand.js +3 -3
  23. package/dist/cjs/commands/DeleteApiDestinationCommand.js.map +1 -1
  24. package/dist/cjs/commands/DeleteArchiveCommand.js +3 -3
  25. package/dist/cjs/commands/DeleteArchiveCommand.js.map +1 -1
  26. package/dist/cjs/commands/DeleteConnectionCommand.js +3 -3
  27. package/dist/cjs/commands/DeleteConnectionCommand.js.map +1 -1
  28. package/dist/cjs/commands/DeleteEventBusCommand.js +3 -3
  29. package/dist/cjs/commands/DeleteEventBusCommand.js.map +1 -1
  30. package/dist/cjs/commands/DeletePartnerEventSourceCommand.js +3 -3
  31. package/dist/cjs/commands/DeletePartnerEventSourceCommand.js.map +1 -1
  32. package/dist/cjs/commands/DeleteRuleCommand.js +3 -3
  33. package/dist/cjs/commands/DeleteRuleCommand.js.map +1 -1
  34. package/dist/cjs/commands/DescribeApiDestinationCommand.js +3 -3
  35. package/dist/cjs/commands/DescribeApiDestinationCommand.js.map +1 -1
  36. package/dist/cjs/commands/DescribeArchiveCommand.js +3 -3
  37. package/dist/cjs/commands/DescribeArchiveCommand.js.map +1 -1
  38. package/dist/cjs/commands/DescribeConnectionCommand.js +3 -3
  39. package/dist/cjs/commands/DescribeConnectionCommand.js.map +1 -1
  40. package/dist/cjs/commands/DescribeEventBusCommand.js +3 -3
  41. package/dist/cjs/commands/DescribeEventBusCommand.js.map +1 -1
  42. package/dist/cjs/commands/DescribeEventSourceCommand.js +3 -3
  43. package/dist/cjs/commands/DescribeEventSourceCommand.js.map +1 -1
  44. package/dist/cjs/commands/DescribePartnerEventSourceCommand.js +3 -3
  45. package/dist/cjs/commands/DescribePartnerEventSourceCommand.js.map +1 -1
  46. package/dist/cjs/commands/DescribeReplayCommand.js +3 -3
  47. package/dist/cjs/commands/DescribeReplayCommand.js.map +1 -1
  48. package/dist/cjs/commands/DescribeRuleCommand.js +3 -3
  49. package/dist/cjs/commands/DescribeRuleCommand.js.map +1 -1
  50. package/dist/cjs/commands/DisableRuleCommand.js +3 -3
  51. package/dist/cjs/commands/DisableRuleCommand.js.map +1 -1
  52. package/dist/cjs/commands/EnableRuleCommand.js +3 -3
  53. package/dist/cjs/commands/EnableRuleCommand.js.map +1 -1
  54. package/dist/cjs/commands/ListApiDestinationsCommand.js +3 -3
  55. package/dist/cjs/commands/ListApiDestinationsCommand.js.map +1 -1
  56. package/dist/cjs/commands/ListArchivesCommand.js +3 -3
  57. package/dist/cjs/commands/ListArchivesCommand.js.map +1 -1
  58. package/dist/cjs/commands/ListConnectionsCommand.js +3 -3
  59. package/dist/cjs/commands/ListConnectionsCommand.js.map +1 -1
  60. package/dist/cjs/commands/ListEventBusesCommand.js +3 -3
  61. package/dist/cjs/commands/ListEventBusesCommand.js.map +1 -1
  62. package/dist/cjs/commands/ListEventSourcesCommand.js +3 -3
  63. package/dist/cjs/commands/ListEventSourcesCommand.js.map +1 -1
  64. package/dist/cjs/commands/ListPartnerEventSourceAccountsCommand.js +3 -3
  65. package/dist/cjs/commands/ListPartnerEventSourceAccountsCommand.js.map +1 -1
  66. package/dist/cjs/commands/ListPartnerEventSourcesCommand.js +3 -3
  67. package/dist/cjs/commands/ListPartnerEventSourcesCommand.js.map +1 -1
  68. package/dist/cjs/commands/ListReplaysCommand.js +3 -3
  69. package/dist/cjs/commands/ListReplaysCommand.js.map +1 -1
  70. package/dist/cjs/commands/ListRuleNamesByTargetCommand.js +3 -3
  71. package/dist/cjs/commands/ListRuleNamesByTargetCommand.js.map +1 -1
  72. package/dist/cjs/commands/ListRulesCommand.js +3 -3
  73. package/dist/cjs/commands/ListRulesCommand.js.map +1 -1
  74. package/dist/cjs/commands/ListTagsForResourceCommand.js +3 -3
  75. package/dist/cjs/commands/ListTagsForResourceCommand.js.map +1 -1
  76. package/dist/cjs/commands/ListTargetsByRuleCommand.js +3 -3
  77. package/dist/cjs/commands/ListTargetsByRuleCommand.js.map +1 -1
  78. package/dist/cjs/commands/PutEventsCommand.js +3 -3
  79. package/dist/cjs/commands/PutEventsCommand.js.map +1 -1
  80. package/dist/cjs/commands/PutPartnerEventsCommand.js +3 -3
  81. package/dist/cjs/commands/PutPartnerEventsCommand.js.map +1 -1
  82. package/dist/cjs/commands/PutPermissionCommand.js +3 -3
  83. package/dist/cjs/commands/PutPermissionCommand.js.map +1 -1
  84. package/dist/cjs/commands/PutRuleCommand.js +3 -3
  85. package/dist/cjs/commands/PutRuleCommand.js.map +1 -1
  86. package/dist/cjs/commands/PutTargetsCommand.js +3 -3
  87. package/dist/cjs/commands/PutTargetsCommand.js.map +1 -1
  88. package/dist/cjs/commands/RemovePermissionCommand.js +3 -3
  89. package/dist/cjs/commands/RemovePermissionCommand.js.map +1 -1
  90. package/dist/cjs/commands/RemoveTargetsCommand.js +3 -3
  91. package/dist/cjs/commands/RemoveTargetsCommand.js.map +1 -1
  92. package/dist/cjs/commands/StartReplayCommand.js +3 -3
  93. package/dist/cjs/commands/StartReplayCommand.js.map +1 -1
  94. package/dist/cjs/commands/TagResourceCommand.js +3 -3
  95. package/dist/cjs/commands/TagResourceCommand.js.map +1 -1
  96. package/dist/cjs/commands/TestEventPatternCommand.js +3 -3
  97. package/dist/cjs/commands/TestEventPatternCommand.js.map +1 -1
  98. package/dist/cjs/commands/UntagResourceCommand.js +3 -3
  99. package/dist/cjs/commands/UntagResourceCommand.js.map +1 -1
  100. package/dist/cjs/commands/UpdateApiDestinationCommand.js +3 -3
  101. package/dist/cjs/commands/UpdateApiDestinationCommand.js.map +1 -1
  102. package/dist/cjs/commands/UpdateArchiveCommand.js +3 -3
  103. package/dist/cjs/commands/UpdateArchiveCommand.js.map +1 -1
  104. package/dist/cjs/commands/UpdateConnectionCommand.js +3 -3
  105. package/dist/cjs/commands/UpdateConnectionCommand.js.map +1 -1
  106. package/dist/cjs/endpoints.js +1 -1
  107. package/dist/cjs/endpoints.js.map +1 -1
  108. package/dist/cjs/index.js +54 -54
  109. package/dist/cjs/index.js.map +1 -1
  110. package/dist/cjs/models/index.js +1 -1
  111. package/dist/cjs/models/index.js.map +1 -1
  112. package/dist/cjs/package.json +39 -39
  113. package/dist/cjs/protocols/Aws_json1_1.js +271 -271
  114. package/dist/cjs/protocols/Aws_json1_1.js.map +1 -1
  115. package/dist/cjs/runtimeConfig.browser.js +4 -4
  116. package/dist/cjs/runtimeConfig.browser.js.map +1 -1
  117. package/dist/cjs/runtimeConfig.js +8 -8
  118. package/dist/cjs/runtimeConfig.js.map +1 -1
  119. package/dist/cjs/runtimeConfig.native.js +1 -1
  120. package/dist/cjs/runtimeConfig.native.js.map +1 -1
  121. package/dist/es/CloudWatchEvents.js +1 -24
  122. package/dist/es/CloudWatchEvents.js.map +1 -1
  123. package/dist/es/CloudWatchEventsClient.js +1 -29
  124. package/dist/es/CloudWatchEventsClient.js.map +1 -1
  125. package/dist/es/commands/ActivateEventSourceCommand.js +2 -28
  126. package/dist/es/commands/ActivateEventSourceCommand.js.map +1 -1
  127. package/dist/es/commands/CancelReplayCommand.js +2 -27
  128. package/dist/es/commands/CancelReplayCommand.js.map +1 -1
  129. package/dist/es/commands/CreateApiDestinationCommand.js +2 -28
  130. package/dist/es/commands/CreateApiDestinationCommand.js.map +1 -1
  131. package/dist/es/commands/CreateArchiveCommand.js +2 -31
  132. package/dist/es/commands/CreateArchiveCommand.js.map +1 -1
  133. package/dist/es/commands/CreateConnectionCommand.js +2 -28
  134. package/dist/es/commands/CreateConnectionCommand.js.map +1 -1
  135. package/dist/es/commands/CreateEventBusCommand.js +2 -29
  136. package/dist/es/commands/CreateEventBusCommand.js.map +1 -1
  137. package/dist/es/commands/CreatePartnerEventSourceCommand.js +2 -50
  138. package/dist/es/commands/CreatePartnerEventSourceCommand.js.map +1 -1
  139. package/dist/es/commands/DeactivateEventSourceCommand.js +2 -31
  140. package/dist/es/commands/DeactivateEventSourceCommand.js.map +1 -1
  141. package/dist/es/commands/DeauthorizeConnectionCommand.js +2 -28
  142. package/dist/es/commands/DeauthorizeConnectionCommand.js.map +1 -1
  143. package/dist/es/commands/DeleteApiDestinationCommand.js +2 -27
  144. package/dist/es/commands/DeleteApiDestinationCommand.js.map +1 -1
  145. package/dist/es/commands/DeleteArchiveCommand.js +2 -27
  146. package/dist/es/commands/DeleteArchiveCommand.js.map +1 -1
  147. package/dist/es/commands/DeleteConnectionCommand.js +2 -27
  148. package/dist/es/commands/DeleteConnectionCommand.js.map +1 -1
  149. package/dist/es/commands/DeleteEventBusCommand.js +2 -28
  150. package/dist/es/commands/DeleteEventBusCommand.js.map +1 -1
  151. package/dist/es/commands/DeletePartnerEventSourceCommand.js +2 -31
  152. package/dist/es/commands/DeletePartnerEventSourceCommand.js.map +1 -1
  153. package/dist/es/commands/DeleteRuleCommand.js +2 -40
  154. package/dist/es/commands/DeleteRuleCommand.js.map +1 -1
  155. package/dist/es/commands/DescribeApiDestinationCommand.js +2 -27
  156. package/dist/es/commands/DescribeApiDestinationCommand.js.map +1 -1
  157. package/dist/es/commands/DescribeArchiveCommand.js +2 -27
  158. package/dist/es/commands/DescribeArchiveCommand.js.map +1 -1
  159. package/dist/es/commands/DescribeConnectionCommand.js +2 -27
  160. package/dist/es/commands/DescribeConnectionCommand.js.map +1 -1
  161. package/dist/es/commands/DescribeEventBusCommand.js +2 -33
  162. package/dist/es/commands/DescribeEventBusCommand.js.map +1 -1
  163. package/dist/es/commands/DescribeEventSourceCommand.js +2 -28
  164. package/dist/es/commands/DescribeEventSourceCommand.js.map +1 -1
  165. package/dist/es/commands/DescribePartnerEventSourceCommand.js +2 -30
  166. package/dist/es/commands/DescribePartnerEventSourceCommand.js.map +1 -1
  167. package/dist/es/commands/DescribeReplayCommand.js +2 -35
  168. package/dist/es/commands/DescribeReplayCommand.js.map +1 -1
  169. package/dist/es/commands/DescribeRuleCommand.js +2 -29
  170. package/dist/es/commands/DescribeRuleCommand.js.map +1 -1
  171. package/dist/es/commands/DisableRuleCommand.js +2 -31
  172. package/dist/es/commands/DisableRuleCommand.js.map +1 -1
  173. package/dist/es/commands/EnableRuleCommand.js +2 -30
  174. package/dist/es/commands/EnableRuleCommand.js.map +1 -1
  175. package/dist/es/commands/ListApiDestinationsCommand.js +2 -27
  176. package/dist/es/commands/ListApiDestinationsCommand.js.map +1 -1
  177. package/dist/es/commands/ListArchivesCommand.js +2 -28
  178. package/dist/es/commands/ListArchivesCommand.js.map +1 -1
  179. package/dist/es/commands/ListConnectionsCommand.js +2 -27
  180. package/dist/es/commands/ListConnectionsCommand.js.map +1 -1
  181. package/dist/es/commands/ListEventBusesCommand.js +2 -28
  182. package/dist/es/commands/ListEventBusesCommand.js.map +1 -1
  183. package/dist/es/commands/ListEventSourcesCommand.js +2 -28
  184. package/dist/es/commands/ListEventSourcesCommand.js.map +1 -1
  185. package/dist/es/commands/ListPartnerEventSourceAccountsCommand.js +2 -29
  186. package/dist/es/commands/ListPartnerEventSourceAccountsCommand.js.map +1 -1
  187. package/dist/es/commands/ListPartnerEventSourcesCommand.js +2 -28
  188. package/dist/es/commands/ListPartnerEventSourcesCommand.js.map +1 -1
  189. package/dist/es/commands/ListReplaysCommand.js +2 -28
  190. package/dist/es/commands/ListReplaysCommand.js.map +1 -1
  191. package/dist/es/commands/ListRuleNamesByTargetCommand.js +2 -28
  192. package/dist/es/commands/ListRuleNamesByTargetCommand.js.map +1 -1
  193. package/dist/es/commands/ListRulesCommand.js +2 -31
  194. package/dist/es/commands/ListRulesCommand.js.map +1 -1
  195. package/dist/es/commands/ListTagsForResourceCommand.js +2 -28
  196. package/dist/es/commands/ListTagsForResourceCommand.js.map +1 -1
  197. package/dist/es/commands/ListTargetsByRuleCommand.js +2 -27
  198. package/dist/es/commands/ListTargetsByRuleCommand.js.map +1 -1
  199. package/dist/es/commands/PutEventsCommand.js +2 -27
  200. package/dist/es/commands/PutEventsCommand.js.map +1 -1
  201. package/dist/es/commands/PutPartnerEventsCommand.js +2 -28
  202. package/dist/es/commands/PutPartnerEventsCommand.js.map +1 -1
  203. package/dist/es/commands/PutPermissionCommand.js +2 -46
  204. package/dist/es/commands/PutPermissionCommand.js.map +1 -1
  205. package/dist/es/commands/PutRuleCommand.js +2 -73
  206. package/dist/es/commands/PutRuleCommand.js.map +1 -1
  207. package/dist/es/commands/PutTargetsCommand.js +2 -192
  208. package/dist/es/commands/PutTargetsCommand.js.map +1 -1
  209. package/dist/es/commands/RemovePermissionCommand.js +2 -30
  210. package/dist/es/commands/RemovePermissionCommand.js.map +1 -1
  211. package/dist/es/commands/RemoveTargetsCommand.js +2 -35
  212. package/dist/es/commands/RemoveTargetsCommand.js.map +1 -1
  213. package/dist/es/commands/StartReplayCommand.js +2 -35
  214. package/dist/es/commands/StartReplayCommand.js.map +1 -1
  215. package/dist/es/commands/TagResourceCommand.js +2 -37
  216. package/dist/es/commands/TagResourceCommand.js.map +1 -1
  217. package/dist/es/commands/TestEventPatternCommand.js +2 -31
  218. package/dist/es/commands/TestEventPatternCommand.js.map +1 -1
  219. package/dist/es/commands/UntagResourceCommand.js +2 -28
  220. package/dist/es/commands/UntagResourceCommand.js.map +1 -1
  221. package/dist/es/commands/UpdateApiDestinationCommand.js +2 -27
  222. package/dist/es/commands/UpdateApiDestinationCommand.js.map +1 -1
  223. package/dist/es/commands/UpdateArchiveCommand.js +2 -27
  224. package/dist/es/commands/UpdateArchiveCommand.js.map +1 -1
  225. package/dist/es/commands/UpdateConnectionCommand.js +2 -27
  226. package/dist/es/commands/UpdateConnectionCommand.js.map +1 -1
  227. package/dist/es/endpoints.js +1 -1
  228. package/dist/es/endpoints.js.map +1 -1
  229. package/dist/es/models/models_0.js +0 -486
  230. package/dist/es/models/models_0.js.map +1 -1
  231. package/dist/es/package.json +39 -39
  232. package/dist/es/protocols/Aws_json1_1.js +1069 -1074
  233. package/dist/es/protocols/Aws_json1_1.js.map +1 -1
  234. package/dist/es/runtimeConfig.browser.js +0 -3
  235. package/dist/es/runtimeConfig.browser.js.map +1 -1
  236. package/dist/es/runtimeConfig.js +0 -3
  237. package/dist/es/runtimeConfig.js.map +1 -1
  238. package/dist/es/runtimeConfig.native.js +0 -3
  239. package/dist/es/runtimeConfig.native.js.map +1 -1
  240. package/dist/es/runtimeConfig.shared.js +0 -3
  241. package/dist/es/runtimeConfig.shared.js.map +1 -1
  242. package/dist/types/runtimeConfig.browser.d.ts +1 -0
  243. package/dist/types/runtimeConfig.d.ts +3 -0
  244. package/dist/types/runtimeConfig.native.d.ts +1 -0
  245. package/dist/types/ts3.4/runtimeConfig.browser.d.ts +1 -0
  246. package/dist/types/ts3.4/runtimeConfig.d.ts +3 -0
  247. package/dist/types/ts3.4/runtimeConfig.native.d.ts +1 -0
  248. package/package.json +39 -39
  249. package/protocols/Aws_json1_1.ts +49 -46
  250. package/tsconfig.es.json +0 -2
  251. package/tsconfig.json +3 -5
  252. package/tsconfig.types.json +8 -0
@@ -4933,19 +4933,19 @@ const serializeAws_json1_1UpdateConnectionRequest = (input, context) => {
4933
4933
  };
4934
4934
  const deserializeAws_json1_1ApiDestination = (output, context) => {
4935
4935
  return {
4936
- ApiDestinationArn: (0, smithy_client_1.expectString)(output.ApiDestinationArn),
4937
- ApiDestinationState: (0, smithy_client_1.expectString)(output.ApiDestinationState),
4938
- ConnectionArn: (0, smithy_client_1.expectString)(output.ConnectionArn),
4936
+ ApiDestinationArn: smithy_client_1.expectString(output.ApiDestinationArn),
4937
+ ApiDestinationState: smithy_client_1.expectString(output.ApiDestinationState),
4938
+ ConnectionArn: smithy_client_1.expectString(output.ConnectionArn),
4939
4939
  CreationTime: output.CreationTime !== undefined && output.CreationTime !== null
4940
- ? new Date(Math.round(output.CreationTime * 1000))
4940
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.CreationTime)))
4941
4941
  : undefined,
4942
- HttpMethod: (0, smithy_client_1.expectString)(output.HttpMethod),
4943
- InvocationEndpoint: (0, smithy_client_1.expectString)(output.InvocationEndpoint),
4944
- InvocationRateLimitPerSecond: (0, smithy_client_1.expectInt32)(output.InvocationRateLimitPerSecond),
4942
+ HttpMethod: smithy_client_1.expectString(output.HttpMethod),
4943
+ InvocationEndpoint: smithy_client_1.expectString(output.InvocationEndpoint),
4944
+ InvocationRateLimitPerSecond: smithy_client_1.expectInt32(output.InvocationRateLimitPerSecond),
4945
4945
  LastModifiedTime: output.LastModifiedTime !== undefined && output.LastModifiedTime !== null
4946
- ? new Date(Math.round(output.LastModifiedTime * 1000))
4946
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.LastModifiedTime)))
4947
4947
  : undefined,
4948
- Name: (0, smithy_client_1.expectString)(output.Name),
4948
+ Name: smithy_client_1.expectString(output.Name),
4949
4949
  };
4950
4950
  };
4951
4951
  const deserializeAws_json1_1ApiDestinationResponseList = (output, context) => {
@@ -4960,16 +4960,16 @@ const deserializeAws_json1_1ApiDestinationResponseList = (output, context) => {
4960
4960
  };
4961
4961
  const deserializeAws_json1_1Archive = (output, context) => {
4962
4962
  return {
4963
- ArchiveName: (0, smithy_client_1.expectString)(output.ArchiveName),
4963
+ ArchiveName: smithy_client_1.expectString(output.ArchiveName),
4964
4964
  CreationTime: output.CreationTime !== undefined && output.CreationTime !== null
4965
- ? new Date(Math.round(output.CreationTime * 1000))
4965
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.CreationTime)))
4966
4966
  : undefined,
4967
- EventCount: (0, smithy_client_1.expectLong)(output.EventCount),
4968
- EventSourceArn: (0, smithy_client_1.expectString)(output.EventSourceArn),
4969
- RetentionDays: (0, smithy_client_1.expectInt32)(output.RetentionDays),
4970
- SizeBytes: (0, smithy_client_1.expectLong)(output.SizeBytes),
4971
- State: (0, smithy_client_1.expectString)(output.State),
4972
- StateReason: (0, smithy_client_1.expectString)(output.StateReason),
4967
+ EventCount: smithy_client_1.expectLong(output.EventCount),
4968
+ EventSourceArn: smithy_client_1.expectString(output.EventSourceArn),
4969
+ RetentionDays: smithy_client_1.expectInt32(output.RetentionDays),
4970
+ SizeBytes: smithy_client_1.expectLong(output.SizeBytes),
4971
+ State: smithy_client_1.expectString(output.State),
4972
+ StateReason: smithy_client_1.expectString(output.StateReason),
4973
4973
  };
4974
4974
  };
4975
4975
  const deserializeAws_json1_1ArchiveResponseList = (output, context) => {
@@ -4984,7 +4984,7 @@ const deserializeAws_json1_1ArchiveResponseList = (output, context) => {
4984
4984
  };
4985
4985
  const deserializeAws_json1_1AwsVpcConfiguration = (output, context) => {
4986
4986
  return {
4987
- AssignPublicIp: (0, smithy_client_1.expectString)(output.AssignPublicIp),
4987
+ AssignPublicIp: smithy_client_1.expectString(output.AssignPublicIp),
4988
4988
  SecurityGroups: output.SecurityGroups !== undefined && output.SecurityGroups !== null
4989
4989
  ? deserializeAws_json1_1StringList(output.SecurityGroups, context)
4990
4990
  : undefined,
@@ -4995,7 +4995,7 @@ const deserializeAws_json1_1AwsVpcConfiguration = (output, context) => {
4995
4995
  };
4996
4996
  const deserializeAws_json1_1BatchArrayProperties = (output, context) => {
4997
4997
  return {
4998
- Size: (0, smithy_client_1.expectInt32)(output.Size),
4998
+ Size: smithy_client_1.expectInt32(output.Size),
4999
4999
  };
5000
5000
  };
5001
5001
  const deserializeAws_json1_1BatchParameters = (output, context) => {
@@ -5003,8 +5003,8 @@ const deserializeAws_json1_1BatchParameters = (output, context) => {
5003
5003
  ArrayProperties: output.ArrayProperties !== undefined && output.ArrayProperties !== null
5004
5004
  ? deserializeAws_json1_1BatchArrayProperties(output.ArrayProperties, context)
5005
5005
  : undefined,
5006
- JobDefinition: (0, smithy_client_1.expectString)(output.JobDefinition),
5007
- JobName: (0, smithy_client_1.expectString)(output.JobName),
5006
+ JobDefinition: smithy_client_1.expectString(output.JobDefinition),
5007
+ JobName: smithy_client_1.expectString(output.JobName),
5008
5008
  RetryStrategy: output.RetryStrategy !== undefined && output.RetryStrategy !== null
5009
5009
  ? deserializeAws_json1_1BatchRetryStrategy(output.RetryStrategy, context)
5010
5010
  : undefined,
@@ -5012,14 +5012,14 @@ const deserializeAws_json1_1BatchParameters = (output, context) => {
5012
5012
  };
5013
5013
  const deserializeAws_json1_1BatchRetryStrategy = (output, context) => {
5014
5014
  return {
5015
- Attempts: (0, smithy_client_1.expectInt32)(output.Attempts),
5015
+ Attempts: smithy_client_1.expectInt32(output.Attempts),
5016
5016
  };
5017
5017
  };
5018
5018
  const deserializeAws_json1_1CancelReplayResponse = (output, context) => {
5019
5019
  return {
5020
- ReplayArn: (0, smithy_client_1.expectString)(output.ReplayArn),
5021
- State: (0, smithy_client_1.expectString)(output.State),
5022
- StateReason: (0, smithy_client_1.expectString)(output.StateReason),
5020
+ ReplayArn: smithy_client_1.expectString(output.ReplayArn),
5021
+ State: smithy_client_1.expectString(output.State),
5022
+ StateReason: smithy_client_1.expectString(output.StateReason),
5023
5023
  };
5024
5024
  };
5025
5025
  const deserializeAws_json1_1CapacityProviderStrategy = (output, context) => {
@@ -5034,37 +5034,37 @@ const deserializeAws_json1_1CapacityProviderStrategy = (output, context) => {
5034
5034
  };
5035
5035
  const deserializeAws_json1_1CapacityProviderStrategyItem = (output, context) => {
5036
5036
  return {
5037
- base: (0, smithy_client_1.expectInt32)(output.base),
5038
- capacityProvider: (0, smithy_client_1.expectString)(output.capacityProvider),
5039
- weight: (0, smithy_client_1.expectInt32)(output.weight),
5037
+ base: smithy_client_1.expectInt32(output.base),
5038
+ capacityProvider: smithy_client_1.expectString(output.capacityProvider),
5039
+ weight: smithy_client_1.expectInt32(output.weight),
5040
5040
  };
5041
5041
  };
5042
5042
  const deserializeAws_json1_1ConcurrentModificationException = (output, context) => {
5043
5043
  return {
5044
- message: (0, smithy_client_1.expectString)(output.message),
5044
+ message: smithy_client_1.expectString(output.message),
5045
5045
  };
5046
5046
  };
5047
5047
  const deserializeAws_json1_1Connection = (output, context) => {
5048
5048
  return {
5049
- AuthorizationType: (0, smithy_client_1.expectString)(output.AuthorizationType),
5050
- ConnectionArn: (0, smithy_client_1.expectString)(output.ConnectionArn),
5051
- ConnectionState: (0, smithy_client_1.expectString)(output.ConnectionState),
5049
+ AuthorizationType: smithy_client_1.expectString(output.AuthorizationType),
5050
+ ConnectionArn: smithy_client_1.expectString(output.ConnectionArn),
5051
+ ConnectionState: smithy_client_1.expectString(output.ConnectionState),
5052
5052
  CreationTime: output.CreationTime !== undefined && output.CreationTime !== null
5053
- ? new Date(Math.round(output.CreationTime * 1000))
5053
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.CreationTime)))
5054
5054
  : undefined,
5055
5055
  LastAuthorizedTime: output.LastAuthorizedTime !== undefined && output.LastAuthorizedTime !== null
5056
- ? new Date(Math.round(output.LastAuthorizedTime * 1000))
5056
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.LastAuthorizedTime)))
5057
5057
  : undefined,
5058
5058
  LastModifiedTime: output.LastModifiedTime !== undefined && output.LastModifiedTime !== null
5059
- ? new Date(Math.round(output.LastModifiedTime * 1000))
5059
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.LastModifiedTime)))
5060
5060
  : undefined,
5061
- Name: (0, smithy_client_1.expectString)(output.Name),
5062
- StateReason: (0, smithy_client_1.expectString)(output.StateReason),
5061
+ Name: smithy_client_1.expectString(output.Name),
5062
+ StateReason: smithy_client_1.expectString(output.StateReason),
5063
5063
  };
5064
5064
  };
5065
5065
  const deserializeAws_json1_1ConnectionApiKeyAuthResponseParameters = (output, context) => {
5066
5066
  return {
5067
- ApiKeyName: (0, smithy_client_1.expectString)(output.ApiKeyName),
5067
+ ApiKeyName: smithy_client_1.expectString(output.ApiKeyName),
5068
5068
  };
5069
5069
  };
5070
5070
  const deserializeAws_json1_1ConnectionAuthResponseParameters = (output, context) => {
@@ -5085,14 +5085,14 @@ const deserializeAws_json1_1ConnectionAuthResponseParameters = (output, context)
5085
5085
  };
5086
5086
  const deserializeAws_json1_1ConnectionBasicAuthResponseParameters = (output, context) => {
5087
5087
  return {
5088
- Username: (0, smithy_client_1.expectString)(output.Username),
5088
+ Username: smithy_client_1.expectString(output.Username),
5089
5089
  };
5090
5090
  };
5091
5091
  const deserializeAws_json1_1ConnectionBodyParameter = (output, context) => {
5092
5092
  return {
5093
- IsValueSecret: (0, smithy_client_1.expectBoolean)(output.IsValueSecret),
5094
- Key: (0, smithy_client_1.expectString)(output.Key),
5095
- Value: (0, smithy_client_1.expectString)(output.Value),
5093
+ IsValueSecret: smithy_client_1.expectBoolean(output.IsValueSecret),
5094
+ Key: smithy_client_1.expectString(output.Key),
5095
+ Value: smithy_client_1.expectString(output.Value),
5096
5096
  };
5097
5097
  };
5098
5098
  const deserializeAws_json1_1ConnectionBodyParametersList = (output, context) => {
@@ -5107,9 +5107,9 @@ const deserializeAws_json1_1ConnectionBodyParametersList = (output, context) =>
5107
5107
  };
5108
5108
  const deserializeAws_json1_1ConnectionHeaderParameter = (output, context) => {
5109
5109
  return {
5110
- IsValueSecret: (0, smithy_client_1.expectBoolean)(output.IsValueSecret),
5111
- Key: (0, smithy_client_1.expectString)(output.Key),
5112
- Value: (0, smithy_client_1.expectString)(output.Value),
5110
+ IsValueSecret: smithy_client_1.expectBoolean(output.IsValueSecret),
5111
+ Key: smithy_client_1.expectString(output.Key),
5112
+ Value: smithy_client_1.expectString(output.Value),
5113
5113
  };
5114
5114
  };
5115
5115
  const deserializeAws_json1_1ConnectionHeaderParametersList = (output, context) => {
@@ -5137,16 +5137,16 @@ const deserializeAws_json1_1ConnectionHttpParameters = (output, context) => {
5137
5137
  };
5138
5138
  const deserializeAws_json1_1ConnectionOAuthClientResponseParameters = (output, context) => {
5139
5139
  return {
5140
- ClientID: (0, smithy_client_1.expectString)(output.ClientID),
5140
+ ClientID: smithy_client_1.expectString(output.ClientID),
5141
5141
  };
5142
5142
  };
5143
5143
  const deserializeAws_json1_1ConnectionOAuthResponseParameters = (output, context) => {
5144
5144
  return {
5145
- AuthorizationEndpoint: (0, smithy_client_1.expectString)(output.AuthorizationEndpoint),
5145
+ AuthorizationEndpoint: smithy_client_1.expectString(output.AuthorizationEndpoint),
5146
5146
  ClientParameters: output.ClientParameters !== undefined && output.ClientParameters !== null
5147
5147
  ? deserializeAws_json1_1ConnectionOAuthClientResponseParameters(output.ClientParameters, context)
5148
5148
  : undefined,
5149
- HttpMethod: (0, smithy_client_1.expectString)(output.HttpMethod),
5149
+ HttpMethod: smithy_client_1.expectString(output.HttpMethod),
5150
5150
  OAuthHttpParameters: output.OAuthHttpParameters !== undefined && output.OAuthHttpParameters !== null
5151
5151
  ? deserializeAws_json1_1ConnectionHttpParameters(output.OAuthHttpParameters, context)
5152
5152
  : undefined,
@@ -5154,9 +5154,9 @@ const deserializeAws_json1_1ConnectionOAuthResponseParameters = (output, context
5154
5154
  };
5155
5155
  const deserializeAws_json1_1ConnectionQueryStringParameter = (output, context) => {
5156
5156
  return {
5157
- IsValueSecret: (0, smithy_client_1.expectBoolean)(output.IsValueSecret),
5158
- Key: (0, smithy_client_1.expectString)(output.Key),
5159
- Value: (0, smithy_client_1.expectString)(output.Value),
5157
+ IsValueSecret: smithy_client_1.expectBoolean(output.IsValueSecret),
5158
+ Key: smithy_client_1.expectString(output.Key),
5159
+ Value: smithy_client_1.expectString(output.Value),
5160
5160
  };
5161
5161
  };
5162
5162
  const deserializeAws_json1_1ConnectionQueryStringParametersList = (output, context) => {
@@ -5181,65 +5181,65 @@ const deserializeAws_json1_1ConnectionResponseList = (output, context) => {
5181
5181
  };
5182
5182
  const deserializeAws_json1_1CreateApiDestinationResponse = (output, context) => {
5183
5183
  return {
5184
- ApiDestinationArn: (0, smithy_client_1.expectString)(output.ApiDestinationArn),
5185
- ApiDestinationState: (0, smithy_client_1.expectString)(output.ApiDestinationState),
5184
+ ApiDestinationArn: smithy_client_1.expectString(output.ApiDestinationArn),
5185
+ ApiDestinationState: smithy_client_1.expectString(output.ApiDestinationState),
5186
5186
  CreationTime: output.CreationTime !== undefined && output.CreationTime !== null
5187
- ? new Date(Math.round(output.CreationTime * 1000))
5187
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.CreationTime)))
5188
5188
  : undefined,
5189
5189
  LastModifiedTime: output.LastModifiedTime !== undefined && output.LastModifiedTime !== null
5190
- ? new Date(Math.round(output.LastModifiedTime * 1000))
5190
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.LastModifiedTime)))
5191
5191
  : undefined,
5192
5192
  };
5193
5193
  };
5194
5194
  const deserializeAws_json1_1CreateArchiveResponse = (output, context) => {
5195
5195
  return {
5196
- ArchiveArn: (0, smithy_client_1.expectString)(output.ArchiveArn),
5196
+ ArchiveArn: smithy_client_1.expectString(output.ArchiveArn),
5197
5197
  CreationTime: output.CreationTime !== undefined && output.CreationTime !== null
5198
- ? new Date(Math.round(output.CreationTime * 1000))
5198
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.CreationTime)))
5199
5199
  : undefined,
5200
- State: (0, smithy_client_1.expectString)(output.State),
5201
- StateReason: (0, smithy_client_1.expectString)(output.StateReason),
5200
+ State: smithy_client_1.expectString(output.State),
5201
+ StateReason: smithy_client_1.expectString(output.StateReason),
5202
5202
  };
5203
5203
  };
5204
5204
  const deserializeAws_json1_1CreateConnectionResponse = (output, context) => {
5205
5205
  return {
5206
- ConnectionArn: (0, smithy_client_1.expectString)(output.ConnectionArn),
5207
- ConnectionState: (0, smithy_client_1.expectString)(output.ConnectionState),
5206
+ ConnectionArn: smithy_client_1.expectString(output.ConnectionArn),
5207
+ ConnectionState: smithy_client_1.expectString(output.ConnectionState),
5208
5208
  CreationTime: output.CreationTime !== undefined && output.CreationTime !== null
5209
- ? new Date(Math.round(output.CreationTime * 1000))
5209
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.CreationTime)))
5210
5210
  : undefined,
5211
5211
  LastModifiedTime: output.LastModifiedTime !== undefined && output.LastModifiedTime !== null
5212
- ? new Date(Math.round(output.LastModifiedTime * 1000))
5212
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.LastModifiedTime)))
5213
5213
  : undefined,
5214
5214
  };
5215
5215
  };
5216
5216
  const deserializeAws_json1_1CreateEventBusResponse = (output, context) => {
5217
5217
  return {
5218
- EventBusArn: (0, smithy_client_1.expectString)(output.EventBusArn),
5218
+ EventBusArn: smithy_client_1.expectString(output.EventBusArn),
5219
5219
  };
5220
5220
  };
5221
5221
  const deserializeAws_json1_1CreatePartnerEventSourceResponse = (output, context) => {
5222
5222
  return {
5223
- EventSourceArn: (0, smithy_client_1.expectString)(output.EventSourceArn),
5223
+ EventSourceArn: smithy_client_1.expectString(output.EventSourceArn),
5224
5224
  };
5225
5225
  };
5226
5226
  const deserializeAws_json1_1DeadLetterConfig = (output, context) => {
5227
5227
  return {
5228
- Arn: (0, smithy_client_1.expectString)(output.Arn),
5228
+ Arn: smithy_client_1.expectString(output.Arn),
5229
5229
  };
5230
5230
  };
5231
5231
  const deserializeAws_json1_1DeauthorizeConnectionResponse = (output, context) => {
5232
5232
  return {
5233
- ConnectionArn: (0, smithy_client_1.expectString)(output.ConnectionArn),
5234
- ConnectionState: (0, smithy_client_1.expectString)(output.ConnectionState),
5233
+ ConnectionArn: smithy_client_1.expectString(output.ConnectionArn),
5234
+ ConnectionState: smithy_client_1.expectString(output.ConnectionState),
5235
5235
  CreationTime: output.CreationTime !== undefined && output.CreationTime !== null
5236
- ? new Date(Math.round(output.CreationTime * 1000))
5236
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.CreationTime)))
5237
5237
  : undefined,
5238
5238
  LastAuthorizedTime: output.LastAuthorizedTime !== undefined && output.LastAuthorizedTime !== null
5239
- ? new Date(Math.round(output.LastAuthorizedTime * 1000))
5239
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.LastAuthorizedTime)))
5240
5240
  : undefined,
5241
5241
  LastModifiedTime: output.LastModifiedTime !== undefined && output.LastModifiedTime !== null
5242
- ? new Date(Math.round(output.LastModifiedTime * 1000))
5242
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.LastModifiedTime)))
5243
5243
  : undefined,
5244
5244
  };
5245
5245
  };
@@ -5251,52 +5251,52 @@ const deserializeAws_json1_1DeleteArchiveResponse = (output, context) => {
5251
5251
  };
5252
5252
  const deserializeAws_json1_1DeleteConnectionResponse = (output, context) => {
5253
5253
  return {
5254
- ConnectionArn: (0, smithy_client_1.expectString)(output.ConnectionArn),
5255
- ConnectionState: (0, smithy_client_1.expectString)(output.ConnectionState),
5254
+ ConnectionArn: smithy_client_1.expectString(output.ConnectionArn),
5255
+ ConnectionState: smithy_client_1.expectString(output.ConnectionState),
5256
5256
  CreationTime: output.CreationTime !== undefined && output.CreationTime !== null
5257
- ? new Date(Math.round(output.CreationTime * 1000))
5257
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.CreationTime)))
5258
5258
  : undefined,
5259
5259
  LastAuthorizedTime: output.LastAuthorizedTime !== undefined && output.LastAuthorizedTime !== null
5260
- ? new Date(Math.round(output.LastAuthorizedTime * 1000))
5260
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.LastAuthorizedTime)))
5261
5261
  : undefined,
5262
5262
  LastModifiedTime: output.LastModifiedTime !== undefined && output.LastModifiedTime !== null
5263
- ? new Date(Math.round(output.LastModifiedTime * 1000))
5263
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.LastModifiedTime)))
5264
5264
  : undefined,
5265
5265
  };
5266
5266
  };
5267
5267
  const deserializeAws_json1_1DescribeApiDestinationResponse = (output, context) => {
5268
5268
  return {
5269
- ApiDestinationArn: (0, smithy_client_1.expectString)(output.ApiDestinationArn),
5270
- ApiDestinationState: (0, smithy_client_1.expectString)(output.ApiDestinationState),
5271
- ConnectionArn: (0, smithy_client_1.expectString)(output.ConnectionArn),
5269
+ ApiDestinationArn: smithy_client_1.expectString(output.ApiDestinationArn),
5270
+ ApiDestinationState: smithy_client_1.expectString(output.ApiDestinationState),
5271
+ ConnectionArn: smithy_client_1.expectString(output.ConnectionArn),
5272
5272
  CreationTime: output.CreationTime !== undefined && output.CreationTime !== null
5273
- ? new Date(Math.round(output.CreationTime * 1000))
5273
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.CreationTime)))
5274
5274
  : undefined,
5275
- Description: (0, smithy_client_1.expectString)(output.Description),
5276
- HttpMethod: (0, smithy_client_1.expectString)(output.HttpMethod),
5277
- InvocationEndpoint: (0, smithy_client_1.expectString)(output.InvocationEndpoint),
5278
- InvocationRateLimitPerSecond: (0, smithy_client_1.expectInt32)(output.InvocationRateLimitPerSecond),
5275
+ Description: smithy_client_1.expectString(output.Description),
5276
+ HttpMethod: smithy_client_1.expectString(output.HttpMethod),
5277
+ InvocationEndpoint: smithy_client_1.expectString(output.InvocationEndpoint),
5278
+ InvocationRateLimitPerSecond: smithy_client_1.expectInt32(output.InvocationRateLimitPerSecond),
5279
5279
  LastModifiedTime: output.LastModifiedTime !== undefined && output.LastModifiedTime !== null
5280
- ? new Date(Math.round(output.LastModifiedTime * 1000))
5280
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.LastModifiedTime)))
5281
5281
  : undefined,
5282
- Name: (0, smithy_client_1.expectString)(output.Name),
5282
+ Name: smithy_client_1.expectString(output.Name),
5283
5283
  };
5284
5284
  };
5285
5285
  const deserializeAws_json1_1DescribeArchiveResponse = (output, context) => {
5286
5286
  return {
5287
- ArchiveArn: (0, smithy_client_1.expectString)(output.ArchiveArn),
5288
- ArchiveName: (0, smithy_client_1.expectString)(output.ArchiveName),
5287
+ ArchiveArn: smithy_client_1.expectString(output.ArchiveArn),
5288
+ ArchiveName: smithy_client_1.expectString(output.ArchiveName),
5289
5289
  CreationTime: output.CreationTime !== undefined && output.CreationTime !== null
5290
- ? new Date(Math.round(output.CreationTime * 1000))
5290
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.CreationTime)))
5291
5291
  : undefined,
5292
- Description: (0, smithy_client_1.expectString)(output.Description),
5293
- EventCount: (0, smithy_client_1.expectLong)(output.EventCount),
5294
- EventPattern: (0, smithy_client_1.expectString)(output.EventPattern),
5295
- EventSourceArn: (0, smithy_client_1.expectString)(output.EventSourceArn),
5296
- RetentionDays: (0, smithy_client_1.expectInt32)(output.RetentionDays),
5297
- SizeBytes: (0, smithy_client_1.expectLong)(output.SizeBytes),
5298
- State: (0, smithy_client_1.expectString)(output.State),
5299
- StateReason: (0, smithy_client_1.expectString)(output.StateReason),
5292
+ Description: smithy_client_1.expectString(output.Description),
5293
+ EventCount: smithy_client_1.expectLong(output.EventCount),
5294
+ EventPattern: smithy_client_1.expectString(output.EventPattern),
5295
+ EventSourceArn: smithy_client_1.expectString(output.EventSourceArn),
5296
+ RetentionDays: smithy_client_1.expectInt32(output.RetentionDays),
5297
+ SizeBytes: smithy_client_1.expectLong(output.SizeBytes),
5298
+ State: smithy_client_1.expectString(output.State),
5299
+ StateReason: smithy_client_1.expectString(output.StateReason),
5300
5300
  };
5301
5301
  };
5302
5302
  const deserializeAws_json1_1DescribeConnectionResponse = (output, context) => {
@@ -5304,91 +5304,91 @@ const deserializeAws_json1_1DescribeConnectionResponse = (output, context) => {
5304
5304
  AuthParameters: output.AuthParameters !== undefined && output.AuthParameters !== null
5305
5305
  ? deserializeAws_json1_1ConnectionAuthResponseParameters(output.AuthParameters, context)
5306
5306
  : undefined,
5307
- AuthorizationType: (0, smithy_client_1.expectString)(output.AuthorizationType),
5308
- ConnectionArn: (0, smithy_client_1.expectString)(output.ConnectionArn),
5309
- ConnectionState: (0, smithy_client_1.expectString)(output.ConnectionState),
5307
+ AuthorizationType: smithy_client_1.expectString(output.AuthorizationType),
5308
+ ConnectionArn: smithy_client_1.expectString(output.ConnectionArn),
5309
+ ConnectionState: smithy_client_1.expectString(output.ConnectionState),
5310
5310
  CreationTime: output.CreationTime !== undefined && output.CreationTime !== null
5311
- ? new Date(Math.round(output.CreationTime * 1000))
5311
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.CreationTime)))
5312
5312
  : undefined,
5313
- Description: (0, smithy_client_1.expectString)(output.Description),
5313
+ Description: smithy_client_1.expectString(output.Description),
5314
5314
  LastAuthorizedTime: output.LastAuthorizedTime !== undefined && output.LastAuthorizedTime !== null
5315
- ? new Date(Math.round(output.LastAuthorizedTime * 1000))
5315
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.LastAuthorizedTime)))
5316
5316
  : undefined,
5317
5317
  LastModifiedTime: output.LastModifiedTime !== undefined && output.LastModifiedTime !== null
5318
- ? new Date(Math.round(output.LastModifiedTime * 1000))
5318
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.LastModifiedTime)))
5319
5319
  : undefined,
5320
- Name: (0, smithy_client_1.expectString)(output.Name),
5321
- SecretArn: (0, smithy_client_1.expectString)(output.SecretArn),
5322
- StateReason: (0, smithy_client_1.expectString)(output.StateReason),
5320
+ Name: smithy_client_1.expectString(output.Name),
5321
+ SecretArn: smithy_client_1.expectString(output.SecretArn),
5322
+ StateReason: smithy_client_1.expectString(output.StateReason),
5323
5323
  };
5324
5324
  };
5325
5325
  const deserializeAws_json1_1DescribeEventBusResponse = (output, context) => {
5326
5326
  return {
5327
- Arn: (0, smithy_client_1.expectString)(output.Arn),
5328
- Name: (0, smithy_client_1.expectString)(output.Name),
5329
- Policy: (0, smithy_client_1.expectString)(output.Policy),
5327
+ Arn: smithy_client_1.expectString(output.Arn),
5328
+ Name: smithy_client_1.expectString(output.Name),
5329
+ Policy: smithy_client_1.expectString(output.Policy),
5330
5330
  };
5331
5331
  };
5332
5332
  const deserializeAws_json1_1DescribeEventSourceResponse = (output, context) => {
5333
5333
  return {
5334
- Arn: (0, smithy_client_1.expectString)(output.Arn),
5335
- CreatedBy: (0, smithy_client_1.expectString)(output.CreatedBy),
5334
+ Arn: smithy_client_1.expectString(output.Arn),
5335
+ CreatedBy: smithy_client_1.expectString(output.CreatedBy),
5336
5336
  CreationTime: output.CreationTime !== undefined && output.CreationTime !== null
5337
- ? new Date(Math.round(output.CreationTime * 1000))
5337
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.CreationTime)))
5338
5338
  : undefined,
5339
5339
  ExpirationTime: output.ExpirationTime !== undefined && output.ExpirationTime !== null
5340
- ? new Date(Math.round(output.ExpirationTime * 1000))
5340
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.ExpirationTime)))
5341
5341
  : undefined,
5342
- Name: (0, smithy_client_1.expectString)(output.Name),
5343
- State: (0, smithy_client_1.expectString)(output.State),
5342
+ Name: smithy_client_1.expectString(output.Name),
5343
+ State: smithy_client_1.expectString(output.State),
5344
5344
  };
5345
5345
  };
5346
5346
  const deserializeAws_json1_1DescribePartnerEventSourceResponse = (output, context) => {
5347
5347
  return {
5348
- Arn: (0, smithy_client_1.expectString)(output.Arn),
5349
- Name: (0, smithy_client_1.expectString)(output.Name),
5348
+ Arn: smithy_client_1.expectString(output.Arn),
5349
+ Name: smithy_client_1.expectString(output.Name),
5350
5350
  };
5351
5351
  };
5352
5352
  const deserializeAws_json1_1DescribeReplayResponse = (output, context) => {
5353
5353
  return {
5354
- Description: (0, smithy_client_1.expectString)(output.Description),
5354
+ Description: smithy_client_1.expectString(output.Description),
5355
5355
  Destination: output.Destination !== undefined && output.Destination !== null
5356
5356
  ? deserializeAws_json1_1ReplayDestination(output.Destination, context)
5357
5357
  : undefined,
5358
5358
  EventEndTime: output.EventEndTime !== undefined && output.EventEndTime !== null
5359
- ? new Date(Math.round(output.EventEndTime * 1000))
5359
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.EventEndTime)))
5360
5360
  : undefined,
5361
5361
  EventLastReplayedTime: output.EventLastReplayedTime !== undefined && output.EventLastReplayedTime !== null
5362
- ? new Date(Math.round(output.EventLastReplayedTime * 1000))
5362
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.EventLastReplayedTime)))
5363
5363
  : undefined,
5364
- EventSourceArn: (0, smithy_client_1.expectString)(output.EventSourceArn),
5364
+ EventSourceArn: smithy_client_1.expectString(output.EventSourceArn),
5365
5365
  EventStartTime: output.EventStartTime !== undefined && output.EventStartTime !== null
5366
- ? new Date(Math.round(output.EventStartTime * 1000))
5366
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.EventStartTime)))
5367
5367
  : undefined,
5368
- ReplayArn: (0, smithy_client_1.expectString)(output.ReplayArn),
5368
+ ReplayArn: smithy_client_1.expectString(output.ReplayArn),
5369
5369
  ReplayEndTime: output.ReplayEndTime !== undefined && output.ReplayEndTime !== null
5370
- ? new Date(Math.round(output.ReplayEndTime * 1000))
5370
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.ReplayEndTime)))
5371
5371
  : undefined,
5372
- ReplayName: (0, smithy_client_1.expectString)(output.ReplayName),
5372
+ ReplayName: smithy_client_1.expectString(output.ReplayName),
5373
5373
  ReplayStartTime: output.ReplayStartTime !== undefined && output.ReplayStartTime !== null
5374
- ? new Date(Math.round(output.ReplayStartTime * 1000))
5374
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.ReplayStartTime)))
5375
5375
  : undefined,
5376
- State: (0, smithy_client_1.expectString)(output.State),
5377
- StateReason: (0, smithy_client_1.expectString)(output.StateReason),
5376
+ State: smithy_client_1.expectString(output.State),
5377
+ StateReason: smithy_client_1.expectString(output.StateReason),
5378
5378
  };
5379
5379
  };
5380
5380
  const deserializeAws_json1_1DescribeRuleResponse = (output, context) => {
5381
5381
  return {
5382
- Arn: (0, smithy_client_1.expectString)(output.Arn),
5383
- CreatedBy: (0, smithy_client_1.expectString)(output.CreatedBy),
5384
- Description: (0, smithy_client_1.expectString)(output.Description),
5385
- EventBusName: (0, smithy_client_1.expectString)(output.EventBusName),
5386
- EventPattern: (0, smithy_client_1.expectString)(output.EventPattern),
5387
- ManagedBy: (0, smithy_client_1.expectString)(output.ManagedBy),
5388
- Name: (0, smithy_client_1.expectString)(output.Name),
5389
- RoleArn: (0, smithy_client_1.expectString)(output.RoleArn),
5390
- ScheduleExpression: (0, smithy_client_1.expectString)(output.ScheduleExpression),
5391
- State: (0, smithy_client_1.expectString)(output.State),
5382
+ Arn: smithy_client_1.expectString(output.Arn),
5383
+ CreatedBy: smithy_client_1.expectString(output.CreatedBy),
5384
+ Description: smithy_client_1.expectString(output.Description),
5385
+ EventBusName: smithy_client_1.expectString(output.EventBusName),
5386
+ EventPattern: smithy_client_1.expectString(output.EventPattern),
5387
+ ManagedBy: smithy_client_1.expectString(output.ManagedBy),
5388
+ Name: smithy_client_1.expectString(output.Name),
5389
+ RoleArn: smithy_client_1.expectString(output.RoleArn),
5390
+ ScheduleExpression: smithy_client_1.expectString(output.ScheduleExpression),
5391
+ State: smithy_client_1.expectString(output.State),
5392
5392
  };
5393
5393
  };
5394
5394
  const deserializeAws_json1_1EcsParameters = (output, context) => {
@@ -5396,10 +5396,10 @@ const deserializeAws_json1_1EcsParameters = (output, context) => {
5396
5396
  CapacityProviderStrategy: output.CapacityProviderStrategy !== undefined && output.CapacityProviderStrategy !== null
5397
5397
  ? deserializeAws_json1_1CapacityProviderStrategy(output.CapacityProviderStrategy, context)
5398
5398
  : undefined,
5399
- EnableECSManagedTags: (0, smithy_client_1.expectBoolean)(output.EnableECSManagedTags),
5400
- EnableExecuteCommand: (0, smithy_client_1.expectBoolean)(output.EnableExecuteCommand),
5401
- Group: (0, smithy_client_1.expectString)(output.Group),
5402
- LaunchType: (0, smithy_client_1.expectString)(output.LaunchType),
5399
+ EnableECSManagedTags: smithy_client_1.expectBoolean(output.EnableECSManagedTags),
5400
+ EnableExecuteCommand: smithy_client_1.expectBoolean(output.EnableExecuteCommand),
5401
+ Group: smithy_client_1.expectString(output.Group),
5402
+ LaunchType: smithy_client_1.expectString(output.LaunchType),
5403
5403
  NetworkConfiguration: output.NetworkConfiguration !== undefined && output.NetworkConfiguration !== null
5404
5404
  ? deserializeAws_json1_1NetworkConfiguration(output.NetworkConfiguration, context)
5405
5405
  : undefined,
@@ -5409,21 +5409,21 @@ const deserializeAws_json1_1EcsParameters = (output, context) => {
5409
5409
  PlacementStrategy: output.PlacementStrategy !== undefined && output.PlacementStrategy !== null
5410
5410
  ? deserializeAws_json1_1PlacementStrategies(output.PlacementStrategy, context)
5411
5411
  : undefined,
5412
- PlatformVersion: (0, smithy_client_1.expectString)(output.PlatformVersion),
5413
- PropagateTags: (0, smithy_client_1.expectString)(output.PropagateTags),
5414
- ReferenceId: (0, smithy_client_1.expectString)(output.ReferenceId),
5412
+ PlatformVersion: smithy_client_1.expectString(output.PlatformVersion),
5413
+ PropagateTags: smithy_client_1.expectString(output.PropagateTags),
5414
+ ReferenceId: smithy_client_1.expectString(output.ReferenceId),
5415
5415
  Tags: output.Tags !== undefined && output.Tags !== null
5416
5416
  ? deserializeAws_json1_1TagList(output.Tags, context)
5417
5417
  : undefined,
5418
- TaskCount: (0, smithy_client_1.expectInt32)(output.TaskCount),
5419
- TaskDefinitionArn: (0, smithy_client_1.expectString)(output.TaskDefinitionArn),
5418
+ TaskCount: smithy_client_1.expectInt32(output.TaskCount),
5419
+ TaskDefinitionArn: smithy_client_1.expectString(output.TaskDefinitionArn),
5420
5420
  };
5421
5421
  };
5422
5422
  const deserializeAws_json1_1EventBus = (output, context) => {
5423
5423
  return {
5424
- Arn: (0, smithy_client_1.expectString)(output.Arn),
5425
- Name: (0, smithy_client_1.expectString)(output.Name),
5426
- Policy: (0, smithy_client_1.expectString)(output.Policy),
5424
+ Arn: smithy_client_1.expectString(output.Arn),
5425
+ Name: smithy_client_1.expectString(output.Name),
5426
+ Policy: smithy_client_1.expectString(output.Policy),
5427
5427
  };
5428
5428
  };
5429
5429
  const deserializeAws_json1_1EventBusList = (output, context) => {
@@ -5438,16 +5438,16 @@ const deserializeAws_json1_1EventBusList = (output, context) => {
5438
5438
  };
5439
5439
  const deserializeAws_json1_1EventSource = (output, context) => {
5440
5440
  return {
5441
- Arn: (0, smithy_client_1.expectString)(output.Arn),
5442
- CreatedBy: (0, smithy_client_1.expectString)(output.CreatedBy),
5441
+ Arn: smithy_client_1.expectString(output.Arn),
5442
+ CreatedBy: smithy_client_1.expectString(output.CreatedBy),
5443
5443
  CreationTime: output.CreationTime !== undefined && output.CreationTime !== null
5444
- ? new Date(Math.round(output.CreationTime * 1000))
5444
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.CreationTime)))
5445
5445
  : undefined,
5446
5446
  ExpirationTime: output.ExpirationTime !== undefined && output.ExpirationTime !== null
5447
- ? new Date(Math.round(output.ExpirationTime * 1000))
5447
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.ExpirationTime)))
5448
5448
  : undefined,
5449
- Name: (0, smithy_client_1.expectString)(output.Name),
5450
- State: (0, smithy_client_1.expectString)(output.State),
5449
+ Name: smithy_client_1.expectString(output.Name),
5450
+ State: smithy_client_1.expectString(output.State),
5451
5451
  };
5452
5452
  };
5453
5453
  const deserializeAws_json1_1EventSourceList = (output, context) => {
@@ -5467,7 +5467,7 @@ const deserializeAws_json1_1HeaderParametersMap = (output, context) => {
5467
5467
  }
5468
5468
  return {
5469
5469
  ...acc,
5470
- [key]: (0, smithy_client_1.expectString)(value),
5470
+ [key]: smithy_client_1.expectString(value),
5471
5471
  };
5472
5472
  }, {});
5473
5473
  };
@@ -5486,7 +5486,7 @@ const deserializeAws_json1_1HttpParameters = (output, context) => {
5486
5486
  };
5487
5487
  const deserializeAws_json1_1IllegalStatusException = (output, context) => {
5488
5488
  return {
5489
- message: (0, smithy_client_1.expectString)(output.message),
5489
+ message: smithy_client_1.expectString(output.message),
5490
5490
  };
5491
5491
  };
5492
5492
  const deserializeAws_json1_1InputTransformer = (output, context) => {
@@ -5494,32 +5494,32 @@ const deserializeAws_json1_1InputTransformer = (output, context) => {
5494
5494
  InputPathsMap: output.InputPathsMap !== undefined && output.InputPathsMap !== null
5495
5495
  ? deserializeAws_json1_1TransformerPaths(output.InputPathsMap, context)
5496
5496
  : undefined,
5497
- InputTemplate: (0, smithy_client_1.expectString)(output.InputTemplate),
5497
+ InputTemplate: smithy_client_1.expectString(output.InputTemplate),
5498
5498
  };
5499
5499
  };
5500
5500
  const deserializeAws_json1_1InternalException = (output, context) => {
5501
5501
  return {
5502
- message: (0, smithy_client_1.expectString)(output.message),
5502
+ message: smithy_client_1.expectString(output.message),
5503
5503
  };
5504
5504
  };
5505
5505
  const deserializeAws_json1_1InvalidEventPatternException = (output, context) => {
5506
5506
  return {
5507
- message: (0, smithy_client_1.expectString)(output.message),
5507
+ message: smithy_client_1.expectString(output.message),
5508
5508
  };
5509
5509
  };
5510
5510
  const deserializeAws_json1_1InvalidStateException = (output, context) => {
5511
5511
  return {
5512
- message: (0, smithy_client_1.expectString)(output.message),
5512
+ message: smithy_client_1.expectString(output.message),
5513
5513
  };
5514
5514
  };
5515
5515
  const deserializeAws_json1_1KinesisParameters = (output, context) => {
5516
5516
  return {
5517
- PartitionKeyPath: (0, smithy_client_1.expectString)(output.PartitionKeyPath),
5517
+ PartitionKeyPath: smithy_client_1.expectString(output.PartitionKeyPath),
5518
5518
  };
5519
5519
  };
5520
5520
  const deserializeAws_json1_1LimitExceededException = (output, context) => {
5521
5521
  return {
5522
- message: (0, smithy_client_1.expectString)(output.message),
5522
+ message: smithy_client_1.expectString(output.message),
5523
5523
  };
5524
5524
  };
5525
5525
  const deserializeAws_json1_1ListApiDestinationsResponse = (output, context) => {
@@ -5527,7 +5527,7 @@ const deserializeAws_json1_1ListApiDestinationsResponse = (output, context) => {
5527
5527
  ApiDestinations: output.ApiDestinations !== undefined && output.ApiDestinations !== null
5528
5528
  ? deserializeAws_json1_1ApiDestinationResponseList(output.ApiDestinations, context)
5529
5529
  : undefined,
5530
- NextToken: (0, smithy_client_1.expectString)(output.NextToken),
5530
+ NextToken: smithy_client_1.expectString(output.NextToken),
5531
5531
  };
5532
5532
  };
5533
5533
  const deserializeAws_json1_1ListArchivesResponse = (output, context) => {
@@ -5535,7 +5535,7 @@ const deserializeAws_json1_1ListArchivesResponse = (output, context) => {
5535
5535
  Archives: output.Archives !== undefined && output.Archives !== null
5536
5536
  ? deserializeAws_json1_1ArchiveResponseList(output.Archives, context)
5537
5537
  : undefined,
5538
- NextToken: (0, smithy_client_1.expectString)(output.NextToken),
5538
+ NextToken: smithy_client_1.expectString(output.NextToken),
5539
5539
  };
5540
5540
  };
5541
5541
  const deserializeAws_json1_1ListConnectionsResponse = (output, context) => {
@@ -5543,7 +5543,7 @@ const deserializeAws_json1_1ListConnectionsResponse = (output, context) => {
5543
5543
  Connections: output.Connections !== undefined && output.Connections !== null
5544
5544
  ? deserializeAws_json1_1ConnectionResponseList(output.Connections, context)
5545
5545
  : undefined,
5546
- NextToken: (0, smithy_client_1.expectString)(output.NextToken),
5546
+ NextToken: smithy_client_1.expectString(output.NextToken),
5547
5547
  };
5548
5548
  };
5549
5549
  const deserializeAws_json1_1ListEventBusesResponse = (output, context) => {
@@ -5551,7 +5551,7 @@ const deserializeAws_json1_1ListEventBusesResponse = (output, context) => {
5551
5551
  EventBuses: output.EventBuses !== undefined && output.EventBuses !== null
5552
5552
  ? deserializeAws_json1_1EventBusList(output.EventBuses, context)
5553
5553
  : undefined,
5554
- NextToken: (0, smithy_client_1.expectString)(output.NextToken),
5554
+ NextToken: smithy_client_1.expectString(output.NextToken),
5555
5555
  };
5556
5556
  };
5557
5557
  const deserializeAws_json1_1ListEventSourcesResponse = (output, context) => {
@@ -5559,12 +5559,12 @@ const deserializeAws_json1_1ListEventSourcesResponse = (output, context) => {
5559
5559
  EventSources: output.EventSources !== undefined && output.EventSources !== null
5560
5560
  ? deserializeAws_json1_1EventSourceList(output.EventSources, context)
5561
5561
  : undefined,
5562
- NextToken: (0, smithy_client_1.expectString)(output.NextToken),
5562
+ NextToken: smithy_client_1.expectString(output.NextToken),
5563
5563
  };
5564
5564
  };
5565
5565
  const deserializeAws_json1_1ListPartnerEventSourceAccountsResponse = (output, context) => {
5566
5566
  return {
5567
- NextToken: (0, smithy_client_1.expectString)(output.NextToken),
5567
+ NextToken: smithy_client_1.expectString(output.NextToken),
5568
5568
  PartnerEventSourceAccounts: output.PartnerEventSourceAccounts !== undefined && output.PartnerEventSourceAccounts !== null
5569
5569
  ? deserializeAws_json1_1PartnerEventSourceAccountList(output.PartnerEventSourceAccounts, context)
5570
5570
  : undefined,
@@ -5572,7 +5572,7 @@ const deserializeAws_json1_1ListPartnerEventSourceAccountsResponse = (output, co
5572
5572
  };
5573
5573
  const deserializeAws_json1_1ListPartnerEventSourcesResponse = (output, context) => {
5574
5574
  return {
5575
- NextToken: (0, smithy_client_1.expectString)(output.NextToken),
5575
+ NextToken: smithy_client_1.expectString(output.NextToken),
5576
5576
  PartnerEventSources: output.PartnerEventSources !== undefined && output.PartnerEventSources !== null
5577
5577
  ? deserializeAws_json1_1PartnerEventSourceList(output.PartnerEventSources, context)
5578
5578
  : undefined,
@@ -5580,7 +5580,7 @@ const deserializeAws_json1_1ListPartnerEventSourcesResponse = (output, context)
5580
5580
  };
5581
5581
  const deserializeAws_json1_1ListReplaysResponse = (output, context) => {
5582
5582
  return {
5583
- NextToken: (0, smithy_client_1.expectString)(output.NextToken),
5583
+ NextToken: smithy_client_1.expectString(output.NextToken),
5584
5584
  Replays: output.Replays !== undefined && output.Replays !== null
5585
5585
  ? deserializeAws_json1_1ReplayList(output.Replays, context)
5586
5586
  : undefined,
@@ -5588,7 +5588,7 @@ const deserializeAws_json1_1ListReplaysResponse = (output, context) => {
5588
5588
  };
5589
5589
  const deserializeAws_json1_1ListRuleNamesByTargetResponse = (output, context) => {
5590
5590
  return {
5591
- NextToken: (0, smithy_client_1.expectString)(output.NextToken),
5591
+ NextToken: smithy_client_1.expectString(output.NextToken),
5592
5592
  RuleNames: output.RuleNames !== undefined && output.RuleNames !== null
5593
5593
  ? deserializeAws_json1_1RuleNameList(output.RuleNames, context)
5594
5594
  : undefined,
@@ -5596,7 +5596,7 @@ const deserializeAws_json1_1ListRuleNamesByTargetResponse = (output, context) =>
5596
5596
  };
5597
5597
  const deserializeAws_json1_1ListRulesResponse = (output, context) => {
5598
5598
  return {
5599
- NextToken: (0, smithy_client_1.expectString)(output.NextToken),
5599
+ NextToken: smithy_client_1.expectString(output.NextToken),
5600
5600
  Rules: output.Rules !== undefined && output.Rules !== null
5601
5601
  ? deserializeAws_json1_1RuleResponseList(output.Rules, context)
5602
5602
  : undefined,
@@ -5611,7 +5611,7 @@ const deserializeAws_json1_1ListTagsForResourceResponse = (output, context) => {
5611
5611
  };
5612
5612
  const deserializeAws_json1_1ListTargetsByRuleResponse = (output, context) => {
5613
5613
  return {
5614
- NextToken: (0, smithy_client_1.expectString)(output.NextToken),
5614
+ NextToken: smithy_client_1.expectString(output.NextToken),
5615
5615
  Targets: output.Targets !== undefined && output.Targets !== null
5616
5616
  ? deserializeAws_json1_1TargetList(output.Targets, context)
5617
5617
  : undefined,
@@ -5619,7 +5619,7 @@ const deserializeAws_json1_1ListTargetsByRuleResponse = (output, context) => {
5619
5619
  };
5620
5620
  const deserializeAws_json1_1ManagedRuleException = (output, context) => {
5621
5621
  return {
5622
- message: (0, smithy_client_1.expectString)(output.message),
5622
+ message: smithy_client_1.expectString(output.message),
5623
5623
  };
5624
5624
  };
5625
5625
  const deserializeAws_json1_1NetworkConfiguration = (output, context) => {
@@ -5631,25 +5631,25 @@ const deserializeAws_json1_1NetworkConfiguration = (output, context) => {
5631
5631
  };
5632
5632
  const deserializeAws_json1_1OperationDisabledException = (output, context) => {
5633
5633
  return {
5634
- message: (0, smithy_client_1.expectString)(output.message),
5634
+ message: smithy_client_1.expectString(output.message),
5635
5635
  };
5636
5636
  };
5637
5637
  const deserializeAws_json1_1PartnerEventSource = (output, context) => {
5638
5638
  return {
5639
- Arn: (0, smithy_client_1.expectString)(output.Arn),
5640
- Name: (0, smithy_client_1.expectString)(output.Name),
5639
+ Arn: smithy_client_1.expectString(output.Arn),
5640
+ Name: smithy_client_1.expectString(output.Name),
5641
5641
  };
5642
5642
  };
5643
5643
  const deserializeAws_json1_1PartnerEventSourceAccount = (output, context) => {
5644
5644
  return {
5645
- Account: (0, smithy_client_1.expectString)(output.Account),
5645
+ Account: smithy_client_1.expectString(output.Account),
5646
5646
  CreationTime: output.CreationTime !== undefined && output.CreationTime !== null
5647
- ? new Date(Math.round(output.CreationTime * 1000))
5647
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.CreationTime)))
5648
5648
  : undefined,
5649
5649
  ExpirationTime: output.ExpirationTime !== undefined && output.ExpirationTime !== null
5650
- ? new Date(Math.round(output.ExpirationTime * 1000))
5650
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.ExpirationTime)))
5651
5651
  : undefined,
5652
- State: (0, smithy_client_1.expectString)(output.State),
5652
+ State: smithy_client_1.expectString(output.State),
5653
5653
  };
5654
5654
  };
5655
5655
  const deserializeAws_json1_1PartnerEventSourceAccountList = (output, context) => {
@@ -5679,13 +5679,13 @@ const deserializeAws_json1_1PathParameterList = (output, context) => {
5679
5679
  if (entry === null) {
5680
5680
  return null;
5681
5681
  }
5682
- return (0, smithy_client_1.expectString)(entry);
5682
+ return smithy_client_1.expectString(entry);
5683
5683
  });
5684
5684
  };
5685
5685
  const deserializeAws_json1_1PlacementConstraint = (output, context) => {
5686
5686
  return {
5687
- expression: (0, smithy_client_1.expectString)(output.expression),
5688
- type: (0, smithy_client_1.expectString)(output.type),
5687
+ expression: smithy_client_1.expectString(output.expression),
5688
+ type: smithy_client_1.expectString(output.type),
5689
5689
  };
5690
5690
  };
5691
5691
  const deserializeAws_json1_1PlacementConstraints = (output, context) => {
@@ -5710,13 +5710,13 @@ const deserializeAws_json1_1PlacementStrategies = (output, context) => {
5710
5710
  };
5711
5711
  const deserializeAws_json1_1PlacementStrategy = (output, context) => {
5712
5712
  return {
5713
- field: (0, smithy_client_1.expectString)(output.field),
5714
- type: (0, smithy_client_1.expectString)(output.type),
5713
+ field: smithy_client_1.expectString(output.field),
5714
+ type: smithy_client_1.expectString(output.type),
5715
5715
  };
5716
5716
  };
5717
5717
  const deserializeAws_json1_1PolicyLengthExceededException = (output, context) => {
5718
5718
  return {
5719
- message: (0, smithy_client_1.expectString)(output.message),
5719
+ message: smithy_client_1.expectString(output.message),
5720
5720
  };
5721
5721
  };
5722
5722
  const deserializeAws_json1_1PutEventsResponse = (output, context) => {
@@ -5724,14 +5724,14 @@ const deserializeAws_json1_1PutEventsResponse = (output, context) => {
5724
5724
  Entries: output.Entries !== undefined && output.Entries !== null
5725
5725
  ? deserializeAws_json1_1PutEventsResultEntryList(output.Entries, context)
5726
5726
  : undefined,
5727
- FailedEntryCount: (0, smithy_client_1.expectInt32)(output.FailedEntryCount),
5727
+ FailedEntryCount: smithy_client_1.expectInt32(output.FailedEntryCount),
5728
5728
  };
5729
5729
  };
5730
5730
  const deserializeAws_json1_1PutEventsResultEntry = (output, context) => {
5731
5731
  return {
5732
- ErrorCode: (0, smithy_client_1.expectString)(output.ErrorCode),
5733
- ErrorMessage: (0, smithy_client_1.expectString)(output.ErrorMessage),
5734
- EventId: (0, smithy_client_1.expectString)(output.EventId),
5732
+ ErrorCode: smithy_client_1.expectString(output.ErrorCode),
5733
+ ErrorMessage: smithy_client_1.expectString(output.ErrorMessage),
5734
+ EventId: smithy_client_1.expectString(output.EventId),
5735
5735
  };
5736
5736
  };
5737
5737
  const deserializeAws_json1_1PutEventsResultEntryList = (output, context) => {
@@ -5749,14 +5749,14 @@ const deserializeAws_json1_1PutPartnerEventsResponse = (output, context) => {
5749
5749
  Entries: output.Entries !== undefined && output.Entries !== null
5750
5750
  ? deserializeAws_json1_1PutPartnerEventsResultEntryList(output.Entries, context)
5751
5751
  : undefined,
5752
- FailedEntryCount: (0, smithy_client_1.expectInt32)(output.FailedEntryCount),
5752
+ FailedEntryCount: smithy_client_1.expectInt32(output.FailedEntryCount),
5753
5753
  };
5754
5754
  };
5755
5755
  const deserializeAws_json1_1PutPartnerEventsResultEntry = (output, context) => {
5756
5756
  return {
5757
- ErrorCode: (0, smithy_client_1.expectString)(output.ErrorCode),
5758
- ErrorMessage: (0, smithy_client_1.expectString)(output.ErrorMessage),
5759
- EventId: (0, smithy_client_1.expectString)(output.EventId),
5757
+ ErrorCode: smithy_client_1.expectString(output.ErrorCode),
5758
+ ErrorMessage: smithy_client_1.expectString(output.ErrorMessage),
5759
+ EventId: smithy_client_1.expectString(output.EventId),
5760
5760
  };
5761
5761
  };
5762
5762
  const deserializeAws_json1_1PutPartnerEventsResultEntryList = (output, context) => {
@@ -5771,7 +5771,7 @@ const deserializeAws_json1_1PutPartnerEventsResultEntryList = (output, context)
5771
5771
  };
5772
5772
  const deserializeAws_json1_1PutRuleResponse = (output, context) => {
5773
5773
  return {
5774
- RuleArn: (0, smithy_client_1.expectString)(output.RuleArn),
5774
+ RuleArn: smithy_client_1.expectString(output.RuleArn),
5775
5775
  };
5776
5776
  };
5777
5777
  const deserializeAws_json1_1PutTargetsResponse = (output, context) => {
@@ -5779,14 +5779,14 @@ const deserializeAws_json1_1PutTargetsResponse = (output, context) => {
5779
5779
  FailedEntries: output.FailedEntries !== undefined && output.FailedEntries !== null
5780
5780
  ? deserializeAws_json1_1PutTargetsResultEntryList(output.FailedEntries, context)
5781
5781
  : undefined,
5782
- FailedEntryCount: (0, smithy_client_1.expectInt32)(output.FailedEntryCount),
5782
+ FailedEntryCount: smithy_client_1.expectInt32(output.FailedEntryCount),
5783
5783
  };
5784
5784
  };
5785
5785
  const deserializeAws_json1_1PutTargetsResultEntry = (output, context) => {
5786
5786
  return {
5787
- ErrorCode: (0, smithy_client_1.expectString)(output.ErrorCode),
5788
- ErrorMessage: (0, smithy_client_1.expectString)(output.ErrorMessage),
5789
- TargetId: (0, smithy_client_1.expectString)(output.TargetId),
5787
+ ErrorCode: smithy_client_1.expectString(output.ErrorCode),
5788
+ ErrorMessage: smithy_client_1.expectString(output.ErrorMessage),
5789
+ TargetId: smithy_client_1.expectString(output.TargetId),
5790
5790
  };
5791
5791
  };
5792
5792
  const deserializeAws_json1_1PutTargetsResultEntryList = (output, context) => {
@@ -5806,18 +5806,18 @@ const deserializeAws_json1_1QueryStringParametersMap = (output, context) => {
5806
5806
  }
5807
5807
  return {
5808
5808
  ...acc,
5809
- [key]: (0, smithy_client_1.expectString)(value),
5809
+ [key]: smithy_client_1.expectString(value),
5810
5810
  };
5811
5811
  }, {});
5812
5812
  };
5813
5813
  const deserializeAws_json1_1RedshiftDataParameters = (output, context) => {
5814
5814
  return {
5815
- Database: (0, smithy_client_1.expectString)(output.Database),
5816
- DbUser: (0, smithy_client_1.expectString)(output.DbUser),
5817
- SecretManagerArn: (0, smithy_client_1.expectString)(output.SecretManagerArn),
5818
- Sql: (0, smithy_client_1.expectString)(output.Sql),
5819
- StatementName: (0, smithy_client_1.expectString)(output.StatementName),
5820
- WithEvent: (0, smithy_client_1.expectBoolean)(output.WithEvent),
5815
+ Database: smithy_client_1.expectString(output.Database),
5816
+ DbUser: smithy_client_1.expectString(output.DbUser),
5817
+ SecretManagerArn: smithy_client_1.expectString(output.SecretManagerArn),
5818
+ Sql: smithy_client_1.expectString(output.Sql),
5819
+ StatementName: smithy_client_1.expectString(output.StatementName),
5820
+ WithEvent: smithy_client_1.expectBoolean(output.WithEvent),
5821
5821
  };
5822
5822
  };
5823
5823
  const deserializeAws_json1_1RemoveTargetsResponse = (output, context) => {
@@ -5825,14 +5825,14 @@ const deserializeAws_json1_1RemoveTargetsResponse = (output, context) => {
5825
5825
  FailedEntries: output.FailedEntries !== undefined && output.FailedEntries !== null
5826
5826
  ? deserializeAws_json1_1RemoveTargetsResultEntryList(output.FailedEntries, context)
5827
5827
  : undefined,
5828
- FailedEntryCount: (0, smithy_client_1.expectInt32)(output.FailedEntryCount),
5828
+ FailedEntryCount: smithy_client_1.expectInt32(output.FailedEntryCount),
5829
5829
  };
5830
5830
  };
5831
5831
  const deserializeAws_json1_1RemoveTargetsResultEntry = (output, context) => {
5832
5832
  return {
5833
- ErrorCode: (0, smithy_client_1.expectString)(output.ErrorCode),
5834
- ErrorMessage: (0, smithy_client_1.expectString)(output.ErrorMessage),
5835
- TargetId: (0, smithy_client_1.expectString)(output.TargetId),
5833
+ ErrorCode: smithy_client_1.expectString(output.ErrorCode),
5834
+ ErrorMessage: smithy_client_1.expectString(output.ErrorMessage),
5835
+ TargetId: smithy_client_1.expectString(output.TargetId),
5836
5836
  };
5837
5837
  };
5838
5838
  const deserializeAws_json1_1RemoveTargetsResultEntryList = (output, context) => {
@@ -5848,29 +5848,29 @@ const deserializeAws_json1_1RemoveTargetsResultEntryList = (output, context) =>
5848
5848
  const deserializeAws_json1_1Replay = (output, context) => {
5849
5849
  return {
5850
5850
  EventEndTime: output.EventEndTime !== undefined && output.EventEndTime !== null
5851
- ? new Date(Math.round(output.EventEndTime * 1000))
5851
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.EventEndTime)))
5852
5852
  : undefined,
5853
5853
  EventLastReplayedTime: output.EventLastReplayedTime !== undefined && output.EventLastReplayedTime !== null
5854
- ? new Date(Math.round(output.EventLastReplayedTime * 1000))
5854
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.EventLastReplayedTime)))
5855
5855
  : undefined,
5856
- EventSourceArn: (0, smithy_client_1.expectString)(output.EventSourceArn),
5856
+ EventSourceArn: smithy_client_1.expectString(output.EventSourceArn),
5857
5857
  EventStartTime: output.EventStartTime !== undefined && output.EventStartTime !== null
5858
- ? new Date(Math.round(output.EventStartTime * 1000))
5858
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.EventStartTime)))
5859
5859
  : undefined,
5860
5860
  ReplayEndTime: output.ReplayEndTime !== undefined && output.ReplayEndTime !== null
5861
- ? new Date(Math.round(output.ReplayEndTime * 1000))
5861
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.ReplayEndTime)))
5862
5862
  : undefined,
5863
- ReplayName: (0, smithy_client_1.expectString)(output.ReplayName),
5863
+ ReplayName: smithy_client_1.expectString(output.ReplayName),
5864
5864
  ReplayStartTime: output.ReplayStartTime !== undefined && output.ReplayStartTime !== null
5865
- ? new Date(Math.round(output.ReplayStartTime * 1000))
5865
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.ReplayStartTime)))
5866
5866
  : undefined,
5867
- State: (0, smithy_client_1.expectString)(output.State),
5868
- StateReason: (0, smithy_client_1.expectString)(output.StateReason),
5867
+ State: smithy_client_1.expectString(output.State),
5868
+ StateReason: smithy_client_1.expectString(output.StateReason),
5869
5869
  };
5870
5870
  };
5871
5871
  const deserializeAws_json1_1ReplayDestination = (output, context) => {
5872
5872
  return {
5873
- Arn: (0, smithy_client_1.expectString)(output.Arn),
5873
+ Arn: smithy_client_1.expectString(output.Arn),
5874
5874
  FilterArns: output.FilterArns !== undefined && output.FilterArns !== null
5875
5875
  ? deserializeAws_json1_1ReplayDestinationFilters(output.FilterArns, context)
5876
5876
  : undefined,
@@ -5883,7 +5883,7 @@ const deserializeAws_json1_1ReplayDestinationFilters = (output, context) => {
5883
5883
  if (entry === null) {
5884
5884
  return null;
5885
5885
  }
5886
- return (0, smithy_client_1.expectString)(entry);
5886
+ return smithy_client_1.expectString(entry);
5887
5887
  });
5888
5888
  };
5889
5889
  const deserializeAws_json1_1ReplayList = (output, context) => {
@@ -5898,31 +5898,31 @@ const deserializeAws_json1_1ReplayList = (output, context) => {
5898
5898
  };
5899
5899
  const deserializeAws_json1_1ResourceAlreadyExistsException = (output, context) => {
5900
5900
  return {
5901
- message: (0, smithy_client_1.expectString)(output.message),
5901
+ message: smithy_client_1.expectString(output.message),
5902
5902
  };
5903
5903
  };
5904
5904
  const deserializeAws_json1_1ResourceNotFoundException = (output, context) => {
5905
5905
  return {
5906
- message: (0, smithy_client_1.expectString)(output.message),
5906
+ message: smithy_client_1.expectString(output.message),
5907
5907
  };
5908
5908
  };
5909
5909
  const deserializeAws_json1_1RetryPolicy = (output, context) => {
5910
5910
  return {
5911
- MaximumEventAgeInSeconds: (0, smithy_client_1.expectInt32)(output.MaximumEventAgeInSeconds),
5912
- MaximumRetryAttempts: (0, smithy_client_1.expectInt32)(output.MaximumRetryAttempts),
5911
+ MaximumEventAgeInSeconds: smithy_client_1.expectInt32(output.MaximumEventAgeInSeconds),
5912
+ MaximumRetryAttempts: smithy_client_1.expectInt32(output.MaximumRetryAttempts),
5913
5913
  };
5914
5914
  };
5915
5915
  const deserializeAws_json1_1Rule = (output, context) => {
5916
5916
  return {
5917
- Arn: (0, smithy_client_1.expectString)(output.Arn),
5918
- Description: (0, smithy_client_1.expectString)(output.Description),
5919
- EventBusName: (0, smithy_client_1.expectString)(output.EventBusName),
5920
- EventPattern: (0, smithy_client_1.expectString)(output.EventPattern),
5921
- ManagedBy: (0, smithy_client_1.expectString)(output.ManagedBy),
5922
- Name: (0, smithy_client_1.expectString)(output.Name),
5923
- RoleArn: (0, smithy_client_1.expectString)(output.RoleArn),
5924
- ScheduleExpression: (0, smithy_client_1.expectString)(output.ScheduleExpression),
5925
- State: (0, smithy_client_1.expectString)(output.State),
5917
+ Arn: smithy_client_1.expectString(output.Arn),
5918
+ Description: smithy_client_1.expectString(output.Description),
5919
+ EventBusName: smithy_client_1.expectString(output.EventBusName),
5920
+ EventPattern: smithy_client_1.expectString(output.EventPattern),
5921
+ ManagedBy: smithy_client_1.expectString(output.ManagedBy),
5922
+ Name: smithy_client_1.expectString(output.Name),
5923
+ RoleArn: smithy_client_1.expectString(output.RoleArn),
5924
+ ScheduleExpression: smithy_client_1.expectString(output.ScheduleExpression),
5925
+ State: smithy_client_1.expectString(output.State),
5926
5926
  };
5927
5927
  };
5928
5928
  const deserializeAws_json1_1RuleNameList = (output, context) => {
@@ -5932,7 +5932,7 @@ const deserializeAws_json1_1RuleNameList = (output, context) => {
5932
5932
  if (entry === null) {
5933
5933
  return null;
5934
5934
  }
5935
- return (0, smithy_client_1.expectString)(entry);
5935
+ return smithy_client_1.expectString(entry);
5936
5936
  });
5937
5937
  };
5938
5938
  const deserializeAws_json1_1RuleResponseList = (output, context) => {
@@ -5954,7 +5954,7 @@ const deserializeAws_json1_1RunCommandParameters = (output, context) => {
5954
5954
  };
5955
5955
  const deserializeAws_json1_1RunCommandTarget = (output, context) => {
5956
5956
  return {
5957
- Key: (0, smithy_client_1.expectString)(output.Key),
5957
+ Key: smithy_client_1.expectString(output.Key),
5958
5958
  Values: output.Values !== undefined && output.Values !== null
5959
5959
  ? deserializeAws_json1_1RunCommandTargetValues(output.Values, context)
5960
5960
  : undefined,
@@ -5977,13 +5977,13 @@ const deserializeAws_json1_1RunCommandTargetValues = (output, context) => {
5977
5977
  if (entry === null) {
5978
5978
  return null;
5979
5979
  }
5980
- return (0, smithy_client_1.expectString)(entry);
5980
+ return smithy_client_1.expectString(entry);
5981
5981
  });
5982
5982
  };
5983
5983
  const deserializeAws_json1_1SageMakerPipelineParameter = (output, context) => {
5984
5984
  return {
5985
- Name: (0, smithy_client_1.expectString)(output.Name),
5986
- Value: (0, smithy_client_1.expectString)(output.Value),
5985
+ Name: smithy_client_1.expectString(output.Name),
5986
+ Value: smithy_client_1.expectString(output.Value),
5987
5987
  };
5988
5988
  };
5989
5989
  const deserializeAws_json1_1SageMakerPipelineParameterList = (output, context) => {
@@ -6005,17 +6005,17 @@ const deserializeAws_json1_1SageMakerPipelineParameters = (output, context) => {
6005
6005
  };
6006
6006
  const deserializeAws_json1_1SqsParameters = (output, context) => {
6007
6007
  return {
6008
- MessageGroupId: (0, smithy_client_1.expectString)(output.MessageGroupId),
6008
+ MessageGroupId: smithy_client_1.expectString(output.MessageGroupId),
6009
6009
  };
6010
6010
  };
6011
6011
  const deserializeAws_json1_1StartReplayResponse = (output, context) => {
6012
6012
  return {
6013
- ReplayArn: (0, smithy_client_1.expectString)(output.ReplayArn),
6013
+ ReplayArn: smithy_client_1.expectString(output.ReplayArn),
6014
6014
  ReplayStartTime: output.ReplayStartTime !== undefined && output.ReplayStartTime !== null
6015
- ? new Date(Math.round(output.ReplayStartTime * 1000))
6015
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.ReplayStartTime)))
6016
6016
  : undefined,
6017
- State: (0, smithy_client_1.expectString)(output.State),
6018
- StateReason: (0, smithy_client_1.expectString)(output.StateReason),
6017
+ State: smithy_client_1.expectString(output.State),
6018
+ StateReason: smithy_client_1.expectString(output.StateReason),
6019
6019
  };
6020
6020
  };
6021
6021
  const deserializeAws_json1_1StringList = (output, context) => {
@@ -6025,13 +6025,13 @@ const deserializeAws_json1_1StringList = (output, context) => {
6025
6025
  if (entry === null) {
6026
6026
  return null;
6027
6027
  }
6028
- return (0, smithy_client_1.expectString)(entry);
6028
+ return smithy_client_1.expectString(entry);
6029
6029
  });
6030
6030
  };
6031
6031
  const deserializeAws_json1_1Tag = (output, context) => {
6032
6032
  return {
6033
- Key: (0, smithy_client_1.expectString)(output.Key),
6034
- Value: (0, smithy_client_1.expectString)(output.Value),
6033
+ Key: smithy_client_1.expectString(output.Key),
6034
+ Value: smithy_client_1.expectString(output.Value),
6035
6035
  };
6036
6036
  };
6037
6037
  const deserializeAws_json1_1TagList = (output, context) => {
@@ -6049,7 +6049,7 @@ const deserializeAws_json1_1TagResourceResponse = (output, context) => {
6049
6049
  };
6050
6050
  const deserializeAws_json1_1Target = (output, context) => {
6051
6051
  return {
6052
- Arn: (0, smithy_client_1.expectString)(output.Arn),
6052
+ Arn: smithy_client_1.expectString(output.Arn),
6053
6053
  BatchParameters: output.BatchParameters !== undefined && output.BatchParameters !== null
6054
6054
  ? deserializeAws_json1_1BatchParameters(output.BatchParameters, context)
6055
6055
  : undefined,
@@ -6062,9 +6062,9 @@ const deserializeAws_json1_1Target = (output, context) => {
6062
6062
  HttpParameters: output.HttpParameters !== undefined && output.HttpParameters !== null
6063
6063
  ? deserializeAws_json1_1HttpParameters(output.HttpParameters, context)
6064
6064
  : undefined,
6065
- Id: (0, smithy_client_1.expectString)(output.Id),
6066
- Input: (0, smithy_client_1.expectString)(output.Input),
6067
- InputPath: (0, smithy_client_1.expectString)(output.InputPath),
6065
+ Id: smithy_client_1.expectString(output.Id),
6066
+ Input: smithy_client_1.expectString(output.Input),
6067
+ InputPath: smithy_client_1.expectString(output.InputPath),
6068
6068
  InputTransformer: output.InputTransformer !== undefined && output.InputTransformer !== null
6069
6069
  ? deserializeAws_json1_1InputTransformer(output.InputTransformer, context)
6070
6070
  : undefined,
@@ -6077,7 +6077,7 @@ const deserializeAws_json1_1Target = (output, context) => {
6077
6077
  RetryPolicy: output.RetryPolicy !== undefined && output.RetryPolicy !== null
6078
6078
  ? deserializeAws_json1_1RetryPolicy(output.RetryPolicy, context)
6079
6079
  : undefined,
6080
- RoleArn: (0, smithy_client_1.expectString)(output.RoleArn),
6080
+ RoleArn: smithy_client_1.expectString(output.RoleArn),
6081
6081
  RunCommandParameters: output.RunCommandParameters !== undefined && output.RunCommandParameters !== null
6082
6082
  ? deserializeAws_json1_1RunCommandParameters(output.RunCommandParameters, context)
6083
6083
  : undefined,
@@ -6101,7 +6101,7 @@ const deserializeAws_json1_1TargetList = (output, context) => {
6101
6101
  };
6102
6102
  const deserializeAws_json1_1TestEventPatternResponse = (output, context) => {
6103
6103
  return {
6104
- Result: (0, smithy_client_1.expectBoolean)(output.Result),
6104
+ Result: smithy_client_1.expectBoolean(output.Result),
6105
6105
  };
6106
6106
  };
6107
6107
  const deserializeAws_json1_1TransformerPaths = (output, context) => {
@@ -6111,7 +6111,7 @@ const deserializeAws_json1_1TransformerPaths = (output, context) => {
6111
6111
  }
6112
6112
  return {
6113
6113
  ...acc,
6114
- [key]: (0, smithy_client_1.expectString)(value),
6114
+ [key]: smithy_client_1.expectString(value),
6115
6115
  };
6116
6116
  }, {});
6117
6117
  };
@@ -6120,38 +6120,38 @@ const deserializeAws_json1_1UntagResourceResponse = (output, context) => {
6120
6120
  };
6121
6121
  const deserializeAws_json1_1UpdateApiDestinationResponse = (output, context) => {
6122
6122
  return {
6123
- ApiDestinationArn: (0, smithy_client_1.expectString)(output.ApiDestinationArn),
6124
- ApiDestinationState: (0, smithy_client_1.expectString)(output.ApiDestinationState),
6123
+ ApiDestinationArn: smithy_client_1.expectString(output.ApiDestinationArn),
6124
+ ApiDestinationState: smithy_client_1.expectString(output.ApiDestinationState),
6125
6125
  CreationTime: output.CreationTime !== undefined && output.CreationTime !== null
6126
- ? new Date(Math.round(output.CreationTime * 1000))
6126
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.CreationTime)))
6127
6127
  : undefined,
6128
6128
  LastModifiedTime: output.LastModifiedTime !== undefined && output.LastModifiedTime !== null
6129
- ? new Date(Math.round(output.LastModifiedTime * 1000))
6129
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.LastModifiedTime)))
6130
6130
  : undefined,
6131
6131
  };
6132
6132
  };
6133
6133
  const deserializeAws_json1_1UpdateArchiveResponse = (output, context) => {
6134
6134
  return {
6135
- ArchiveArn: (0, smithy_client_1.expectString)(output.ArchiveArn),
6135
+ ArchiveArn: smithy_client_1.expectString(output.ArchiveArn),
6136
6136
  CreationTime: output.CreationTime !== undefined && output.CreationTime !== null
6137
- ? new Date(Math.round(output.CreationTime * 1000))
6137
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.CreationTime)))
6138
6138
  : undefined,
6139
- State: (0, smithy_client_1.expectString)(output.State),
6140
- StateReason: (0, smithy_client_1.expectString)(output.StateReason),
6139
+ State: smithy_client_1.expectString(output.State),
6140
+ StateReason: smithy_client_1.expectString(output.StateReason),
6141
6141
  };
6142
6142
  };
6143
6143
  const deserializeAws_json1_1UpdateConnectionResponse = (output, context) => {
6144
6144
  return {
6145
- ConnectionArn: (0, smithy_client_1.expectString)(output.ConnectionArn),
6146
- ConnectionState: (0, smithy_client_1.expectString)(output.ConnectionState),
6145
+ ConnectionArn: smithy_client_1.expectString(output.ConnectionArn),
6146
+ ConnectionState: smithy_client_1.expectString(output.ConnectionState),
6147
6147
  CreationTime: output.CreationTime !== undefined && output.CreationTime !== null
6148
- ? new Date(Math.round(output.CreationTime * 1000))
6148
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.CreationTime)))
6149
6149
  : undefined,
6150
6150
  LastAuthorizedTime: output.LastAuthorizedTime !== undefined && output.LastAuthorizedTime !== null
6151
- ? new Date(Math.round(output.LastAuthorizedTime * 1000))
6151
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.LastAuthorizedTime)))
6152
6152
  : undefined,
6153
6153
  LastModifiedTime: output.LastModifiedTime !== undefined && output.LastModifiedTime !== null
6154
- ? new Date(Math.round(output.LastModifiedTime * 1000))
6154
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.LastModifiedTime)))
6155
6155
  : undefined,
6156
6156
  };
6157
6157
  };