@aws-sdk/client-datasync 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 (198) hide show
  1. package/CHANGELOG.md +35 -0
  2. package/dist/cjs/DataSyncClient.js +13 -13
  3. package/dist/cjs/DataSyncClient.js.map +1 -1
  4. package/dist/cjs/commands/CancelTaskExecutionCommand.js +3 -3
  5. package/dist/cjs/commands/CancelTaskExecutionCommand.js.map +1 -1
  6. package/dist/cjs/commands/CreateAgentCommand.js +3 -3
  7. package/dist/cjs/commands/CreateAgentCommand.js.map +1 -1
  8. package/dist/cjs/commands/CreateLocationEfsCommand.js +3 -3
  9. package/dist/cjs/commands/CreateLocationEfsCommand.js.map +1 -1
  10. package/dist/cjs/commands/CreateLocationFsxWindowsCommand.js +3 -3
  11. package/dist/cjs/commands/CreateLocationFsxWindowsCommand.js.map +1 -1
  12. package/dist/cjs/commands/CreateLocationNfsCommand.js +3 -3
  13. package/dist/cjs/commands/CreateLocationNfsCommand.js.map +1 -1
  14. package/dist/cjs/commands/CreateLocationObjectStorageCommand.js +3 -3
  15. package/dist/cjs/commands/CreateLocationObjectStorageCommand.js.map +1 -1
  16. package/dist/cjs/commands/CreateLocationS3Command.js +3 -3
  17. package/dist/cjs/commands/CreateLocationS3Command.js.map +1 -1
  18. package/dist/cjs/commands/CreateLocationSmbCommand.js +3 -3
  19. package/dist/cjs/commands/CreateLocationSmbCommand.js.map +1 -1
  20. package/dist/cjs/commands/CreateTaskCommand.js +3 -3
  21. package/dist/cjs/commands/CreateTaskCommand.js.map +1 -1
  22. package/dist/cjs/commands/DeleteAgentCommand.js +3 -3
  23. package/dist/cjs/commands/DeleteAgentCommand.js.map +1 -1
  24. package/dist/cjs/commands/DeleteLocationCommand.js +3 -3
  25. package/dist/cjs/commands/DeleteLocationCommand.js.map +1 -1
  26. package/dist/cjs/commands/DeleteTaskCommand.js +3 -3
  27. package/dist/cjs/commands/DeleteTaskCommand.js.map +1 -1
  28. package/dist/cjs/commands/DescribeAgentCommand.js +3 -3
  29. package/dist/cjs/commands/DescribeAgentCommand.js.map +1 -1
  30. package/dist/cjs/commands/DescribeLocationEfsCommand.js +3 -3
  31. package/dist/cjs/commands/DescribeLocationEfsCommand.js.map +1 -1
  32. package/dist/cjs/commands/DescribeLocationFsxWindowsCommand.js +3 -3
  33. package/dist/cjs/commands/DescribeLocationFsxWindowsCommand.js.map +1 -1
  34. package/dist/cjs/commands/DescribeLocationNfsCommand.js +3 -3
  35. package/dist/cjs/commands/DescribeLocationNfsCommand.js.map +1 -1
  36. package/dist/cjs/commands/DescribeLocationObjectStorageCommand.js +3 -3
  37. package/dist/cjs/commands/DescribeLocationObjectStorageCommand.js.map +1 -1
  38. package/dist/cjs/commands/DescribeLocationS3Command.js +3 -3
  39. package/dist/cjs/commands/DescribeLocationS3Command.js.map +1 -1
  40. package/dist/cjs/commands/DescribeLocationSmbCommand.js +3 -3
  41. package/dist/cjs/commands/DescribeLocationSmbCommand.js.map +1 -1
  42. package/dist/cjs/commands/DescribeTaskCommand.js +3 -3
  43. package/dist/cjs/commands/DescribeTaskCommand.js.map +1 -1
  44. package/dist/cjs/commands/DescribeTaskExecutionCommand.js +3 -3
  45. package/dist/cjs/commands/DescribeTaskExecutionCommand.js.map +1 -1
  46. package/dist/cjs/commands/ListAgentsCommand.js +3 -3
  47. package/dist/cjs/commands/ListAgentsCommand.js.map +1 -1
  48. package/dist/cjs/commands/ListLocationsCommand.js +3 -3
  49. package/dist/cjs/commands/ListLocationsCommand.js.map +1 -1
  50. package/dist/cjs/commands/ListTagsForResourceCommand.js +3 -3
  51. package/dist/cjs/commands/ListTagsForResourceCommand.js.map +1 -1
  52. package/dist/cjs/commands/ListTaskExecutionsCommand.js +3 -3
  53. package/dist/cjs/commands/ListTaskExecutionsCommand.js.map +1 -1
  54. package/dist/cjs/commands/ListTasksCommand.js +3 -3
  55. package/dist/cjs/commands/ListTasksCommand.js.map +1 -1
  56. package/dist/cjs/commands/StartTaskExecutionCommand.js +3 -3
  57. package/dist/cjs/commands/StartTaskExecutionCommand.js.map +1 -1
  58. package/dist/cjs/commands/TagResourceCommand.js +3 -3
  59. package/dist/cjs/commands/TagResourceCommand.js.map +1 -1
  60. package/dist/cjs/commands/UntagResourceCommand.js +3 -3
  61. package/dist/cjs/commands/UntagResourceCommand.js.map +1 -1
  62. package/dist/cjs/commands/UpdateAgentCommand.js +3 -3
  63. package/dist/cjs/commands/UpdateAgentCommand.js.map +1 -1
  64. package/dist/cjs/commands/UpdateLocationNfsCommand.js +3 -3
  65. package/dist/cjs/commands/UpdateLocationNfsCommand.js.map +1 -1
  66. package/dist/cjs/commands/UpdateLocationObjectStorageCommand.js +3 -3
  67. package/dist/cjs/commands/UpdateLocationObjectStorageCommand.js.map +1 -1
  68. package/dist/cjs/commands/UpdateLocationSmbCommand.js +3 -3
  69. package/dist/cjs/commands/UpdateLocationSmbCommand.js.map +1 -1
  70. package/dist/cjs/commands/UpdateTaskCommand.js +3 -3
  71. package/dist/cjs/commands/UpdateTaskCommand.js.map +1 -1
  72. package/dist/cjs/commands/UpdateTaskExecutionCommand.js +3 -3
  73. package/dist/cjs/commands/UpdateTaskExecutionCommand.js.map +1 -1
  74. package/dist/cjs/endpoints.js +1 -1
  75. package/dist/cjs/endpoints.js.map +1 -1
  76. package/dist/cjs/index.js +44 -44
  77. package/dist/cjs/index.js.map +1 -1
  78. package/dist/cjs/models/index.js +1 -1
  79. package/dist/cjs/models/index.js.map +1 -1
  80. package/dist/cjs/package.json +39 -39
  81. package/dist/cjs/protocols/Aws_json1_1.js +118 -118
  82. package/dist/cjs/protocols/Aws_json1_1.js.map +1 -1
  83. package/dist/cjs/runtimeConfig.browser.js +4 -4
  84. package/dist/cjs/runtimeConfig.browser.js.map +1 -1
  85. package/dist/cjs/runtimeConfig.js +8 -8
  86. package/dist/cjs/runtimeConfig.js.map +1 -1
  87. package/dist/cjs/runtimeConfig.native.js +1 -1
  88. package/dist/cjs/runtimeConfig.native.js.map +1 -1
  89. package/dist/es/DataSync.js +1 -10
  90. package/dist/es/DataSync.js.map +1 -1
  91. package/dist/es/DataSyncClient.js +1 -15
  92. package/dist/es/DataSyncClient.js.map +1 -1
  93. package/dist/es/commands/CancelTaskExecutionCommand.js +2 -34
  94. package/dist/es/commands/CancelTaskExecutionCommand.js.map +1 -1
  95. package/dist/es/commands/CreateAgentCommand.js +2 -41
  96. package/dist/es/commands/CreateAgentCommand.js.map +1 -1
  97. package/dist/es/commands/CreateLocationEfsCommand.js +2 -27
  98. package/dist/es/commands/CreateLocationEfsCommand.js.map +1 -1
  99. package/dist/es/commands/CreateLocationFsxWindowsCommand.js +2 -27
  100. package/dist/es/commands/CreateLocationFsxWindowsCommand.js.map +1 -1
  101. package/dist/es/commands/CreateLocationNfsCommand.js +2 -28
  102. package/dist/es/commands/CreateLocationNfsCommand.js.map +1 -1
  103. package/dist/es/commands/CreateLocationObjectStorageCommand.js +2 -28
  104. package/dist/es/commands/CreateLocationObjectStorageCommand.js.map +1 -1
  105. package/dist/es/commands/CreateLocationS3Command.js +2 -33
  106. package/dist/es/commands/CreateLocationS3Command.js.map +1 -1
  107. package/dist/es/commands/CreateLocationSmbCommand.js +2 -28
  108. package/dist/es/commands/CreateLocationSmbCommand.js.map +1 -1
  109. package/dist/es/commands/CreateTaskCommand.js +2 -45
  110. package/dist/es/commands/CreateTaskCommand.js.map +1 -1
  111. package/dist/es/commands/DeleteAgentCommand.js +2 -30
  112. package/dist/es/commands/DeleteAgentCommand.js.map +1 -1
  113. package/dist/es/commands/DeleteLocationCommand.js +2 -27
  114. package/dist/es/commands/DeleteLocationCommand.js.map +1 -1
  115. package/dist/es/commands/DeleteTaskCommand.js +2 -27
  116. package/dist/es/commands/DeleteTaskCommand.js.map +1 -1
  117. package/dist/es/commands/DescribeAgentCommand.js +2 -29
  118. package/dist/es/commands/DescribeAgentCommand.js.map +1 -1
  119. package/dist/es/commands/DescribeLocationEfsCommand.js +2 -27
  120. package/dist/es/commands/DescribeLocationEfsCommand.js.map +1 -1
  121. package/dist/es/commands/DescribeLocationFsxWindowsCommand.js +2 -28
  122. package/dist/es/commands/DescribeLocationFsxWindowsCommand.js.map +1 -1
  123. package/dist/es/commands/DescribeLocationNfsCommand.js +2 -27
  124. package/dist/es/commands/DescribeLocationNfsCommand.js.map +1 -1
  125. package/dist/es/commands/DescribeLocationObjectStorageCommand.js +2 -28
  126. package/dist/es/commands/DescribeLocationObjectStorageCommand.js.map +1 -1
  127. package/dist/es/commands/DescribeLocationS3Command.js +2 -27
  128. package/dist/es/commands/DescribeLocationS3Command.js.map +1 -1
  129. package/dist/es/commands/DescribeLocationSmbCommand.js +2 -27
  130. package/dist/es/commands/DescribeLocationSmbCommand.js.map +1 -1
  131. package/dist/es/commands/DescribeTaskCommand.js +2 -27
  132. package/dist/es/commands/DescribeTaskCommand.js.map +1 -1
  133. package/dist/es/commands/DescribeTaskExecutionCommand.js +2 -27
  134. package/dist/es/commands/DescribeTaskExecutionCommand.js.map +1 -1
  135. package/dist/es/commands/ListAgentsCommand.js +2 -34
  136. package/dist/es/commands/ListAgentsCommand.js.map +1 -1
  137. package/dist/es/commands/ListLocationsCommand.js +2 -30
  138. package/dist/es/commands/ListLocationsCommand.js.map +1 -1
  139. package/dist/es/commands/ListTagsForResourceCommand.js +2 -27
  140. package/dist/es/commands/ListTagsForResourceCommand.js.map +1 -1
  141. package/dist/es/commands/ListTaskExecutionsCommand.js +2 -27
  142. package/dist/es/commands/ListTaskExecutionsCommand.js.map +1 -1
  143. package/dist/es/commands/ListTasksCommand.js +2 -27
  144. package/dist/es/commands/ListTasksCommand.js.map +1 -1
  145. package/dist/es/commands/StartTaskExecutionCommand.js +2 -35
  146. package/dist/es/commands/StartTaskExecutionCommand.js.map +1 -1
  147. package/dist/es/commands/TagResourceCommand.js +2 -27
  148. package/dist/es/commands/TagResourceCommand.js.map +1 -1
  149. package/dist/es/commands/UntagResourceCommand.js +2 -27
  150. package/dist/es/commands/UntagResourceCommand.js.map +1 -1
  151. package/dist/es/commands/UpdateAgentCommand.js +2 -27
  152. package/dist/es/commands/UpdateAgentCommand.js.map +1 -1
  153. package/dist/es/commands/UpdateLocationNfsCommand.js +2 -28
  154. package/dist/es/commands/UpdateLocationNfsCommand.js.map +1 -1
  155. package/dist/es/commands/UpdateLocationObjectStorageCommand.js +2 -29
  156. package/dist/es/commands/UpdateLocationObjectStorageCommand.js.map +1 -1
  157. package/dist/es/commands/UpdateLocationSmbCommand.js +2 -29
  158. package/dist/es/commands/UpdateLocationSmbCommand.js.map +1 -1
  159. package/dist/es/commands/UpdateTaskCommand.js +2 -27
  160. package/dist/es/commands/UpdateTaskCommand.js.map +1 -1
  161. package/dist/es/commands/UpdateTaskExecutionCommand.js +2 -36
  162. package/dist/es/commands/UpdateTaskExecutionCommand.js.map +1 -1
  163. package/dist/es/endpoints.js +1 -1
  164. package/dist/es/endpoints.js.map +1 -1
  165. package/dist/es/models/models_0.js +0 -267
  166. package/dist/es/models/models_0.js.map +1 -1
  167. package/dist/es/package.json +39 -39
  168. package/dist/es/pagination/ListAgentsPaginator.js +16 -28
  169. package/dist/es/pagination/ListAgentsPaginator.js.map +1 -1
  170. package/dist/es/pagination/ListLocationsPaginator.js +16 -28
  171. package/dist/es/pagination/ListLocationsPaginator.js.map +1 -1
  172. package/dist/es/pagination/ListTagsForResourcePaginator.js +16 -28
  173. package/dist/es/pagination/ListTagsForResourcePaginator.js.map +1 -1
  174. package/dist/es/pagination/ListTaskExecutionsPaginator.js +16 -28
  175. package/dist/es/pagination/ListTaskExecutionsPaginator.js.map +1 -1
  176. package/dist/es/pagination/ListTasksPaginator.js +16 -28
  177. package/dist/es/pagination/ListTasksPaginator.js.map +1 -1
  178. package/dist/es/protocols/Aws_json1_1.js +540 -545
  179. package/dist/es/protocols/Aws_json1_1.js.map +1 -1
  180. package/dist/es/runtimeConfig.browser.js +0 -3
  181. package/dist/es/runtimeConfig.browser.js.map +1 -1
  182. package/dist/es/runtimeConfig.js +0 -3
  183. package/dist/es/runtimeConfig.js.map +1 -1
  184. package/dist/es/runtimeConfig.native.js +0 -3
  185. package/dist/es/runtimeConfig.native.js.map +1 -1
  186. package/dist/es/runtimeConfig.shared.js +0 -3
  187. package/dist/es/runtimeConfig.shared.js.map +1 -1
  188. package/dist/types/runtimeConfig.browser.d.ts +1 -0
  189. package/dist/types/runtimeConfig.d.ts +1 -0
  190. package/dist/types/runtimeConfig.native.d.ts +1 -0
  191. package/dist/types/ts3.4/runtimeConfig.browser.d.ts +1 -0
  192. package/dist/types/ts3.4/runtimeConfig.d.ts +1 -0
  193. package/dist/types/ts3.4/runtimeConfig.native.d.ts +1 -0
  194. package/package.json +39 -39
  195. package/protocols/Aws_json1_1.ts +13 -10
  196. package/tsconfig.es.json +0 -2
  197. package/tsconfig.json +3 -5
  198. package/tsconfig.types.json +8 -0
