@aws-sdk/client-appflow 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 (128) hide show
  1. package/CHANGELOG.md +35 -0
  2. package/dist/cjs/AppflowClient.js +13 -13
  3. package/dist/cjs/AppflowClient.js.map +1 -1
  4. package/dist/cjs/commands/CreateConnectorProfileCommand.js +3 -3
  5. package/dist/cjs/commands/CreateConnectorProfileCommand.js.map +1 -1
  6. package/dist/cjs/commands/CreateFlowCommand.js +3 -3
  7. package/dist/cjs/commands/CreateFlowCommand.js.map +1 -1
  8. package/dist/cjs/commands/DeleteConnectorProfileCommand.js +3 -3
  9. package/dist/cjs/commands/DeleteConnectorProfileCommand.js.map +1 -1
  10. package/dist/cjs/commands/DeleteFlowCommand.js +3 -3
  11. package/dist/cjs/commands/DeleteFlowCommand.js.map +1 -1
  12. package/dist/cjs/commands/DescribeConnectorEntityCommand.js +3 -3
  13. package/dist/cjs/commands/DescribeConnectorEntityCommand.js.map +1 -1
  14. package/dist/cjs/commands/DescribeConnectorProfilesCommand.js +3 -3
  15. package/dist/cjs/commands/DescribeConnectorProfilesCommand.js.map +1 -1
  16. package/dist/cjs/commands/DescribeConnectorsCommand.js +3 -3
  17. package/dist/cjs/commands/DescribeConnectorsCommand.js.map +1 -1
  18. package/dist/cjs/commands/DescribeFlowCommand.js +3 -3
  19. package/dist/cjs/commands/DescribeFlowCommand.js.map +1 -1
  20. package/dist/cjs/commands/DescribeFlowExecutionRecordsCommand.js +3 -3
  21. package/dist/cjs/commands/DescribeFlowExecutionRecordsCommand.js.map +1 -1
  22. package/dist/cjs/commands/ListConnectorEntitiesCommand.js +3 -3
  23. package/dist/cjs/commands/ListConnectorEntitiesCommand.js.map +1 -1
  24. package/dist/cjs/commands/ListFlowsCommand.js +3 -3
  25. package/dist/cjs/commands/ListFlowsCommand.js.map +1 -1
  26. package/dist/cjs/commands/ListTagsForResourceCommand.js +3 -3
  27. package/dist/cjs/commands/ListTagsForResourceCommand.js.map +1 -1
  28. package/dist/cjs/commands/StartFlowCommand.js +3 -3
  29. package/dist/cjs/commands/StartFlowCommand.js.map +1 -1
  30. package/dist/cjs/commands/StopFlowCommand.js +3 -3
  31. package/dist/cjs/commands/StopFlowCommand.js.map +1 -1
  32. package/dist/cjs/commands/TagResourceCommand.js +3 -3
  33. package/dist/cjs/commands/TagResourceCommand.js.map +1 -1
  34. package/dist/cjs/commands/UntagResourceCommand.js +3 -3
  35. package/dist/cjs/commands/UntagResourceCommand.js.map +1 -1
  36. package/dist/cjs/commands/UpdateConnectorProfileCommand.js +3 -3
  37. package/dist/cjs/commands/UpdateConnectorProfileCommand.js.map +1 -1
  38. package/dist/cjs/commands/UpdateFlowCommand.js +3 -3
  39. package/dist/cjs/commands/UpdateFlowCommand.js.map +1 -1
  40. package/dist/cjs/endpoints.js +1 -1
  41. package/dist/cjs/endpoints.js.map +1 -1
  42. package/dist/cjs/index.js +26 -26
  43. package/dist/cjs/index.js.map +1 -1
  44. package/dist/cjs/models/index.js +1 -1
  45. package/dist/cjs/models/index.js.map +1 -1
  46. package/dist/cjs/package.json +39 -39
  47. package/dist/cjs/protocols/Aws_restJson1.js +221 -221
  48. package/dist/cjs/protocols/Aws_restJson1.js.map +1 -1
  49. package/dist/cjs/runtimeConfig.browser.js +4 -4
  50. package/dist/cjs/runtimeConfig.browser.js.map +1 -1
  51. package/dist/cjs/runtimeConfig.js +8 -8
  52. package/dist/cjs/runtimeConfig.js.map +1 -1
  53. package/dist/cjs/runtimeConfig.native.js +1 -1
  54. package/dist/cjs/runtimeConfig.native.js.map +1 -1
  55. package/dist/es/Appflow.js +1 -44
  56. package/dist/es/Appflow.js.map +1 -1
  57. package/dist/es/AppflowClient.js +1 -49
  58. package/dist/es/AppflowClient.js.map +1 -1
  59. package/dist/es/commands/CreateConnectorProfileCommand.js +2 -30
  60. package/dist/es/commands/CreateConnectorProfileCommand.js.map +1 -1
  61. package/dist/es/commands/CreateFlowCommand.js +2 -30
  62. package/dist/es/commands/CreateFlowCommand.js.map +1 -1
  63. package/dist/es/commands/DeleteConnectorProfileCommand.js +2 -27
  64. package/dist/es/commands/DeleteConnectorProfileCommand.js.map +1 -1
  65. package/dist/es/commands/DeleteFlowCommand.js +2 -29
  66. package/dist/es/commands/DeleteFlowCommand.js.map +1 -1
  67. package/dist/es/commands/DescribeConnectorEntityCommand.js +2 -28
  68. package/dist/es/commands/DescribeConnectorEntityCommand.js.map +1 -1
  69. package/dist/es/commands/DescribeConnectorProfilesCommand.js +2 -31
  70. package/dist/es/commands/DescribeConnectorProfilesCommand.js.map +1 -1
  71. package/dist/es/commands/DescribeConnectorsCommand.js +2 -31
  72. package/dist/es/commands/DescribeConnectorsCommand.js.map +1 -1
  73. package/dist/es/commands/DescribeFlowCommand.js +2 -27
  74. package/dist/es/commands/DescribeFlowCommand.js.map +1 -1
  75. package/dist/es/commands/DescribeFlowExecutionRecordsCommand.js +2 -27
  76. package/dist/es/commands/DescribeFlowExecutionRecordsCommand.js.map +1 -1
  77. package/dist/es/commands/ListConnectorEntitiesCommand.js +2 -30
  78. package/dist/es/commands/ListConnectorEntitiesCommand.js.map +1 -1
  79. package/dist/es/commands/ListFlowsCommand.js +2 -27
  80. package/dist/es/commands/ListFlowsCommand.js.map +1 -1
  81. package/dist/es/commands/ListTagsForResourceCommand.js +2 -27
  82. package/dist/es/commands/ListTagsForResourceCommand.js.map +1 -1
  83. package/dist/es/commands/StartFlowCommand.js +2 -28
  84. package/dist/es/commands/StartFlowCommand.js.map +1 -1
  85. package/dist/es/commands/StopFlowCommand.js +2 -29
  86. package/dist/es/commands/StopFlowCommand.js.map +1 -1
  87. package/dist/es/commands/TagResourceCommand.js +2 -27
  88. package/dist/es/commands/TagResourceCommand.js.map +1 -1
  89. package/dist/es/commands/UntagResourceCommand.js +2 -27
  90. package/dist/es/commands/UntagResourceCommand.js.map +1 -1
  91. package/dist/es/commands/UpdateConnectorProfileCommand.js +2 -27
  92. package/dist/es/commands/UpdateConnectorProfileCommand.js.map +1 -1
  93. package/dist/es/commands/UpdateFlowCommand.js +2 -27
  94. package/dist/es/commands/UpdateFlowCommand.js.map +1 -1
  95. package/dist/es/endpoints.js +1 -1
  96. package/dist/es/endpoints.js.map +1 -1
  97. package/dist/es/models/models_0.js +0 -483
  98. package/dist/es/models/models_0.js.map +1 -1
  99. package/dist/es/package.json +39 -39
  100. package/dist/es/pagination/DescribeConnectorProfilesPaginator.js +16 -28
  101. package/dist/es/pagination/DescribeConnectorProfilesPaginator.js.map +1 -1
  102. package/dist/es/pagination/DescribeConnectorsPaginator.js +16 -28
  103. package/dist/es/pagination/DescribeConnectorsPaginator.js.map +1 -1
  104. package/dist/es/pagination/DescribeFlowExecutionRecordsPaginator.js +16 -28
  105. package/dist/es/pagination/DescribeFlowExecutionRecordsPaginator.js.map +1 -1
  106. package/dist/es/pagination/ListFlowsPaginator.js +16 -28
  107. package/dist/es/pagination/ListFlowsPaginator.js.map +1 -1
  108. package/dist/es/protocols/Aws_restJson1.js +453 -458
  109. package/dist/es/protocols/Aws_restJson1.js.map +1 -1
  110. package/dist/es/runtimeConfig.browser.js +0 -3
  111. package/dist/es/runtimeConfig.browser.js.map +1 -1
  112. package/dist/es/runtimeConfig.js +0 -3
  113. package/dist/es/runtimeConfig.js.map +1 -1
  114. package/dist/es/runtimeConfig.native.js +0 -3
  115. package/dist/es/runtimeConfig.native.js.map +1 -1
  116. package/dist/es/runtimeConfig.shared.js +0 -3
  117. package/dist/es/runtimeConfig.shared.js.map +1 -1
  118. package/dist/types/runtimeConfig.browser.d.ts +1 -0
  119. package/dist/types/runtimeConfig.d.ts +1 -0
  120. package/dist/types/runtimeConfig.native.d.ts +1 -0
  121. package/dist/types/ts3.4/runtimeConfig.browser.d.ts +1 -0
  122. package/dist/types/ts3.4/runtimeConfig.d.ts +1 -0
  123. package/dist/types/ts3.4/runtimeConfig.native.d.ts +1 -0
  124. package/package.json +39 -39
  125. package/protocols/Aws_restJson1.ts +16 -14
  126. package/tsconfig.es.json +0 -2
  127. package/tsconfig.json +3 -5
  128. package/tsconfig.types.json +8 -0
@@ -292,7 +292,7 @@ const serializeAws_restJson1ListTagsForResourceCommand = async (input, context)
292
292
  if (labelValue.length <= 0) {
293
293
  throw new Error("Empty value provided for input HTTP label: resourceArn.");
294
294
  }
295
- resolvedPath = resolvedPath.replace("{resourceArn}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
295
+ resolvedPath = resolvedPath.replace("{resourceArn}", smithy_client_1.extendedEncodeURIComponent(labelValue));
296
296
  }
