@aws-sdk/client-appflow 3.53.0 → 3.55.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 (49) hide show
  1. package/CHANGELOG.md +27 -0
  2. package/dist-cjs/AppflowClient.js +13 -13
  3. package/dist-cjs/commands/CreateConnectorProfileCommand.js +3 -3
  4. package/dist-cjs/commands/CreateFlowCommand.js +3 -3
  5. package/dist-cjs/commands/DeleteConnectorProfileCommand.js +3 -3
  6. package/dist-cjs/commands/DeleteFlowCommand.js +3 -3
  7. package/dist-cjs/commands/DescribeConnectorCommand.js +3 -3
  8. package/dist-cjs/commands/DescribeConnectorEntityCommand.js +3 -3
  9. package/dist-cjs/commands/DescribeConnectorProfilesCommand.js +3 -3
  10. package/dist-cjs/commands/DescribeConnectorsCommand.js +3 -3
  11. package/dist-cjs/commands/DescribeFlowCommand.js +3 -3
  12. package/dist-cjs/commands/DescribeFlowExecutionRecordsCommand.js +3 -3
  13. package/dist-cjs/commands/ListConnectorEntitiesCommand.js +3 -3
  14. package/dist-cjs/commands/ListConnectorsCommand.js +3 -3
  15. package/dist-cjs/commands/ListFlowsCommand.js +3 -3
  16. package/dist-cjs/commands/ListTagsForResourceCommand.js +3 -3
  17. package/dist-cjs/commands/RegisterConnectorCommand.js +3 -3
  18. package/dist-cjs/commands/StartFlowCommand.js +3 -3
  19. package/dist-cjs/commands/StopFlowCommand.js +3 -3
  20. package/dist-cjs/commands/TagResourceCommand.js +3 -3
  21. package/dist-cjs/commands/UnregisterConnectorCommand.js +3 -3
  22. package/dist-cjs/commands/UntagResourceCommand.js +3 -3
  23. package/dist-cjs/commands/UpdateConnectorProfileCommand.js +3 -3
  24. package/dist-cjs/commands/UpdateFlowCommand.js +3 -3
  25. package/dist-cjs/endpoints.js +1 -1
  26. package/dist-cjs/models/models_0.js +9 -3
  27. package/dist-cjs/protocols/Aws_restJson1.js +358 -334
  28. package/dist-cjs/runtimeConfig.browser.js +4 -4
  29. package/dist-cjs/runtimeConfig.js +9 -9
  30. package/dist-cjs/runtimeConfig.native.js +1 -1
  31. package/dist-es/Appflow.js +22 -22
  32. package/dist-es/models/models_0.js +4 -0
  33. package/dist-es/pagination/DescribeConnectorProfilesPaginator.js +4 -4
  34. package/dist-es/pagination/DescribeConnectorsPaginator.js +4 -4
  35. package/dist-es/pagination/DescribeFlowExecutionRecordsPaginator.js +4 -4
  36. package/dist-es/pagination/ListConnectorsPaginator.js +4 -4
  37. package/dist-es/pagination/ListFlowsPaginator.js +4 -4
  38. package/dist-es/protocols/Aws_restJson1.js +43 -23
  39. package/dist-types/AppflowClient.d.ts +2 -2
  40. package/dist-types/models/models_0.d.ts +27 -0
  41. package/dist-types/runtimeConfig.browser.d.ts +1 -1
  42. package/dist-types/runtimeConfig.d.ts +1 -1
  43. package/dist-types/runtimeConfig.native.d.ts +3 -3
  44. package/dist-types/ts3.4/AppflowClient.d.ts +2 -2
  45. package/dist-types/ts3.4/models/models_0.d.ts +13 -0
  46. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -1
  47. package/dist-types/ts3.4/runtimeConfig.d.ts +1 -1
  48. package/dist-types/ts3.4/runtimeConfig.native.d.ts +3 -3
  49. package/package.json +34 -34
@@ -346,7 +346,7 @@ const serializeAws_restJson1ListTagsForResourceCommand = async (input, context)
346
346
  if (labelValue.length <= 0) {
347
347
  throw new Error("Empty value provided for input HTTP label: resourceArn.");
348
348
  }
349
- resolvedPath = resolvedPath.replace("{resourceArn}", smithy_client_1.extendedEncodeURIComponent(labelValue));
349
+ resolvedPath = resolvedPath.replace("{resourceArn}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
350
350
  }
351
351
  else {
352
352
  throw new Error("No value provided for input HTTP label: resourceArn.");
@@ -445,7 +445,7 @@ const serializeAws_restJson1TagResourceCommand = async (input, context) => {
445
445
  if (labelValue.length <= 0) {
446
446
  throw new Error("Empty value provided for input HTTP label: resourceArn.");
447
447
  }
448
- resolvedPath = resolvedPath.replace("{resourceArn}", smithy_client_1.extendedEncodeURIComponent(labelValue));
448
+ resolvedPath = resolvedPath.replace("{resourceArn}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
449
449
  }
450
450
  else {
451
451
  throw new Error("No value provided for input HTTP label: resourceArn.");
@@ -497,7 +497,7 @@ const serializeAws_restJson1UntagResourceCommand = async (input, context) => {
497
497
  if (labelValue.length <= 0) {
498
498
  throw new Error("Empty value provided for input HTTP label: resourceArn.");
499
499
  }
500
- resolvedPath = resolvedPath.replace("{resourceArn}", smithy_client_1.extendedEncodeURIComponent(labelValue));
500
+ resolvedPath = resolvedPath.replace("{resourceArn}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
501
501
  }
502
502
  else {
503
503
  throw new Error("No value provided for input HTTP label: resourceArn.");
@@ -590,9 +590,9 @@ const deserializeAws_restJson1CreateConnectorProfileCommand = async (output, con
590
590
  $metadata: deserializeMetadata(output),
591
591
  connectorProfileArn: undefined,
592
592
  };
593
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
593
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
594
594
  if (data.connectorProfileArn !== undefined && data.connectorProfileArn !== null) {
595
- contents.connectorProfileArn = smithy_client_1.expectString(data.connectorProfileArn);
595
+ contents.connectorProfileArn = (0, smithy_client_1.expectString)(data.connectorProfileArn);
596
596
  }
597
597
  return Promise.resolve(contents);
598
598
  };
@@ -628,7 +628,7 @@ const deserializeAws_restJson1CreateConnectorProfileCommandError = async (output
628
628
  $fault: "client",
629
629
  $metadata: deserializeMetadata(output),
630
630
  });
631
- throw smithy_client_1.decorateServiceException(response, parsedBody);
631
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
632
632
  }
633
633
  };
634
634
  const deserializeAws_restJson1CreateFlowCommand = async (output, context) => {
@@ -640,12 +640,12 @@ const deserializeAws_restJson1CreateFlowCommand = async (output, context) => {
640
640
  flowArn: undefined,
641
641
  flowStatus: undefined,
642
642
  };
643
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
643
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
644
644
  if (data.flowArn !== undefined && data.flowArn !== null) {
645
- contents.flowArn = smithy_client_1.expectString(data.flowArn);
645
+ contents.flowArn = (0, smithy_client_1.expectString)(data.flowArn);
646
646
  }
647
647
  if (data.flowStatus !== undefined && data.flowStatus !== null) {
648
- contents.flowStatus = smithy_client_1.expectString(data.flowStatus);
648
+ contents.flowStatus = (0, smithy_client_1.expectString)(data.flowStatus);
649
649
  }
650
650
  return Promise.resolve(contents);
651
651
  };
@@ -687,7 +687,7 @@ const deserializeAws_restJson1CreateFlowCommandError = async (output, context) =
687
687
  $fault: "client",
688
688
  $metadata: deserializeMetadata(output),
689
689
  });
690
- throw smithy_client_1.decorateServiceException(response, parsedBody);
690
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
691
691
  }
692
692
  };
693
693
  const deserializeAws_restJson1DeleteConnectorProfileCommand = async (output, context) => {
@@ -726,7 +726,7 @@ const deserializeAws_restJson1DeleteConnectorProfileCommandError = async (output
726
726
  $fault: "client",
727
727
  $metadata: deserializeMetadata(output),
728
728
  });
729
- throw smithy_client_1.decorateServiceException(response, parsedBody);
729
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
730
730
  }
731
731
  };
732
732
  const deserializeAws_restJson1DeleteFlowCommand = async (output, context) => {
@@ -765,7 +765,7 @@ const deserializeAws_restJson1DeleteFlowCommandError = async (output, context) =
765
765
  $fault: "client",
766
766
  $metadata: deserializeMetadata(output),
767
767
  });
768
- throw smithy_client_1.decorateServiceException(response, parsedBody);
768
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
769
769
  }
770
770
  };
771
771
  const deserializeAws_restJson1DescribeConnectorCommand = async (output, context) => {
@@ -776,7 +776,7 @@ const deserializeAws_restJson1DescribeConnectorCommand = async (output, context)
776
776
  $metadata: deserializeMetadata(output),
777
777
  connectorConfiguration: undefined,
778
778
  };
779
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
779
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
780
780
  if (data.connectorConfiguration !== undefined && data.connectorConfiguration !== null) {
781
781
  contents.connectorConfiguration = deserializeAws_restJson1ConnectorConfiguration(data.connectorConfiguration, context);
782
782
  }
@@ -808,7 +808,7 @@ const deserializeAws_restJson1DescribeConnectorCommandError = async (output, con
808
808
  $fault: "client",
809
809
  $metadata: deserializeMetadata(output),
810
810
  });
811
- throw smithy_client_1.decorateServiceException(response, parsedBody);
811
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
812
812
  }
813
813
  };
814
814
  const deserializeAws_restJson1DescribeConnectorEntityCommand = async (output, context) => {
@@ -819,7 +819,7 @@ const deserializeAws_restJson1DescribeConnectorEntityCommand = async (output, co
819
819
  $metadata: deserializeMetadata(output),
820
820
  connectorEntityFields: undefined,
821
821
  };
822
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
822
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
823
823
  if (data.connectorEntityFields !== undefined && data.connectorEntityFields !== null) {
824
824
  contents.connectorEntityFields = deserializeAws_restJson1ConnectorEntityFieldList(data.connectorEntityFields, context);
825
825
  }
@@ -857,7 +857,7 @@ const deserializeAws_restJson1DescribeConnectorEntityCommandError = async (outpu
857
857
  $fault: "client",
858
858
  $metadata: deserializeMetadata(output),
859
859
  });
860
- throw smithy_client_1.decorateServiceException(response, parsedBody);
860
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
861
861
  }
862
862
  };
863
863
  const deserializeAws_restJson1DescribeConnectorProfilesCommand = async (output, context) => {
@@ -869,12 +869,12 @@ const deserializeAws_restJson1DescribeConnectorProfilesCommand = async (output,
869
869
  connectorProfileDetails: undefined,
870
870
  nextToken: undefined,
871
871
  };
872
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
872
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
873
873
  if (data.connectorProfileDetails !== undefined && data.connectorProfileDetails !== null) {
874
874
  contents.connectorProfileDetails = deserializeAws_restJson1ConnectorProfileDetailList(data.connectorProfileDetails, context);
875
875
  }
876
876
  if (data.nextToken !== undefined && data.nextToken !== null) {
877
- contents.nextToken = smithy_client_1.expectString(data.nextToken);
877
+ contents.nextToken = (0, smithy_client_1.expectString)(data.nextToken);
878
878
  }
879
879
  return Promise.resolve(contents);
880
880
  };
@@ -901,7 +901,7 @@ const deserializeAws_restJson1DescribeConnectorProfilesCommandError = async (out
901
901
  $fault: "client",
902
902
  $metadata: deserializeMetadata(output),
903
903
  });
904
- throw smithy_client_1.decorateServiceException(response, parsedBody);
904
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
905
905
  }
906
906
  };
907
907
  const deserializeAws_restJson1DescribeConnectorsCommand = async (output, context) => {
@@ -914,7 +914,7 @@ const deserializeAws_restJson1DescribeConnectorsCommand = async (output, context
914
914
  connectors: undefined,
915
915
  nextToken: undefined,
916
916
  };
917
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
917
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
918
918
  if (data.connectorConfigurations !== undefined && data.connectorConfigurations !== null) {
919
919
  contents.connectorConfigurations = deserializeAws_restJson1ConnectorConfigurationsMap(data.connectorConfigurations, context);
920
920
  }
@@ -922,7 +922,7 @@ const deserializeAws_restJson1DescribeConnectorsCommand = async (output, context
922
922
  contents.connectors = deserializeAws_restJson1ConnectorList(data.connectors, context);
923
923
  }
924
924
  if (data.nextToken !== undefined && data.nextToken !== null) {
925
- contents.nextToken = smithy_client_1.expectString(data.nextToken);
925
+ contents.nextToken = (0, smithy_client_1.expectString)(data.nextToken);
926
926
  }
927
927
  return Promise.resolve(contents);
928
928
  };
@@ -949,7 +949,7 @@ const deserializeAws_restJson1DescribeConnectorsCommandError = async (output, co
949
949
  $fault: "client",
950
950
  $metadata: deserializeMetadata(output),
951
951
  });
952
- throw smithy_client_1.decorateServiceException(response, parsedBody);
952
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
953
953
  }
954
954
  };
955
955
  const deserializeAws_restJson1DescribeFlowCommand = async (output, context) => {
@@ -975,42 +975,42 @@ const deserializeAws_restJson1DescribeFlowCommand = async (output, context) => {
975
975
  tasks: undefined,
976
976
  triggerConfig: undefined,
977
977
  };
978
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
978
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
979
979
  if (data.createdAt !== undefined && data.createdAt !== null) {
980
- contents.createdAt = smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(data.createdAt)));
980
+ contents.createdAt = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(data.createdAt)));
981
981
  }
982
982
  if (data.createdBy !== undefined && data.createdBy !== null) {
983
- contents.createdBy = smithy_client_1.expectString(data.createdBy);
983
+ contents.createdBy = (0, smithy_client_1.expectString)(data.createdBy);
984
984
  }
985
985
  if (data.description !== undefined && data.description !== null) {
986
- contents.description = smithy_client_1.expectString(data.description);
986
+ contents.description = (0, smithy_client_1.expectString)(data.description);
987
987
  }
988
988
  if (data.destinationFlowConfigList !== undefined && data.destinationFlowConfigList !== null) {
989
989
  contents.destinationFlowConfigList = deserializeAws_restJson1DestinationFlowConfigList(data.destinationFlowConfigList, context);
990
990
  }
991
991
  if (data.flowArn !== undefined && data.flowArn !== null) {
992
- contents.flowArn = smithy_client_1.expectString(data.flowArn);
992
+ contents.flowArn = (0, smithy_client_1.expectString)(data.flowArn);
993
993
  }
994
994
  if (data.flowName !== undefined && data.flowName !== null) {
995
- contents.flowName = smithy_client_1.expectString(data.flowName);
995
+ contents.flowName = (0, smithy_client_1.expectString)(data.flowName);
996
996
  }