@@ -2823,7 +2823,7 @@ const deserializeAws_json1_1AgentArnList = (output, context) => {
2823
2823
  if (entry === null) {
2824
2824
  return null;
2825
2825
  }
2826
- return (0, smithy_client_1.expectString)(entry);
2826
+ return smithy_client_1.expectString(entry);
2827
2827
  });
2828
2828
  };
2829
2829
  const deserializeAws_json1_1AgentList = (output, context) => {
@@ -2838,9 +2838,9 @@ const deserializeAws_json1_1AgentList = (output, context) => {
2838
2838
  };
2839
2839
  const deserializeAws_json1_1AgentListEntry = (output, context) => {
2840
2840
  return {
2841
- AgentArn: (0, smithy_client_1.expectString)(output.AgentArn),
2842
- Name: (0, smithy_client_1.expectString)(output.Name),
2843
- Status: (0, smithy_client_1.expectString)(output.Status),
2841
+ AgentArn: smithy_client_1.expectString(output.AgentArn),
2842
+ Name: smithy_client_1.expectString(output.Name),
2843
+ Status: smithy_client_1.expectString(output.Status),
2844
2844
  };
2845
2845
  };
2846
2846
  const deserializeAws_json1_1CancelTaskExecutionResponse = (output, context) => {
@@ -2848,42 +2848,42 @@ const deserializeAws_json1_1CancelTaskExecutionResponse = (output, context) => {
2848
2848
  };
2849
2849
  const deserializeAws_json1_1CreateAgentResponse = (output, context) => {
2850
2850
  return {
2851
- AgentArn: (0, smithy_client_1.expectString)(output.AgentArn),
2851
+ AgentArn: smithy_client_1.expectString(output.AgentArn),
2852
2852
  };
2853
2853
  };
2854
2854
  const deserializeAws_json1_1CreateLocationEfsResponse = (output, context) => {
2855
2855
  return {
2856
- LocationArn: (0, smithy_client_1.expectString)(output.LocationArn),
2856
+ LocationArn: smithy_client_1.expectString(output.LocationArn),
2857
2857
  };
2858
2858
  };
2859
2859
  const deserializeAws_json1_1CreateLocationFsxWindowsResponse = (output, context) => {
2860
2860
  return {
2861
- LocationArn: (0, smithy_client_1.expectString)(output.LocationArn),
2861
+ LocationArn: smithy_client_1.expectString(output.LocationArn),
2862
2862
  };
2863
2863
  };
2864
2864
  const deserializeAws_json1_1CreateLocationNfsResponse = (output, context) => {
2865
2865
  return {
2866
- LocationArn: (0, smithy_client_1.expectString)(output.LocationArn),
2866
+ LocationArn: smithy_client_1.expectString(output.LocationArn),
2867
2867
  };
2868
2868
  };
2869
2869
  const deserializeAws_json1_1CreateLocationObjectStorageResponse = (output, context) => {
2870
2870
  return {
2871
- LocationArn: (0, smithy_client_1.expectString)(output.LocationArn),
2871
+ LocationArn: smithy_client_1.expectString(output.LocationArn),
2872
2872
  };
2873
2873
  };
2874
2874
  const deserializeAws_json1_1CreateLocationS3Response = (output, context) => {
2875
2875
  return {
2876
- LocationArn: (0, smithy_client_1.expectString)(output.LocationArn),
2876
+ LocationArn: smithy_client_1.expectString(output.LocationArn),
2877
2877
  };
2878
2878
  };
2879
2879
  const deserializeAws_json1_1CreateLocationSmbResponse = (output, context) => {
2880
2880
  return {
2881
- LocationArn: (0, smithy_client_1.expectString)(output.LocationArn),
2881
+ LocationArn: smithy_client_1.expectString(output.LocationArn),
2882
2882
  };
2883
2883
  };
2884
2884
  const deserializeAws_json1_1CreateTaskResponse = (output, context) => {
2885
2885
  return {
2886
- TaskArn: (0, smithy_client_1.expectString)(output.TaskArn),
2886
+ TaskArn: smithy_client_1.expectString(output.TaskArn),
2887
2887
  };
2888
2888
  };
2889
2889
  const deserializeAws_json1_1DeleteAgentResponse = (output, context) => {
@@ -2897,54 +2897,54 @@ const deserializeAws_json1_1DeleteTaskResponse = (output, context) => {
2897
2897
  };
2898
2898
  const deserializeAws_json1_1DescribeAgentResponse = (output, context) => {
2899
2899
  return {
2900
- AgentArn: (0, smithy_client_1.expectString)(output.AgentArn),
2900
+ AgentArn: smithy_client_1.expectString(output.AgentArn),
2901
2901
  CreationTime: output.CreationTime !== undefined && output.CreationTime !== null
2902
- ? new Date(Math.round(output.CreationTime * 1000))
2902
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.CreationTime)))
2903
2903
  : undefined,
2904
- EndpointType: (0, smithy_client_1.expectString)(output.EndpointType),
2904
+ EndpointType: smithy_client_1.expectString(output.EndpointType),
2905
2905
  LastConnectionTime: output.LastConnectionTime !== undefined && output.LastConnectionTime !== null
2906
- ? new Date(Math.round(output.LastConnectionTime * 1000))
2906
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.LastConnectionTime)))
2907
2907
  : undefined,