297
297
  else {
298
298
  throw new Error("No value provided for input HTTP label: resourceArn.");
@@ -362,7 +362,7 @@ const serializeAws_restJson1TagResourceCommand = async (input, context) => {
362
362
  if (labelValue.length <= 0) {
363
363
  throw new Error("Empty value provided for input HTTP label: resourceArn.");
364
364
  }
365
- resolvedPath = resolvedPath.replace("{resourceArn}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
365
+ resolvedPath = resolvedPath.replace("{resourceArn}", smithy_client_1.extendedEncodeURIComponent(labelValue));
366
366
  }
367
367
  else {
368
368
  throw new Error("No value provided for input HTTP label: resourceArn.");
@@ -391,7 +391,7 @@ const serializeAws_restJson1UntagResourceCommand = async (input, context) => {
391
391
  if (labelValue.length <= 0) {
392
392
  throw new Error("Empty value provided for input HTTP label: resourceArn.");
393
393
  }
394
- resolvedPath = resolvedPath.replace("{resourceArn}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
394
+ resolvedPath = resolvedPath.replace("{resourceArn}", smithy_client_1.extendedEncodeURIComponent(labelValue));
395
395
  }
396
396
  else {
397
397
  throw new Error("No value provided for input HTTP label: resourceArn.");
@@ -484,9 +484,9 @@ const deserializeAws_restJson1CreateConnectorProfileCommand = async (output, con
484
484
  $metadata: deserializeMetadata(output),
485
485
  connectorProfileArn: undefined,
486
486
  };
487
- const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
487
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
488
488
  if (data.connectorProfileArn !== undefined && data.connectorProfileArn !== null) {
489
- contents.connectorProfileArn = (0, smithy_client_1.expectString)(data.connectorProfileArn);
489
+ contents.connectorProfileArn = smithy_client_1.expectString(data.connectorProfileArn);
490
490
  }
491
491
  return Promise.resolve(contents);
492
492
  };
@@ -565,12 +565,12 @@ const deserializeAws_restJson1CreateFlowCommand = async (output, context) => {
565
565
  flowArn: undefined,
566
566
  flowStatus: undefined,
567
567
  };
568
- const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
568
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
569
569
  if (data.flowArn !== undefined && data.flowArn !== null) {
570
- contents.flowArn = (0, smithy_client_1.expectString)(data.flowArn);
570
+ contents.flowArn = smithy_client_1.expectString(data.flowArn);
571
571
  }
572
572
  if (data.flowStatus !== undefined && data.flowStatus !== null) {
573
- contents.flowStatus = (0, smithy_client_1.expectString)(data.flowStatus);
573
+ contents.flowStatus = smithy_client_1.expectString(data.flowStatus);
574
574
  }
575
575
  return Promise.resolve(contents);
576
576
  };
@@ -784,7 +784,7 @@ const deserializeAws_restJson1DescribeConnectorEntityCommand = async (output, co
784
784
  $metadata: deserializeMetadata(output),
785
785
  connectorEntityFields: undefined,
786
786
  };
787
- const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
787
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
788
788
  if (data.connectorEntityFields !== undefined && data.connectorEntityFields !== null) {
789
789
  contents.connectorEntityFields = deserializeAws_restJson1ConnectorEntityFieldList(data.connectorEntityFields, context);
790
790
  }
@@ -865,12 +865,12 @@ const deserializeAws_restJson1DescribeConnectorProfilesCommand = async (output,
865
865
  connectorProfileDetails: undefined,
866
866
  nextToken: undefined,
867
867
  };
868
- const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
868
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
869
869
  if (data.connectorProfileDetails !== undefined && data.connectorProfileDetails !== null) {
870
870
  contents.connectorProfileDetails = deserializeAws_restJson1ConnectorProfileDetailList(data.connectorProfileDetails, context);
871
871
  }
872
872
  if (data.nextToken !== undefined && data.nextToken !== null) {
873
- contents.nextToken = (0, smithy_client_1.expectString)(data.nextToken);
873
+ contents.nextToken = smithy_client_1.expectString(data.nextToken);
874
874
  }
875
875
  return Promise.resolve(contents);
876
876
  };
@@ -925,12 +925,12 @@ const deserializeAws_restJson1DescribeConnectorsCommand = async (output, context
925
925
  connectorConfigurations: undefined,
926
926
  nextToken: undefined,
927
927
  };
928
- const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
928
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
929
929
  if (data.connectorConfigurations !== undefined && data.connectorConfigurations !== null) {
930
930
  contents.connectorConfigurations = deserializeAws_restJson1ConnectorConfigurationsMap(data.connectorConfigurations, context);
931
931
  }
932
932
  if (data.nextToken !== undefined && data.nextToken !== null) {
933
- contents.nextToken = (0, smithy_client_1.expectString)(data.nextToken);
933
+ contents.nextToken = smithy_client_1.expectString(data.nextToken);
934
934
  }
935
935
  return Promise.resolve(contents);
936
936
  };
@@ -999,42 +999,42 @@ const deserializeAws_restJson1DescribeFlowCommand = async (output, context) => {
999
999
  tasks: undefined,
1000
1000
  triggerConfig: undefined,
1001
1001
  };
1002
- const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1002
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
1003
1003
  if (data.createdAt !== undefined && data.createdAt !== null) {
1004
- contents.createdAt = new Date(Math.round(data.createdAt * 1000));
1004
+ contents.createdAt = smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(data.createdAt)));
1005
1005
  }
1006
1006
  if (data.createdBy !== undefined && data.createdBy !== null) {
1007
- contents.createdBy = (0, smithy_client_1.expectString)(data.createdBy);
1007
+ contents.createdBy = smithy_client_1.expectString(data.createdBy);
1008
1008
  }
1009
1009
  if (data.description !== undefined && data.description !== null) {
1010
- contents.description = (0, smithy_client_1.expectString)(data.description);
1010
+ contents.description = smithy_client_1.expectString(data.description);
1011
1011
  }
1012
1012
  if (data.destinationFlowConfigList !== undefined && data.destinationFlowConfigList !== null) {
1013
1013
  contents.destinationFlowConfigList = deserializeAws_restJson1DestinationFlowConfigList(data.destinationFlowConfigList, context);
1014
1014
  }
1015
1015
  if (data.flowArn !== undefined && data.flowArn !== null) {
1016
- contents.flowArn = (0, smithy_client_1.expectString)(data.flowArn);
1016
+ contents.flowArn = smithy_client_1.expectString(data.flowArn);
1017
1017
  }
1018
1018
  if (data.flowName !== undefined && data.flowName !== null) {
1019
- contents.flowName = (0, smithy_client_1.expectString)(data.flowName);
1019
+ contents.flowName = smithy_client_1.expectString(data.flowName);
1020
1020
  }
1021
1021
  if (data.flowStatus !== undefined && data.flowStatus !== null) {
1022
- contents.flowStatus = (0, smithy_client_1.expectString)(data.flowStatus);
1022
+ contents.flowStatus = smithy_client_1.expectString(data.flowStatus);
1023
1023
  }
1024
1024
  if (data.flowStatusMessage !== undefined && data.flowStatusMessage !== null) {
1025
- contents.flowStatusMessage = (0, smithy_client_1.expectString)(data.flowStatusMessage);
1025
+ contents.flowStatusMessage = smithy_client_1.expectString(data.flowStatusMessage);
1026
1026
  }
1027
1027
  if (data.kmsArn !== undefined && data.kmsArn !== null) {
1028
- contents.kmsArn = (0, smithy_client_1.expectString)(data.kmsArn);
1028
+ contents.kmsArn = smithy_client_1.expectString(data.kmsArn);
1029
1029
  }
1030
1030
  if (data.lastRunExecutionDetails !== undefined && data.lastRunExecutionDetails !== null) {
1031
1031
  contents.lastRunExecutionDetails = deserializeAws_restJson1ExecutionDetails(data.lastRunExecutionDetails, context);
1032
1032
  }
1033
1033
  if (data.lastUpdatedAt !== undefined && data.lastUpdatedAt !== null) {
1034
- contents.lastUpdatedAt = new Date(Math.round(data.lastUpdatedAt * 1000));
1034
+ contents.lastUpdatedAt = smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(data.lastUpdatedAt)));
1035
1035
  }
1036
1036
  if (data.lastUpdatedBy !== undefined && data.lastUpdatedBy !== null) {
1037
- contents.lastUpdatedBy = (0, smithy_client_1.expectString)(data.lastUpdatedBy);
1037
+ contents.lastUpdatedBy = smithy_client_1.expectString(data.lastUpdatedBy);
1038
1038
  }
1039
1039
  if (data.sourceFlowConfig !== undefined && data.sourceFlowConfig !== null) {
1040
1040
  contents.sourceFlowConfig = deserializeAws_restJson1SourceFlowConfig(data.sourceFlowConfig, context);
@@ -1101,12 +1101,12 @@ const deserializeAws_restJson1DescribeFlowExecutionRecordsCommand = async (outpu
1101
1101
  flowExecutions: undefined,
1102
1102
  nextToken: undefined,
1103
1103
  };
1104
- const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1104
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
1105
1105
  if (data.flowExecutions !== undefined && data.flowExecutions !== null) {
1106
1106
  contents.flowExecutions = deserializeAws_restJson1FlowExecutionList(data.flowExecutions, context);
1107
1107
  }
1108
1108
  if (data.nextToken !== undefined && data.nextToken !== null) {
1109
- contents.nextToken = (0, smithy_client_1.expectString)(data.nextToken);
1109
+ contents.nextToken = smithy_client_1.expectString(data.nextToken);
1110
1110
  }
1111
1111
  return Promise.resolve(contents);
1112
1112
  };
@@ -1168,7 +1168,7 @@ const deserializeAws_restJson1ListConnectorEntitiesCommand = async (output, cont
1168
1168
  $metadata: deserializeMetadata(output),
1169
1169
  connectorEntityMap: undefined,
1170
1170
  };
1171
- const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1171
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
1172
1172
  if (data.connectorEntityMap !== undefined && data.connectorEntityMap !== null) {
1173
1173
  contents.connectorEntityMap = deserializeAws_restJson1ConnectorEntityMap(data.connectorEntityMap, context);
1174
1174
  }
@@ -1249,12 +1249,12 @@ const deserializeAws_restJson1ListFlowsCommand = async (output, context) => {
1249
1249
  flows: undefined,
1250
1250
  nextToken: undefined,
1251
1251
  };
1252
- const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1252
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
1253
1253
  if (data.flows !== undefined && data.flows !== null) {
1254
1254
  contents.flows = deserializeAws_restJson1FlowList(data.flows, context);
1255
1255
  }
1256
1256
  if (data.nextToken !== undefined && data.nextToken !== null) {
1257
- contents.nextToken = (0, smithy_client_1.expectString)(data.nextToken);
1257
+ contents.nextToken = smithy_client_1.expectString(data.nextToken);
1258
1258
  }