997
997
  if (data.flowStatus !== undefined && data.flowStatus !== null) {
998
- contents.flowStatus = smithy_client_1.expectString(data.flowStatus);
998
+ contents.flowStatus = (0, smithy_client_1.expectString)(data.flowStatus);
999
999
  }
1000
1000
  if (data.flowStatusMessage !== undefined && data.flowStatusMessage !== null) {
1001
- contents.flowStatusMessage = smithy_client_1.expectString(data.flowStatusMessage);
1001
+ contents.flowStatusMessage = (0, smithy_client_1.expectString)(data.flowStatusMessage);
1002
1002
  }
1003
1003
  if (data.kmsArn !== undefined && data.kmsArn !== null) {
1004
- contents.kmsArn = smithy_client_1.expectString(data.kmsArn);
1004
+ contents.kmsArn = (0, smithy_client_1.expectString)(data.kmsArn);
1005
1005
  }
1006
1006
  if (data.lastRunExecutionDetails !== undefined && data.lastRunExecutionDetails !== null) {
1007
1007
  contents.lastRunExecutionDetails = deserializeAws_restJson1ExecutionDetails(data.lastRunExecutionDetails, context);
1008
1008
  }
1009
1009
  if (data.lastUpdatedAt !== undefined && data.lastUpdatedAt !== null) {
1010
- contents.lastUpdatedAt = smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(data.lastUpdatedAt)));
1010
+ contents.lastUpdatedAt = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(data.lastUpdatedAt)));
1011
1011
  }
1012
1012
  if (data.lastUpdatedBy !== undefined && data.lastUpdatedBy !== null) {
1013
- contents.lastUpdatedBy = smithy_client_1.expectString(data.lastUpdatedBy);
1013
+ contents.lastUpdatedBy = (0, smithy_client_1.expectString)(data.lastUpdatedBy);
1014
1014
  }
1015
1015
  if (data.sourceFlowConfig !== undefined && data.sourceFlowConfig !== null) {
1016
1016
  contents.sourceFlowConfig = deserializeAws_restJson1SourceFlowConfig(data.sourceFlowConfig, context);
@@ -1049,7 +1049,7 @@ const deserializeAws_restJson1DescribeFlowCommandError = async (output, context)
1049
1049
  $fault: "client",
1050
1050
  $metadata: deserializeMetadata(output),
1051
1051
  });
1052
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1052
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1053
1053
  }
1054
1054
  };
1055
1055
  const deserializeAws_restJson1DescribeFlowExecutionRecordsCommand = async (output, context) => {
@@ -1061,12 +1061,12 @@ const deserializeAws_restJson1DescribeFlowExecutionRecordsCommand = async (outpu
1061
1061
  flowExecutions: undefined,
1062
1062
  nextToken: undefined,
1063
1063
  };
1064
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
1064
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1065
1065
  if (data.flowExecutions !== undefined && data.flowExecutions !== null) {
1066
1066
  contents.flowExecutions = deserializeAws_restJson1FlowExecutionList(data.flowExecutions, context);
1067
1067
  }
1068
1068
  if (data.nextToken !== undefined && data.nextToken !== null) {
1069
- contents.nextToken = smithy_client_1.expectString(data.nextToken);
1069
+ contents.nextToken = (0, smithy_client_1.expectString)(data.nextToken);
1070
1070
  }
1071
1071
  return Promise.resolve(contents);
1072
1072
  };
@@ -1096,7 +1096,7 @@ const deserializeAws_restJson1DescribeFlowExecutionRecordsCommandError = async (
1096
1096
  $fault: "client",
1097
1097
  $metadata: deserializeMetadata(output),
1098
1098
  });
1099
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1099
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1100
1100
  }
1101
1101
  };
1102
1102
  const deserializeAws_restJson1ListConnectorEntitiesCommand = async (output, context) => {
@@ -1107,7 +1107,7 @@ const deserializeAws_restJson1ListConnectorEntitiesCommand = async (output, cont
1107
1107
  $metadata: deserializeMetadata(output),
1108
1108
  connectorEntityMap: undefined,
1109
1109
  };
1110
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
1110
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1111
1111
  if (data.connectorEntityMap !== undefined && data.connectorEntityMap !== null) {
1112
1112
  contents.connectorEntityMap = deserializeAws_restJson1ConnectorEntityMap(data.connectorEntityMap, context);
1113
1113
  }
@@ -1145,7 +1145,7 @@ const deserializeAws_restJson1ListConnectorEntitiesCommandError = async (output,
1145
1145
  $fault: "client",
1146
1146
  $metadata: deserializeMetadata(output),
1147
1147
  });
1148
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1148
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1149
1149
  }
1150
1150
  };
1151
1151
  const deserializeAws_restJson1ListConnectorsCommand = async (output, context) => {
@@ -1157,12 +1157,12 @@ const deserializeAws_restJson1ListConnectorsCommand = async (output, context) =>
1157
1157
  connectors: undefined,
1158
1158
  nextToken: undefined,
1159
1159
  };
1160
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
1160
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1161
1161
  if (data.connectors !== undefined && data.connectors !== null) {
1162
1162
  contents.connectors = deserializeAws_restJson1ConnectorList(data.connectors, context);
1163
1163
  }
1164
1164
  if (data.nextToken !== undefined && data.nextToken !== null) {
1165
- contents.nextToken = smithy_client_1.expectString(data.nextToken);
1165
+ contents.nextToken = (0, smithy_client_1.expectString)(data.nextToken);
1166
1166
  }
1167
1167
  return Promise.resolve(contents);
1168
1168
  };
@@ -1189,7 +1189,7 @@ const deserializeAws_restJson1ListConnectorsCommandError = async (output, contex
1189
1189
  $fault: "client",
1190
1190
  $metadata: deserializeMetadata(output),
1191
1191
  });
1192
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1192
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1193
1193
  }
1194
1194
  };
1195
1195
  const deserializeAws_restJson1ListFlowsCommand = async (output, context) => {
@@ -1201,12 +1201,12 @@ const deserializeAws_restJson1ListFlowsCommand = async (output, context) => {
1201
1201
  flows: undefined,
1202
1202
  nextToken: undefined,
1203
1203
  };
1204
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
1204
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1205
1205
  if (data.flows !== undefined && data.flows !== null) {
1206
1206
  contents.flows = deserializeAws_restJson1FlowList(data.flows, context);
1207
1207
  }
1208
1208
  if (data.nextToken !== undefined && data.nextToken !== null) {
1209
- contents.nextToken = smithy_client_1.expectString(data.nextToken);
1209
+ contents.nextToken = (0, smithy_client_1.expectString)(data.nextToken);
1210
1210
  }
1211
1211
  return Promise.resolve(contents);
1212
1212
  };
@@ -1233,7 +1233,7 @@ const deserializeAws_restJson1ListFlowsCommandError = async (output, context) =>
1233
1233
  $fault: "client",
1234
1234
  $metadata: deserializeMetadata(output),
1235
1235
  });
1236
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1236
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1237
1237
  }
1238
1238
  };
1239
1239
  const deserializeAws_restJson1ListTagsForResourceCommand = async (output, context) => {
@@ -1244,7 +1244,7 @@ const deserializeAws_restJson1ListTagsForResourceCommand = async (output, contex
1244
1244
  $metadata: deserializeMetadata(output),
1245
1245
  tags: undefined,
1246
1246
  };
1247
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
1247
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1248
1248
  if (data.tags !== undefined && data.tags !== null) {
1249
1249
  contents.tags = deserializeAws_restJson1TagMap(data.tags, context);
1250
1250
  }
@@ -1276,7 +1276,7 @@ const deserializeAws_restJson1ListTagsForResourceCommandError = async (output, c
1276
1276
  $fault: "client",
1277
1277
  $metadata: deserializeMetadata(output),
1278
1278
  });
1279
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1279
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1280
1280
  }
1281
1281
  };
1282
1282
  const deserializeAws_restJson1RegisterConnectorCommand = async (output, context) => {
@@ -1287,9 +1287,9 @@ const deserializeAws_restJson1RegisterConnectorCommand = async (output, context)
1287
1287
  $metadata: deserializeMetadata(output),
1288
1288
  connectorArn: undefined,
1289
1289
  };
1290
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
1290
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1291
1291
  if (data.connectorArn !== undefined && data.connectorArn !== null) {
1292
- contents.connectorArn = smithy_client_1.expectString(data.connectorArn);
1292
+ contents.connectorArn = (0, smithy_client_1.expectString)(data.connectorArn);
1293
1293
  }
1294
1294
  return Promise.resolve(contents);
1295
1295
  };
@@ -1337,7 +1337,7 @@ const deserializeAws_restJson1RegisterConnectorCommandError = async (output, con
1337
1337
  $fault: "client",
1338
1338
  $metadata: deserializeMetadata(output),
1339
1339
  });
1340
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1340
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1341
1341
  }
1342
1342
  };
1343
1343
  const deserializeAws_restJson1StartFlowCommand = async (output, context) => {
@@ -1350,15 +1350,15 @@ const deserializeAws_restJson1StartFlowCommand = async (output, context) => {
1350
1350
  flowArn: undefined,
1351
1351
  flowStatus: undefined,
1352
1352
  };
1353
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
1353
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1354
1354
  if (data.executionId !== undefined && data.executionId !== null) {
1355
- contents.executionId = smithy_client_1.expectString(data.executionId);
1355
+ contents.executionId = (0, smithy_client_1.expectString)(data.executionId);
1356
1356
  }
1357
1357
  if (data.flowArn !== undefined && data.flowArn !== null) {
1358
- contents.flowArn = smithy_client_1.expectString(data.flowArn);
1358
+ contents.flowArn = (0, smithy_client_1.expectString)(data.flowArn);
1359
1359
  }
1360
1360
  if (data.flowStatus !== undefined && data.flowStatus !== null) {
1361
- contents.flowStatus = smithy_client_1.expectString(data.flowStatus);
1361
+ contents.flowStatus = (0, smithy_client_1.expectString)(data.flowStatus);
1362
1362
  }
1363
1363
  return Promise.resolve(contents);
1364
1364
  };
@@ -1391,7 +1391,7 @@ const deserializeAws_restJson1StartFlowCommandError = async (output, context) =>
1391
1391
  $fault: "client",
1392
1392
  $metadata: deserializeMetadata(output),
1393
1393
  });
1394
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1394
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1395
1395
  }
1396
1396
  };
1397
1397
  const deserializeAws_restJson1StopFlowCommand = async (output, context) => {
@@ -1403,12 +1403,12 @@ const deserializeAws_restJson1StopFlowCommand = async (output, context) => {
1403
1403
  flowArn: undefined,
1404
1404
  flowStatus: undefined,
1405
1405
  };
1406
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
1406
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1407
1407
  if (data.flowArn !== undefined && data.flowArn !== null) {
1408
- contents.flowArn = smithy_client_1.expectString(data.flowArn);
1408
+ contents.flowArn = (0, smithy_client_1.expectString)(data.flowArn);
1409
1409
  }
1410
1410
  if (data.flowStatus !== undefined && data.flowStatus !== null) {
1411
- contents.flowStatus = smithy_client_1.expectString(data.flowStatus);
1411
+ contents.flowStatus = (0, smithy_client_1.expectString)(data.flowStatus);
1412
1412
  }
1413
1413
  return Promise.resolve(contents);
1414
1414
  };
@@ -1441,7 +1441,7 @@ const deserializeAws_restJson1StopFlowCommandError = async (output, context) =>
1441
1441
  $fault: "client",
1442
1442
  $metadata: deserializeMetadata(output),
1443
1443
  });
1444
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1444
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1445
1445
  }
1446
1446
  };
1447
1447
  const deserializeAws_restJson1TagResourceCommand = async (output, context) => {
@@ -1480,7 +1480,7 @@ const deserializeAws_restJson1TagResourceCommandError = async (output, context)
1480
1480
  $fault: "client",
1481
1481
  $metadata: deserializeMetadata(output),
1482
1482
  });
1483
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1483
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1484
1484
  }
1485
1485
  };
1486
1486
  const deserializeAws_restJson1UnregisterConnectorCommand = async (output, context) => {
@@ -1519,7 +1519,7 @@ const deserializeAws_restJson1UnregisterConnectorCommandError = async (output, c
1519
1519
  $fault: "client",
1520
1520
  $metadata: deserializeMetadata(output),
1521
1521
  });
1522
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1522
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1523
1523
  }
1524
1524
  };
1525
1525
  const deserializeAws_restJson1UntagResourceCommand = async (output, context) => {
@@ -1558,7 +1558,7 @@ const deserializeAws_restJson1UntagResourceCommandError = async (output, context
1558
1558
  $fault: "client",
1559
1559
  $metadata: deserializeMetadata(output),
1560
1560
  });
1561
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1561
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1562
1562
  }
1563
1563
  };
1564
1564
  const deserializeAws_restJson1UpdateConnectorProfileCommand = async (output, context) => {
@@ -1569,9 +1569,9 @@ const deserializeAws_restJson1UpdateConnectorProfileCommand = async (output, con
1569
1569
  $metadata: deserializeMetadata(output),
1570
1570
  connectorProfileArn: undefined,
1571
1571
  };
1572
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
1572
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1573
1573
  if (data.connectorProfileArn !== undefined && data.connectorProfileArn !== null) {
1574
- contents.connectorProfileArn = smithy_client_1.expectString(data.connectorProfileArn);
1574
+ contents.connectorProfileArn = (0, smithy_client_1.expectString)(data.connectorProfileArn);
1575
1575
  }
1576
1576
  return Promise.resolve(contents);
1577
1577
  };
@@ -1607,7 +1607,7 @@ const deserializeAws_restJson1UpdateConnectorProfileCommandError = async (output
1607
1607
  $fault: "client",
1608
1608
  $metadata: deserializeMetadata(output),
1609
1609
  });
1610
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1610
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1611
1611
  }
1612
1612
  };
1613
1613
  const deserializeAws_restJson1UpdateFlowCommand = async (output, context) => {
@@ -1618,9 +1618,9 @@ const deserializeAws_restJson1UpdateFlowCommand = async (output, context) => {
1618
1618
  $metadata: deserializeMetadata(output),
1619
1619
  flowStatus: undefined,
1620
1620
  };
1621
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
1621
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1622
1622
  if (data.flowStatus !== undefined && data.flowStatus !== null) {
1623
- contents.flowStatus = smithy_client_1.expectString(data.flowStatus);
1623
+ contents.flowStatus = (0, smithy_client_1.expectString)(data.flowStatus);
1624
1624
  }
1625
1625
  return Promise.resolve(contents);
1626
1626
  };
@@ -1662,128 +1662,128 @@ const deserializeAws_restJson1UpdateFlowCommandError = async (output, context) =
1662
1662
  $fault: "client",
1663
1663
  $metadata: deserializeMetadata(output),
1664
1664
  });
1665
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1665
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1666
1666
  }
1667
1667
  };