2908
- Name: (0, smithy_client_1.expectString)(output.Name),
2908
+ Name: smithy_client_1.expectString(output.Name),
2909
2909
  PrivateLinkConfig: output.PrivateLinkConfig !== undefined && output.PrivateLinkConfig !== null
2910
2910
  ? deserializeAws_json1_1PrivateLinkConfig(output.PrivateLinkConfig, context)
2911
2911
  : undefined,
2912
- Status: (0, smithy_client_1.expectString)(output.Status),
2912
+ Status: smithy_client_1.expectString(output.Status),
2913
2913
  };
2914
2914
  };
2915
2915
  const deserializeAws_json1_1DescribeLocationEfsResponse = (output, context) => {
2916
2916
  return {
2917
2917
  CreationTime: output.CreationTime !== undefined && output.CreationTime !== null
2918
- ? new Date(Math.round(output.CreationTime * 1000))
2918
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.CreationTime)))
2919
2919
  : undefined,
2920
2920
  Ec2Config: output.Ec2Config !== undefined && output.Ec2Config !== null
2921
2921
  ? deserializeAws_json1_1Ec2Config(output.Ec2Config, context)
2922
2922
  : undefined,
2923
- LocationArn: (0, smithy_client_1.expectString)(output.LocationArn),
2924
- LocationUri: (0, smithy_client_1.expectString)(output.LocationUri),
2923
+ LocationArn: smithy_client_1.expectString(output.LocationArn),
2924
+ LocationUri: smithy_client_1.expectString(output.LocationUri),
2925
2925
  };