1259
1259
  return Promise.resolve(contents);
1260
1260
  };
@@ -1308,7 +1308,7 @@ const deserializeAws_restJson1ListTagsForResourceCommand = async (output, contex
1308
1308
  $metadata: deserializeMetadata(output),
1309
1309
  tags: undefined,
1310
1310
  };
1311
- const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1311
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
1312
1312
  if (data.tags !== undefined && data.tags !== null) {
1313
1313
  contents.tags = deserializeAws_restJson1TagMap(data.tags, context);
1314
1314
  }
@@ -1374,15 +1374,15 @@ const deserializeAws_restJson1StartFlowCommand = async (output, context) => {
1374
1374
  flowArn: undefined,
1375
1375
  flowStatus: undefined,
1376
1376
  };
1377
- const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1377
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
1378
1378
  if (data.executionId !== undefined && data.executionId !== null) {
1379
- contents.executionId = (0, smithy_client_1.expectString)(data.executionId);
1379
+ contents.executionId = smithy_client_1.expectString(data.executionId);
1380
1380
  }
1381
1381
  if (data.flowArn !== undefined && data.flowArn !== null) {
1382
- contents.flowArn = (0, smithy_client_1.expectString)(data.flowArn);
1382
+ contents.flowArn = smithy_client_1.expectString(data.flowArn);
1383
1383
  }
1384
1384
  if (data.flowStatus !== undefined && data.flowStatus !== null) {
1385
- contents.flowStatus = (0, smithy_client_1.expectString)(data.flowStatus);
1385
+ contents.flowStatus = smithy_client_1.expectString(data.flowStatus);
1386
1386
  }
1387
1387
  return Promise.resolve(contents);
1388
1388
  };
@@ -1453,12 +1453,12 @@ const deserializeAws_restJson1StopFlowCommand = async (output, context) => {
1453
1453
  flowArn: undefined,
1454
1454
  flowStatus: undefined,
1455
1455
  };
1456
- const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1456
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
1457
1457
  if (data.flowArn !== undefined && data.flowArn !== null) {
1458
- contents.flowArn = (0, smithy_client_1.expectString)(data.flowArn);
1458
+ contents.flowArn = smithy_client_1.expectString(data.flowArn);
1459
1459
  }
1460
1460
  if (data.flowStatus !== undefined && data.flowStatus !== null) {
1461
- contents.flowStatus = (0, smithy_client_1.expectString)(data.flowStatus);
1461
+ contents.flowStatus = smithy_client_1.expectString(data.flowStatus);
1462
1462
  }
1463
1463
  return Promise.resolve(contents);
1464
1464
  };
@@ -1648,9 +1648,9 @@ const deserializeAws_restJson1UpdateConnectorProfileCommand = async (output, con
1648
1648
  $metadata: deserializeMetadata(output),
1649
1649
  connectorProfileArn: undefined,
1650
1650
  };
1651
- const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1651
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
1652
1652
  if (data.connectorProfileArn !== undefined && data.connectorProfileArn !== null) {
1653
- contents.connectorProfileArn = (0, smithy_client_1.expectString)(data.connectorProfileArn);
1653
+ contents.connectorProfileArn = smithy_client_1.expectString(data.connectorProfileArn);
1654
1654
  }
1655
1655
  return Promise.resolve(contents);
1656
1656
  };
@@ -1728,9 +1728,9 @@ const deserializeAws_restJson1UpdateFlowCommand = async (output, context) => {
1728
1728
  $metadata: deserializeMetadata(output),
1729
1729
  flowStatus: undefined,
1730
1730
  };
1731
- const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1731
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
1732
1732
  if (data.flowStatus !== undefined && data.flowStatus !== null) {
1733
- contents.flowStatus = (0, smithy_client_1.expectString)(data.flowStatus);
1733
+ contents.flowStatus = smithy_client_1.expectString(data.flowStatus);
1734
1734
  }
1735
1735
  return Promise.resolve(contents);
1736
1736
  };
@@ -1825,7 +1825,7 @@ const deserializeAws_restJson1ConflictExceptionResponse = async (parsedOutput, c
1825
1825
  };
1826
1826
  const data = parsedOutput.body;
1827
1827
  if (data.message !== undefined && data.message !== null) {
1828
- contents.message = (0, smithy_client_1.expectString)(data.message);
1828
+ contents.message = smithy_client_1.expectString(data.message);
1829
1829
  }
1830
1830
  return contents;
1831
1831
  };
@@ -1838,7 +1838,7 @@ const deserializeAws_restJson1ConnectorAuthenticationExceptionResponse = async (
1838
1838
  };
1839
1839
  const data = parsedOutput.body;
1840
1840
  if (data.message !== undefined && data.message !== null) {
1841
- contents.message = (0, smithy_client_1.expectString)(data.message);
1841
+ contents.message = smithy_client_1.expectString(data.message);
1842
1842
  }
1843
1843
  return contents;
1844
1844
  };
@@ -1851,7 +1851,7 @@ const deserializeAws_restJson1ConnectorServerExceptionResponse = async (parsedOu
1851
1851
  };
1852
1852
  const data = parsedOutput.body;
1853
1853
  if (data.message !== undefined && data.message !== null) {
1854
- contents.message = (0, smithy_client_1.expectString)(data.message);
1854
+ contents.message = smithy_client_1.expectString(data.message);
1855
1855
  }
1856
1856
  return contents;
1857
1857
  };
@@ -1864,7 +1864,7 @@ const deserializeAws_restJson1InternalServerExceptionResponse = async (parsedOut
1864
1864
  };
1865
1865
  const data = parsedOutput.body;
1866
1866
  if (data.message !== undefined && data.message !== null) {
1867
- contents.message = (0, smithy_client_1.expectString)(data.message);
1867
+ contents.message = smithy_client_1.expectString(data.message);
1868
1868
  }
1869
1869
  return contents;
1870
1870
  };
@@ -1877,7 +1877,7 @@ const deserializeAws_restJson1ResourceNotFoundExceptionResponse = async (parsedO
1877
1877
  };
1878
1878
  const data = parsedOutput.body;
1879
1879
  if (data.message !== undefined && data.message !== null) {
1880
- contents.message = (0, smithy_client_1.expectString)(data.message);
1880
+ contents.message = smithy_client_1.expectString(data.message);
1881
1881
  }
1882
1882
  return contents;
1883
1883
  };
@@ -1890,7 +1890,7 @@ const deserializeAws_restJson1ServiceQuotaExceededExceptionResponse = async (par
1890
1890
  };
1891
1891
  const data = parsedOutput.body;
1892
1892
  if (data.message !== undefined && data.message !== null) {
1893
- contents.message = (0, smithy_client_1.expectString)(data.message);
1893
+ contents.message = smithy_client_1.expectString(data.message);
1894
1894
  }
1895
1895
  return contents;
1896
1896
  };
@@ -1903,7 +1903,7 @@ const deserializeAws_restJson1UnsupportedOperationExceptionResponse = async (par
1903
1903
  };
1904
1904
  const data = parsedOutput.body;
1905
1905
  if (data.message !== undefined && data.message !== null) {
1906
- contents.message = (0, smithy_client_1.expectString)(data.message);
1906
+ contents.message = smithy_client_1.expectString(data.message);
1907
1907
  }
1908
1908
  return contents;
1909
1909
  };
@@ -1916,7 +1916,7 @@ const deserializeAws_restJson1ValidationExceptionResponse = async (parsedOutput,
1916
1916
  };
1917
1917
  const data = parsedOutput.body;
1918
1918
  if (data.message !== undefined && data.message !== null) {
1919
- contents.message = (0, smithy_client_1.expectString)(data.message);
1919
+ contents.message = smithy_client_1.expectString(data.message);
1920
1920
  }
1921
1921
  return contents;
1922
1922
  };
@@ -2858,7 +2858,7 @@ const serializeAws_restJson1ZendeskSourceProperties = (input, context) => {
2858
2858
  };
2859
2859
  const deserializeAws_restJson1AggregationConfig = (output, context) => {
2860
2860
  return {
2861
- aggregationType: (0, smithy_client_1.expectString)(output.aggregationType),
2861
+ aggregationType: smithy_client_1.expectString(output.aggregationType),
2862
2862
  };
2863
2863
  };