1668
1668
  const deserializeAws_restJson1AccessDeniedExceptionResponse = async (parsedOutput, context) => {
1669
1669
  const contents = {};
1670
1670
  const data = parsedOutput.body;
1671
1671
  if (data.message !== undefined && data.message !== null) {
1672
- contents.message = smithy_client_1.expectString(data.message);
1672
+ contents.message = (0, smithy_client_1.expectString)(data.message);
1673
1673
  }
1674
1674
  const exception = new models_0_1.AccessDeniedException({
1675
1675
  $metadata: deserializeMetadata(parsedOutput),
1676
1676
  ...contents,
1677
1677
  });
1678
- return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
1678
+ return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
1679
1679
  };
1680
1680
  const deserializeAws_restJson1ConflictExceptionResponse = async (parsedOutput, context) => {
1681
1681
  const contents = {};
1682
1682
  const data = parsedOutput.body;
1683
1683
  if (data.message !== undefined && data.message !== null) {
1684
- contents.message = smithy_client_1.expectString(data.message);
1684
+ contents.message = (0, smithy_client_1.expectString)(data.message);
1685
1685
  }
1686
1686
  const exception = new models_0_1.ConflictException({
1687
1687
  $metadata: deserializeMetadata(parsedOutput),
1688
1688
  ...contents,
1689
1689
  });
1690
- return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
1690
+ return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
1691
1691
  };
1692
1692
  const deserializeAws_restJson1ConnectorAuthenticationExceptionResponse = async (parsedOutput, context) => {
1693
1693
  const contents = {};
1694
1694
  const data = parsedOutput.body;
1695
1695
  if (data.message !== undefined && data.message !== null) {
1696
- contents.message = smithy_client_1.expectString(data.message);
1696
+ contents.message = (0, smithy_client_1.expectString)(data.message);
1697
1697
  }
1698
1698
  const exception = new models_0_1.ConnectorAuthenticationException({
1699
1699
  $metadata: deserializeMetadata(parsedOutput),
1700
1700
  ...contents,
1701
1701
  });
1702
- return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
1702
+ return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
1703
1703
  };
1704
1704
  const deserializeAws_restJson1ConnectorServerExceptionResponse = async (parsedOutput, context) => {
1705
1705
  const contents = {};
1706
1706
  const data = parsedOutput.body;
1707
1707
  if (data.message !== undefined && data.message !== null) {
1708
- contents.message = smithy_client_1.expectString(data.message);
1708
+ contents.message = (0, smithy_client_1.expectString)(data.message);
1709
1709
  }
1710
1710
  const exception = new models_0_1.ConnectorServerException({
1711
1711
  $metadata: deserializeMetadata(parsedOutput),
1712
1712
  ...contents,
1713
1713
  });
1714
- return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
1714
+ return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
1715
1715
  };
1716
1716
  const deserializeAws_restJson1InternalServerExceptionResponse = async (parsedOutput, context) => {
1717
1717
  const contents = {};
1718
1718
  const data = parsedOutput.body;
1719
1719
  if (data.message !== undefined && data.message !== null) {
1720
- contents.message = smithy_client_1.expectString(data.message);
1720
+ contents.message = (0, smithy_client_1.expectString)(data.message);
1721
1721
  }
1722
1722
  const exception = new models_0_1.InternalServerException({
1723
1723
  $metadata: deserializeMetadata(parsedOutput),
1724
1724
  ...contents,
1725
1725
  });
1726
- return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
1726
+ return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
1727
1727
  };
1728
1728
  const deserializeAws_restJson1ResourceNotFoundExceptionResponse = async (parsedOutput, context) => {
1729
1729
  const contents = {};
1730
1730
  const data = parsedOutput.body;
1731
1731
  if (data.message !== undefined && data.message !== null) {
1732
- contents.message = smithy_client_1.expectString(data.message);
1732
+ contents.message = (0, smithy_client_1.expectString)(data.message);
1733
1733
  }
1734
1734
  const exception = new models_0_1.ResourceNotFoundException({
1735
1735
  $metadata: deserializeMetadata(parsedOutput),
1736
1736
  ...contents,
1737
1737
  });
1738
- return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
1738
+ return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
1739
1739
  };
1740
1740
  const deserializeAws_restJson1ServiceQuotaExceededExceptionResponse = async (parsedOutput, context) => {
1741
1741
  const contents = {};
1742
1742
  const data = parsedOutput.body;
1743
1743
  if (data.message !== undefined && data.message !== null) {
1744
- contents.message = smithy_client_1.expectString(data.message);
1744
+ contents.message = (0, smithy_client_1.expectString)(data.message);
1745
1745
  }
1746
1746
  const exception = new models_0_1.ServiceQuotaExceededException({
1747
1747
  $metadata: deserializeMetadata(parsedOutput),
1748
1748
  ...contents,
1749
1749
  });
1750
- return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
1750
+ return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
1751
1751
  };
1752
1752
  const deserializeAws_restJson1ThrottlingExceptionResponse = async (parsedOutput, context) => {
1753
1753
  const contents = {};
1754
1754
  const data = parsedOutput.body;
1755
1755
  if (data.message !== undefined && data.message !== null) {
1756
- contents.message = smithy_client_1.expectString(data.message);
1756
+ contents.message = (0, smithy_client_1.expectString)(data.message);
1757
1757
  }
1758
1758
  const exception = new models_0_1.ThrottlingException({
1759
1759
  $metadata: deserializeMetadata(parsedOutput),
1760
1760
  ...contents,
1761
1761
  });
1762
- return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
1762
+ return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
1763
1763
  };
1764
1764
  const deserializeAws_restJson1UnsupportedOperationExceptionResponse = async (parsedOutput, context) => {
1765
1765
  const contents = {};
1766
1766
  const data = parsedOutput.body;
1767
1767
  if (data.message !== undefined && data.message !== null) {
1768
- contents.message = smithy_client_1.expectString(data.message);
1768
+ contents.message = (0, smithy_client_1.expectString)(data.message);
1769
1769
  }
1770
1770
  const exception = new models_0_1.UnsupportedOperationException({
1771
1771
  $metadata: deserializeMetadata(parsedOutput),
1772
1772
  ...contents,
1773
1773
  });
1774
- return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
1774
+ return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
1775
1775
  };
1776
1776
  const deserializeAws_restJson1ValidationExceptionResponse = async (parsedOutput, context) => {
1777
1777
  const contents = {};
1778
1778
  const data = parsedOutput.body;
1779
1779
  if (data.message !== undefined && data.message !== null) {
1780
- contents.message = smithy_client_1.expectString(data.message);
1780
+ contents.message = (0, smithy_client_1.expectString)(data.message);
1781
1781
  }
1782
1782
  const exception = new models_0_1.ValidationException({
1783
1783
  $metadata: deserializeMetadata(parsedOutput),
1784
1784
  ...contents,
1785
1785
  });
1786
- return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
1786
+ return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
1787
1787
  };
1788
1788
  const serializeAws_restJson1AggregationConfig = (input, context) => {
1789
1789
  return {
@@ -2161,6 +2161,10 @@ const serializeAws_restJson1DestinationConnectorProperties = (input, context) =>
2161
2161
  input.LookoutMetrics !== null && {
2162
2162
  LookoutMetrics: serializeAws_restJson1LookoutMetricsDestinationProperties(input.LookoutMetrics, context),
2163
2163
  }),
2164
+ ...(input.Marketo !== undefined &&
2165
+ input.Marketo !== null && {
2166
+ Marketo: serializeAws_restJson1MarketoDestinationProperties(input.Marketo, context),
2167
+ }),
2164
2168
  ...(input.Redshift !== undefined &&
2165
2169
  input.Redshift !== null && {
2166
2170
  Redshift: serializeAws_restJson1RedshiftDestinationProperties(input.Redshift, context),
@@ -2344,6 +2348,15 @@ const serializeAws_restJson1MarketoConnectorProfileProperties = (input, context)
2344
2348
  ...(input.instanceUrl !== undefined && input.instanceUrl !== null && { instanceUrl: input.instanceUrl }),
2345
2349
  };
2346
2350
  };
2351
+ const serializeAws_restJson1MarketoDestinationProperties = (input, context) => {
2352
+ return {
2353
+ ...(input.errorHandlingConfig !== undefined &&
2354
+ input.errorHandlingConfig !== null && {
2355
+ errorHandlingConfig: serializeAws_restJson1ErrorHandlingConfig(input.errorHandlingConfig, context),
2356
+ }),
2357
+ ...(input.object !== undefined && input.object !== null && { object: input.object }),
2358
+ };
2359
+ };
2347
2360
  const serializeAws_restJson1MarketoSourceProperties = (input, context) => {
2348
2361
  return {
2349
2362
  ...(input.object !== undefined && input.object !== null && { object: input.object }),
@@ -2917,7 +2930,7 @@ const serializeAws_restJson1ZendeskSourceProperties = (input, context) => {
2917
2930
  };
2918
2931
  const deserializeAws_restJson1AggregationConfig = (output, context) => {
2919
2932
  return {
2920
- aggregationType: smithy_client_1.expectString(output.aggregationType),
2933
+ aggregationType: (0, smithy_client_1.expectString)(output.aggregationType),
2921
2934
  };
2922
2935
  };
2923
2936
  const deserializeAws_restJson1AmplitudeConnectorProfileProperties = (output, context) => {
@@ -2928,7 +2941,7 @@ const deserializeAws_restJson1AmplitudeMetadata = (output, context) => {
2928
2941
  };
2929
2942
  const deserializeAws_restJson1AmplitudeSourceProperties = (output, context) => {
2930
2943
  return {
2931
- object: smithy_client_1.expectString(output.object),
2944
+ object: (0, smithy_client_1.expectString)(output.object),
2932
2945
  };
2933
2946
  };
2934
2947
  const deserializeAws_restJson1AuthCodeUrlList = (output, context) => {
@@ -2938,7 +2951,7 @@ const deserializeAws_restJson1AuthCodeUrlList = (output, context) => {
2938
2951
  if (entry === null) {
2939
2952
  return null;
2940
2953
  }
2941
- return smithy_client_1.expectString(entry);
2954
+ return (0, smithy_client_1.expectString)(entry);
2942
2955
  });
2943
2956
  return retVal;
2944
2957
  };
@@ -2947,10 +2960,10 @@ const deserializeAws_restJson1AuthenticationConfig = (output, context) => {
2947
2960
  customAuthConfigs: output.customAuthConfigs !== undefined && output.customAuthConfigs !== null
2948
2961
  ? deserializeAws_restJson1CustomAuthConfigList(output.customAuthConfigs, context)
2949
2962
  : undefined,
2950
- isApiKeyAuthSupported: smithy_client_1.expectBoolean(output.isApiKeyAuthSupported),
2951
- isBasicAuthSupported: smithy_client_1.expectBoolean(output.isBasicAuthSupported),
2952
- isCustomAuthSupported: smithy_client_1.expectBoolean(output.isCustomAuthSupported),
2953
- isOAuth2Supported: smithy_client_1.expectBoolean(output.isOAuth2Supported),
2963
+ isApiKeyAuthSupported: (0, smithy_client_1.expectBoolean)(output.isApiKeyAuthSupported),
2964
+ isBasicAuthSupported: (0, smithy_client_1.expectBoolean)(output.isBasicAuthSupported),
2965
+ isCustomAuthSupported: (0, smithy_client_1.expectBoolean)(output.isCustomAuthSupported),
2966
+ isOAuth2Supported: (0, smithy_client_1.expectBoolean)(output.isOAuth2Supported),
2954
2967
  oAuth2Defaults: output.oAuth2Defaults !== undefined && output.oAuth2Defaults !== null
2955
2968
  ? deserializeAws_restJson1OAuth2Defaults(output.oAuth2Defaults, context)
2956
2969
  : undefined,
@@ -2961,11 +2974,11 @@ const deserializeAws_restJson1AuthParameter = (output, context) => {
2961
2974
  connectorSuppliedValues: output.connectorSuppliedValues !== undefined && output.connectorSuppliedValues !== null
2962
2975
  ? deserializeAws_restJson1ConnectorSuppliedValueList(output.connectorSuppliedValues, context)
2963
2976
  : undefined,
2964
- description: smithy_client_1.expectString(output.description),
2965
- isRequired: smithy_client_1.expectBoolean(output.isRequired),
2966
- isSensitiveField: smithy_client_1.expectBoolean(output.isSensitiveField),
2967
- key: smithy_client_1.expectString(output.key),
2968
- label: smithy_client_1.expectString(output.label),
2977
+ description: (0, smithy_client_1.expectString)(output.description),
2978
+ isRequired: (0, smithy_client_1.expectBoolean)(output.isRequired),
2979
+ isSensitiveField: (0, smithy_client_1.expectBoolean)(output.isSensitiveField),
2980
+ key: (0, smithy_client_1.expectString)(output.key),
2981
+ label: (0, smithy_client_1.expectString)(output.label),
2969
2982
  };
2970
2983
  };
2971
2984
  const deserializeAws_restJson1AuthParameterList = (output, context) => {
@@ -2984,35 +2997,35 @@ const deserializeAws_restJson1ConnectorConfiguration = (output, context) => {
2984
2997
  authenticationConfig: output.authenticationConfig !== undefined && output.authenticationConfig !== null
2985
2998
  ? deserializeAws_restJson1AuthenticationConfig(output.authenticationConfig, context)
2986
2999
  : undefined,
2987
- canUseAsDestination: smithy_client_1.expectBoolean(output.canUseAsDestination),
2988
- canUseAsSource: smithy_client_1.expectBoolean(output.canUseAsSource),
2989
- connectorArn: smithy_client_1.expectString(output.connectorArn),
2990
- connectorDescription: smithy_client_1.expectString(output.connectorDescription),
2991
- connectorLabel: smithy_client_1.expectString(output.connectorLabel),
3000
+ canUseAsDestination: (0, smithy_client_1.expectBoolean)(output.canUseAsDestination),
3001
+ canUseAsSource: (0, smithy_client_1.expectBoolean)(output.canUseAsSource),
3002
+ connectorArn: (0, smithy_client_1.expectString)(output.connectorArn),
3003
+ connectorDescription: (0, smithy_client_1.expectString)(output.connectorDescription),
3004
+ connectorLabel: (0, smithy_client_1.expectString)(output.connectorLabel),
2992
3005
  connectorMetadata: output.connectorMetadata !== undefined && output.connectorMetadata !== null
2993
3006
  ? deserializeAws_restJson1ConnectorMetadata(output.connectorMetadata, context)
2994
3007
  : undefined,
2995
3008
  connectorModes: output.connectorModes !== undefined && output.connectorModes !== null
2996
3009
  ? deserializeAws_restJson1ConnectorModeList(output.connectorModes, context)
2997
3010
  : undefined,
2998
- connectorName: smithy_client_1.expectString(output.connectorName),
2999
- connectorOwner: smithy_client_1.expectString(output.connectorOwner),
3011
+ connectorName: (0, smithy_client_1.expectString)(output.connectorName),
3012
+ connectorOwner: (0, smithy_client_1.expectString)(output.connectorOwner),
3000
3013
  connectorProvisioningConfig: output.connectorProvisioningConfig !== undefined && output.connectorProvisioningConfig !== null
3001
3014
  ? deserializeAws_restJson1ConnectorProvisioningConfig(output.connectorProvisioningConfig, context)
3002
3015
  : undefined,
3003
- connectorProvisioningType: smithy_client_1.expectString(output.connectorProvisioningType),
3016
+ connectorProvisioningType: (0, smithy_client_1.expectString)(output.connectorProvisioningType),
3004
3017
  connectorRuntimeSettings: output.connectorRuntimeSettings !== undefined && output.connectorRuntimeSettings !== null
3005
3018
  ? deserializeAws_restJson1ConnectorRuntimeSettingList(output.connectorRuntimeSettings, context)
3006
3019
  : undefined,
3007
- connectorType: smithy_client_1.expectString(output.connectorType),
3008
- connectorVersion: smithy_client_1.expectString(output.connectorVersion),
3009
- isPrivateLinkEnabled: smithy_client_1.expectBoolean(output.isPrivateLinkEnabled),
3010
- isPrivateLinkEndpointUrlRequired: smithy_client_1.expectBoolean(output.isPrivateLinkEndpointUrlRequired),
3011
- logoURL: smithy_client_1.expectString(output.logoURL),
3020
+ connectorType: (0, smithy_client_1.expectString)(output.connectorType),
3021
+ connectorVersion: (0, smithy_client_1.expectString)(output.connectorVersion),
3022
+ isPrivateLinkEnabled: (0, smithy_client_1.expectBoolean)(output.isPrivateLinkEnabled),
3023
+ isPrivateLinkEndpointUrlRequired: (0, smithy_client_1.expectBoolean)(output.isPrivateLinkEndpointUrlRequired),
3024
+ logoURL: (0, smithy_client_1.expectString)(output.logoURL),
3012
3025
  registeredAt: output.registeredAt !== undefined && output.registeredAt !== null
3013
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.registeredAt)))
3026
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.registeredAt)))
3014
3027
  : undefined,