2926
2926
  };
2927
2927
  const deserializeAws_json1_1DescribeLocationFsxWindowsResponse = (output, context) => {
2928
2928
  return {
2929
2929
  CreationTime: output.CreationTime !== undefined && output.CreationTime !== null
2930
- ? new Date(Math.round(output.CreationTime * 1000))
2930
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.CreationTime)))
2931
2931
  : undefined,
2932
- Domain: (0, smithy_client_1.expectString)(output.Domain),
2933
- LocationArn: (0, smithy_client_1.expectString)(output.LocationArn),
2934
- LocationUri: (0, smithy_client_1.expectString)(output.LocationUri),
2932
+ Domain: smithy_client_1.expectString(output.Domain),
2933
+ LocationArn: smithy_client_1.expectString(output.LocationArn),
2934
+ LocationUri: smithy_client_1.expectString(output.LocationUri),
2935
2935
  SecurityGroupArns: output.SecurityGroupArns !== undefined && output.SecurityGroupArns !== null
2936
2936
  ? deserializeAws_json1_1Ec2SecurityGroupArnList(output.SecurityGroupArns, context)
2937
2937
  : undefined,
2938
- User: (0, smithy_client_1.expectString)(output.User),
2938
+ User: smithy_client_1.expectString(output.User),
2939
2939
  };
2940
2940
  };
2941
2941
  const deserializeAws_json1_1DescribeLocationNfsResponse = (output, context) => {
2942
2942
  return {
2943
2943
  CreationTime: output.CreationTime !== undefined && output.CreationTime !== null
2944
- ? new Date(Math.round(output.CreationTime * 1000))
2944
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.CreationTime)))
2945
2945
  : undefined,
2946
- LocationArn: (0, smithy_client_1.expectString)(output.LocationArn),
2947
- LocationUri: (0, smithy_client_1.expectString)(output.LocationUri),
2946
+ LocationArn: smithy_client_1.expectString(output.LocationArn),
2947
+ LocationUri: smithy_client_1.expectString(output.LocationUri),
2948
2948
  MountOptions: output.MountOptions !== undefined && output.MountOptions !== null
2949
2949
  ? deserializeAws_json1_1NfsMountOptions(output.MountOptions, context)
2950
2950
  : undefined,
@@ -2955,17 +2955,17 @@ const deserializeAws_json1_1DescribeLocationNfsResponse = (output, context) => {
2955
2955
  };
2956
2956
  const deserializeAws_json1_1DescribeLocationObjectStorageResponse = (output, context) => {
2957
2957
  return {
2958
- AccessKey: (0, smithy_client_1.expectString)(output.AccessKey),
2958
+ AccessKey: smithy_client_1.expectString(output.AccessKey),
2959
2959
  AgentArns: output.AgentArns !== undefined && output.AgentArns !== null
2960
2960
  ? deserializeAws_json1_1AgentArnList(output.AgentArns, context)
2961
2961
  : undefined,
2962
2962
  CreationTime: output.CreationTime !== undefined && output.CreationTime !== null
2963
- ? new Date(Math.round(output.CreationTime * 1000))
2963
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.CreationTime)))
2964
2964
  : undefined,
2965
- LocationArn: (0, smithy_client_1.expectString)(output.LocationArn),
2966
- LocationUri: (0, smithy_client_1.expectString)(output.LocationUri),
2967
- ServerPort: (0, smithy_client_1.expectInt32)(output.ServerPort),
2968
- ServerProtocol: (0, smithy_client_1.expectString)(output.ServerProtocol),
2965
+ LocationArn: smithy_client_1.expectString(output.LocationArn),
2966
+ LocationUri: smithy_client_1.expectString(output.LocationUri),
2967
+ ServerPort: smithy_client_1.expectInt32(output.ServerPort),
2968
+ ServerProtocol: smithy_client_1.expectString(output.ServerProtocol),
2969
2969
  };