2864
2864
  const deserializeAws_restJson1AmplitudeConnectorProfileProperties = (output, context) => {
@@ -2869,18 +2869,18 @@ const deserializeAws_restJson1AmplitudeMetadata = (output, context) => {
2869
2869
  };
2870
2870
  const deserializeAws_restJson1AmplitudeSourceProperties = (output, context) => {
2871
2871
  return {
2872
- object: (0, smithy_client_1.expectString)(output.object),
2872
+ object: smithy_client_1.expectString(output.object),
2873
2873
  };
2874
2874
  };
2875
2875
  const deserializeAws_restJson1ConnectorConfiguration = (output, context) => {
2876
2876
  return {
2877
- canUseAsDestination: (0, smithy_client_1.expectBoolean)(output.canUseAsDestination),
2878
- canUseAsSource: (0, smithy_client_1.expectBoolean)(output.canUseAsSource),
2877
+ canUseAsDestination: smithy_client_1.expectBoolean(output.canUseAsDestination),
2878
+ canUseAsSource: smithy_client_1.expectBoolean(output.canUseAsSource),
2879
2879
  connectorMetadata: output.connectorMetadata !== undefined && output.connectorMetadata !== null
2880
2880
  ? deserializeAws_restJson1ConnectorMetadata(output.connectorMetadata, context)
2881
2881
  : undefined,
2882
- isPrivateLinkEnabled: (0, smithy_client_1.expectBoolean)(output.isPrivateLinkEnabled),
2883
- isPrivateLinkEndpointUrlRequired: (0, smithy_client_1.expectBoolean)(output.isPrivateLinkEndpointUrlRequired),
2882
+ isPrivateLinkEnabled: smithy_client_1.expectBoolean(output.isPrivateLinkEnabled),
2883
+ isPrivateLinkEndpointUrlRequired: smithy_client_1.expectBoolean(output.isPrivateLinkEndpointUrlRequired),
2884
2884
  supportedDestinationConnectors: output.supportedDestinationConnectors !== undefined && output.supportedDestinationConnectors !== null
2885
2885
  ? deserializeAws_restJson1ConnectorTypeList(output.supportedDestinationConnectors, context)
2886
2886
  : undefined,
@@ -2905,19 +2905,19 @@ const deserializeAws_restJson1ConnectorConfigurationsMap = (output, context) =>
2905
2905
  };
2906
2906
  const deserializeAws_restJson1ConnectorEntity = (output, context) => {
2907
2907
  return {
2908
- hasNestedEntities: (0, smithy_client_1.expectBoolean)(output.hasNestedEntities),
2909
- label: (0, smithy_client_1.expectString)(output.label),
2910
- name: (0, smithy_client_1.expectString)(output.name),
2908
+ hasNestedEntities: smithy_client_1.expectBoolean(output.hasNestedEntities),
2909
+ label: smithy_client_1.expectString(output.label),
2910
+ name: smithy_client_1.expectString(output.name),
2911
2911
  };
2912
2912
  };
2913
2913
  const deserializeAws_restJson1ConnectorEntityField = (output, context) => {
2914
2914
  return {
2915
- description: (0, smithy_client_1.expectString)(output.description),
2915
+ description: smithy_client_1.expectString(output.description),
2916
2916
  destinationProperties: output.destinationProperties !== undefined && output.destinationProperties !== null
2917
2917
  ? deserializeAws_restJson1DestinationFieldProperties(output.destinationProperties, context)
2918
2918
  : undefined,
2919
- identifier: (0, smithy_client_1.expectString)(output.identifier),
2920
- label: (0, smithy_client_1.expectString)(output.label),
2919
+ identifier: smithy_client_1.expectString(output.identifier),
2920
+ label: smithy_client_1.expectString(output.label),
2921
2921
  sourceProperties: output.sourceProperties !== undefined && output.sourceProperties !== null
2922
2922
  ? deserializeAws_restJson1SourceFieldProperties(output.sourceProperties, context)
2923
2923
  : undefined,
@@ -3026,38 +3026,38 @@ const deserializeAws_restJson1ConnectorMetadata = (output, context) => {
3026
3026
  };
3027
3027
  const deserializeAws_restJson1ConnectorOperator = (output, context) => {
3028
3028
  return {
3029
- Amplitude: (0, smithy_client_1.expectString)(output.Amplitude),
3030
- Datadog: (0, smithy_client_1.expectString)(output.Datadog),
3031
- Dynatrace: (0, smithy_client_1.expectString)(output.Dynatrace),
3032
- GoogleAnalytics: (0, smithy_client_1.expectString)(output.GoogleAnalytics),
3033
- InforNexus: (0, smithy_client_1.expectString)(output.InforNexus),
3034
- Marketo: (0, smithy_client_1.expectString)(output.Marketo),
3035
- S3: (0, smithy_client_1.expectString)(output.S3),
3036
- SAPOData: (0, smithy_client_1.expectString)(output.SAPOData),
3037
- Salesforce: (0, smithy_client_1.expectString)(output.Salesforce),
3038
- ServiceNow: (0, smithy_client_1.expectString)(output.ServiceNow),
3039
- Singular: (0, smithy_client_1.expectString)(output.Singular),
3040
- Slack: (0, smithy_client_1.expectString)(output.Slack),
3041
- Trendmicro: (0, smithy_client_1.expectString)(output.Trendmicro),
3042
- Veeva: (0, smithy_client_1.expectString)(output.Veeva),
3043
- Zendesk: (0, smithy_client_1.expectString)(output.Zendesk),
3029
+ Amplitude: smithy_client_1.expectString(output.Amplitude),
3030
+ Datadog: smithy_client_1.expectString(output.Datadog),
3031
+ Dynatrace: smithy_client_1.expectString(output.Dynatrace),
3032
+ GoogleAnalytics: smithy_client_1.expectString(output.GoogleAnalytics),
3033
+ InforNexus: smithy_client_1.expectString(output.InforNexus),
3034
+ Marketo: smithy_client_1.expectString(output.Marketo),
3035
+ S3: smithy_client_1.expectString(output.S3),
3036
+ SAPOData: smithy_client_1.expectString(output.SAPOData),
3037
+ Salesforce: smithy_client_1.expectString(output.Salesforce),
3038
+ ServiceNow: smithy_client_1.expectString(output.ServiceNow),
3039
+ Singular: smithy_client_1.expectString(output.Singular),
3040
+ Slack: smithy_client_1.expectString(output.Slack),
3041
+ Trendmicro: smithy_client_1.expectString(output.Trendmicro),
3042
+ Veeva: smithy_client_1.expectString(output.Veeva),
3043
+ Zendesk: smithy_client_1.expectString(output.Zendesk),
3044
3044
  };
3045
3045
  };
3046
3046
  const deserializeAws_restJson1ConnectorProfile = (output, context) => {
3047
3047
  return {
3048
- connectionMode: (0, smithy_client_1.expectString)(output.connectionMode),
3049
- connectorProfileArn: (0, smithy_client_1.expectString)(output.connectorProfileArn),
3050
- connectorProfileName: (0, smithy_client_1.expectString)(output.connectorProfileName),
3048
+ connectionMode: smithy_client_1.expectString(output.connectionMode),
3049
+ connectorProfileArn: smithy_client_1.expectString(output.connectorProfileArn),
3050
+ connectorProfileName: smithy_client_1.expectString(output.connectorProfileName),
3051
3051
  connectorProfileProperties: output.connectorProfileProperties !== undefined && output.connectorProfileProperties !== null
3052
3052
  ? deserializeAws_restJson1ConnectorProfileProperties(output.connectorProfileProperties, context)
3053
3053
  : undefined,
3054
- connectorType: (0, smithy_client_1.expectString)(output.connectorType),
3054
+ connectorType: smithy_client_1.expectString(output.connectorType),
3055
3055
  createdAt: output.createdAt !== undefined && output.createdAt !== null
3056
- ? new Date(Math.round(output.createdAt * 1000))
3056
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.createdAt)))
3057
3057
  : undefined,
3058
- credentialsArn: (0, smithy_client_1.expectString)(output.credentialsArn),
3058
+ credentialsArn: smithy_client_1.expectString(output.credentialsArn),
3059
3059
  lastUpdatedAt: output.lastUpdatedAt !== undefined && output.lastUpdatedAt !== null
3060
- ? new Date(Math.round(output.lastUpdatedAt * 1000))
3060
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.lastUpdatedAt)))
3061
3061
  : undefined,
3062
3062
  privateConnectionProvisioningState: output.privateConnectionProvisioningState !== undefined && output.privateConnectionProvisioningState !== null
3063
3063
  ? deserializeAws_restJson1PrivateConnectionProvisioningState(output.privateConnectionProvisioningState, context)
@@ -3136,13 +3136,13 @@ const deserializeAws_restJson1ConnectorTypeList = (output, context) => {
3136
3136
  if (entry === null) {
3137
3137
  return null;
3138
3138
  }
3139
- return (0, smithy_client_1.expectString)(entry);
3139
+ return smithy_client_1.expectString(entry);
3140
3140
  });
3141
3141
  };
3142
3142
  const deserializeAws_restJson1CustomerProfilesDestinationProperties = (output, context) => {
3143
3143
  return {
3144
- domainName: (0, smithy_client_1.expectString)(output.domainName),
3145
- objectTypeName: (0, smithy_client_1.expectString)(output.objectTypeName),
3144
+ domainName: smithy_client_1.expectString(output.domainName),
3145
+ objectTypeName: smithy_client_1.expectString(output.objectTypeName),
3146
3146
  };
3147
3147
  };