3015
- registeredBy: smithy_client_1.expectString(output.registeredBy),
3028
+ registeredBy: (0, smithy_client_1.expectString)(output.registeredBy),
3016
3029
  supportedApiVersions: output.supportedApiVersions !== undefined && output.supportedApiVersions !== null
3017
3030
  ? deserializeAws_restJson1SupportedApiVersionList(output.supportedApiVersions, context)
3018
3031
  : undefined,
@@ -3046,28 +3059,28 @@ const deserializeAws_restJson1ConnectorConfigurationsMap = (output, context) =>
3046
3059
  };
3047
3060
  const deserializeAws_restJson1ConnectorDetail = (output, context) => {
3048
3061
  return {
3049
- applicationType: smithy_client_1.expectString(output.applicationType),
3050
- connectorDescription: smithy_client_1.expectString(output.connectorDescription),
3051
- connectorLabel: smithy_client_1.expectString(output.connectorLabel),
3062
+ applicationType: (0, smithy_client_1.expectString)(output.applicationType),
3063
+ connectorDescription: (0, smithy_client_1.expectString)(output.connectorDescription),
3064
+ connectorLabel: (0, smithy_client_1.expectString)(output.connectorLabel),
3052
3065
  connectorModes: output.connectorModes !== undefined && output.connectorModes !== null
3053
3066
  ? deserializeAws_restJson1ConnectorModeList(output.connectorModes, context)
3054
3067
  : undefined,
3055
- connectorName: smithy_client_1.expectString(output.connectorName),
3056
- connectorOwner: smithy_client_1.expectString(output.connectorOwner),
3057
- connectorProvisioningType: smithy_client_1.expectString(output.connectorProvisioningType),
3058
- connectorType: smithy_client_1.expectString(output.connectorType),
3059
- connectorVersion: smithy_client_1.expectString(output.connectorVersion),
3068
+ connectorName: (0, smithy_client_1.expectString)(output.connectorName),
3069
+ connectorOwner: (0, smithy_client_1.expectString)(output.connectorOwner),
3070
+ connectorProvisioningType: (0, smithy_client_1.expectString)(output.connectorProvisioningType),
3071
+ connectorType: (0, smithy_client_1.expectString)(output.connectorType),
3072
+ connectorVersion: (0, smithy_client_1.expectString)(output.connectorVersion),
3060
3073
  registeredAt: output.registeredAt !== undefined && output.registeredAt !== null
3061
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.registeredAt)))
3074
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.registeredAt)))
3062
3075
  : undefined,
3063
- registeredBy: smithy_client_1.expectString(output.registeredBy),
3076
+ registeredBy: (0, smithy_client_1.expectString)(output.registeredBy),
3064
3077
  };
3065
3078
  };
3066
3079
  const deserializeAws_restJson1ConnectorEntity = (output, context) => {
3067
3080
  return {
3068
- hasNestedEntities: smithy_client_1.expectBoolean(output.hasNestedEntities),
3069
- label: smithy_client_1.expectString(output.label),
3070
- name: smithy_client_1.expectString(output.name),
3081
+ hasNestedEntities: (0, smithy_client_1.expectBoolean)(output.hasNestedEntities),
3082
+ label: (0, smithy_client_1.expectString)(output.label),
3083
+ name: (0, smithy_client_1.expectString)(output.name),
3071
3084
  };
3072
3085
  };
3073
3086
  const deserializeAws_restJson1ConnectorEntityField = (output, context) => {
@@ -3075,16 +3088,16 @@ const deserializeAws_restJson1ConnectorEntityField = (output, context) => {
3075
3088
  customProperties: output.customProperties !== undefined && output.customProperties !== null
3076
3089
  ? deserializeAws_restJson1CustomProperties(output.customProperties, context)
3077
3090
  : undefined,
3078
- defaultValue: smithy_client_1.expectString(output.defaultValue),
3079
- description: smithy_client_1.expectString(output.description),
3091
+ defaultValue: (0, smithy_client_1.expectString)(output.defaultValue),
3092
+ description: (0, smithy_client_1.expectString)(output.description),
3080
3093
  destinationProperties: output.destinationProperties !== undefined && output.destinationProperties !== null
3081
3094
  ? deserializeAws_restJson1DestinationFieldProperties(output.destinationProperties, context)
3082
3095
  : undefined,
3083
- identifier: smithy_client_1.expectString(output.identifier),
3084
- isDeprecated: smithy_client_1.expectBoolean(output.isDeprecated),
3085
- isPrimaryKey: smithy_client_1.expectBoolean(output.isPrimaryKey),
3086
- label: smithy_client_1.expectString(output.label),
3087
- parentIdentifier: smithy_client_1.expectString(output.parentIdentifier),
3096
+ identifier: (0, smithy_client_1.expectString)(output.identifier),
3097
+ isDeprecated: (0, smithy_client_1.expectBoolean)(output.isDeprecated),
3098
+ isPrimaryKey: (0, smithy_client_1.expectBoolean)(output.isPrimaryKey),
3099
+ label: (0, smithy_client_1.expectString)(output.label),
3100
+ parentIdentifier: (0, smithy_client_1.expectString)(output.parentIdentifier),
3088
3101
  sourceProperties: output.sourceProperties !== undefined && output.sourceProperties !== null
3089
3102
  ? deserializeAws_restJson1SourceFieldProperties(output.sourceProperties, context)
3090
3103
  : undefined,
@@ -3211,46 +3224,46 @@ const deserializeAws_restJson1ConnectorModeList = (output, context) => {
3211
3224
  if (entry === null) {
3212
3225
  return null;
3213
3226
  }
3214
- return smithy_client_1.expectString(entry);
3227
+ return (0, smithy_client_1.expectString)(entry);
3215
3228
  });
3216
3229
  return retVal;
3217
3230
  };
3218
3231
  const deserializeAws_restJson1ConnectorOperator = (output, context) => {
3219
3232
  return {
3220
- Amplitude: smithy_client_1.expectString(output.Amplitude),
3221
- CustomConnector: smithy_client_1.expectString(output.CustomConnector),
3222
- Datadog: smithy_client_1.expectString(output.Datadog),
3223
- Dynatrace: smithy_client_1.expectString(output.Dynatrace),
3224
- GoogleAnalytics: smithy_client_1.expectString(output.GoogleAnalytics),
3225
- InforNexus: smithy_client_1.expectString(output.InforNexus),
3226
- Marketo: smithy_client_1.expectString(output.Marketo),
3227
- S3: smithy_client_1.expectString(output.S3),
3228
- SAPOData: smithy_client_1.expectString(output.SAPOData),
3229
- Salesforce: smithy_client_1.expectString(output.Salesforce),
3230
- ServiceNow: smithy_client_1.expectString(output.ServiceNow),
3231
- Singular: smithy_client_1.expectString(output.Singular),
3232
- Slack: smithy_client_1.expectString(output.Slack),
3233
- Trendmicro: smithy_client_1.expectString(output.Trendmicro),
3234
- Veeva: smithy_client_1.expectString(output.Veeva),
3235
- Zendesk: smithy_client_1.expectString(output.Zendesk),
3233
+ Amplitude: (0, smithy_client_1.expectString)(output.Amplitude),
3234
+ CustomConnector: (0, smithy_client_1.expectString)(output.CustomConnector),
3235
+ Datadog: (0, smithy_client_1.expectString)(output.Datadog),
3236
+ Dynatrace: (0, smithy_client_1.expectString)(output.Dynatrace),
3237
+ GoogleAnalytics: (0, smithy_client_1.expectString)(output.GoogleAnalytics),
3238
+ InforNexus: (0, smithy_client_1.expectString)(output.InforNexus),
3239
+ Marketo: (0, smithy_client_1.expectString)(output.Marketo),
3240
+ S3: (0, smithy_client_1.expectString)(output.S3),
3241
+ SAPOData: (0, smithy_client_1.expectString)(output.SAPOData),
3242
+ Salesforce: (0, smithy_client_1.expectString)(output.Salesforce),
3243
+ ServiceNow: (0, smithy_client_1.expectString)(output.ServiceNow),
3244
+ Singular: (0, smithy_client_1.expectString)(output.Singular),
3245
+ Slack: (0, smithy_client_1.expectString)(output.Slack),
3246
+ Trendmicro: (0, smithy_client_1.expectString)(output.Trendmicro),
3247
+ Veeva: (0, smithy_client_1.expectString)(output.Veeva),
3248
+ Zendesk: (0, smithy_client_1.expectString)(output.Zendesk),
3236
3249
  };
3237
3250
  };
3238
3251
  const deserializeAws_restJson1ConnectorProfile = (output, context) => {
3239
3252
  return {
3240
- connectionMode: smithy_client_1.expectString(output.connectionMode),
3241
- connectorLabel: smithy_client_1.expectString(output.connectorLabel),
3242
- connectorProfileArn: smithy_client_1.expectString(output.connectorProfileArn),
3243
- connectorProfileName: smithy_client_1.expectString(output.connectorProfileName),
3253
+ connectionMode: (0, smithy_client_1.expectString)(output.connectionMode),
3254
+ connectorLabel: (0, smithy_client_1.expectString)(output.connectorLabel),
3255
+ connectorProfileArn: (0, smithy_client_1.expectString)(output.connectorProfileArn),
3256
+ connectorProfileName: (0, smithy_client_1.expectString)(output.connectorProfileName),
3244
3257
  connectorProfileProperties: output.connectorProfileProperties !== undefined && output.connectorProfileProperties !== null
3245
3258
  ? deserializeAws_restJson1ConnectorProfileProperties(output.connectorProfileProperties, context)
3246
3259
  : undefined,
3247
- connectorType: smithy_client_1.expectString(output.connectorType),
3260
+ connectorType: (0, smithy_client_1.expectString)(output.connectorType),
3248
3261
  createdAt: output.createdAt !== undefined && output.createdAt !== null
3249
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.createdAt)))
3262
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.createdAt)))
3250
3263
  : undefined,
3251
- credentialsArn: smithy_client_1.expectString(output.credentialsArn),
3264
+ credentialsArn: (0, smithy_client_1.expectString)(output.credentialsArn),
3252
3265
  lastUpdatedAt: output.lastUpdatedAt !== undefined && output.lastUpdatedAt !== null
3253
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.lastUpdatedAt)))
3266
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.lastUpdatedAt)))
3254
3267
  : undefined,
3255
3268
  privateConnectionProvisioningState: output.privateConnectionProvisioningState !== undefined && output.privateConnectionProvisioningState !== null
3256
3269
  ? deserializeAws_restJson1PrivateConnectionProvisioningState(output.privateConnectionProvisioningState, context)
@@ -3338,12 +3351,12 @@ const deserializeAws_restJson1ConnectorRuntimeSetting = (output, context) => {
3338
3351
  connectorSuppliedValueOptions: output.connectorSuppliedValueOptions !== undefined && output.connectorSuppliedValueOptions !== null
3339
3352
  ? deserializeAws_restJson1ConnectorSuppliedValueOptionList(output.connectorSuppliedValueOptions, context)
3340
3353
  : undefined,
3341
- dataType: smithy_client_1.expectString(output.dataType),
3342
- description: smithy_client_1.expectString(output.description),
3343
- isRequired: smithy_client_1.expectBoolean(output.isRequired),
3344
- key: smithy_client_1.expectString(output.key),
3345
- label: smithy_client_1.expectString(output.label),
3346
- scope: smithy_client_1.expectString(output.scope),
3354
+ dataType: (0, smithy_client_1.expectString)(output.dataType),
3355
+ description: (0, smithy_client_1.expectString)(output.description),
3356
+ isRequired: (0, smithy_client_1.expectBoolean)(output.isRequired),
3357
+ key: (0, smithy_client_1.expectString)(output.key),
3358
+ label: (0, smithy_client_1.expectString)(output.label),
3359
+ scope: (0, smithy_client_1.expectString)(output.scope),
3347
3360
  };
3348
3361
  };
3349
3362
  const deserializeAws_restJson1ConnectorRuntimeSettingList = (output, context) => {
@@ -3364,7 +3377,7 @@ const deserializeAws_restJson1ConnectorSuppliedValueList = (output, context) =>
3364
3377
  if (entry === null) {
3365
3378
  return null;
3366
3379
  }
3367
- return smithy_client_1.expectString(entry);
3380
+ return (0, smithy_client_1.expectString)(entry);
3368
3381
  });
3369
3382
  return retVal;
3370
3383
  };
@@ -3375,7 +3388,7 @@ const deserializeAws_restJson1ConnectorSuppliedValueOptionList = (output, contex
3375
3388
  if (entry === null) {
3376
3389
  return null;
3377
3390
  }
3378
- return smithy_client_1.expectString(entry);
3391
+ return (0, smithy_client_1.expectString)(entry);
3379
3392
  });
3380
3393
  return retVal;
3381
3394
  };