2970
2970
  };
2971
2971
  const deserializeAws_json1_1DescribeLocationS3Response = (output, context) => {
@@ -2974,14 +2974,14 @@ const deserializeAws_json1_1DescribeLocationS3Response = (output, context) => {
2974
2974
  ? deserializeAws_json1_1AgentArnList(output.AgentArns, context)
2975
2975
  : undefined,
2976
2976
  CreationTime: output.CreationTime !== undefined && output.CreationTime !== null
2977
- ? new Date(Math.round(output.CreationTime * 1000))
2977
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.CreationTime)))
2978
2978
  : undefined,
2979
- LocationArn: (0, smithy_client_1.expectString)(output.LocationArn),
2980
- LocationUri: (0, smithy_client_1.expectString)(output.LocationUri),
2979
+ LocationArn: smithy_client_1.expectString(output.LocationArn),
2980
+ LocationUri: smithy_client_1.expectString(output.LocationUri),
2981
2981
  S3Config: output.S3Config !== undefined && output.S3Config !== null
2982
2982
  ? deserializeAws_json1_1S3Config(output.S3Config, context)
2983
2983
  : undefined,
2984
- S3StorageClass: (0, smithy_client_1.expectString)(output.S3StorageClass),
2984
+ S3StorageClass: smithy_client_1.expectString(output.S3StorageClass),
2985
2985
  };
2986
2986
  };
2987
2987
  const deserializeAws_json1_1DescribeLocationSmbResponse = (output, context) => {
@@ -2990,27 +2990,27 @@ const deserializeAws_json1_1DescribeLocationSmbResponse = (output, context) => {
2990
2990
  ? deserializeAws_json1_1AgentArnList(output.AgentArns, context)
2991
2991
  : undefined,
2992
2992
  CreationTime: output.CreationTime !== undefined && output.CreationTime !== null
2993
- ? new Date(Math.round(output.CreationTime * 1000))
2993
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.CreationTime)))
2994
2994
  : undefined,
2995
- Domain: (0, smithy_client_1.expectString)(output.Domain),
2996
- LocationArn: (0, smithy_client_1.expectString)(output.LocationArn),
2997
- LocationUri: (0, smithy_client_1.expectString)(output.LocationUri),
2995
+ Domain: smithy_client_1.expectString(output.Domain),
2996
+ LocationArn: smithy_client_1.expectString(output.LocationArn),
2997
+ LocationUri: smithy_client_1.expectString(output.LocationUri),
2998
2998
  MountOptions: output.MountOptions !== undefined && output.MountOptions !== null
2999
2999
  ? deserializeAws_json1_1SmbMountOptions(output.MountOptions, context)
3000
3000
  : undefined,
3001
- User: (0, smithy_client_1.expectString)(output.User),
3001
+ User: smithy_client_1.expectString(output.User),
3002
3002
  };
3003
3003
  };
3004
3004
  const deserializeAws_json1_1DescribeTaskExecutionResponse = (output, context) => {
3005
3005
  return {
3006
- BytesTransferred: (0, smithy_client_1.expectLong)(output.BytesTransferred),
3007
- BytesWritten: (0, smithy_client_1.expectLong)(output.BytesWritten),
3008
- EstimatedBytesToTransfer: (0, smithy_client_1.expectLong)(output.EstimatedBytesToTransfer),
3009
- EstimatedFilesToTransfer: (0, smithy_client_1.expectLong)(output.EstimatedFilesToTransfer),
3006
+ BytesTransferred: smithy_client_1.expectLong(output.BytesTransferred),
3007
+ BytesWritten: smithy_client_1.expectLong(output.BytesWritten),
3008
+ EstimatedBytesToTransfer: smithy_client_1.expectLong(output.EstimatedBytesToTransfer),
3009
+ EstimatedFilesToTransfer: smithy_client_1.expectLong(output.EstimatedFilesToTransfer),
3010
3010
  Excludes: output.Excludes !== undefined && output.Excludes !== null
3011
3011
  ? deserializeAws_json1_1FilterList(output.Excludes, context)
3012
3012
  : undefined,
3013
- FilesTransferred: (0, smithy_client_1.expectLong)(output.FilesTransferred),
3013
+ FilesTransferred: smithy_client_1.expectLong(output.FilesTransferred),
3014
3014
  Includes: output.Includes !== undefined && output.Includes !== null
3015
3015
  ? deserializeAws_json1_1FilterList(output.Includes, context)
3016
3016
  : undefined,
@@ -3021,44 +3021,44 @@ const deserializeAws_json1_1DescribeTaskExecutionResponse = (output, context) =>
3021
3021
  ? deserializeAws_json1_1TaskExecutionResultDetail(output.Result, context)
3022
3022
  : undefined,
3023
3023
  StartTime: output.StartTime !== undefined && output.StartTime !== null
3024
- ? new Date(Math.round(output.StartTime * 1000))
3024
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.StartTime)))
3025
3025
  : undefined,
3026
- Status: (0, smithy_client_1.expectString)(output.Status),
3027
- TaskExecutionArn: (0, smithy_client_1.expectString)(output.TaskExecutionArn),
3026
+ Status: smithy_client_1.expectString(output.Status),
3027
+ TaskExecutionArn: smithy_client_1.expectString(output.TaskExecutionArn),
3028
3028
  };
3029
3029
  };
3030
3030
  const deserializeAws_json1_1DescribeTaskResponse = (output, context) => {
3031
3031
  return {
3032
- CloudWatchLogGroupArn: (0, smithy_client_1.expectString)(output.CloudWatchLogGroupArn),
3032
+ CloudWatchLogGroupArn: smithy_client_1.expectString(output.CloudWatchLogGroupArn),
3033
3033
  CreationTime: output.CreationTime !== undefined && output.CreationTime !== null
3034
- ? new Date(Math.round(output.CreationTime * 1000))
3034
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.CreationTime)))
3035
3035
  : undefined,
3036
- CurrentTaskExecutionArn: (0, smithy_client_1.expectString)(output.CurrentTaskExecutionArn),
3037
- DestinationLocationArn: (0, smithy_client_1.expectString)(output.DestinationLocationArn),
3036
+ CurrentTaskExecutionArn: smithy_client_1.expectString(output.CurrentTaskExecutionArn),
3037
+ DestinationLocationArn: smithy_client_1.expectString(output.DestinationLocationArn),
3038
3038
  DestinationNetworkInterfaceArns: output.DestinationNetworkInterfaceArns !== undefined && output.DestinationNetworkInterfaceArns !== null
3039
3039
  ? deserializeAws_json1_1DestinationNetworkInterfaceArns(output.DestinationNetworkInterfaceArns, context)