3148
3148
  const deserializeAws_restJson1CustomerProfilesMetadata = (output, context) => {
@@ -3150,7 +3150,7 @@ const deserializeAws_restJson1CustomerProfilesMetadata = (output, context) => {
3150
3150
  };
3151
3151
  const deserializeAws_restJson1DatadogConnectorProfileProperties = (output, context) => {
3152
3152
  return {
3153
- instanceUrl: (0, smithy_client_1.expectString)(output.instanceUrl),
3153
+ instanceUrl: smithy_client_1.expectString(output.instanceUrl),
3154
3154
  };
3155
3155
  };
3156
3156
  const deserializeAws_restJson1DatadogMetadata = (output, context) => {
@@ -3158,7 +3158,7 @@ const deserializeAws_restJson1DatadogMetadata = (output, context) => {
3158
3158
  };
3159
3159
  const deserializeAws_restJson1DatadogSourceProperties = (output, context) => {
3160
3160
  return {
3161
- object: (0, smithy_client_1.expectString)(output.object),
3161
+ object: smithy_client_1.expectString(output.object),
3162
3162
  };
3163
3163
  };
3164
3164
  const deserializeAws_restJson1DestinationConnectorProperties = (output, context) => {
@@ -3197,10 +3197,10 @@ const deserializeAws_restJson1DestinationConnectorProperties = (output, context)
3197
3197
  };
3198
3198
  const deserializeAws_restJson1DestinationFieldProperties = (output, context) => {
3199
3199
  return {
3200
- isCreatable: (0, smithy_client_1.expectBoolean)(output.isCreatable),
3201
- isNullable: (0, smithy_client_1.expectBoolean)(output.isNullable),
3202
- isUpdatable: (0, smithy_client_1.expectBoolean)(output.isUpdatable),
3203
- isUpsertable: (0, smithy_client_1.expectBoolean)(output.isUpsertable),
3200
+ isCreatable: smithy_client_1.expectBoolean(output.isCreatable),
3201
+ isNullable: smithy_client_1.expectBoolean(output.isNullable),
3202
+ isUpdatable: smithy_client_1.expectBoolean(output.isUpdatable),
3203
+ isUpsertable: smithy_client_1.expectBoolean(output.isUpsertable),
3204
3204
  supportedWriteOperations: output.supportedWriteOperations !== undefined && output.supportedWriteOperations !== null
3205
3205
  ? deserializeAws_restJson1SupportedWriteOperationList(output.supportedWriteOperations, context)
3206
3206
  : undefined,
@@ -3208,8 +3208,8 @@ const deserializeAws_restJson1DestinationFieldProperties = (output, context) =>
3208
3208
  };
3209
3209
  const deserializeAws_restJson1DestinationFlowConfig = (output, context) => {
3210
3210
  return {
3211
- connectorProfileName: (0, smithy_client_1.expectString)(output.connectorProfileName),
3212
- connectorType: (0, smithy_client_1.expectString)(output.connectorType),
3211
+ connectorProfileName: smithy_client_1.expectString(output.connectorProfileName),
3212
+ connectorType: smithy_client_1.expectString(output.connectorType),
3213
3213
  destinationConnectorProperties: output.destinationConnectorProperties !== undefined && output.destinationConnectorProperties !== null
3214
3214
  ? deserializeAws_restJson1DestinationConnectorProperties(output.destinationConnectorProperties, context)
3215
3215
  : undefined,
@@ -3227,7 +3227,7 @@ const deserializeAws_restJson1DestinationFlowConfigList = (output, context) => {
3227
3227
  };
3228
3228
  const deserializeAws_restJson1DynatraceConnectorProfileProperties = (output, context) => {
3229
3229
  return {
3230
- instanceUrl: (0, smithy_client_1.expectString)(output.instanceUrl),
3230
+ instanceUrl: smithy_client_1.expectString(output.instanceUrl),
3231
3231
  };
3232
3232
  };
3233
3233
  const deserializeAws_restJson1DynatraceMetadata = (output, context) => {
@@ -3235,20 +3235,20 @@ const deserializeAws_restJson1DynatraceMetadata = (output, context) => {
3235
3235
  };
3236
3236
  const deserializeAws_restJson1DynatraceSourceProperties = (output, context) => {
3237
3237
  return {
3238
- object: (0, smithy_client_1.expectString)(output.object),
3238
+ object: smithy_client_1.expectString(output.object),
3239
3239
  };
3240
3240
  };
3241
3241
  const deserializeAws_restJson1ErrorHandlingConfig = (output, context) => {
3242
3242
  return {
3243
- bucketName: (0, smithy_client_1.expectString)(output.bucketName),
3244
- bucketPrefix: (0, smithy_client_1.expectString)(output.bucketPrefix),
3245
- failOnFirstDestinationError: (0, smithy_client_1.expectBoolean)(output.failOnFirstDestinationError),
3243
+ bucketName: smithy_client_1.expectString(output.bucketName),
3244
+ bucketPrefix: smithy_client_1.expectString(output.bucketPrefix),
3245
+ failOnFirstDestinationError: smithy_client_1.expectBoolean(output.failOnFirstDestinationError),
3246
3246
  };
3247
3247
  };
3248
3248
  const deserializeAws_restJson1ErrorInfo = (output, context) => {
3249
3249
  return {
3250
- executionMessage: (0, smithy_client_1.expectString)(output.executionMessage),
3251
- putFailuresCount: (0, smithy_client_1.expectLong)(output.putFailuresCount),
3250
+ executionMessage: smithy_client_1.expectString(output.executionMessage),
3251
+ putFailuresCount: smithy_client_1.expectLong(output.putFailuresCount),
3252
3252
  };
3253
3253
  };
3254
3254
  const deserializeAws_restJson1EventBridgeDestinationProperties = (output, context) => {
@@ -3256,7 +3256,7 @@ const deserializeAws_restJson1EventBridgeDestinationProperties = (output, contex
3256
3256
  errorHandlingConfig: output.errorHandlingConfig !== undefined && output.errorHandlingConfig !== null
3257
3257
  ? deserializeAws_restJson1ErrorHandlingConfig(output.errorHandlingConfig, context)
3258
3258
  : undefined,
3259
- object: (0, smithy_client_1.expectString)(output.object),
3259
+ object: smithy_client_1.expectString(output.object),
3260
3260
  };
3261
3261
  };
3262
3262
  const deserializeAws_restJson1EventBridgeMetadata = (output, context) => {
@@ -3264,47 +3264,47 @@ const deserializeAws_restJson1EventBridgeMetadata = (output, context) => {
3264
3264
  };
3265
3265
  const deserializeAws_restJson1ExecutionDetails = (output, context) => {
3266
3266
  return {
3267
- mostRecentExecutionMessage: (0, smithy_client_1.expectString)(output.mostRecentExecutionMessage),
3268
- mostRecentExecutionStatus: (0, smithy_client_1.expectString)(output.mostRecentExecutionStatus),
3267
+ mostRecentExecutionMessage: smithy_client_1.expectString(output.mostRecentExecutionMessage),
3268
+ mostRecentExecutionStatus: smithy_client_1.expectString(output.mostRecentExecutionStatus),
3269
3269
  mostRecentExecutionTime: output.mostRecentExecutionTime !== undefined && output.mostRecentExecutionTime !== null
3270
- ? new Date(Math.round(output.mostRecentExecutionTime * 1000))
3270
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.mostRecentExecutionTime)))
3271
3271
  : undefined,
3272
3272
  };
3273
3273
  };
3274
3274
  const deserializeAws_restJson1ExecutionRecord = (output, context) => {
3275
3275
  return {
3276
3276
  dataPullEndTime: output.dataPullEndTime !== undefined && output.dataPullEndTime !== null
3277
- ? new Date(Math.round(output.dataPullEndTime * 1000))
3277
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.dataPullEndTime)))
3278
3278
  : undefined,
3279
3279
  dataPullStartTime: output.dataPullStartTime !== undefined && output.dataPullStartTime !== null
3280
- ? new Date(Math.round(output.dataPullStartTime * 1000))
3280
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.dataPullStartTime)))
3281
3281
  : undefined,
3282
- executionId: (0, smithy_client_1.expectString)(output.executionId),
3282
+ executionId: smithy_client_1.expectString(output.executionId),
3283
3283
  executionResult: output.executionResult !== undefined && output.executionResult !== null
3284
3284
  ? deserializeAws_restJson1ExecutionResult(output.executionResult, context)
3285
3285
  : undefined,
3286
- executionStatus: (0, smithy_client_1.expectString)(output.executionStatus),
3286
+ executionStatus: smithy_client_1.expectString(output.executionStatus),
3287
3287
  lastUpdatedAt: output.lastUpdatedAt !== undefined && output.lastUpdatedAt !== null
3288
- ? new Date(Math.round(output.lastUpdatedAt * 1000))
3288
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.lastUpdatedAt)))
3289
3289
  : undefined,
3290
3290
  startedAt: output.startedAt !== undefined && output.startedAt !== null
3291
- ? new Date(Math.round(output.startedAt * 1000))
3291
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.startedAt)))
3292
3292
  : undefined,
3293
3293
  };
3294
3294
  };
3295
3295
  const deserializeAws_restJson1ExecutionResult = (output, context) => {
3296
3296
  return {
3297
- bytesProcessed: (0, smithy_client_1.expectLong)(output.bytesProcessed),
3298
- bytesWritten: (0, smithy_client_1.expectLong)(output.bytesWritten),
3297
+ bytesProcessed: smithy_client_1.expectLong(output.bytesProcessed),
3298
+ bytesWritten: smithy_client_1.expectLong(output.bytesWritten),
3299
3299
  errorInfo: output.errorInfo !== undefined && output.errorInfo !== null
3300
3300
  ? deserializeAws_restJson1ErrorInfo(output.errorInfo, context)
3301
3301
  : undefined,
3302
- recordsProcessed: (0, smithy_client_1.expectLong)(output.recordsProcessed),
3302
+ recordsProcessed: smithy_client_1.expectLong(output.recordsProcessed),
3303
3303
  };
3304
3304
  };
3305
3305
  const deserializeAws_restJson1FieldTypeDetails = (output, context) => {
3306
3306
  return {
3307
- fieldType: (0, smithy_client_1.expectString)(output.fieldType),
3307
+ fieldType: smithy_client_1.expectString(output.fieldType),
3308
3308
  filterOperators: output.filterOperators !== undefined && output.filterOperators !== null
3309
3309
  ? deserializeAws_restJson1FilterOperatorList(output.filterOperators, context)
3310
3310
  : undefined,
@@ -3320,32 +3320,32 @@ const deserializeAws_restJson1FilterOperatorList = (output, context) => {
3320
3320
  if (entry === null) {
3321
3321
  return null;
3322
3322
  }
3323
- return (0, smithy_client_1.expectString)(entry);
3323
+ return smithy_client_1.expectString(entry);
3324
3324
  });
3325
3325
  };
3326
3326
  const deserializeAws_restJson1FlowDefinition = (output, context) => {
3327
3327
  return {
3328
3328
  createdAt: output.createdAt !== undefined && output.createdAt !== null
3329
- ? new Date(Math.round(output.createdAt * 1000))
3330
- : undefined,
3331
- createdBy: (0, smithy_client_1.expectString)(output.createdBy),
3332
- description: (0, smithy_client_1.expectString)(output.description),
3333
- destinationConnectorType: (0, smithy_client_1.expectString)(output.destinationConnectorType),
3334
- flowArn: (0, smithy_client_1.expectString)(output.flowArn),
3335
- flowName: (0, smithy_client_1.expectString)(output.flowName),
3336
- flowStatus: (0, smithy_client_1.expectString)(output.flowStatus),
3329
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.createdAt)))
3330
+ : undefined,
3331
+ createdBy: smithy_client_1.expectString(output.createdBy),
3332
+ description: smithy_client_1.expectString(output.description),
3333
+ destinationConnectorType: smithy_client_1.expectString(output.destinationConnectorType),
3334
+ flowArn: smithy_client_1.expectString(output.flowArn),
3335
+ flowName: smithy_client_1.expectString(output.flowName),
3336
+ flowStatus: smithy_client_1.expectString(output.flowStatus),
3337
3337
  lastRunExecutionDetails: output.lastRunExecutionDetails !== undefined && output.lastRunExecutionDetails !== null
3338
3338
  ? deserializeAws_restJson1ExecutionDetails(output.lastRunExecutionDetails, context)
3339
3339
  : undefined,
3340
3340
  lastUpdatedAt: output.lastUpdatedAt !== undefined && output.lastUpdatedAt !== null
3341
- ? new Date(Math.round(output.lastUpdatedAt * 1000))
3341
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.lastUpdatedAt)))
3342
3342
  : undefined,
3343
- lastUpdatedBy: (0, smithy_client_1.expectString)(output.lastUpdatedBy),
3344
- sourceConnectorType: (0, smithy_client_1.expectString)(output.sourceConnectorType),
3343
+ lastUpdatedBy: smithy_client_1.expectString(output.lastUpdatedBy),
3344
+ sourceConnectorType: smithy_client_1.expectString(output.sourceConnectorType),
3345
3345
  tags: output.tags !== undefined && output.tags !== null
3346
3346
  ? deserializeAws_restJson1TagMap(output.tags, context)
3347
3347
  : undefined,
3348
- triggerType: (0, smithy_client_1.expectString)(output.triggerType),
3348
+ triggerType: smithy_client_1.expectString(output.triggerType),
3349
3349
  };
3350
3350
  };
3351
3351
  const deserializeAws_restJson1FlowExecutionList = (output, context) => {
@@ -3380,7 +3380,7 @@ const deserializeAws_restJson1GoogleAnalyticsMetadata = (output, context) => {
3380
3380
  };
3381
3381
  const deserializeAws_restJson1GoogleAnalyticsSourceProperties = (output, context) => {
3382
3382
  return {
3383
- object: (0, smithy_client_1.expectString)(output.object),
3383
+ object: smithy_client_1.expectString(output.object),
3384
3384
  };
3385
3385
  };
3386
3386
  const deserializeAws_restJson1HoneycodeConnectorProfileProperties = (output, context) => {
@@ -3391,7 +3391,7 @@ const deserializeAws_restJson1HoneycodeDestinationProperties = (output, context)
3391
3391
  errorHandlingConfig: output.errorHandlingConfig !== undefined && output.errorHandlingConfig !== null
3392
3392
  ? deserializeAws_restJson1ErrorHandlingConfig(output.errorHandlingConfig, context)
3393
3393
  : undefined,
3394
- object: (0, smithy_client_1.expectString)(output.object),
3394
+ object: smithy_client_1.expectString(output.object),
3395
3395
  };
3396
3396
  };