@@ -3386,7 +3399,7 @@ const deserializeAws_restJson1ConnectorTypeList = (output, context) => {
3386
3399
  if (entry === null) {
3387
3400
  return null;
3388
3401
  }
3389
- return smithy_client_1.expectString(entry);
3402
+ return (0, smithy_client_1.expectString)(entry);
3390
3403
  });
3391
3404
  return retVal;
3392
3405
  };
@@ -3395,7 +3408,7 @@ const deserializeAws_restJson1CustomAuthConfig = (output, context) => {
3395
3408
  authParameters: output.authParameters !== undefined && output.authParameters !== null
3396
3409
  ? deserializeAws_restJson1AuthParameterList(output.authParameters, context)
3397
3410
  : undefined,
3398
- customAuthenticationType: smithy_client_1.expectString(output.customAuthenticationType),
3411
+ customAuthenticationType: (0, smithy_client_1.expectString)(output.customAuthenticationType),
3399
3412
  };
3400
3413
  };
3401
3414
  const deserializeAws_restJson1CustomAuthConfigList = (output, context) => {
@@ -3414,14 +3427,14 @@ const deserializeAws_restJson1CustomConnectorDestinationProperties = (output, co
3414
3427
  customProperties: output.customProperties !== undefined && output.customProperties !== null
3415
3428
  ? deserializeAws_restJson1CustomProperties(output.customProperties, context)
3416
3429
  : undefined,
3417
- entityName: smithy_client_1.expectString(output.entityName),
3430
+ entityName: (0, smithy_client_1.expectString)(output.entityName),
3418
3431
  errorHandlingConfig: output.errorHandlingConfig !== undefined && output.errorHandlingConfig !== null
3419
3432
  ? deserializeAws_restJson1ErrorHandlingConfig(output.errorHandlingConfig, context)
3420
3433
  : undefined,
3421
3434
  idFieldNames: output.idFieldNames !== undefined && output.idFieldNames !== null
3422
3435
  ? deserializeAws_restJson1IdFieldNameList(output.idFieldNames, context)
3423
3436
  : undefined,
3424
- writeOperationType: smithy_client_1.expectString(output.writeOperationType),
3437
+ writeOperationType: (0, smithy_client_1.expectString)(output.writeOperationType),
3425
3438
  };
3426
3439
  };
3427
3440
  const deserializeAws_restJson1CustomConnectorProfileProperties = (output, context) => {
@@ -3439,13 +3452,13 @@ const deserializeAws_restJson1CustomConnectorSourceProperties = (output, context
3439
3452
  customProperties: output.customProperties !== undefined && output.customProperties !== null
3440
3453
  ? deserializeAws_restJson1CustomProperties(output.customProperties, context)
3441
3454
  : undefined,
3442
- entityName: smithy_client_1.expectString(output.entityName),
3455
+ entityName: (0, smithy_client_1.expectString)(output.entityName),
3443
3456
  };
3444
3457
  };
3445
3458
  const deserializeAws_restJson1CustomerProfilesDestinationProperties = (output, context) => {
3446
3459
  return {
3447
- domainName: smithy_client_1.expectString(output.domainName),
3448
- objectTypeName: smithy_client_1.expectString(output.objectTypeName),
3460
+ domainName: (0, smithy_client_1.expectString)(output.domainName),
3461
+ objectTypeName: (0, smithy_client_1.expectString)(output.objectTypeName),
3449
3462
  };
3450
3463
  };
3451
3464
  const deserializeAws_restJson1CustomerProfilesMetadata = (output, context) => {
@@ -3458,13 +3471,13 @@ const deserializeAws_restJson1CustomProperties = (output, context) => {
3458
3471
  }
3459
3472
  return {
3460
3473
  ...acc,
3461
- [key]: smithy_client_1.expectString(value),
3474
+ [key]: (0, smithy_client_1.expectString)(value),
3462
3475
  };
3463
3476
  }, {});
3464
3477
  };
3465
3478
  const deserializeAws_restJson1DatadogConnectorProfileProperties = (output, context) => {
3466
3479
  return {
3467
- instanceUrl: smithy_client_1.expectString(output.instanceUrl),
3480
+ instanceUrl: (0, smithy_client_1.expectString)(output.instanceUrl),
3468
3481
  };
3469
3482
  };
3470
3483
  const deserializeAws_restJson1DatadogMetadata = (output, context) => {
@@ -3472,7 +3485,7 @@ const deserializeAws_restJson1DatadogMetadata = (output, context) => {
3472
3485
  };
3473
3486
  const deserializeAws_restJson1DatadogSourceProperties = (output, context) => {
3474
3487
  return {
3475
- object: smithy_client_1.expectString(output.object),
3488
+ object: (0, smithy_client_1.expectString)(output.object),
3476
3489
  };
3477
3490
  };
3478
3491
  const deserializeAws_restJson1DestinationConnectorProperties = (output, context) => {
@@ -3492,6 +3505,9 @@ const deserializeAws_restJson1DestinationConnectorProperties = (output, context)
3492
3505
  LookoutMetrics: output.LookoutMetrics !== undefined && output.LookoutMetrics !== null
3493
3506
  ? deserializeAws_restJson1LookoutMetricsDestinationProperties(output.LookoutMetrics, context)
3494
3507
  : undefined,
3508
+ Marketo: output.Marketo !== undefined && output.Marketo !== null
3509
+ ? deserializeAws_restJson1MarketoDestinationProperties(output.Marketo, context)
3510
+ : undefined,
3495
3511
  Redshift: output.Redshift !== undefined && output.Redshift !== null
3496
3512
  ? deserializeAws_restJson1RedshiftDestinationProperties(output.Redshift, context)
3497
3513
  : undefined,
@@ -3517,11 +3533,11 @@ const deserializeAws_restJson1DestinationConnectorProperties = (output, context)
3517
3533
  };
3518
3534
  const deserializeAws_restJson1DestinationFieldProperties = (output, context) => {
3519
3535
  return {
3520
- isCreatable: smithy_client_1.expectBoolean(output.isCreatable),
3521
- isDefaultedOnCreate: smithy_client_1.expectBoolean(output.isDefaultedOnCreate),
3522
- isNullable: smithy_client_1.expectBoolean(output.isNullable),
3523
- isUpdatable: smithy_client_1.expectBoolean(output.isUpdatable),
3524
- isUpsertable: smithy_client_1.expectBoolean(output.isUpsertable),
3536
+ isCreatable: (0, smithy_client_1.expectBoolean)(output.isCreatable),
3537
+ isDefaultedOnCreate: (0, smithy_client_1.expectBoolean)(output.isDefaultedOnCreate),
3538
+ isNullable: (0, smithy_client_1.expectBoolean)(output.isNullable),
3539
+ isUpdatable: (0, smithy_client_1.expectBoolean)(output.isUpdatable),
3540
+ isUpsertable: (0, smithy_client_1.expectBoolean)(output.isUpsertable),
3525
3541
  supportedWriteOperations: output.supportedWriteOperations !== undefined && output.supportedWriteOperations !== null
3526
3542
  ? deserializeAws_restJson1SupportedWriteOperationList(output.supportedWriteOperations, context)
3527
3543
  : undefined,
@@ -3529,9 +3545,9 @@ const deserializeAws_restJson1DestinationFieldProperties = (output, context) =>
3529
3545
  };
3530
3546
  const deserializeAws_restJson1DestinationFlowConfig = (output, context) => {
3531
3547
  return {
3532
- apiVersion: smithy_client_1.expectString(output.apiVersion),
3533
- connectorProfileName: smithy_client_1.expectString(output.connectorProfileName),
3534
- connectorType: smithy_client_1.expectString(output.connectorType),
3548
+ apiVersion: (0, smithy_client_1.expectString)(output.apiVersion),
3549
+ connectorProfileName: (0, smithy_client_1.expectString)(output.connectorProfileName),
3550
+ connectorType: (0, smithy_client_1.expectString)(output.connectorType),
3535
3551
  destinationConnectorProperties: output.destinationConnectorProperties !== undefined && output.destinationConnectorProperties !== null
3536
3552
  ? deserializeAws_restJson1DestinationConnectorProperties(output.destinationConnectorProperties, context)
3537
3553
  : undefined,
@@ -3550,7 +3566,7 @@ const deserializeAws_restJson1DestinationFlowConfigList = (output, context) => {
3550
3566
  };
3551
3567
  const deserializeAws_restJson1DynatraceConnectorProfileProperties = (output, context) => {
3552
3568
  return {
3553
- instanceUrl: smithy_client_1.expectString(output.instanceUrl),
3569
+ instanceUrl: (0, smithy_client_1.expectString)(output.instanceUrl),
3554
3570
  };
3555
3571
  };
3556
3572
  const deserializeAws_restJson1DynatraceMetadata = (output, context) => {
@@ -3558,20 +3574,20 @@ const deserializeAws_restJson1DynatraceMetadata = (output, context) => {
3558
3574
  };
3559
3575
  const deserializeAws_restJson1DynatraceSourceProperties = (output, context) => {
3560
3576
  return {
3561
- object: smithy_client_1.expectString(output.object),
3577
+ object: (0, smithy_client_1.expectString)(output.object),
3562
3578
  };
3563
3579
  };
3564
3580
  const deserializeAws_restJson1ErrorHandlingConfig = (output, context) => {
3565
3581
  return {
3566
- bucketName: smithy_client_1.expectString(output.bucketName),
3567
- bucketPrefix: smithy_client_1.expectString(output.bucketPrefix),
3568
- failOnFirstDestinationError: smithy_client_1.expectBoolean(output.failOnFirstDestinationError),
3582
+ bucketName: (0, smithy_client_1.expectString)(output.bucketName),
3583
+ bucketPrefix: (0, smithy_client_1.expectString)(output.bucketPrefix),
3584
+ failOnFirstDestinationError: (0, smithy_client_1.expectBoolean)(output.failOnFirstDestinationError),
3569
3585
  };
3570
3586
  };
3571
3587
  const deserializeAws_restJson1ErrorInfo = (output, context) => {
3572
3588
  return {
3573
- executionMessage: smithy_client_1.expectString(output.executionMessage),
3574
- putFailuresCount: smithy_client_1.expectLong(output.putFailuresCount),
3589
+ executionMessage: (0, smithy_client_1.expectString)(output.executionMessage),
3590
+ putFailuresCount: (0, smithy_client_1.expectLong)(output.putFailuresCount),
3575
3591
  };
3576
3592
  };
3577
3593
  const deserializeAws_restJson1EventBridgeDestinationProperties = (output, context) => {
@@ -3579,7 +3595,7 @@ const deserializeAws_restJson1EventBridgeDestinationProperties = (output, contex
3579
3595
  errorHandlingConfig: output.errorHandlingConfig !== undefined && output.errorHandlingConfig !== null
3580
3596
  ? deserializeAws_restJson1ErrorHandlingConfig(output.errorHandlingConfig, context)
3581
3597
  : undefined,
3582
- object: smithy_client_1.expectString(output.object),
3598
+ object: (0, smithy_client_1.expectString)(output.object),
3583
3599
  };
3584
3600
  };
3585
3601
  const deserializeAws_restJson1EventBridgeMetadata = (output, context) => {
@@ -3587,42 +3603,42 @@ const deserializeAws_restJson1EventBridgeMetadata = (output, context) => {
3587
3603
  };
3588
3604
  const deserializeAws_restJson1ExecutionDetails = (output, context) => {
3589
3605
  return {
3590
- mostRecentExecutionMessage: smithy_client_1.expectString(output.mostRecentExecutionMessage),
3591
- mostRecentExecutionStatus: smithy_client_1.expectString(output.mostRecentExecutionStatus),
3606
+ mostRecentExecutionMessage: (0, smithy_client_1.expectString)(output.mostRecentExecutionMessage),
3607
+ mostRecentExecutionStatus: (0, smithy_client_1.expectString)(output.mostRecentExecutionStatus),
3592
3608
  mostRecentExecutionTime: output.mostRecentExecutionTime !== undefined && output.mostRecentExecutionTime !== null
3593
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.mostRecentExecutionTime)))
3609
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.mostRecentExecutionTime)))
3594
3610
  : undefined,
3595
3611
  };
3596
3612
  };
3597
3613
  const deserializeAws_restJson1ExecutionRecord = (output, context) => {
3598
3614
  return {
3599
3615
  dataPullEndTime: output.dataPullEndTime !== undefined && output.dataPullEndTime !== null
3600
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.dataPullEndTime)))
3616
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.dataPullEndTime)))
3601
3617
  : undefined,
3602
3618
  dataPullStartTime: output.dataPullStartTime !== undefined && output.dataPullStartTime !== null
3603
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.dataPullStartTime)))
3619
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.dataPullStartTime)))
3604
3620
  : undefined,
3605
- executionId: smithy_client_1.expectString(output.executionId),
3621
+ executionId: (0, smithy_client_1.expectString)(output.executionId),
3606
3622
  executionResult: output.executionResult !== undefined && output.executionResult !== null
3607
3623
  ? deserializeAws_restJson1ExecutionResult(output.executionResult, context)
3608
3624
  : undefined,
3609
- executionStatus: smithy_client_1.expectString(output.executionStatus),
3625
+ executionStatus: (0, smithy_client_1.expectString)(output.executionStatus),
3610
3626
  lastUpdatedAt: output.lastUpdatedAt !== undefined && output.lastUpdatedAt !== null
3611
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.lastUpdatedAt)))
3627
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.lastUpdatedAt)))
3612
3628
  : undefined,
3613
3629
  startedAt: output.startedAt !== undefined && output.startedAt !== null
3614
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.startedAt)))
3630
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.startedAt)))
3615
3631
  : undefined,
3616
3632
  };
3617
3633
  };
3618
3634
  const deserializeAws_restJson1ExecutionResult = (output, context) => {
3619
3635
  return {
3620
- bytesProcessed: smithy_client_1.expectLong(output.bytesProcessed),
3621
- bytesWritten: smithy_client_1.expectLong(output.bytesWritten),
3636
+ bytesProcessed: (0, smithy_client_1.expectLong)(output.bytesProcessed),
3637
+ bytesWritten: (0, smithy_client_1.expectLong)(output.bytesWritten),
3622
3638
  errorInfo: output.errorInfo !== undefined && output.errorInfo !== null
3623
3639
  ? deserializeAws_restJson1ErrorInfo(output.errorInfo, context)
3624
3640
  : undefined,
3625
- recordsProcessed: smithy_client_1.expectLong(output.recordsProcessed),
3641
+ recordsProcessed: (0, smithy_client_1.expectLong)(output.recordsProcessed),
3626
3642
  };
3627
3643
  };