3040
3040
  : undefined,
3041
- ErrorCode: (0, smithy_client_1.expectString)(output.ErrorCode),
3042
- ErrorDetail: (0, smithy_client_1.expectString)(output.ErrorDetail),
3041
+ ErrorCode: smithy_client_1.expectString(output.ErrorCode),
3042
+ ErrorDetail: smithy_client_1.expectString(output.ErrorDetail),
3043
3043
  Excludes: output.Excludes !== undefined && output.Excludes !== null
3044
3044
  ? deserializeAws_json1_1FilterList(output.Excludes, context)
3045
3045
  : undefined,
3046
3046
  Includes: output.Includes !== undefined && output.Includes !== null
3047
3047
  ? deserializeAws_json1_1FilterList(output.Includes, context)
3048
3048
  : undefined,
3049
- Name: (0, smithy_client_1.expectString)(output.Name),
3049
+ Name: smithy_client_1.expectString(output.Name),
3050
3050
  Options: output.Options !== undefined && output.Options !== null
3051
3051
  ? deserializeAws_json1_1Options(output.Options, context)
3052
3052
  : undefined,
3053
3053
  Schedule: output.Schedule !== undefined && output.Schedule !== null
3054
3054
  ? deserializeAws_json1_1TaskSchedule(output.Schedule, context)
3055
3055
  : undefined,
3056
- SourceLocationArn: (0, smithy_client_1.expectString)(output.SourceLocationArn),
3056
+ SourceLocationArn: smithy_client_1.expectString(output.SourceLocationArn),
3057
3057
  SourceNetworkInterfaceArns: output.SourceNetworkInterfaceArns !== undefined && output.SourceNetworkInterfaceArns !== null
3058
3058
  ? deserializeAws_json1_1SourceNetworkInterfaceArns(output.SourceNetworkInterfaceArns, context)
3059
3059
  : undefined,
3060
- Status: (0, smithy_client_1.expectString)(output.Status),
3061
- TaskArn: (0, smithy_client_1.expectString)(output.TaskArn),
3060
+ Status: smithy_client_1.expectString(output.Status),
3061
+ TaskArn: smithy_client_1.expectString(output.TaskArn),
3062
3062
  };
3063
3063
  };
3064
3064
  const deserializeAws_json1_1DestinationNetworkInterfaceArns = (output, context) => {
@@ -3068,7 +3068,7 @@ const deserializeAws_json1_1DestinationNetworkInterfaceArns = (output, context)
3068
3068
  if (entry === null) {
3069
3069
  return null;
3070
3070
  }
3071
- return (0, smithy_client_1.expectString)(entry);
3071
+ return smithy_client_1.expectString(entry);
3072
3072
  });
3073
3073
  };
3074
3074
  const deserializeAws_json1_1Ec2Config = (output, context) => {
@@ -3076,7 +3076,7 @@ const deserializeAws_json1_1Ec2Config = (output, context) => {
3076
3076
  SecurityGroupArns: output.SecurityGroupArns !== undefined && output.SecurityGroupArns !== null
3077
3077
  ? deserializeAws_json1_1Ec2SecurityGroupArnList(output.SecurityGroupArns, context)
3078
3078
  : undefined,
3079
- SubnetArn: (0, smithy_client_1.expectString)(output.SubnetArn),
3079
+ SubnetArn: smithy_client_1.expectString(output.SubnetArn),
3080
3080
  };
3081
3081
  };
3082
3082
  const deserializeAws_json1_1Ec2SecurityGroupArnList = (output, context) => {
@@ -3086,7 +3086,7 @@ const deserializeAws_json1_1Ec2SecurityGroupArnList = (output, context) => {
3086
3086
  if (entry === null) {
3087
3087
  return null;
3088
3088
  }
3089
- return (0, smithy_client_1.expectString)(entry);
3089
+ return smithy_client_1.expectString(entry);
3090
3090
  });
3091
3091
  };