3397
3397
  const deserializeAws_restJson1HoneycodeMetadata = (output, context) => {
@@ -3408,17 +3408,17 @@ const deserializeAws_restJson1IdFieldNameList = (output, context) => {
3408
3408
  if (entry === null) {
3409
3409
  return null;
3410
3410
  }
3411
- return (0, smithy_client_1.expectString)(entry);
3411
+ return smithy_client_1.expectString(entry);
3412
3412
  });
3413
3413
  };
3414
3414
  const deserializeAws_restJson1IncrementalPullConfig = (output, context) => {
3415
3415
  return {
3416
- datetimeTypeFieldName: (0, smithy_client_1.expectString)(output.datetimeTypeFieldName),
3416
+ datetimeTypeFieldName: smithy_client_1.expectString(output.datetimeTypeFieldName),
3417
3417
  };
3418
3418
  };
3419
3419
  const deserializeAws_restJson1InforNexusConnectorProfileProperties = (output, context) => {
3420
3420
  return {
3421
- instanceUrl: (0, smithy_client_1.expectString)(output.instanceUrl),
3421
+ instanceUrl: smithy_client_1.expectString(output.instanceUrl),
3422
3422
  };
3423
3423
  };
3424
3424
  const deserializeAws_restJson1InforNexusMetadata = (output, context) => {
@@ -3426,7 +3426,7 @@ const deserializeAws_restJson1InforNexusMetadata = (output, context) => {
3426
3426
  };
3427
3427
  const deserializeAws_restJson1InforNexusSourceProperties = (output, context) => {
3428
3428
  return {
3429
- object: (0, smithy_client_1.expectString)(output.object),
3429
+ object: smithy_client_1.expectString(output.object),
3430
3430
  };
3431
3431
  };
3432
3432
  const deserializeAws_restJson1LookoutMetricsDestinationProperties = (output, context) => {
@@ -3434,7 +3434,7 @@ const deserializeAws_restJson1LookoutMetricsDestinationProperties = (output, con
3434
3434
  };
3435
3435
  const deserializeAws_restJson1MarketoConnectorProfileProperties = (output, context) => {
3436
3436
  return {
3437
- instanceUrl: (0, smithy_client_1.expectString)(output.instanceUrl),
3437
+ instanceUrl: smithy_client_1.expectString(output.instanceUrl),
3438
3438
  };
3439
3439
  };
3440
3440
  const deserializeAws_restJson1MarketoMetadata = (output, context) => {
@@ -3442,16 +3442,16 @@ const deserializeAws_restJson1MarketoMetadata = (output, context) => {
3442
3442
  };
3443
3443
  const deserializeAws_restJson1MarketoSourceProperties = (output, context) => {
3444
3444
  return {
3445
- object: (0, smithy_client_1.expectString)(output.object),
3445
+ object: smithy_client_1.expectString(output.object),
3446
3446
  };
3447
3447
  };
3448
3448
  const deserializeAws_restJson1OAuthProperties = (output, context) => {
3449
3449
  return {
3450
- authCodeUrl: (0, smithy_client_1.expectString)(output.authCodeUrl),
3450
+ authCodeUrl: smithy_client_1.expectString(output.authCodeUrl),
3451
3451
  oAuthScopes: output.oAuthScopes !== undefined && output.oAuthScopes !== null
3452
3452
  ? deserializeAws_restJson1OAuthScopeList(output.oAuthScopes, context)
3453
3453
  : undefined,
3454
- tokenUrl: (0, smithy_client_1.expectString)(output.tokenUrl),
3454
+ tokenUrl: smithy_client_1.expectString(output.tokenUrl),
3455
3455
  };
3456
3456
  };
3457
3457
  const deserializeAws_restJson1OAuthScopeList = (output, context) => {
@@ -3461,38 +3461,38 @@ const deserializeAws_restJson1OAuthScopeList = (output, context) => {
3461
3461
  if (entry === null) {
3462
3462
  return null;
3463
3463
  }
3464
- return (0, smithy_client_1.expectString)(entry);
3464
+ return smithy_client_1.expectString(entry);
3465
3465
  });
3466
3466
  };
3467
3467
  const deserializeAws_restJson1PrefixConfig = (output, context) => {
3468
3468
  return {
3469
- prefixFormat: (0, smithy_client_1.expectString)(output.prefixFormat),
3470
- prefixType: (0, smithy_client_1.expectString)(output.prefixType),
3469
+ prefixFormat: smithy_client_1.expectString(output.prefixFormat),
3470
+ prefixType: smithy_client_1.expectString(output.prefixType),
3471
3471
  };
3472
3472
  };
3473
3473
  const deserializeAws_restJson1PrivateConnectionProvisioningState = (output, context) => {
3474
3474
  return {
3475
- failureCause: (0, smithy_client_1.expectString)(output.failureCause),
3476
- failureMessage: (0, smithy_client_1.expectString)(output.failureMessage),
3477
- status: (0, smithy_client_1.expectString)(output.status),
3475
+ failureCause: smithy_client_1.expectString(output.failureCause),
3476
+ failureMessage: smithy_client_1.expectString(output.failureMessage),
3477
+ status: smithy_client_1.expectString(output.status),
3478
3478
  };
3479
3479
  };
3480
3480
  const deserializeAws_restJson1RedshiftConnectorProfileProperties = (output, context) => {
3481
3481
  return {
3482
- bucketName: (0, smithy_client_1.expectString)(output.bucketName),
3483
- bucketPrefix: (0, smithy_client_1.expectString)(output.bucketPrefix),
3484
- databaseUrl: (0, smithy_client_1.expectString)(output.databaseUrl),
3485
- roleArn: (0, smithy_client_1.expectString)(output.roleArn),
3482
+ bucketName: smithy_client_1.expectString(output.bucketName),
3483
+ bucketPrefix: smithy_client_1.expectString(output.bucketPrefix),
3484
+ databaseUrl: smithy_client_1.expectString(output.databaseUrl),
3485
+ roleArn: smithy_client_1.expectString(output.roleArn),
3486
3486
  };
3487
3487
  };
3488
3488
  const deserializeAws_restJson1RedshiftDestinationProperties = (output, context) => {
3489
3489
  return {
3490
- bucketPrefix: (0, smithy_client_1.expectString)(output.bucketPrefix),
3490
+ bucketPrefix: smithy_client_1.expectString(output.bucketPrefix),
3491
3491
  errorHandlingConfig: output.errorHandlingConfig !== undefined && output.errorHandlingConfig !== null
3492
3492
  ? deserializeAws_restJson1ErrorHandlingConfig(output.errorHandlingConfig, context)
3493
3493
  : undefined,
3494
- intermediateBucketName: (0, smithy_client_1.expectString)(output.intermediateBucketName),
3495
- object: (0, smithy_client_1.expectString)(output.object),
3494
+ intermediateBucketName: smithy_client_1.expectString(output.intermediateBucketName),
3495
+ object: smithy_client_1.expectString(output.object),
3496
3496
  };
3497
3497
  };
3498
3498
  const deserializeAws_restJson1RedshiftMetadata = (output, context) => {
@@ -3505,13 +3505,13 @@ const deserializeAws_restJson1RegionList = (output, context) => {
3505
3505
  if (entry === null) {
3506
3506
  return null;
3507
3507
  }
3508
- return (0, smithy_client_1.expectString)(entry);
3508
+ return smithy_client_1.expectString(entry);
3509
3509
  });
3510
3510
  };
3511
3511
  const deserializeAws_restJson1S3DestinationProperties = (output, context) => {
3512
3512
  return {
3513
- bucketName: (0, smithy_client_1.expectString)(output.bucketName),
3514
- bucketPrefix: (0, smithy_client_1.expectString)(output.bucketPrefix),
3513
+ bucketName: smithy_client_1.expectString(output.bucketName),
3514
+ bucketPrefix: smithy_client_1.expectString(output.bucketPrefix),
3515
3515
  s3OutputFormatConfig: output.s3OutputFormatConfig !== undefined && output.s3OutputFormatConfig !== null
3516
3516
  ? deserializeAws_restJson1S3OutputFormatConfig(output.s3OutputFormatConfig, context)
3517
3517
  : undefined,
@@ -3525,7 +3525,7 @@ const deserializeAws_restJson1S3OutputFormatConfig = (output, context) => {
3525
3525
  aggregationConfig: output.aggregationConfig !== undefined && output.aggregationConfig !== null
3526
3526
  ? deserializeAws_restJson1AggregationConfig(output.aggregationConfig, context)
3527
3527
  : undefined,
3528
- fileType: (0, smithy_client_1.expectString)(output.fileType),
3528
+ fileType: smithy_client_1.expectString(output.fileType),
3529
3529
  prefixConfig: output.prefixConfig !== undefined && output.prefixConfig !== null
3530
3530
  ? deserializeAws_restJson1PrefixConfig(output.prefixConfig, context)
3531
3531
  : undefined,
@@ -3533,14 +3533,14 @@ const deserializeAws_restJson1S3OutputFormatConfig = (output, context) => {
3533
3533
  };
3534
3534
  const deserializeAws_restJson1S3SourceProperties = (output, context) => {
3535
3535
  return {
3536
- bucketName: (0, smithy_client_1.expectString)(output.bucketName),
3537
- bucketPrefix: (0, smithy_client_1.expectString)(output.bucketPrefix),
3536
+ bucketName: smithy_client_1.expectString(output.bucketName),
3537
+ bucketPrefix: smithy_client_1.expectString(output.bucketPrefix),
3538
3538
  };
3539
3539
  };
3540
3540
  const deserializeAws_restJson1SalesforceConnectorProfileProperties = (output, context) => {
3541
3541
  return {
3542
- instanceUrl: (0, smithy_client_1.expectString)(output.instanceUrl),
3543
- isSandboxEnvironment: (0, smithy_client_1.expectBoolean)(output.isSandboxEnvironment),
3542
+ instanceUrl: smithy_client_1.expectString(output.instanceUrl),
3543
+ isSandboxEnvironment: smithy_client_1.expectBoolean(output.isSandboxEnvironment),
3544
3544
  };
3545
3545
  };
3546
3546
  const deserializeAws_restJson1SalesforceDestinationProperties = (output, context) => {
@@ -3551,8 +3551,8 @@ const deserializeAws_restJson1SalesforceDestinationProperties = (output, context
3551
3551
  idFieldNames: output.idFieldNames !== undefined && output.idFieldNames !== null
3552
3552
  ? deserializeAws_restJson1IdFieldNameList(output.idFieldNames, context)
3553
3553
  : undefined,
3554
- object: (0, smithy_client_1.expectString)(output.object),
3555
- writeOperationType: (0, smithy_client_1.expectString)(output.writeOperationType),
3554
+ object: smithy_client_1.expectString(output.object),
3555
+ writeOperationType: smithy_client_1.expectString(output.writeOperationType),
3556
3556
  };
3557
3557
  };
3558
3558
  const deserializeAws_restJson1SalesforceMetadata = (output, context) => {
@@ -3564,22 +3564,22 @@ const deserializeAws_restJson1SalesforceMetadata = (output, context) => {
3564
3564
  };
3565
3565
  const deserializeAws_restJson1SalesforceSourceProperties = (output, context) => {
3566
3566
  return {
3567
- enableDynamicFieldUpdate: (0, smithy_client_1.expectBoolean)(output.enableDynamicFieldUpdate),
3568
- includeDeletedRecords: (0, smithy_client_1.expectBoolean)(output.includeDeletedRecords),
3569
- object: (0, smithy_client_1.expectString)(output.object),
3567
+ enableDynamicFieldUpdate: smithy_client_1.expectBoolean(output.enableDynamicFieldUpdate),
3568
+ includeDeletedRecords: smithy_client_1.expectBoolean(output.includeDeletedRecords),
3569
+ object: smithy_client_1.expectString(output.object),
3570
3570
  };
3571
3571
  };
3572
3572
  const deserializeAws_restJson1SAPODataConnectorProfileProperties = (output, context) => {
3573
3573
  return {
3574
- applicationHostUrl: (0, smithy_client_1.expectString)(output.applicationHostUrl),
3575
- applicationServicePath: (0, smithy_client_1.expectString)(output.applicationServicePath),
3576
- clientNumber: (0, smithy_client_1.expectString)(output.clientNumber),
3577
- logonLanguage: (0, smithy_client_1.expectString)(output.logonLanguage),
3574
+ applicationHostUrl: smithy_client_1.expectString(output.applicationHostUrl),
3575
+ applicationServicePath: smithy_client_1.expectString(output.applicationServicePath),
3576
+ clientNumber: smithy_client_1.expectString(output.clientNumber),
3577
+ logonLanguage: smithy_client_1.expectString(output.logonLanguage),
3578
3578
  oAuthProperties: output.oAuthProperties !== undefined && output.oAuthProperties !== null
3579
3579
  ? deserializeAws_restJson1OAuthProperties(output.oAuthProperties, context)
3580
3580
  : undefined,
3581
- portNumber: (0, smithy_client_1.expectInt32)(output.portNumber),
3582
- privateLinkServiceName: (0, smithy_client_1.expectString)(output.privateLinkServiceName),
3581
+ portNumber: smithy_client_1.expectInt32(output.portNumber),
3582
+ privateLinkServiceName: smithy_client_1.expectString(output.privateLinkServiceName),
3583
3583
  };
3584
3584
  };
3585
3585
  const deserializeAws_restJson1SAPODataMetadata = (output, context) => {
@@ -3587,24 +3587,24 @@ const deserializeAws_restJson1SAPODataMetadata = (output, context) => {
3587
3587
  };
3588
3588
  const deserializeAws_restJson1SAPODataSourceProperties = (output, context) => {
3589
3589
  return {
3590
- objectPath: (0, smithy_client_1.expectString)(output.objectPath),
3590
+ objectPath: smithy_client_1.expectString(output.objectPath),
3591
3591
  };
3592
3592
  };
3593
3593
  const deserializeAws_restJson1ScheduledTriggerProperties = (output, context) => {
3594
3594
  return {
3595
- dataPullMode: (0, smithy_client_1.expectString)(output.dataPullMode),
3595
+ dataPullMode: smithy_client_1.expectString(output.dataPullMode),
3596
3596
  firstExecutionFrom: output.firstExecutionFrom !== undefined && output.firstExecutionFrom !== null
3597
- ? new Date(Math.round(output.firstExecutionFrom * 1000))
3597
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.firstExecutionFrom)))
3598
3598
  : undefined,
3599
3599
  scheduleEndTime: output.scheduleEndTime !== undefined && output.scheduleEndTime !== null
3600
- ? new Date(Math.round(output.scheduleEndTime * 1000))
3600
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.scheduleEndTime)))
3601
3601
  : undefined,
3602
- scheduleExpression: (0, smithy_client_1.expectString)(output.scheduleExpression),
3603
- scheduleOffset: (0, smithy_client_1.expectLong)(output.scheduleOffset),
3602
+ scheduleExpression: smithy_client_1.expectString(output.scheduleExpression),
3603
+ scheduleOffset: smithy_client_1.expectLong(output.scheduleOffset),
3604
3604
  scheduleStartTime: output.scheduleStartTime !== undefined && output.scheduleStartTime !== null
3605
- ? new Date(Math.round(output.scheduleStartTime * 1000))
3605
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.scheduleStartTime)))
3606
3606
  : undefined,