3628
3644
  const deserializeAws_restJson1FieldTypeDetails = (output, context) => {
@@ -3630,18 +3646,18 @@ const deserializeAws_restJson1FieldTypeDetails = (output, context) => {
3630
3646
  fieldLengthRange: output.fieldLengthRange !== undefined && output.fieldLengthRange !== null
3631
3647
  ? deserializeAws_restJson1Range(output.fieldLengthRange, context)
3632
3648
  : undefined,
3633
- fieldType: smithy_client_1.expectString(output.fieldType),
3649
+ fieldType: (0, smithy_client_1.expectString)(output.fieldType),
3634
3650
  fieldValueRange: output.fieldValueRange !== undefined && output.fieldValueRange !== null
3635
3651
  ? deserializeAws_restJson1Range(output.fieldValueRange, context)
3636
3652
  : undefined,
3637
3653
  filterOperators: output.filterOperators !== undefined && output.filterOperators !== null
3638
3654
  ? deserializeAws_restJson1FilterOperatorList(output.filterOperators, context)
3639
3655
  : undefined,
3640
- supportedDateFormat: smithy_client_1.expectString(output.supportedDateFormat),
3656
+ supportedDateFormat: (0, smithy_client_1.expectString)(output.supportedDateFormat),
3641
3657
  supportedValues: output.supportedValues !== undefined && output.supportedValues !== null
3642
3658
  ? deserializeAws_restJson1SupportedValueList(output.supportedValues, context)
3643
3659
  : undefined,
3644
- valueRegexPattern: smithy_client_1.expectString(output.valueRegexPattern),
3660
+ valueRegexPattern: (0, smithy_client_1.expectString)(output.valueRegexPattern),
3645
3661
  };
3646
3662
  };
3647
3663
  const deserializeAws_restJson1FilterOperatorList = (output, context) => {
@@ -3651,35 +3667,35 @@ const deserializeAws_restJson1FilterOperatorList = (output, context) => {
3651
3667
  if (entry === null) {
3652
3668
  return null;
3653
3669
  }
3654
- return smithy_client_1.expectString(entry);
3670
+ return (0, smithy_client_1.expectString)(entry);
3655
3671
  });
3656
3672
  return retVal;
3657
3673
  };
3658
3674
  const deserializeAws_restJson1FlowDefinition = (output, context) => {
3659
3675
  return {
3660
3676
  createdAt: output.createdAt !== undefined && output.createdAt !== null
3661
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.createdAt)))
3662
- : undefined,
3663
- createdBy: smithy_client_1.expectString(output.createdBy),
3664
- description: smithy_client_1.expectString(output.description),
3665
- destinationConnectorLabel: smithy_client_1.expectString(output.destinationConnectorLabel),
3666
- destinationConnectorType: smithy_client_1.expectString(output.destinationConnectorType),
3667
- flowArn: smithy_client_1.expectString(output.flowArn),
3668
- flowName: smithy_client_1.expectString(output.flowName),
3669
- flowStatus: smithy_client_1.expectString(output.flowStatus),
3677
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.createdAt)))
3678
+ : undefined,
3679
+ createdBy: (0, smithy_client_1.expectString)(output.createdBy),
3680
+ description: (0, smithy_client_1.expectString)(output.description),
3681
+ destinationConnectorLabel: (0, smithy_client_1.expectString)(output.destinationConnectorLabel),
3682
+ destinationConnectorType: (0, smithy_client_1.expectString)(output.destinationConnectorType),
3683
+ flowArn: (0, smithy_client_1.expectString)(output.flowArn),
3684
+ flowName: (0, smithy_client_1.expectString)(output.flowName),
3685
+ flowStatus: (0, smithy_client_1.expectString)(output.flowStatus),
3670
3686
  lastRunExecutionDetails: output.lastRunExecutionDetails !== undefined && output.lastRunExecutionDetails !== null
3671
3687
  ? deserializeAws_restJson1ExecutionDetails(output.lastRunExecutionDetails, context)
3672
3688
  : undefined,
3673
3689
  lastUpdatedAt: output.lastUpdatedAt !== undefined && output.lastUpdatedAt !== null
3674
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.lastUpdatedAt)))
3690
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.lastUpdatedAt)))
3675
3691
  : undefined,
3676
- lastUpdatedBy: smithy_client_1.expectString(output.lastUpdatedBy),
3677
- sourceConnectorLabel: smithy_client_1.expectString(output.sourceConnectorLabel),
3678
- sourceConnectorType: smithy_client_1.expectString(output.sourceConnectorType),
3692
+ lastUpdatedBy: (0, smithy_client_1.expectString)(output.lastUpdatedBy),
3693
+ sourceConnectorLabel: (0, smithy_client_1.expectString)(output.sourceConnectorLabel),
3694
+ sourceConnectorType: (0, smithy_client_1.expectString)(output.sourceConnectorType),
3679
3695
  tags: output.tags !== undefined && output.tags !== null
3680
3696
  ? deserializeAws_restJson1TagMap(output.tags, context)
3681
3697
  : undefined,
3682
- triggerType: smithy_client_1.expectString(output.triggerType),
3698
+ triggerType: (0, smithy_client_1.expectString)(output.triggerType),
3683
3699
  };
3684
3700
  };
3685
3701
  const deserializeAws_restJson1FlowExecutionList = (output, context) => {
@@ -3716,7 +3732,7 @@ const deserializeAws_restJson1GoogleAnalyticsMetadata = (output, context) => {
3716
3732
  };
3717
3733
  const deserializeAws_restJson1GoogleAnalyticsSourceProperties = (output, context) => {
3718
3734
  return {
3719
- object: smithy_client_1.expectString(output.object),
3735
+ object: (0, smithy_client_1.expectString)(output.object),
3720
3736
  };
3721
3737
  };
3722
3738
  const deserializeAws_restJson1HoneycodeConnectorProfileProperties = (output, context) => {
@@ -3727,7 +3743,7 @@ const deserializeAws_restJson1HoneycodeDestinationProperties = (output, context)
3727
3743
  errorHandlingConfig: output.errorHandlingConfig !== undefined && output.errorHandlingConfig !== null
3728
3744
  ? deserializeAws_restJson1ErrorHandlingConfig(output.errorHandlingConfig, context)
3729
3745
  : undefined,
3730
- object: smithy_client_1.expectString(output.object),
3746
+ object: (0, smithy_client_1.expectString)(output.object),
3731
3747
  };
3732
3748
  };
3733
3749
  const deserializeAws_restJson1HoneycodeMetadata = (output, context) => {
@@ -3744,18 +3760,18 @@ const deserializeAws_restJson1IdFieldNameList = (output, context) => {
3744
3760
  if (entry === null) {
3745
3761
  return null;
3746
3762
  }
3747
- return smithy_client_1.expectString(entry);
3763
+ return (0, smithy_client_1.expectString)(entry);
3748
3764
  });
3749
3765
  return retVal;
3750
3766
  };
3751
3767
  const deserializeAws_restJson1IncrementalPullConfig = (output, context) => {
3752
3768
  return {
3753
- datetimeTypeFieldName: smithy_client_1.expectString(output.datetimeTypeFieldName),
3769
+ datetimeTypeFieldName: (0, smithy_client_1.expectString)(output.datetimeTypeFieldName),
3754
3770
  };
3755
3771
  };
3756
3772
  const deserializeAws_restJson1InforNexusConnectorProfileProperties = (output, context) => {
3757
3773
  return {
3758
- instanceUrl: smithy_client_1.expectString(output.instanceUrl),
3774
+ instanceUrl: (0, smithy_client_1.expectString)(output.instanceUrl),
3759
3775
  };
3760
3776
  };
3761
3777
  const deserializeAws_restJson1InforNexusMetadata = (output, context) => {
@@ -3763,12 +3779,12 @@ const deserializeAws_restJson1InforNexusMetadata = (output, context) => {
3763
3779
  };
3764
3780
  const deserializeAws_restJson1InforNexusSourceProperties = (output, context) => {
3765
3781
  return {
3766
- object: smithy_client_1.expectString(output.object),
3782
+ object: (0, smithy_client_1.expectString)(output.object),
3767
3783
  };
3768
3784
  };
3769
3785
  const deserializeAws_restJson1LambdaConnectorProvisioningConfig = (output, context) => {
3770
3786
  return {
3771
- lambdaArn: smithy_client_1.expectString(output.lambdaArn),
3787
+ lambdaArn: (0, smithy_client_1.expectString)(output.lambdaArn),
3772
3788
  };
3773
3789
  };
3774
3790
  const deserializeAws_restJson1LookoutMetricsDestinationProperties = (output, context) => {
@@ -3776,7 +3792,15 @@ const deserializeAws_restJson1LookoutMetricsDestinationProperties = (output, con
3776
3792
  };
3777
3793
  const deserializeAws_restJson1MarketoConnectorProfileProperties = (output, context) => {
3778
3794
  return {
3779
- instanceUrl: smithy_client_1.expectString(output.instanceUrl),
3795
+ instanceUrl: (0, smithy_client_1.expectString)(output.instanceUrl),
3796
+ };
3797
+ };
3798
+ const deserializeAws_restJson1MarketoDestinationProperties = (output, context) => {
3799
+ return {
3800
+ errorHandlingConfig: output.errorHandlingConfig !== undefined && output.errorHandlingConfig !== null
3801
+ ? deserializeAws_restJson1ErrorHandlingConfig(output.errorHandlingConfig, context)
3802
+ : undefined,
3803
+ object: (0, smithy_client_1.expectString)(output.object),
3780
3804
  };
3781
3805
  };
3782
3806
  const deserializeAws_restJson1MarketoMetadata = (output, context) => {
@@ -3784,7 +3808,7 @@ const deserializeAws_restJson1MarketoMetadata = (output, context) => {
3784
3808
  };
3785
3809
  const deserializeAws_restJson1MarketoSourceProperties = (output, context) => {
3786
3810
  return {
3787
- object: smithy_client_1.expectString(output.object),
3811
+ object: (0, smithy_client_1.expectString)(output.object),
3788
3812
  };
3789
3813
  };
3790
3814
  const deserializeAws_restJson1OAuth2Defaults = (output, context) => {
@@ -3810,23 +3834,23 @@ const deserializeAws_restJson1OAuth2GrantTypeSupportedList = (output, context) =
3810
3834
  if (entry === null) {
3811
3835
  return null;
3812
3836
  }
3813
- return smithy_client_1.expectString(entry);
3837
+ return (0, smithy_client_1.expectString)(entry);
3814
3838
  });
3815
3839
  return retVal;
3816
3840
  };
3817
3841
  const deserializeAws_restJson1OAuth2Properties = (output, context) => {
3818
3842
  return {
3819
- oAuth2GrantType: smithy_client_1.expectString(output.oAuth2GrantType),
3820
- tokenUrl: smithy_client_1.expectString(output.tokenUrl),
3843
+ oAuth2GrantType: (0, smithy_client_1.expectString)(output.oAuth2GrantType),
3844
+ tokenUrl: (0, smithy_client_1.expectString)(output.tokenUrl),
3821
3845
  };
3822
3846
  };
3823
3847
  const deserializeAws_restJson1OAuthProperties = (output, context) => {
3824
3848
  return {
3825
- authCodeUrl: smithy_client_1.expectString(output.authCodeUrl),
3849
+ authCodeUrl: (0, smithy_client_1.expectString)(output.authCodeUrl),
3826
3850
  oAuthScopes: output.oAuthScopes !== undefined && output.oAuthScopes !== null
3827
3851
  ? deserializeAws_restJson1OAuthScopeList(output.oAuthScopes, context)
3828
3852
  : undefined,
3829
- tokenUrl: smithy_client_1.expectString(output.tokenUrl),
3853
+ tokenUrl: (0, smithy_client_1.expectString)(output.tokenUrl),
3830
3854
  };
3831
3855
  };
3832
3856
  const deserializeAws_restJson1OAuthScopeList = (output, context) => {
@@ -3836,21 +3860,21 @@ const deserializeAws_restJson1OAuthScopeList = (output, context) => {
3836
3860
  if (entry === null) {
3837
3861
  return null;
3838
3862
  }
3839
- return smithy_client_1.expectString(entry);
3863
+ return (0, smithy_client_1.expectString)(entry);
3840
3864
  });
3841
3865
  return retVal;
3842
3866
  };
3843
3867
  const deserializeAws_restJson1PrefixConfig = (output, context) => {
3844
3868
  return {
3845
- prefixFormat: smithy_client_1.expectString(output.prefixFormat),
3846
- prefixType: smithy_client_1.expectString(output.prefixType),
3869
+ prefixFormat: (0, smithy_client_1.expectString)(output.prefixFormat),
3870
+ prefixType: (0, smithy_client_1.expectString)(output.prefixType),
3847
3871
  };
3848
3872
  };
3849
3873
  const deserializeAws_restJson1PrivateConnectionProvisioningState = (output, context) => {
3850
3874
  return {
3851
- failureCause: smithy_client_1.expectString(output.failureCause),
3852
- failureMessage: smithy_client_1.expectString(output.failureMessage),
3853
- status: smithy_client_1.expectString(output.status),
3875
+ failureCause: (0, smithy_client_1.expectString)(output.failureCause),
3876
+ failureMessage: (0, smithy_client_1.expectString)(output.failureMessage),
3877
+ status: (0, smithy_client_1.expectString)(output.status),
3854
3878
  };
3855
3879
  };
3856
3880
  const deserializeAws_restJson1ProfilePropertiesMap = (output, context) => {
@@ -3860,32 +3884,32 @@ const deserializeAws_restJson1ProfilePropertiesMap = (output, context) => {
3860
3884
  }
3861
3885
  return {
3862
3886
  ...acc,
3863
- [key]: smithy_client_1.expectString(value),
3887
+ [key]: (0, smithy_client_1.expectString)(value),
3864
3888
  };
3865
3889
  }, {});
3866
3890
  };
3867
3891
  const deserializeAws_restJson1Range = (output, context) => {
3868
3892
  return {
3869
- maximum: smithy_client_1.limitedParseDouble(output.maximum),
3870
- minimum: smithy_client_1.limitedParseDouble(output.minimum),
3893
+ maximum: (0, smithy_client_1.limitedParseDouble)(output.maximum),
3894
+ minimum: (0, smithy_client_1.limitedParseDouble)(output.minimum),
3871
3895
  };
3872
3896
  };
3873
3897
  const deserializeAws_restJson1RedshiftConnectorProfileProperties = (output, context) => {
3874
3898
  return {
3875
- bucketName: smithy_client_1.expectString(output.bucketName),
3876
- bucketPrefix: smithy_client_1.expectString(output.bucketPrefix),
3877
- databaseUrl: smithy_client_1.expectString(output.databaseUrl),
3878
- roleArn: smithy_client_1.expectString(output.roleArn),
3899
+ bucketName: (0, smithy_client_1.expectString)(output.bucketName),
3900
+ bucketPrefix: (0, smithy_client_1.expectString)(output.bucketPrefix),
3901
+ databaseUrl: (0, smithy_client_1.expectString)(output.databaseUrl),
3902
+ roleArn: (0, smithy_client_1.expectString)(output.roleArn),
3879
3903
  };
3880
3904
  };