3092
3092
  const deserializeAws_json1_1FilterList = (output, context) => {
@@ -3101,20 +3101,20 @@ const deserializeAws_json1_1FilterList = (output, context) => {
3101
3101
  };
3102
3102
  const deserializeAws_json1_1FilterRule = (output, context) => {
3103
3103
  return {
3104
- FilterType: (0, smithy_client_1.expectString)(output.FilterType),
3105
- Value: (0, smithy_client_1.expectString)(output.Value),
3104
+ FilterType: smithy_client_1.expectString(output.FilterType),
3105
+ Value: smithy_client_1.expectString(output.Value),
3106
3106
  };
3107
3107
  };
3108
3108
  const deserializeAws_json1_1InternalException = (output, context) => {
3109
3109
  return {
3110
- errorCode: (0, smithy_client_1.expectString)(output.errorCode),
3111
- message: (0, smithy_client_1.expectString)(output.message),
3110
+ errorCode: smithy_client_1.expectString(output.errorCode),
3111
+ message: smithy_client_1.expectString(output.message),
3112
3112
  };
3113
3113
  };
3114
3114
  const deserializeAws_json1_1InvalidRequestException = (output, context) => {
3115
3115
  return {
3116
- errorCode: (0, smithy_client_1.expectString)(output.errorCode),
3117
- message: (0, smithy_client_1.expectString)(output.message),
3116
+ errorCode: smithy_client_1.expectString(output.errorCode),
3117
+ message: smithy_client_1.expectString(output.message),
3118
3118
  };
3119
3119
  };
3120
3120
  const deserializeAws_json1_1ListAgentsResponse = (output, context) => {
@@ -3122,7 +3122,7 @@ const deserializeAws_json1_1ListAgentsResponse = (output, context) => {
3122
3122
  Agents: output.Agents !== undefined && output.Agents !== null
3123
3123
  ? deserializeAws_json1_1AgentList(output.Agents, context)
3124
3124
  : undefined,
3125
- NextToken: (0, smithy_client_1.expectString)(output.NextToken),
3125
+ NextToken: smithy_client_1.expectString(output.NextToken),
3126
3126
  };
3127
3127
  };
3128
3128
  const deserializeAws_json1_1ListLocationsResponse = (output, context) => {
@@ -3130,12 +3130,12 @@ const deserializeAws_json1_1ListLocationsResponse = (output, context) => {
3130
3130
  Locations: output.Locations !== undefined && output.Locations !== null
3131
3131
  ? deserializeAws_json1_1LocationList(output.Locations, context)
3132
3132
  : undefined,
3133
- NextToken: (0, smithy_client_1.expectString)(output.NextToken),
3133
+ NextToken: smithy_client_1.expectString(output.NextToken),
3134
3134
  };
3135
3135
  };
3136
3136
  const deserializeAws_json1_1ListTagsForResourceResponse = (output, context) => {
3137
3137
  return {
3138
- NextToken: (0, smithy_client_1.expectString)(output.NextToken),
3138
+ NextToken: smithy_client_1.expectString(output.NextToken),
3139
3139
  Tags: output.Tags !== undefined && output.Tags !== null
3140
3140
  ? deserializeAws_json1_1OutputTagList(output.Tags, context)
3141
3141
  : undefined,
@@ -3143,7 +3143,7 @@ const deserializeAws_json1_1ListTagsForResourceResponse = (output, context) => {
3143
3143
  };
3144
3144
  const deserializeAws_json1_1ListTaskExecutionsResponse = (output, context) => {
3145
3145
  return {
3146
- NextToken: (0, smithy_client_1.expectString)(output.NextToken),
3146
+ NextToken: smithy_client_1.expectString(output.NextToken),
3147
3147
  TaskExecutions: output.TaskExecutions !== undefined && output.TaskExecutions !== null
3148
3148
  ? deserializeAws_json1_1TaskExecutionList(output.TaskExecutions, context)
3149
3149
  : undefined,
@@ -3151,7 +3151,7 @@ const deserializeAws_json1_1ListTaskExecutionsResponse = (output, context) => {
3151
3151
  };
3152
3152
  const deserializeAws_json1_1ListTasksResponse = (output, context) => {
3153
3153
  return {
3154
- NextToken: (0, smithy_client_1.expectString)(output.NextToken),
3154
+ NextToken: smithy_client_1.expectString(output.NextToken),
3155
3155
  Tasks: output.Tasks !== undefined && output.Tasks !== null
3156
3156
  ? deserializeAws_json1_1TaskList(output.Tasks, context)
3157
3157
  : undefined,
@@ -3169,13 +3169,13 @@ const deserializeAws_json1_1LocationList = (output, context) => {
3169
3169
  };
3170
3170
  const deserializeAws_json1_1LocationListEntry = (output, context) => {
3171
3171
  return {
3172
- LocationArn: (0, smithy_client_1.expectString)(output.LocationArn),
3173
- LocationUri: (0, smithy_client_1.expectString)(output.LocationUri),
3172
+ LocationArn: smithy_client_1.expectString(output.LocationArn),
3173
+ LocationUri: smithy_client_1.expectString(output.LocationUri),
3174
3174
  };
3175
3175
  };
3176
3176
  const deserializeAws_json1_1NfsMountOptions = (output, context) => {
3177
3177
  return {
3178
- Version: (0, smithy_client_1.expectString)(output.Version),
3178
+ Version: smithy_client_1.expectString(output.Version),
3179
3179
  };
3180
3180
  };
3181
3181
  const deserializeAws_json1_1OnPremConfig = (output, context) => {
@@ -3187,20 +3187,20 @@ const deserializeAws_json1_1OnPremConfig = (output, context) => {
3187
3187
  };
3188
3188
  const deserializeAws_json1_1Options = (output, context) => {
3189
3189
  return {
3190
- Atime: (0, smithy_client_1.expectString)(output.Atime),
3191
- BytesPerSecond: (0, smithy_client_1.expectLong)(output.BytesPerSecond),
3192
- Gid: (0, smithy_client_1.expectString)(output.Gid),
3193
- LogLevel: (0, smithy_client_1.expectString)(output.LogLevel),
3194
- Mtime: (0, smithy_client_1.expectString)(output.Mtime),
3195
- OverwriteMode: (0, smithy_client_1.expectString)(output.OverwriteMode),
3196
- PosixPermissions: (0, smithy_client_1.expectString)(output.PosixPermissions),
3197
- PreserveDeletedFiles: (0, smithy_client_1.expectString)(output.PreserveDeletedFiles),
3198
- PreserveDevices: (0, smithy_client_1.expectString)(output.PreserveDevices),
3199
- SecurityDescriptorCopyFlags: (0, smithy_client_1.expectString)(output.SecurityDescriptorCopyFlags),
3200
- TaskQueueing: (0, smithy_client_1.expectString)(output.TaskQueueing),
3201
- TransferMode: (0, smithy_client_1.expectString)(output.TransferMode),
3202
- Uid: (0, smithy_client_1.expectString)(output.Uid),
3203
- VerifyMode: (0, smithy_client_1.expectString)(output.VerifyMode),
3190
+ Atime: smithy_client_1.expectString(output.Atime),
3191
+ BytesPerSecond: smithy_client_1.expectLong(output.BytesPerSecond),
3192
+ Gid: smithy_client_1.expectString(output.Gid),
3193
+ LogLevel: smithy_client_1.expectString(output.LogLevel),
3194
+ Mtime: smithy_client_1.expectString(output.Mtime),
3195
+ OverwriteMode: smithy_client_1.expectString(output.OverwriteMode),
3196
+ PosixPermissions: smithy_client_1.expectString(output.PosixPermissions),
3197
+ PreserveDeletedFiles: smithy_client_1.expectString(output.PreserveDeletedFiles),
3198
+ PreserveDevices: smithy_client_1.expectString(output.PreserveDevices),
3199
+ SecurityDescriptorCopyFlags: smithy_client_1.expectString(output.SecurityDescriptorCopyFlags),
3200
+ TaskQueueing: smithy_client_1.expectString(output.TaskQueueing),
3201
+ TransferMode: smithy_client_1.expectString(output.TransferMode),
3202
+ Uid: smithy_client_1.expectString(output.Uid),
3203
+ VerifyMode: smithy_client_1.expectString(output.VerifyMode),
3204
3204
  };
3205
3205
  };
3206
3206
  const deserializeAws_json1_1OutputTagList = (output, context) => {
@@ -3220,7 +3220,7 @@ const deserializeAws_json1_1PLSecurityGroupArnList = (output, context) => {
3220
3220
  if (entry === null) {
3221
3221
  return null;
3222
3222
  }
3223
- return (0, smithy_client_1.expectString)(entry);
3223
+ return smithy_client_1.expectString(entry);
3224
3224
  });
3225
3225
  };
3226
3226
  const deserializeAws_json1_1PLSubnetArnList = (output, context) => {
@@ -3230,29 +3230,29 @@ const deserializeAws_json1_1PLSubnetArnList = (output, context) => {
3230
3230
  if (entry === null) {
3231
3231
  return null;
3232
3232
  }
3233
- return (0, smithy_client_1.expectString)(entry);
3233
+ return smithy_client_1.expectString(entry);
3234
3234
  });
3235
3235
  };
3236
3236
  const deserializeAws_json1_1PrivateLinkConfig = (output, context) => {
3237
3237
  return {
3238
- PrivateLinkEndpoint: (0, smithy_client_1.expectString)(output.PrivateLinkEndpoint),
3238
+ PrivateLinkEndpoint: smithy_client_1.expectString(output.PrivateLinkEndpoint),
3239
3239
  SecurityGroupArns: output.SecurityGroupArns !== undefined && output.SecurityGroupArns !== null
3240
3240
  ? deserializeAws_json1_1PLSecurityGroupArnList(output.SecurityGroupArns, context)
3241
3241
  : undefined,
3242
3242
  SubnetArns: output.SubnetArns !== undefined && output.SubnetArns !== null
3243
3243
  ? deserializeAws_json1_1PLSubnetArnList(output.SubnetArns, context)
3244
3244
  : undefined,
3245
- VpcEndpointId: (0, smithy_client_1.expectString)(output.VpcEndpointId),
3245
+ VpcEndpointId: smithy_client_1.expectString(output.VpcEndpointId),
3246
3246
  };
3247
3247
  };
3248
3248
  const deserializeAws_json1_1S3Config = (output, context) => {
3249
3249
  return {
3250
- BucketAccessRoleArn: (0, smithy_client_1.expectString)(output.BucketAccessRoleArn),
3250
+ BucketAccessRoleArn: smithy_client_1.expectString(output.BucketAccessRoleArn),
3251
3251
  };
3252
3252
  };
3253
3253
  const deserializeAws_json1_1SmbMountOptions = (output, context) => {
3254
3254
  return {
3255
- Version: (0, smithy_client_1.expectString)(output.Version),
3255
+ Version: smithy_client_1.expectString(output.Version),
3256
3256
  };
3257
3257
  };
3258
3258
  const deserializeAws_json1_1SourceNetworkInterfaceArns = (output, context) => {
@@ -3262,18 +3262,18 @@ const deserializeAws_json1_1SourceNetworkInterfaceArns = (output, context) => {
3262
3262
  if (entry === null) {
3263
3263
  return null;
3264
3264
  }
3265
- return (0, smithy_client_1.expectString)(entry);
3265
+ return smithy_client_1.expectString(entry);
3266
3266
  });
3267
3267
  };
3268
3268
  const deserializeAws_json1_1StartTaskExecutionResponse = (output, context) => {
3269
3269
  return {
3270
- TaskExecutionArn: (0, smithy_client_1.expectString)(output.TaskExecutionArn),
3270
+ TaskExecutionArn: smithy_client_1.expectString(output.TaskExecutionArn),
3271
3271
  };
3272
3272
  };
3273
3273
  const deserializeAws_json1_1TagListEntry = (output, context) => {
3274
3274
  return {
3275
- Key: (0, smithy_client_1.expectString)(output.Key),
3276
- Value: (0, smithy_client_1.expectString)(output.Value),
3275
+ Key: smithy_client_1.expectString(output.Key),
3276
+ Value: smithy_client_1.expectString(output.Value),
3277
3277
  };
3278
3278
  };
3279
3279
  const deserializeAws_json1_1TagResourceResponse = (output, context) => {
@@ -3291,21 +3291,21 @@ const deserializeAws_json1_1TaskExecutionList = (output, context) => {
3291
3291
  };
3292
3292
  const deserializeAws_json1_1TaskExecutionListEntry = (output, context) => {
3293
3293
  return {
3294
- Status: (0, smithy_client_1.expectString)(output.Status),
3295
- TaskExecutionArn: (0, smithy_client_1.expectString)(output.TaskExecutionArn),
3294
+ Status: smithy_client_1.expectString(output.Status),
3295
+ TaskExecutionArn: smithy_client_1.expectString(output.TaskExecutionArn),
3296
3296
  };
3297
3297
  };
3298
3298
  const deserializeAws_json1_1TaskExecutionResultDetail = (output, context) => {
3299
3299
  return {
3300
- ErrorCode: (0, smithy_client_1.expectString)(output.ErrorCode),
3301
- ErrorDetail: (0, smithy_client_1.expectString)(output.ErrorDetail),
3302
- PrepareDuration: (0, smithy_client_1.expectLong)(output.PrepareDuration),
3303
- PrepareStatus: (0, smithy_client_1.expectString)(output.PrepareStatus),
3304
- TotalDuration: (0, smithy_client_1.expectLong)(output.TotalDuration),
3305
- TransferDuration: (0, smithy_client_1.expectLong)(output.TransferDuration),
3306
- TransferStatus: (0, smithy_client_1.expectString)(output.TransferStatus),
3307
- VerifyDuration: (0, smithy_client_1.expectLong)(output.VerifyDuration),
3308
- VerifyStatus: (0, smithy_client_1.expectString)(output.VerifyStatus),
3300
+ ErrorCode: smithy_client_1.expectString(output.ErrorCode),
3301
+ ErrorDetail: smithy_client_1.expectString(output.ErrorDetail),
3302
+ PrepareDuration: smithy_client_1.expectLong(output.PrepareDuration),
3303
+ PrepareStatus: smithy_client_1.expectString(output.PrepareStatus),
3304
+ TotalDuration: smithy_client_1.expectLong(output.TotalDuration),
3305
+ TransferDuration: smithy_client_1.expectLong(output.TransferDuration),
3306
+ TransferStatus: smithy_client_1.expectString(output.TransferStatus),
3307
+ VerifyDuration: smithy_client_1.expectLong(output.VerifyDuration),
3308
+ VerifyStatus: smithy_client_1.expectString(output.VerifyStatus),
3309
3309
  };
3310
3310
  };
3311
3311
  const deserializeAws_json1_1TaskList = (output, context) => {
@@ -3320,14 +3320,14 @@ const deserializeAws_json1_1TaskList = (output, context) => {
3320
3320
  };
3321
3321
  const deserializeAws_json1_1TaskListEntry = (output, context) => {
3322
3322
  return {
3323
- Name: (0, smithy_client_1.expectString)(output.Name),
3324
- Status: (0, smithy_client_1.expectString)(output.Status),
3325
- TaskArn: (0, smithy_client_1.expectString)(output.TaskArn),
3323
+ Name: smithy_client_1.expectString(output.Name),
3324
+ Status: smithy_client_1.expectString(output.Status),
3325
+ TaskArn: smithy_client_1.expectString(output.TaskArn),
3326
3326
  };
3327
3327
  };
3328
3328
  const deserializeAws_json1_1TaskSchedule = (output, context) => {
3329
3329
  return {
3330
- ScheduleExpression: (0, smithy_client_1.expectString)(output.ScheduleExpression),
3330
+ ScheduleExpression: smithy_client_1.expectString(output.ScheduleExpression),
3331
3331
  };
3332
3332
  };
3333
3333
  const deserializeAws_json1_1UntagResourceResponse = (output, context) => {