3607
- timezone: (0, smithy_client_1.expectString)(output.timezone),
3607
+ timezone: smithy_client_1.expectString(output.timezone),
3608
3608
  };
3609
3609
  };
3610
3610
  const deserializeAws_restJson1SchedulingFrequencyTypeList = (output, context) => {
@@ -3614,12 +3614,12 @@ const deserializeAws_restJson1SchedulingFrequencyTypeList = (output, context) =>
3614
3614
  if (entry === null) {
3615
3615
  return null;
3616
3616
  }
3617
- return (0, smithy_client_1.expectString)(entry);
3617
+ return smithy_client_1.expectString(entry);
3618
3618
  });
3619
3619
  };
3620
3620
  const deserializeAws_restJson1ServiceNowConnectorProfileProperties = (output, context) => {
3621
3621
  return {
3622
- instanceUrl: (0, smithy_client_1.expectString)(output.instanceUrl),
3622
+ instanceUrl: smithy_client_1.expectString(output.instanceUrl),
3623
3623
  };
3624
3624
  };
3625
3625
  const deserializeAws_restJson1ServiceNowMetadata = (output, context) => {
@@ -3627,7 +3627,7 @@ const deserializeAws_restJson1ServiceNowMetadata = (output, context) => {
3627
3627
  };
3628
3628
  const deserializeAws_restJson1ServiceNowSourceProperties = (output, context) => {
3629
3629
  return {
3630
- object: (0, smithy_client_1.expectString)(output.object),
3630
+ object: smithy_client_1.expectString(output.object),
3631
3631
  };
3632
3632
  };
3633
3633
  const deserializeAws_restJson1SingularConnectorProfileProperties = (output, context) => {
@@ -3638,12 +3638,12 @@ const deserializeAws_restJson1SingularMetadata = (output, context) => {
3638
3638
  };
3639
3639
  const deserializeAws_restJson1SingularSourceProperties = (output, context) => {
3640
3640
  return {
3641
- object: (0, smithy_client_1.expectString)(output.object),
3641
+ object: smithy_client_1.expectString(output.object),
3642
3642
  };
3643
3643
  };
3644
3644
  const deserializeAws_restJson1SlackConnectorProfileProperties = (output, context) => {
3645
3645
  return {
3646
- instanceUrl: (0, smithy_client_1.expectString)(output.instanceUrl),
3646
+ instanceUrl: smithy_client_1.expectString(output.instanceUrl),
3647
3647
  };
3648
3648
  };
3649
3649
  const deserializeAws_restJson1SlackMetadata = (output, context) => {
@@ -3655,28 +3655,28 @@ const deserializeAws_restJson1SlackMetadata = (output, context) => {
3655
3655
  };
3656
3656
  const deserializeAws_restJson1SlackSourceProperties = (output, context) => {
3657
3657
  return {
3658
- object: (0, smithy_client_1.expectString)(output.object),
3658
+ object: smithy_client_1.expectString(output.object),
3659
3659
  };
3660
3660
  };
3661
3661
  const deserializeAws_restJson1SnowflakeConnectorProfileProperties = (output, context) => {
3662
3662
  return {
3663
- accountName: (0, smithy_client_1.expectString)(output.accountName),
3664
- bucketName: (0, smithy_client_1.expectString)(output.bucketName),
3665
- bucketPrefix: (0, smithy_client_1.expectString)(output.bucketPrefix),
3666
- privateLinkServiceName: (0, smithy_client_1.expectString)(output.privateLinkServiceName),
3667
- region: (0, smithy_client_1.expectString)(output.region),
3668
- stage: (0, smithy_client_1.expectString)(output.stage),
3669
- warehouse: (0, smithy_client_1.expectString)(output.warehouse),
3663
+ accountName: smithy_client_1.expectString(output.accountName),
3664
+ bucketName: smithy_client_1.expectString(output.bucketName),
3665
+ bucketPrefix: smithy_client_1.expectString(output.bucketPrefix),
3666
+ privateLinkServiceName: smithy_client_1.expectString(output.privateLinkServiceName),
3667
+ region: smithy_client_1.expectString(output.region),
3668
+ stage: smithy_client_1.expectString(output.stage),
3669
+ warehouse: smithy_client_1.expectString(output.warehouse),
3670
3670
  };
3671
3671
  };
3672
3672
  const deserializeAws_restJson1SnowflakeDestinationProperties = (output, context) => {
3673
3673
  return {
3674
- bucketPrefix: (0, smithy_client_1.expectString)(output.bucketPrefix),
3674
+ bucketPrefix: smithy_client_1.expectString(output.bucketPrefix),
3675
3675
  errorHandlingConfig: output.errorHandlingConfig !== undefined && output.errorHandlingConfig !== null
3676
3676
  ? deserializeAws_restJson1ErrorHandlingConfig(output.errorHandlingConfig, context)
3677
3677
  : undefined,
3678
- intermediateBucketName: (0, smithy_client_1.expectString)(output.intermediateBucketName),
3679
- object: (0, smithy_client_1.expectString)(output.object),
3678
+ intermediateBucketName: smithy_client_1.expectString(output.intermediateBucketName),
3679
+ object: smithy_client_1.expectString(output.object),
3680
3680
  };
3681
3681
  };
3682
3682
  const deserializeAws_restJson1SnowflakeMetadata = (output, context) => {
@@ -3737,8 +3737,8 @@ const deserializeAws_restJson1SourceConnectorProperties = (output, context) => {
3737
3737
  };
3738
3738
  const deserializeAws_restJson1SourceFieldProperties = (output, context) => {
3739
3739
  return {
3740
- isQueryable: (0, smithy_client_1.expectBoolean)(output.isQueryable),
3741
- isRetrievable: (0, smithy_client_1.expectBoolean)(output.isRetrievable),
3740
+ isQueryable: smithy_client_1.expectBoolean(output.isQueryable),
3741
+ isRetrievable: smithy_client_1.expectBoolean(output.isRetrievable),
3742
3742
  };
3743
3743
  };
3744
3744
  const deserializeAws_restJson1SourceFields = (output, context) => {
@@ -3748,13 +3748,13 @@ const deserializeAws_restJson1SourceFields = (output, context) => {
3748
3748
  if (entry === null) {
3749
3749
  return null;
3750
3750
  }
3751
- return (0, smithy_client_1.expectString)(entry);
3751
+ return smithy_client_1.expectString(entry);
3752
3752
  });
3753
3753
  };
3754
3754
  const deserializeAws_restJson1SourceFlowConfig = (output, context) => {
3755
3755
  return {
3756
- connectorProfileName: (0, smithy_client_1.expectString)(output.connectorProfileName),
3757
- connectorType: (0, smithy_client_1.expectString)(output.connectorType),
3756
+ connectorProfileName: smithy_client_1.expectString(output.connectorProfileName),
3757
+ connectorType: smithy_client_1.expectString(output.connectorType),
3758
3758
  incrementalPullConfig: output.incrementalPullConfig !== undefined && output.incrementalPullConfig !== null
3759
3759
  ? deserializeAws_restJson1IncrementalPullConfig(output.incrementalPullConfig, context)
3760
3760
  : undefined,
@@ -3777,7 +3777,7 @@ const deserializeAws_restJson1SupportedValueList = (output, context) => {
3777
3777
  if (entry === null) {
3778
3778
  return null;
3779
3779
  }
3780
- return (0, smithy_client_1.expectString)(entry);
3780
+ return smithy_client_1.expectString(entry);
3781
3781
  });
3782
3782
  };
3783
3783
  const deserializeAws_restJson1SupportedWriteOperationList = (output, context) => {
@@ -3787,7 +3787,7 @@ const deserializeAws_restJson1SupportedWriteOperationList = (output, context) =>
3787
3787
  if (entry === null) {
3788
3788
  return null;
3789
3789
  }
3790
- return (0, smithy_client_1.expectString)(entry);
3790
+ return smithy_client_1.expectString(entry);
3791
3791
  });
3792
3792
  };
3793
3793
  const deserializeAws_restJson1TagMap = (output, context) => {
@@ -3797,7 +3797,7 @@ const deserializeAws_restJson1TagMap = (output, context) => {
3797
3797
  }
3798
3798
  return {
3799
3799
  ...acc,
3800
- [key]: (0, smithy_client_1.expectString)(value),
3800
+ [key]: smithy_client_1.expectString(value),
3801
3801
  };
3802
3802
  }, {});