3881
3905
  const deserializeAws_restJson1RedshiftDestinationProperties = (output, context) => {
3882
3906
  return {
3883
- bucketPrefix: smithy_client_1.expectString(output.bucketPrefix),
3907
+ bucketPrefix: (0, smithy_client_1.expectString)(output.bucketPrefix),
3884
3908
  errorHandlingConfig: output.errorHandlingConfig !== undefined && output.errorHandlingConfig !== null
3885
3909
  ? deserializeAws_restJson1ErrorHandlingConfig(output.errorHandlingConfig, context)
3886
3910
  : undefined,
3887
- intermediateBucketName: smithy_client_1.expectString(output.intermediateBucketName),
3888
- object: smithy_client_1.expectString(output.object),
3911
+ intermediateBucketName: (0, smithy_client_1.expectString)(output.intermediateBucketName),
3912
+ object: (0, smithy_client_1.expectString)(output.object),
3889
3913
  };
3890
3914
  };
3891
3915
  const deserializeAws_restJson1RedshiftMetadata = (output, context) => {
@@ -3898,14 +3922,14 @@ const deserializeAws_restJson1RegionList = (output, context) => {
3898
3922
  if (entry === null) {
3899
3923
  return null;
3900
3924
  }
3901
- return smithy_client_1.expectString(entry);
3925
+ return (0, smithy_client_1.expectString)(entry);
3902
3926
  });
3903
3927
  return retVal;
3904
3928
  };
3905
3929
  const deserializeAws_restJson1S3DestinationProperties = (output, context) => {
3906
3930
  return {
3907
- bucketName: smithy_client_1.expectString(output.bucketName),
3908
- bucketPrefix: smithy_client_1.expectString(output.bucketPrefix),
3931
+ bucketName: (0, smithy_client_1.expectString)(output.bucketName),
3932
+ bucketPrefix: (0, smithy_client_1.expectString)(output.bucketPrefix),
3909
3933
  s3OutputFormatConfig: output.s3OutputFormatConfig !== undefined && output.s3OutputFormatConfig !== null
3910
3934
  ? deserializeAws_restJson1S3OutputFormatConfig(output.s3OutputFormatConfig, context)
3911
3935
  : undefined,
@@ -3913,7 +3937,7 @@ const deserializeAws_restJson1S3DestinationProperties = (output, context) => {
3913
3937
  };
3914
3938
  const deserializeAws_restJson1S3InputFormatConfig = (output, context) => {
3915
3939
  return {
3916
- s3InputFileType: smithy_client_1.expectString(output.s3InputFileType),
3940
+ s3InputFileType: (0, smithy_client_1.expectString)(output.s3InputFileType),
3917
3941
  };
3918
3942
  };
3919
3943
  const deserializeAws_restJson1S3Metadata = (output, context) => {
@@ -3924,7 +3948,7 @@ const deserializeAws_restJson1S3OutputFormatConfig = (output, context) => {
3924
3948
  aggregationConfig: output.aggregationConfig !== undefined && output.aggregationConfig !== null
3925
3949
  ? deserializeAws_restJson1AggregationConfig(output.aggregationConfig, context)
3926
3950
  : undefined,
3927
- fileType: smithy_client_1.expectString(output.fileType),
3951
+ fileType: (0, smithy_client_1.expectString)(output.fileType),
3928
3952
  prefixConfig: output.prefixConfig !== undefined && output.prefixConfig !== null
3929
3953
  ? deserializeAws_restJson1PrefixConfig(output.prefixConfig, context)
3930
3954
  : undefined,
@@ -3932,8 +3956,8 @@ const deserializeAws_restJson1S3OutputFormatConfig = (output, context) => {
3932
3956
  };
3933
3957
  const deserializeAws_restJson1S3SourceProperties = (output, context) => {
3934
3958
  return {
3935
- bucketName: smithy_client_1.expectString(output.bucketName),
3936
- bucketPrefix: smithy_client_1.expectString(output.bucketPrefix),
3959
+ bucketName: (0, smithy_client_1.expectString)(output.bucketName),
3960
+ bucketPrefix: (0, smithy_client_1.expectString)(output.bucketPrefix),
3937
3961
  s3InputFormatConfig: output.s3InputFormatConfig !== undefined && output.s3InputFormatConfig !== null
3938
3962
  ? deserializeAws_restJson1S3InputFormatConfig(output.s3InputFormatConfig, context)
3939
3963
  : undefined,
@@ -3941,8 +3965,8 @@ const deserializeAws_restJson1S3SourceProperties = (output, context) => {
3941
3965
  };
3942
3966
  const deserializeAws_restJson1SalesforceConnectorProfileProperties = (output, context) => {
3943
3967
  return {
3944
- instanceUrl: smithy_client_1.expectString(output.instanceUrl),
3945
- isSandboxEnvironment: smithy_client_1.expectBoolean(output.isSandboxEnvironment),
3968
+ instanceUrl: (0, smithy_client_1.expectString)(output.instanceUrl),
3969
+ isSandboxEnvironment: (0, smithy_client_1.expectBoolean)(output.isSandboxEnvironment),
3946
3970
  };
3947
3971
  };
3948
3972
  const deserializeAws_restJson1SalesforceDestinationProperties = (output, context) => {
@@ -3953,8 +3977,8 @@ const deserializeAws_restJson1SalesforceDestinationProperties = (output, context
3953
3977
  idFieldNames: output.idFieldNames !== undefined && output.idFieldNames !== null
3954
3978
  ? deserializeAws_restJson1IdFieldNameList(output.idFieldNames, context)
3955
3979
  : undefined,
3956
- object: smithy_client_1.expectString(output.object),
3957
- writeOperationType: smithy_client_1.expectString(output.writeOperationType),
3980
+ object: (0, smithy_client_1.expectString)(output.object),
3981
+ writeOperationType: (0, smithy_client_1.expectString)(output.writeOperationType),
3958
3982
  };
3959
3983
  };
3960
3984
  const deserializeAws_restJson1SalesforceMetadata = (output, context) => {
@@ -3966,22 +3990,22 @@ const deserializeAws_restJson1SalesforceMetadata = (output, context) => {
3966
3990
  };
3967
3991
  const deserializeAws_restJson1SalesforceSourceProperties = (output, context) => {
3968
3992
  return {
3969
- enableDynamicFieldUpdate: smithy_client_1.expectBoolean(output.enableDynamicFieldUpdate),
3970
- includeDeletedRecords: smithy_client_1.expectBoolean(output.includeDeletedRecords),
3971
- object: smithy_client_1.expectString(output.object),
3993
+ enableDynamicFieldUpdate: (0, smithy_client_1.expectBoolean)(output.enableDynamicFieldUpdate),
3994
+ includeDeletedRecords: (0, smithy_client_1.expectBoolean)(output.includeDeletedRecords),
3995
+ object: (0, smithy_client_1.expectString)(output.object),
3972
3996
  };
3973
3997
  };
3974
3998
  const deserializeAws_restJson1SAPODataConnectorProfileProperties = (output, context) => {
3975
3999
  return {
3976
- applicationHostUrl: smithy_client_1.expectString(output.applicationHostUrl),
3977
- applicationServicePath: smithy_client_1.expectString(output.applicationServicePath),
3978
- clientNumber: smithy_client_1.expectString(output.clientNumber),
3979
- logonLanguage: smithy_client_1.expectString(output.logonLanguage),
4000
+ applicationHostUrl: (0, smithy_client_1.expectString)(output.applicationHostUrl),
4001
+ applicationServicePath: (0, smithy_client_1.expectString)(output.applicationServicePath),
4002
+ clientNumber: (0, smithy_client_1.expectString)(output.clientNumber),
4003
+ logonLanguage: (0, smithy_client_1.expectString)(output.logonLanguage),
3980
4004
  oAuthProperties: output.oAuthProperties !== undefined && output.oAuthProperties !== null
3981
4005
  ? deserializeAws_restJson1OAuthProperties(output.oAuthProperties, context)
3982
4006
  : undefined,
3983
- portNumber: smithy_client_1.expectInt32(output.portNumber),
3984
- privateLinkServiceName: smithy_client_1.expectString(output.privateLinkServiceName),
4007
+ portNumber: (0, smithy_client_1.expectInt32)(output.portNumber),
4008
+ privateLinkServiceName: (0, smithy_client_1.expectString)(output.privateLinkServiceName),
3985
4009
  };
3986
4010
  };
3987
4011
  const deserializeAws_restJson1SAPODataDestinationProperties = (output, context) => {
@@ -3992,11 +4016,11 @@ const deserializeAws_restJson1SAPODataDestinationProperties = (output, context)
3992
4016
  idFieldNames: output.idFieldNames !== undefined && output.idFieldNames !== null
3993
4017
  ? deserializeAws_restJson1IdFieldNameList(output.idFieldNames, context)
3994
4018
  : undefined,
3995
- objectPath: smithy_client_1.expectString(output.objectPath),
4019
+ objectPath: (0, smithy_client_1.expectString)(output.objectPath),
3996
4020
  successResponseHandlingConfig: output.successResponseHandlingConfig !== undefined && output.successResponseHandlingConfig !== null
3997
4021
  ? deserializeAws_restJson1SuccessResponseHandlingConfig(output.successResponseHandlingConfig, context)
3998
4022
  : undefined,
3999
- writeOperationType: smithy_client_1.expectString(output.writeOperationType),
4023
+ writeOperationType: (0, smithy_client_1.expectString)(output.writeOperationType),
4000
4024
  };
4001
4025
  };
4002
4026
  const deserializeAws_restJson1SAPODataMetadata = (output, context) => {
@@ -4004,24 +4028,24 @@ const deserializeAws_restJson1SAPODataMetadata = (output, context) => {
4004
4028
  };
4005
4029
  const deserializeAws_restJson1SAPODataSourceProperties = (output, context) => {
4006
4030
  return {
4007
- objectPath: smithy_client_1.expectString(output.objectPath),
4031
+ objectPath: (0, smithy_client_1.expectString)(output.objectPath),
4008
4032
  };
4009
4033
  };
4010
4034
  const deserializeAws_restJson1ScheduledTriggerProperties = (output, context) => {
4011
4035
  return {
4012
- dataPullMode: smithy_client_1.expectString(output.dataPullMode),
4036
+ dataPullMode: (0, smithy_client_1.expectString)(output.dataPullMode),
4013
4037
  firstExecutionFrom: output.firstExecutionFrom !== undefined && output.firstExecutionFrom !== null
4014
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.firstExecutionFrom)))
4038
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.firstExecutionFrom)))
4015
4039
  : undefined,
4016
4040
  scheduleEndTime: output.scheduleEndTime !== undefined && output.scheduleEndTime !== null
4017
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.scheduleEndTime)))
4041
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.scheduleEndTime)))
4018
4042
  : undefined,
4019
- scheduleExpression: smithy_client_1.expectString(output.scheduleExpression),
4020
- scheduleOffset: smithy_client_1.expectLong(output.scheduleOffset),
4043
+ scheduleExpression: (0, smithy_client_1.expectString)(output.scheduleExpression),
4044
+ scheduleOffset: (0, smithy_client_1.expectLong)(output.scheduleOffset),
4021
4045
  scheduleStartTime: output.scheduleStartTime !== undefined && output.scheduleStartTime !== null
4022
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.scheduleStartTime)))
4046
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.scheduleStartTime)))
4023
4047
  : undefined,
4024
- timezone: smithy_client_1.expectString(output.timezone),
4048
+ timezone: (0, smithy_client_1.expectString)(output.timezone),
4025
4049
  };
4026
4050
  };
4027
4051
  const deserializeAws_restJson1SchedulingFrequencyTypeList = (output, context) => {
@@ -4031,13 +4055,13 @@ const deserializeAws_restJson1SchedulingFrequencyTypeList = (output, context) =>
4031
4055
  if (entry === null) {
4032
4056
  return null;
4033
4057
  }
4034
- return smithy_client_1.expectString(entry);
4058
+ return (0, smithy_client_1.expectString)(entry);
4035
4059
  });
4036
4060
  return retVal;
4037
4061
  };
4038
4062
  const deserializeAws_restJson1ServiceNowConnectorProfileProperties = (output, context) => {
4039
4063
  return {
4040
- instanceUrl: smithy_client_1.expectString(output.instanceUrl),
4064
+ instanceUrl: (0, smithy_client_1.expectString)(output.instanceUrl),
4041
4065
  };
4042
4066
  };
4043
4067
  const deserializeAws_restJson1ServiceNowMetadata = (output, context) => {
@@ -4045,7 +4069,7 @@ const deserializeAws_restJson1ServiceNowMetadata = (output, context) => {
4045
4069
  };
4046
4070
  const deserializeAws_restJson1ServiceNowSourceProperties = (output, context) => {
4047
4071
  return {
4048
- object: smithy_client_1.expectString(output.object),
4072
+ object: (0, smithy_client_1.expectString)(output.object),
4049
4073
  };
4050
4074
  };
4051
4075
  const deserializeAws_restJson1SingularConnectorProfileProperties = (output, context) => {
@@ -4056,12 +4080,12 @@ const deserializeAws_restJson1SingularMetadata = (output, context) => {
4056
4080
  };
4057
4081
  const deserializeAws_restJson1SingularSourceProperties = (output, context) => {
4058
4082
  return {
4059
- object: smithy_client_1.expectString(output.object),
4083
+ object: (0, smithy_client_1.expectString)(output.object),
4060
4084
  };
4061
4085
  };
4062
4086
  const deserializeAws_restJson1SlackConnectorProfileProperties = (output, context) => {
4063
4087
  return {
4064
- instanceUrl: smithy_client_1.expectString(output.instanceUrl),
4088
+ instanceUrl: (0, smithy_client_1.expectString)(output.instanceUrl),
4065
4089
  };
4066
4090
  };
4067
4091
  const deserializeAws_restJson1SlackMetadata = (output, context) => {
@@ -4073,28 +4097,28 @@ const deserializeAws_restJson1SlackMetadata = (output, context) => {
4073
4097
  };
4074
4098
  const deserializeAws_restJson1SlackSourceProperties = (output, context) => {
4075
4099
  return {
4076
- object: smithy_client_1.expectString(output.object),
4100
+ object: (0, smithy_client_1.expectString)(output.object),
4077
4101
  };
4078
4102
  };
4079
4103
  const deserializeAws_restJson1SnowflakeConnectorProfileProperties = (output, context) => {
4080
4104
  return {
4081
- accountName: smithy_client_1.expectString(output.accountName),
4082
- bucketName: smithy_client_1.expectString(output.bucketName),
4083
- bucketPrefix: smithy_client_1.expectString(output.bucketPrefix),
4084
- privateLinkServiceName: smithy_client_1.expectString(output.privateLinkServiceName),
4085
- region: smithy_client_1.expectString(output.region),
4086
- stage: smithy_client_1.expectString(output.stage),
4087
- warehouse: smithy_client_1.expectString(output.warehouse),
4105
+ accountName: (0, smithy_client_1.expectString)(output.accountName),
4106
+ bucketName: (0, smithy_client_1.expectString)(output.bucketName),
4107
+ bucketPrefix: (0, smithy_client_1.expectString)(output.bucketPrefix),
4108
+ privateLinkServiceName: (0, smithy_client_1.expectString)(output.privateLinkServiceName),
4109
+ region: (0, smithy_client_1.expectString)(output.region),
4110
+ stage: (0, smithy_client_1.expectString)(output.stage),
4111
+ warehouse: (0, smithy_client_1.expectString)(output.warehouse),
4088
4112
  };
4089
4113
  };
4090
4114
  const deserializeAws_restJson1SnowflakeDestinationProperties = (output, context) => {
4091
4115
  return {
4092
- bucketPrefix: smithy_client_1.expectString(output.bucketPrefix),
4116
+ bucketPrefix: (0, smithy_client_1.expectString)(output.bucketPrefix),
4093
4117
  errorHandlingConfig: output.errorHandlingConfig !== undefined && output.errorHandlingConfig !== null
4094
4118
  ? deserializeAws_restJson1ErrorHandlingConfig(output.errorHandlingConfig, context)
4095
4119
  : undefined,
4096
- intermediateBucketName: smithy_client_1.expectString(output.intermediateBucketName),
4097
- object: smithy_client_1.expectString(output.object),
4120
+ intermediateBucketName: (0, smithy_client_1.expectString)(output.intermediateBucketName),
4121
+ object: (0, smithy_client_1.expectString)(output.object),
4098
4122
  };
4099
4123
  };
4100
4124
  const deserializeAws_restJson1SnowflakeMetadata = (output, context) => {
@@ -4158,9 +4182,9 @@ const deserializeAws_restJson1SourceConnectorProperties = (output, context) => {
4158
4182
  };
4159
4183
  const deserializeAws_restJson1SourceFieldProperties = (output, context) => {
4160
4184
  return {
4161
- isQueryable: smithy_client_1.expectBoolean(output.isQueryable),
4162
- isRetrievable: smithy_client_1.expectBoolean(output.isRetrievable),
4163
- isTimestampFieldForIncrementalQueries: smithy_client_1.expectBoolean(output.isTimestampFieldForIncrementalQueries),
4185
+ isQueryable: (0, smithy_client_1.expectBoolean)(output.isQueryable),
4186
+ isRetrievable: (0, smithy_client_1.expectBoolean)(output.isRetrievable),
4187
+ isTimestampFieldForIncrementalQueries: (0, smithy_client_1.expectBoolean)(output.isTimestampFieldForIncrementalQueries),
4164
4188
  };
4165
4189
  };
4166
4190
  const deserializeAws_restJson1SourceFields = (output, context) => {
@@ -4170,15 +4194,15 @@ const deserializeAws_restJson1SourceFields = (output, context) => {
4170
4194
  if (entry === null) {
4171
4195
  return null;
4172
4196
  }
4173
- return smithy_client_1.expectString(entry);
4197
+ return (0, smithy_client_1.expectString)(entry);
4174
4198
  });
4175
4199
  return retVal;
4176
4200
  };
4177
4201
  const deserializeAws_restJson1SourceFlowConfig = (output, context) => {
4178
4202
  return {
4179
- apiVersion: smithy_client_1.expectString(output.apiVersion),
4180
- connectorProfileName: smithy_client_1.expectString(output.connectorProfileName),
4181
- connectorType: smithy_client_1.expectString(output.connectorType),
4203
+ apiVersion: (0, smithy_client_1.expectString)(output.apiVersion),
4204
+ connectorProfileName: (0, smithy_client_1.expectString)(output.connectorProfileName),
4205
+ connectorType: (0, smithy_client_1.expectString)(output.connectorType),
4182
4206
  incrementalPullConfig: output.incrementalPullConfig !== undefined && output.incrementalPullConfig !== null
4183
4207
  ? deserializeAws_restJson1IncrementalPullConfig(output.incrementalPullConfig, context)
4184
4208
  : undefined,
@@ -4189,8 +4213,8 @@ const deserializeAws_restJson1SourceFlowConfig = (output, context) => {
4189
4213
  };
4190
4214
  const deserializeAws_restJson1SuccessResponseHandlingConfig = (output, context) => {
4191
4215
  return {
4192
- bucketName: smithy_client_1.expectString(output.bucketName),
4193
- bucketPrefix: smithy_client_1.expectString(output.bucketPrefix),
4216
+ bucketName: (0, smithy_client_1.expectString)(output.bucketName),
4217
+ bucketPrefix: (0, smithy_client_1.expectString)(output.bucketPrefix),
4194
4218
  };
4195
4219
  };
4196
4220
  const deserializeAws_restJson1SupportedApiVersionList = (output, context) => {
@@ -4200,7 +4224,7 @@ const deserializeAws_restJson1SupportedApiVersionList = (output, context) => {
4200
4224
  if (entry === null) {
4201
4225
  return null;
4202
4226
  }
4203
- return smithy_client_1.expectString(entry);
4227
+ return (0, smithy_client_1.expectString)(entry);
4204
4228
  });
4205
4229
  return retVal;
4206
4230
  };
@@ -4218,7 +4242,7 @@ const deserializeAws_restJson1SupportedOperatorList = (output, context) => {
4218
4242
  if (entry === null) {
4219
4243
  return null;
4220
4244
  }
4221
- return smithy_client_1.expectString(entry);
4245
+ return (0, smithy_client_1.expectString)(entry);
4222
4246
  });
4223
4247
  return retVal;
4224
4248
  };
@@ -4229,7 +4253,7 @@ const deserializeAws_restJson1SupportedValueList = (output, context) => {
4229
4253
  if (entry === null) {
4230
4254
  return null;
4231
4255
  }
4232
- return smithy_client_1.expectString(entry);
4256
+ return (0, smithy_client_1.expectString)(entry);
4233
4257
  });
4234
4258
  return retVal;
4235
4259
  };
@@ -4240,7 +4264,7 @@ const deserializeAws_restJson1SupportedWriteOperationList = (output, context) =>
4240
4264
  if (entry === null) {
4241
4265
  return null;
4242
4266
  }
4243
- return smithy_client_1.expectString(entry);
4267
+ return (0, smithy_client_1.expectString)(entry);
4244
4268
  });
4245
4269
  return retVal;
4246
4270
  };
@@ -4251,7 +4275,7 @@ const deserializeAws_restJson1TagMap = (output, context) => {
4251
4275
  }
4252
4276
  return {
4253
4277
  ...acc,
4254
- [key]: smithy_client_1.expectString(value),
4278
+ [key]: (0, smithy_client_1.expectString)(value),
4255
4279
  };
4256
4280
  }, {});
4257
4281
  };
@@ -4260,14 +4284,14 @@ const deserializeAws_restJson1Task = (output, context) => {
4260
4284
  connectorOperator: output.connectorOperator !== undefined && output.connectorOperator !== null
4261
4285
  ? deserializeAws_restJson1ConnectorOperator(output.connectorOperator, context)
4262
4286
  : undefined,
4263
- destinationField: smithy_client_1.expectString(output.destinationField),
4287
+ destinationField: (0, smithy_client_1.expectString)(output.destinationField),
4264
4288
  sourceFields: output.sourceFields !== undefined && output.sourceFields !== null
4265
4289
  ? deserializeAws_restJson1SourceFields(output.sourceFields, context)
4266
4290
  : undefined,
4267
4291
  taskProperties: output.taskProperties !== undefined && output.taskProperties !== null
4268
4292
  ? deserializeAws_restJson1TaskPropertiesMap(output.taskProperties, context)
4269
4293
  : undefined,
4270
- taskType: smithy_client_1.expectString(output.taskType),
4294
+ taskType: (0, smithy_client_1.expectString)(output.taskType),
4271
4295
  };
4272
4296
  };
4273
4297
  const deserializeAws_restJson1TaskPropertiesMap = (output, context) => {
@@ -4277,7 +4301,7 @@ const deserializeAws_restJson1TaskPropertiesMap = (output, context) => {
4277
4301
  }
4278
4302
  return {
4279
4303
  ...acc,
4280
- [key]: smithy_client_1.expectString(value),
4304
+ [key]: (0, smithy_client_1.expectString)(value),
4281
4305
  };
4282
4306
  }, {});
4283
4307
  };
@@ -4299,7 +4323,7 @@ const deserializeAws_restJson1TokenUrlList = (output, context) => {
4299
4323
  if (entry === null) {
4300
4324
  return null;
4301
4325
  }
4302
- return smithy_client_1.expectString(entry);
4326
+ return (0, smithy_client_1.expectString)(entry);
4303
4327
  });
4304
4328
  return retVal;
4305
4329
  };
@@ -4311,7 +4335,7 @@ const deserializeAws_restJson1TrendmicroMetadata = (output, context) => {
4311
4335
  };
4312
4336
  const deserializeAws_restJson1TrendmicroSourceProperties = (output, context) => {
4313
4337
  return {
4314
- object: smithy_client_1.expectString(output.object),
4338
+ object: (0, smithy_client_1.expectString)(output.object),
4315
4339
  };
4316
4340
  };
4317
4341
  const deserializeAws_restJson1TriggerConfig = (output, context) => {
@@ -4319,7 +4343,7 @@ const deserializeAws_restJson1TriggerConfig = (output, context) => {
4319
4343
  triggerProperties: output.triggerProperties !== undefined && output.triggerProperties !== null
4320
4344
  ? deserializeAws_restJson1TriggerProperties(output.triggerProperties, context)
4321
4345
  : undefined,
4322
- triggerType: smithy_client_1.expectString(output.triggerType),
4346
+ triggerType: (0, smithy_client_1.expectString)(output.triggerType),
4323
4347
  };
4324
4348
  };
4325
4349
  const deserializeAws_restJson1TriggerProperties = (output, context) => {
@@ -4336,14 +4360,14 @@ const deserializeAws_restJson1TriggerTypeList = (output, context) => {
4336
4360
  if (entry === null) {
4337
4361
  return null;
4338
4362
  }
4339
- return smithy_client_1.expectString(entry);
4363
+ return (0, smithy_client_1.expectString)(entry);
4340
4364
  });
4341
4365
  return retVal;
4342
4366
  };
4343
4367
  const deserializeAws_restJson1UpsolverDestinationProperties = (output, context) => {
4344
4368
  return {
4345
- bucketName: smithy_client_1.expectString(output.bucketName),
4346
- bucketPrefix: smithy_client_1.expectString(output.bucketPrefix),
4369
+ bucketName: (0, smithy_client_1.expectString)(output.bucketName),
4370
+ bucketPrefix: (0, smithy_client_1.expectString)(output.bucketPrefix),
4347
4371
  s3OutputFormatConfig: output.s3OutputFormatConfig !== undefined && output.s3OutputFormatConfig !== null
4348
4372
  ? deserializeAws_restJson1UpsolverS3OutputFormatConfig(output.s3OutputFormatConfig, context)
4349
4373
  : undefined,
@@ -4357,7 +4381,7 @@ const deserializeAws_restJson1UpsolverS3OutputFormatConfig = (output, context) =
4357
4381
  aggregationConfig: output.aggregationConfig !== undefined && output.aggregationConfig !== null
4358
4382
  ? deserializeAws_restJson1AggregationConfig(output.aggregationConfig, context)
4359
4383
  : undefined,
4360
- fileType: smithy_client_1.expectString(output.fileType),
4384
+ fileType: (0, smithy_client_1.expectString)(output.fileType),
4361
4385
  prefixConfig: output.prefixConfig !== undefined && output.prefixConfig !== null
4362
4386
  ? deserializeAws_restJson1PrefixConfig(output.prefixConfig, context)
4363
4387
  : undefined,
@@ -4365,7 +4389,7 @@ const deserializeAws_restJson1UpsolverS3OutputFormatConfig = (output, context) =
4365
4389
  };
4366
4390
  const deserializeAws_restJson1VeevaConnectorProfileProperties = (output, context) => {
4367
4391
  return {
4368
- instanceUrl: smithy_client_1.expectString(output.instanceUrl),
4392
+ instanceUrl: (0, smithy_client_1.expectString)(output.instanceUrl),
4369
4393
  };
4370
4394
  };
4371
4395
  const deserializeAws_restJson1VeevaMetadata = (output, context) => {
@@ -4373,16 +4397,16 @@ const deserializeAws_restJson1VeevaMetadata = (output, context) => {
4373
4397
  };
4374
4398
  const deserializeAws_restJson1VeevaSourceProperties = (output, context) => {
4375
4399
  return {
4376
- documentType: smithy_client_1.expectString(output.documentType),
4377
- includeAllVersions: smithy_client_1.expectBoolean(output.includeAllVersions),
4378
- includeRenditions: smithy_client_1.expectBoolean(output.includeRenditions),
4379
- includeSourceFiles: smithy_client_1.expectBoolean(output.includeSourceFiles),
4380
- object: smithy_client_1.expectString(output.object),
4400
+ documentType: (0, smithy_client_1.expectString)(output.documentType),
4401
+ includeAllVersions: (0, smithy_client_1.expectBoolean)(output.includeAllVersions),
4402
+ includeRenditions: (0, smithy_client_1.expectBoolean)(output.includeRenditions),
4403
+ includeSourceFiles: (0, smithy_client_1.expectBoolean)(output.includeSourceFiles),
4404
+ object: (0, smithy_client_1.expectString)(output.object),
4381
4405
  };
4382
4406
  };
4383
4407
  const deserializeAws_restJson1ZendeskConnectorProfileProperties = (output, context) => {
4384
4408
  return {
4385
- instanceUrl: smithy_client_1.expectString(output.instanceUrl),
4409
+ instanceUrl: (0, smithy_client_1.expectString)(output.instanceUrl),
4386
4410
  };
4387
4411
  };
4388
4412
  const deserializeAws_restJson1ZendeskDestinationProperties = (output, context) => {
@@ -4393,8 +4417,8 @@ const deserializeAws_restJson1ZendeskDestinationProperties = (output, context) =
4393
4417
  idFieldNames: output.idFieldNames !== undefined && output.idFieldNames !== null
4394
4418
  ? deserializeAws_restJson1IdFieldNameList(output.idFieldNames, context)
4395
4419
  : undefined,
4396
- object: smithy_client_1.expectString(output.object),
4397
- writeOperationType: smithy_client_1.expectString(output.writeOperationType),
4420
+ object: (0, smithy_client_1.expectString)(output.object),
4421
+ writeOperationType: (0, smithy_client_1.expectString)(output.writeOperationType),
4398
4422
  };
4399
4423
  };
4400
4424
  const deserializeAws_restJson1ZendeskMetadata = (output, context) => {
@@ -4406,7 +4430,7 @@ const deserializeAws_restJson1ZendeskMetadata = (output, context) => {
4406
4430
  };
4407
4431
  const deserializeAws_restJson1ZendeskSourceProperties = (output, context) => {
4408
4432
  return {
4409
- object: smithy_client_1.expectString(output.object),
4433
+ object: (0, smithy_client_1.expectString)(output.object),
4410
4434
  };
4411
4435
  };
4412
4436
  const deserializeMetadata = (output) => {