3803
3803
  };
@@ -3806,14 +3806,14 @@ const deserializeAws_restJson1Task = (output, context) => {
3806
3806
  connectorOperator: output.connectorOperator !== undefined && output.connectorOperator !== null
3807
3807
  ? deserializeAws_restJson1ConnectorOperator(output.connectorOperator, context)
3808
3808
  : undefined,
3809
- destinationField: (0, smithy_client_1.expectString)(output.destinationField),
3809
+ destinationField: smithy_client_1.expectString(output.destinationField),
3810
3810
  sourceFields: output.sourceFields !== undefined && output.sourceFields !== null
3811
3811
  ? deserializeAws_restJson1SourceFields(output.sourceFields, context)
3812
3812
  : undefined,
3813
3813
  taskProperties: output.taskProperties !== undefined && output.taskProperties !== null
3814
3814
  ? deserializeAws_restJson1TaskPropertiesMap(output.taskProperties, context)
3815
3815
  : undefined,
3816
- taskType: (0, smithy_client_1.expectString)(output.taskType),
3816
+ taskType: smithy_client_1.expectString(output.taskType),
3817
3817
  };
3818
3818
  };
3819
3819
  const deserializeAws_restJson1TaskPropertiesMap = (output, context) => {
@@ -3823,7 +3823,7 @@ const deserializeAws_restJson1TaskPropertiesMap = (output, context) => {
3823
3823
  }
3824
3824
  return {
3825
3825
  ...acc,
3826
- [key]: (0, smithy_client_1.expectString)(value),
3826
+ [key]: smithy_client_1.expectString(value),
3827
3827
  };
3828
3828
  }, {});
3829
3829
  };
@@ -3845,7 +3845,7 @@ const deserializeAws_restJson1TrendmicroMetadata = (output, context) => {
3845
3845
  };
3846
3846
  const deserializeAws_restJson1TrendmicroSourceProperties = (output, context) => {
3847
3847
  return {
3848
- object: (0, smithy_client_1.expectString)(output.object),
3848
+ object: smithy_client_1.expectString(output.object),
3849
3849
  };
3850
3850
  };
3851
3851
  const deserializeAws_restJson1TriggerConfig = (output, context) => {
@@ -3853,7 +3853,7 @@ const deserializeAws_restJson1TriggerConfig = (output, context) => {
3853
3853
  triggerProperties: output.triggerProperties !== undefined && output.triggerProperties !== null
3854
3854
  ? deserializeAws_restJson1TriggerProperties(output.triggerProperties, context)
3855
3855
  : undefined,
3856
- triggerType: (0, smithy_client_1.expectString)(output.triggerType),
3856
+ triggerType: smithy_client_1.expectString(output.triggerType),
3857
3857
  };
3858
3858
  };
3859
3859
  const deserializeAws_restJson1TriggerProperties = (output, context) => {
@@ -3870,13 +3870,13 @@ const deserializeAws_restJson1TriggerTypeList = (output, context) => {
3870
3870
  if (entry === null) {
3871
3871
  return null;
3872
3872
  }
3873
- return (0, smithy_client_1.expectString)(entry);
3873
+ return smithy_client_1.expectString(entry);
3874
3874
  });
3875
3875
  };
3876
3876
  const deserializeAws_restJson1UpsolverDestinationProperties = (output, context) => {
3877
3877
  return {
3878
- bucketName: (0, smithy_client_1.expectString)(output.bucketName),
3879
- bucketPrefix: (0, smithy_client_1.expectString)(output.bucketPrefix),
3878
+ bucketName: smithy_client_1.expectString(output.bucketName),
3879
+ bucketPrefix: smithy_client_1.expectString(output.bucketPrefix),
3880
3880
  s3OutputFormatConfig: output.s3OutputFormatConfig !== undefined && output.s3OutputFormatConfig !== null
3881
3881
  ? deserializeAws_restJson1UpsolverS3OutputFormatConfig(output.s3OutputFormatConfig, context)
3882
3882
  : undefined,
@@ -3890,7 +3890,7 @@ const deserializeAws_restJson1UpsolverS3OutputFormatConfig = (output, context) =
3890
3890
  aggregationConfig: output.aggregationConfig !== undefined && output.aggregationConfig !== null
3891
3891
  ? deserializeAws_restJson1AggregationConfig(output.aggregationConfig, context)
3892
3892
  : undefined,
3893
- fileType: (0, smithy_client_1.expectString)(output.fileType),
3893
+ fileType: smithy_client_1.expectString(output.fileType),
3894
3894
  prefixConfig: output.prefixConfig !== undefined && output.prefixConfig !== null
3895
3895
  ? deserializeAws_restJson1PrefixConfig(output.prefixConfig, context)
3896
3896
  : undefined,
@@ -3898,7 +3898,7 @@ const deserializeAws_restJson1UpsolverS3OutputFormatConfig = (output, context) =
3898
3898
  };
3899
3899
  const deserializeAws_restJson1VeevaConnectorProfileProperties = (output, context) => {
3900
3900
  return {
3901
- instanceUrl: (0, smithy_client_1.expectString)(output.instanceUrl),
3901
+ instanceUrl: smithy_client_1.expectString(output.instanceUrl),
3902
3902
  };
3903
3903
  };
3904
3904
  const deserializeAws_restJson1VeevaMetadata = (output, context) => {
@@ -3906,16 +3906,16 @@ const deserializeAws_restJson1VeevaMetadata = (output, context) => {
3906
3906
  };
3907
3907
  const deserializeAws_restJson1VeevaSourceProperties = (output, context) => {
3908
3908
  return {
3909
- documentType: (0, smithy_client_1.expectString)(output.documentType),
3910
- includeAllVersions: (0, smithy_client_1.expectBoolean)(output.includeAllVersions),
3911
- includeRenditions: (0, smithy_client_1.expectBoolean)(output.includeRenditions),
3912
- includeSourceFiles: (0, smithy_client_1.expectBoolean)(output.includeSourceFiles),
3913
- object: (0, smithy_client_1.expectString)(output.object),
3909
+ documentType: smithy_client_1.expectString(output.documentType),
3910
+ includeAllVersions: smithy_client_1.expectBoolean(output.includeAllVersions),
3911
+ includeRenditions: smithy_client_1.expectBoolean(output.includeRenditions),
3912
+ includeSourceFiles: smithy_client_1.expectBoolean(output.includeSourceFiles),
3913
+ object: smithy_client_1.expectString(output.object),
3914
3914
  };
3915
3915
  };
3916
3916
  const deserializeAws_restJson1ZendeskConnectorProfileProperties = (output, context) => {
3917
3917
  return {
3918
- instanceUrl: (0, smithy_client_1.expectString)(output.instanceUrl),
3918
+ instanceUrl: smithy_client_1.expectString(output.instanceUrl),
3919
3919
  };
3920
3920
  };
3921
3921
  const deserializeAws_restJson1ZendeskDestinationProperties = (output, context) => {
@@ -3926,8 +3926,8 @@ const deserializeAws_restJson1ZendeskDestinationProperties = (output, context) =
3926
3926
  idFieldNames: output.idFieldNames !== undefined && output.idFieldNames !== null
3927
3927
  ? deserializeAws_restJson1IdFieldNameList(output.idFieldNames, context)
3928
3928
  : undefined,
3929
- object: (0, smithy_client_1.expectString)(output.object),
3930
- writeOperationType: (0, smithy_client_1.expectString)(output.writeOperationType),
3929
+ object: smithy_client_1.expectString(output.object),
3930
+ writeOperationType: smithy_client_1.expectString(output.writeOperationType),
3931
3931
  };
3932
3932
  };
3933
3933
  const deserializeAws_restJson1ZendeskMetadata = (output, context) => {
@@ -3939,7 +3939,7 @@ const deserializeAws_restJson1ZendeskMetadata = (output, context) => {
3939
3939
  };
3940
3940
  const deserializeAws_restJson1ZendeskSourceProperties = (output, context) => {
3941
3941
  return {
3942
- object: (0, smithy_client_1.expectString)(output.object),
3942
+ object: smithy_client_1.expectString(output.object),
3943
3943
  };
3944
3944
  };
3945
3945
  const deserializeMetadata = (output) => {