@aws-sdk/client-appflow 3.54.0 → 3.56.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 (39) hide show
  1. package/CHANGELOG.md +24 -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/protocols/Aws_restJson1.js +335 -335
  27. package/dist-cjs/runtimeConfig.browser.js +4 -4
  28. package/dist-cjs/runtimeConfig.js +9 -9
  29. package/dist-cjs/runtimeConfig.native.js +1 -1
  30. package/dist-es/Appflow.js +22 -22
  31. package/dist-es/pagination/DescribeConnectorProfilesPaginator.js +4 -4
  32. package/dist-es/pagination/DescribeConnectorsPaginator.js +4 -4
  33. package/dist-es/pagination/DescribeFlowExecutionRecordsPaginator.js +4 -4
  34. package/dist-es/pagination/ListConnectorsPaginator.js +4 -4
  35. package/dist-es/pagination/ListFlowsPaginator.js +4 -4
  36. package/dist-es/protocols/Aws_restJson1.js +22 -22
  37. package/dist-types/runtimeConfig.native.d.ts +2 -2
  38. package/dist-types/ts3.4/runtimeConfig.native.d.ts +2 -2
  39. 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 {
@@ -2930,7 +2930,7 @@ const serializeAws_restJson1ZendeskSourceProperties = (input, context) => {
2930
2930
  };
2931
2931
  const deserializeAws_restJson1AggregationConfig = (output, context) => {
2932
2932
  return {
2933
- aggregationType: smithy_client_1.expectString(output.aggregationType),
2933
+ aggregationType: (0, smithy_client_1.expectString)(output.aggregationType),
2934
2934
  };
2935
2935
  };
2936
2936
  const deserializeAws_restJson1AmplitudeConnectorProfileProperties = (output, context) => {
@@ -2941,7 +2941,7 @@ const deserializeAws_restJson1AmplitudeMetadata = (output, context) => {
2941
2941
  };
2942
2942
  const deserializeAws_restJson1AmplitudeSourceProperties = (output, context) => {
2943
2943
  return {
2944
- object: smithy_client_1.expectString(output.object),
2944
+ object: (0, smithy_client_1.expectString)(output.object),
2945
2945
  };
2946
2946
  };
2947
2947
  const deserializeAws_restJson1AuthCodeUrlList = (output, context) => {
@@ -2951,7 +2951,7 @@ const deserializeAws_restJson1AuthCodeUrlList = (output, context) => {
2951
2951
  if (entry === null) {
2952
2952
  return null;
2953
2953
  }
2954
- return smithy_client_1.expectString(entry);
2954
+ return (0, smithy_client_1.expectString)(entry);
2955
2955
  });
2956
2956
  return retVal;
2957
2957
  };
@@ -2960,10 +2960,10 @@ const deserializeAws_restJson1AuthenticationConfig = (output, context) => {
2960
2960
  customAuthConfigs: output.customAuthConfigs !== undefined && output.customAuthConfigs !== null
2961
2961
  ? deserializeAws_restJson1CustomAuthConfigList(output.customAuthConfigs, context)
2962
2962
  : undefined,
2963
- isApiKeyAuthSupported: smithy_client_1.expectBoolean(output.isApiKeyAuthSupported),
2964
- isBasicAuthSupported: smithy_client_1.expectBoolean(output.isBasicAuthSupported),
2965
- isCustomAuthSupported: smithy_client_1.expectBoolean(output.isCustomAuthSupported),
2966
- 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),
2967
2967
  oAuth2Defaults: output.oAuth2Defaults !== undefined && output.oAuth2Defaults !== null
2968
2968
  ? deserializeAws_restJson1OAuth2Defaults(output.oAuth2Defaults, context)
2969
2969
  : undefined,
@@ -2974,11 +2974,11 @@ const deserializeAws_restJson1AuthParameter = (output, context) => {
2974
2974
  connectorSuppliedValues: output.connectorSuppliedValues !== undefined && output.connectorSuppliedValues !== null
2975
2975
  ? deserializeAws_restJson1ConnectorSuppliedValueList(output.connectorSuppliedValues, context)
2976
2976
  : undefined,
2977
- description: smithy_client_1.expectString(output.description),
2978
- isRequired: smithy_client_1.expectBoolean(output.isRequired),
2979
- isSensitiveField: smithy_client_1.expectBoolean(output.isSensitiveField),
2980
- key: smithy_client_1.expectString(output.key),
2981
- 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),
2982
2982
  };
2983
2983
  };
2984
2984
  const deserializeAws_restJson1AuthParameterList = (output, context) => {
@@ -2997,35 +2997,35 @@ const deserializeAws_restJson1ConnectorConfiguration = (output, context) => {
2997
2997
  authenticationConfig: output.authenticationConfig !== undefined && output.authenticationConfig !== null
2998
2998
  ? deserializeAws_restJson1AuthenticationConfig(output.authenticationConfig, context)
2999
2999
  : undefined,
3000
- canUseAsDestination: smithy_client_1.expectBoolean(output.canUseAsDestination),
3001
- canUseAsSource: smithy_client_1.expectBoolean(output.canUseAsSource),
3002
- connectorArn: smithy_client_1.expectString(output.connectorArn),
3003
- connectorDescription: smithy_client_1.expectString(output.connectorDescription),
3004
- 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),
3005
3005
  connectorMetadata: output.connectorMetadata !== undefined && output.connectorMetadata !== null
3006
3006
  ? deserializeAws_restJson1ConnectorMetadata(output.connectorMetadata, context)
3007
3007
  : undefined,
3008
3008
  connectorModes: output.connectorModes !== undefined && output.connectorModes !== null
3009
3009
  ? deserializeAws_restJson1ConnectorModeList(output.connectorModes, context)
3010
3010
  : undefined,
3011
- connectorName: smithy_client_1.expectString(output.connectorName),
3012
- 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),
3013
3013
  connectorProvisioningConfig: output.connectorProvisioningConfig !== undefined && output.connectorProvisioningConfig !== null
3014
3014
  ? deserializeAws_restJson1ConnectorProvisioningConfig(output.connectorProvisioningConfig, context)
3015
3015
  : undefined,
3016
- connectorProvisioningType: smithy_client_1.expectString(output.connectorProvisioningType),
3016
+ connectorProvisioningType: (0, smithy_client_1.expectString)(output.connectorProvisioningType),
3017
3017
  connectorRuntimeSettings: output.connectorRuntimeSettings !== undefined && output.connectorRuntimeSettings !== null
3018
3018
  ? deserializeAws_restJson1ConnectorRuntimeSettingList(output.connectorRuntimeSettings, context)
3019
3019
  : undefined,
3020
- connectorType: smithy_client_1.expectString(output.connectorType),
3021
- connectorVersion: smithy_client_1.expectString(output.connectorVersion),
3022
- isPrivateLinkEnabled: smithy_client_1.expectBoolean(output.isPrivateLinkEnabled),
3023
- isPrivateLinkEndpointUrlRequired: smithy_client_1.expectBoolean(output.isPrivateLinkEndpointUrlRequired),
3024
- 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),
3025
3025
  registeredAt: output.registeredAt !== undefined && output.registeredAt !== null
3026
- ? 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)))
3027
3027
  : undefined,
3028
- registeredBy: smithy_client_1.expectString(output.registeredBy),
3028
+ registeredBy: (0, smithy_client_1.expectString)(output.registeredBy),
3029
3029
  supportedApiVersions: output.supportedApiVersions !== undefined && output.supportedApiVersions !== null
3030
3030
  ? deserializeAws_restJson1SupportedApiVersionList(output.supportedApiVersions, context)
3031
3031
  : undefined,
@@ -3059,28 +3059,28 @@ const deserializeAws_restJson1ConnectorConfigurationsMap = (output, context) =>
3059
3059
  };
3060
3060
  const deserializeAws_restJson1ConnectorDetail = (output, context) => {
3061
3061
  return {
3062
- applicationType: smithy_client_1.expectString(output.applicationType),
3063
- connectorDescription: smithy_client_1.expectString(output.connectorDescription),
3064
- 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),
3065
3065
  connectorModes: output.connectorModes !== undefined && output.connectorModes !== null
3066
3066
  ? deserializeAws_restJson1ConnectorModeList(output.connectorModes, context)
3067
3067
  : undefined,
3068
- connectorName: smithy_client_1.expectString(output.connectorName),
3069
- connectorOwner: smithy_client_1.expectString(output.connectorOwner),
3070
- connectorProvisioningType: smithy_client_1.expectString(output.connectorProvisioningType),
3071
- connectorType: smithy_client_1.expectString(output.connectorType),
3072
- 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),
3073
3073
  registeredAt: output.registeredAt !== undefined && output.registeredAt !== null
3074
- ? 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)))
3075
3075
  : undefined,
3076
- registeredBy: smithy_client_1.expectString(output.registeredBy),
3076
+ registeredBy: (0, smithy_client_1.expectString)(output.registeredBy),
3077
3077
  };
3078
3078
  };
3079
3079
  const deserializeAws_restJson1ConnectorEntity = (output, context) => {
3080
3080
  return {
3081
- hasNestedEntities: smithy_client_1.expectBoolean(output.hasNestedEntities),
3082
- label: smithy_client_1.expectString(output.label),
3083
- 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),
3084
3084
  };
3085
3085
  };
3086
3086
  const deserializeAws_restJson1ConnectorEntityField = (output, context) => {
@@ -3088,16 +3088,16 @@ const deserializeAws_restJson1ConnectorEntityField = (output, context) => {
3088
3088
  customProperties: output.customProperties !== undefined && output.customProperties !== null
3089
3089
  ? deserializeAws_restJson1CustomProperties(output.customProperties, context)
3090
3090
  : undefined,
3091
- defaultValue: smithy_client_1.expectString(output.defaultValue),
3092
- 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),
3093
3093
  destinationProperties: output.destinationProperties !== undefined && output.destinationProperties !== null
3094
3094
  ? deserializeAws_restJson1DestinationFieldProperties(output.destinationProperties, context)
3095
3095
  : undefined,
3096
- identifier: smithy_client_1.expectString(output.identifier),
3097
- isDeprecated: smithy_client_1.expectBoolean(output.isDeprecated),
3098
- isPrimaryKey: smithy_client_1.expectBoolean(output.isPrimaryKey),
3099
- label: smithy_client_1.expectString(output.label),
3100
- 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),
3101
3101
  sourceProperties: output.sourceProperties !== undefined && output.sourceProperties !== null
3102
3102
  ? deserializeAws_restJson1SourceFieldProperties(output.sourceProperties, context)
3103
3103
  : undefined,
@@ -3224,46 +3224,46 @@ const deserializeAws_restJson1ConnectorModeList = (output, context) => {
3224
3224
  if (entry === null) {
3225
3225
  return null;
3226
3226
  }
3227
- return smithy_client_1.expectString(entry);
3227
+ return (0, smithy_client_1.expectString)(entry);
3228
3228
  });
3229
3229
  return retVal;
3230
3230
  };
3231
3231
  const deserializeAws_restJson1ConnectorOperator = (output, context) => {
3232
3232
  return {
3233
- Amplitude: smithy_client_1.expectString(output.Amplitude),
3234
- CustomConnector: smithy_client_1.expectString(output.CustomConnector),
3235
- Datadog: smithy_client_1.expectString(output.Datadog),
3236
- Dynatrace: smithy_client_1.expectString(output.Dynatrace),
3237
- GoogleAnalytics: smithy_client_1.expectString(output.GoogleAnalytics),
3238
- InforNexus: smithy_client_1.expectString(output.InforNexus),
3239
- Marketo: smithy_client_1.expectString(output.Marketo),
3240
- S3: smithy_client_1.expectString(output.S3),
3241
- SAPOData: smithy_client_1.expectString(output.SAPOData),
3242
- Salesforce: smithy_client_1.expectString(output.Salesforce),
3243
- ServiceNow: smithy_client_1.expectString(output.ServiceNow),
3244
- Singular: smithy_client_1.expectString(output.Singular),
3245
- Slack: smithy_client_1.expectString(output.Slack),
3246
- Trendmicro: smithy_client_1.expectString(output.Trendmicro),
3247
- Veeva: smithy_client_1.expectString(output.Veeva),
3248
- 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),
3249
3249
  };
3250
3250
  };
3251
3251
  const deserializeAws_restJson1ConnectorProfile = (output, context) => {
3252
3252
  return {
3253
- connectionMode: smithy_client_1.expectString(output.connectionMode),
3254
- connectorLabel: smithy_client_1.expectString(output.connectorLabel),
3255
- connectorProfileArn: smithy_client_1.expectString(output.connectorProfileArn),
3256
- 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),
3257
3257
  connectorProfileProperties: output.connectorProfileProperties !== undefined && output.connectorProfileProperties !== null
3258
3258
  ? deserializeAws_restJson1ConnectorProfileProperties(output.connectorProfileProperties, context)
3259
3259
  : undefined,
3260
- connectorType: smithy_client_1.expectString(output.connectorType),
3260
+ connectorType: (0, smithy_client_1.expectString)(output.connectorType),
3261
3261
  createdAt: output.createdAt !== undefined && output.createdAt !== null
3262
- ? 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)))
3263
3263
  : undefined,
3264
- credentialsArn: smithy_client_1.expectString(output.credentialsArn),
3264
+ credentialsArn: (0, smithy_client_1.expectString)(output.credentialsArn),
3265
3265
  lastUpdatedAt: output.lastUpdatedAt !== undefined && output.lastUpdatedAt !== null
3266
- ? 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)))
3267
3267
  : undefined,
3268
3268
  privateConnectionProvisioningState: output.privateConnectionProvisioningState !== undefined && output.privateConnectionProvisioningState !== null
3269
3269
  ? deserializeAws_restJson1PrivateConnectionProvisioningState(output.privateConnectionProvisioningState, context)
@@ -3351,12 +3351,12 @@ const deserializeAws_restJson1ConnectorRuntimeSetting = (output, context) => {
3351
3351
  connectorSuppliedValueOptions: output.connectorSuppliedValueOptions !== undefined && output.connectorSuppliedValueOptions !== null
3352
3352
  ? deserializeAws_restJson1ConnectorSuppliedValueOptionList(output.connectorSuppliedValueOptions, context)
3353
3353
  : undefined,
3354
- dataType: smithy_client_1.expectString(output.dataType),
3355
- description: smithy_client_1.expectString(output.description),
3356
- isRequired: smithy_client_1.expectBoolean(output.isRequired),
3357
- key: smithy_client_1.expectString(output.key),
3358
- label: smithy_client_1.expectString(output.label),
3359
- 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),
3360
3360
  };
3361
3361
  };
3362
3362
  const deserializeAws_restJson1ConnectorRuntimeSettingList = (output, context) => {
@@ -3377,7 +3377,7 @@ const deserializeAws_restJson1ConnectorSuppliedValueList = (output, context) =>
3377
3377
  if (entry === null) {
3378
3378
  return null;
3379
3379
  }
3380
- return smithy_client_1.expectString(entry);
3380
+ return (0, smithy_client_1.expectString)(entry);
3381
3381
  });
3382
3382
  return retVal;
3383
3383
  };
@@ -3388,7 +3388,7 @@ const deserializeAws_restJson1ConnectorSuppliedValueOptionList = (output, contex
3388
3388
  if (entry === null) {
3389
3389
  return null;
3390
3390
  }
3391
- return smithy_client_1.expectString(entry);
3391
+ return (0, smithy_client_1.expectString)(entry);
3392
3392
  });
3393
3393
  return retVal;
3394
3394
  };
@@ -3399,7 +3399,7 @@ const deserializeAws_restJson1ConnectorTypeList = (output, context) => {
3399
3399
  if (entry === null) {
3400
3400
  return null;
3401
3401
  }
3402
- return smithy_client_1.expectString(entry);
3402
+ return (0, smithy_client_1.expectString)(entry);
3403
3403
  });
3404
3404
  return retVal;
3405
3405
  };
@@ -3408,7 +3408,7 @@ const deserializeAws_restJson1CustomAuthConfig = (output, context) => {
3408
3408
  authParameters: output.authParameters !== undefined && output.authParameters !== null
3409
3409
  ? deserializeAws_restJson1AuthParameterList(output.authParameters, context)
3410
3410
  : undefined,
3411
- customAuthenticationType: smithy_client_1.expectString(output.customAuthenticationType),
3411
+ customAuthenticationType: (0, smithy_client_1.expectString)(output.customAuthenticationType),
3412
3412
  };
3413
3413
  };
3414
3414
  const deserializeAws_restJson1CustomAuthConfigList = (output, context) => {
@@ -3427,14 +3427,14 @@ const deserializeAws_restJson1CustomConnectorDestinationProperties = (output, co
3427
3427
  customProperties: output.customProperties !== undefined && output.customProperties !== null
3428
3428
  ? deserializeAws_restJson1CustomProperties(output.customProperties, context)
3429
3429
  : undefined,
3430
- entityName: smithy_client_1.expectString(output.entityName),
3430
+ entityName: (0, smithy_client_1.expectString)(output.entityName),
3431
3431
  errorHandlingConfig: output.errorHandlingConfig !== undefined && output.errorHandlingConfig !== null
3432
3432
  ? deserializeAws_restJson1ErrorHandlingConfig(output.errorHandlingConfig, context)
3433
3433
  : undefined,
3434
3434
  idFieldNames: output.idFieldNames !== undefined && output.idFieldNames !== null
3435
3435
  ? deserializeAws_restJson1IdFieldNameList(output.idFieldNames, context)
3436
3436
  : undefined,
3437
- writeOperationType: smithy_client_1.expectString(output.writeOperationType),
3437
+ writeOperationType: (0, smithy_client_1.expectString)(output.writeOperationType),
3438
3438
  };
3439
3439
  };
3440
3440
  const deserializeAws_restJson1CustomConnectorProfileProperties = (output, context) => {
@@ -3452,13 +3452,13 @@ const deserializeAws_restJson1CustomConnectorSourceProperties = (output, context
3452
3452
  customProperties: output.customProperties !== undefined && output.customProperties !== null
3453
3453
  ? deserializeAws_restJson1CustomProperties(output.customProperties, context)
3454
3454
  : undefined,
3455
- entityName: smithy_client_1.expectString(output.entityName),
3455
+ entityName: (0, smithy_client_1.expectString)(output.entityName),
3456
3456
  };
3457
3457
  };
3458
3458
  const deserializeAws_restJson1CustomerProfilesDestinationProperties = (output, context) => {
3459
3459
  return {
3460
- domainName: smithy_client_1.expectString(output.domainName),
3461
- 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),
3462
3462
  };
3463
3463
  };
3464
3464
  const deserializeAws_restJson1CustomerProfilesMetadata = (output, context) => {
@@ -3471,13 +3471,13 @@ const deserializeAws_restJson1CustomProperties = (output, context) => {
3471
3471
  }
3472
3472
  return {
3473
3473
  ...acc,
3474
- [key]: smithy_client_1.expectString(value),
3474
+ [key]: (0, smithy_client_1.expectString)(value),
3475
3475
  };
3476
3476
  }, {});
3477
3477
  };
3478
3478
  const deserializeAws_restJson1DatadogConnectorProfileProperties = (output, context) => {
3479
3479
  return {
3480
- instanceUrl: smithy_client_1.expectString(output.instanceUrl),
3480
+ instanceUrl: (0, smithy_client_1.expectString)(output.instanceUrl),
3481
3481
  };
3482
3482
  };
3483
3483
  const deserializeAws_restJson1DatadogMetadata = (output, context) => {
@@ -3485,7 +3485,7 @@ const deserializeAws_restJson1DatadogMetadata = (output, context) => {
3485
3485
  };
3486
3486
  const deserializeAws_restJson1DatadogSourceProperties = (output, context) => {
3487
3487
  return {
3488
- object: smithy_client_1.expectString(output.object),
3488
+ object: (0, smithy_client_1.expectString)(output.object),
3489
3489
  };
3490
3490
  };
3491
3491
  const deserializeAws_restJson1DestinationConnectorProperties = (output, context) => {
@@ -3533,11 +3533,11 @@ const deserializeAws_restJson1DestinationConnectorProperties = (output, context)
3533
3533
  };
3534
3534
  const deserializeAws_restJson1DestinationFieldProperties = (output, context) => {
3535
3535
  return {
3536
- isCreatable: smithy_client_1.expectBoolean(output.isCreatable),
3537
- isDefaultedOnCreate: smithy_client_1.expectBoolean(output.isDefaultedOnCreate),
3538
- isNullable: smithy_client_1.expectBoolean(output.isNullable),
3539
- isUpdatable: smithy_client_1.expectBoolean(output.isUpdatable),
3540
- 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),
3541
3541
  supportedWriteOperations: output.supportedWriteOperations !== undefined && output.supportedWriteOperations !== null
3542
3542
  ? deserializeAws_restJson1SupportedWriteOperationList(output.supportedWriteOperations, context)
3543
3543
  : undefined,
@@ -3545,9 +3545,9 @@ const deserializeAws_restJson1DestinationFieldProperties = (output, context) =>
3545
3545
  };
3546
3546
  const deserializeAws_restJson1DestinationFlowConfig = (output, context) => {
3547
3547
  return {
3548
- apiVersion: smithy_client_1.expectString(output.apiVersion),
3549
- connectorProfileName: smithy_client_1.expectString(output.connectorProfileName),
3550
- 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),
3551
3551
  destinationConnectorProperties: output.destinationConnectorProperties !== undefined && output.destinationConnectorProperties !== null
3552
3552
  ? deserializeAws_restJson1DestinationConnectorProperties(output.destinationConnectorProperties, context)
3553
3553
  : undefined,
@@ -3566,7 +3566,7 @@ const deserializeAws_restJson1DestinationFlowConfigList = (output, context) => {
3566
3566
  };
3567
3567
  const deserializeAws_restJson1DynatraceConnectorProfileProperties = (output, context) => {
3568
3568
  return {
3569
- instanceUrl: smithy_client_1.expectString(output.instanceUrl),
3569
+ instanceUrl: (0, smithy_client_1.expectString)(output.instanceUrl),
3570
3570
  };
3571
3571
  };
3572
3572
  const deserializeAws_restJson1DynatraceMetadata = (output, context) => {
@@ -3574,20 +3574,20 @@ const deserializeAws_restJson1DynatraceMetadata = (output, context) => {
3574
3574
  };
3575
3575
  const deserializeAws_restJson1DynatraceSourceProperties = (output, context) => {
3576
3576
  return {
3577
- object: smithy_client_1.expectString(output.object),
3577
+ object: (0, smithy_client_1.expectString)(output.object),
3578
3578
  };
3579
3579
  };
3580
3580
  const deserializeAws_restJson1ErrorHandlingConfig = (output, context) => {
3581
3581
  return {
3582
- bucketName: smithy_client_1.expectString(output.bucketName),
3583
- bucketPrefix: smithy_client_1.expectString(output.bucketPrefix),
3584
- 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),
3585
3585
  };
3586
3586
  };
3587
3587
  const deserializeAws_restJson1ErrorInfo = (output, context) => {
3588
3588
  return {
3589
- executionMessage: smithy_client_1.expectString(output.executionMessage),
3590
- 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),
3591
3591
  };
3592
3592
  };
3593
3593
  const deserializeAws_restJson1EventBridgeDestinationProperties = (output, context) => {
@@ -3595,7 +3595,7 @@ const deserializeAws_restJson1EventBridgeDestinationProperties = (output, contex
3595
3595
  errorHandlingConfig: output.errorHandlingConfig !== undefined && output.errorHandlingConfig !== null
3596
3596
  ? deserializeAws_restJson1ErrorHandlingConfig(output.errorHandlingConfig, context)
3597
3597
  : undefined,
3598
- object: smithy_client_1.expectString(output.object),
3598
+ object: (0, smithy_client_1.expectString)(output.object),
3599
3599
  };
3600
3600
  };
3601
3601
  const deserializeAws_restJson1EventBridgeMetadata = (output, context) => {
@@ -3603,42 +3603,42 @@ const deserializeAws_restJson1EventBridgeMetadata = (output, context) => {
3603
3603
  };
3604
3604
  const deserializeAws_restJson1ExecutionDetails = (output, context) => {
3605
3605
  return {
3606
- mostRecentExecutionMessage: smithy_client_1.expectString(output.mostRecentExecutionMessage),
3607
- 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),
3608
3608
  mostRecentExecutionTime: output.mostRecentExecutionTime !== undefined && output.mostRecentExecutionTime !== null
3609
- ? 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)))
3610
3610
  : undefined,
3611
3611
  };
3612
3612
  };
3613
3613
  const deserializeAws_restJson1ExecutionRecord = (output, context) => {
3614
3614
  return {
3615
3615
  dataPullEndTime: output.dataPullEndTime !== undefined && output.dataPullEndTime !== null
3616
- ? 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)))
3617
3617
  : undefined,
3618
3618
  dataPullStartTime: output.dataPullStartTime !== undefined && output.dataPullStartTime !== null
3619
- ? 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)))
3620
3620
  : undefined,
3621
- executionId: smithy_client_1.expectString(output.executionId),
3621
+ executionId: (0, smithy_client_1.expectString)(output.executionId),
3622
3622
  executionResult: output.executionResult !== undefined && output.executionResult !== null
3623
3623
  ? deserializeAws_restJson1ExecutionResult(output.executionResult, context)
3624
3624
  : undefined,
3625
- executionStatus: smithy_client_1.expectString(output.executionStatus),
3625
+ executionStatus: (0, smithy_client_1.expectString)(output.executionStatus),
3626
3626
  lastUpdatedAt: output.lastUpdatedAt !== undefined && output.lastUpdatedAt !== null
3627
- ? 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)))
3628
3628
  : undefined,
3629
3629
  startedAt: output.startedAt !== undefined && output.startedAt !== null
3630
- ? 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)))
3631
3631
  : undefined,
3632
3632
  };
3633
3633
  };
3634
3634
  const deserializeAws_restJson1ExecutionResult = (output, context) => {
3635
3635
  return {
3636
- bytesProcessed: smithy_client_1.expectLong(output.bytesProcessed),
3637
- 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),
3638
3638
  errorInfo: output.errorInfo !== undefined && output.errorInfo !== null
3639
3639
  ? deserializeAws_restJson1ErrorInfo(output.errorInfo, context)
3640
3640
  : undefined,
3641
- recordsProcessed: smithy_client_1.expectLong(output.recordsProcessed),
3641
+ recordsProcessed: (0, smithy_client_1.expectLong)(output.recordsProcessed),
3642
3642
  };
3643
3643
  };
3644
3644
  const deserializeAws_restJson1FieldTypeDetails = (output, context) => {
@@ -3646,18 +3646,18 @@ const deserializeAws_restJson1FieldTypeDetails = (output, context) => {
3646
3646
  fieldLengthRange: output.fieldLengthRange !== undefined && output.fieldLengthRange !== null
3647
3647
  ? deserializeAws_restJson1Range(output.fieldLengthRange, context)
3648
3648
  : undefined,
3649
- fieldType: smithy_client_1.expectString(output.fieldType),
3649
+ fieldType: (0, smithy_client_1.expectString)(output.fieldType),
3650
3650
  fieldValueRange: output.fieldValueRange !== undefined && output.fieldValueRange !== null
3651
3651
  ? deserializeAws_restJson1Range(output.fieldValueRange, context)
3652
3652
  : undefined,
3653
3653
  filterOperators: output.filterOperators !== undefined && output.filterOperators !== null
3654
3654
  ? deserializeAws_restJson1FilterOperatorList(output.filterOperators, context)
3655
3655
  : undefined,
3656
- supportedDateFormat: smithy_client_1.expectString(output.supportedDateFormat),
3656
+ supportedDateFormat: (0, smithy_client_1.expectString)(output.supportedDateFormat),
3657
3657
  supportedValues: output.supportedValues !== undefined && output.supportedValues !== null
3658
3658
  ? deserializeAws_restJson1SupportedValueList(output.supportedValues, context)
3659
3659
  : undefined,
3660
- valueRegexPattern: smithy_client_1.expectString(output.valueRegexPattern),
3660
+ valueRegexPattern: (0, smithy_client_1.expectString)(output.valueRegexPattern),
3661
3661
  };
3662
3662
  };
3663
3663
  const deserializeAws_restJson1FilterOperatorList = (output, context) => {
@@ -3667,35 +3667,35 @@ const deserializeAws_restJson1FilterOperatorList = (output, context) => {
3667
3667
  if (entry === null) {
3668
3668
  return null;
3669
3669
  }
3670
- return smithy_client_1.expectString(entry);
3670
+ return (0, smithy_client_1.expectString)(entry);
3671
3671
  });
3672
3672
  return retVal;
3673
3673
  };
3674
3674
  const deserializeAws_restJson1FlowDefinition = (output, context) => {
3675
3675
  return {
3676
3676
  createdAt: output.createdAt !== undefined && output.createdAt !== null
3677
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.createdAt)))
3678
- : undefined,
3679
- createdBy: smithy_client_1.expectString(output.createdBy),
3680
- description: smithy_client_1.expectString(output.description),
3681
- destinationConnectorLabel: smithy_client_1.expectString(output.destinationConnectorLabel),
3682
- destinationConnectorType: smithy_client_1.expectString(output.destinationConnectorType),
3683
- flowArn: smithy_client_1.expectString(output.flowArn),
3684
- flowName: smithy_client_1.expectString(output.flowName),
3685
- 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),
3686
3686
  lastRunExecutionDetails: output.lastRunExecutionDetails !== undefined && output.lastRunExecutionDetails !== null
3687
3687
  ? deserializeAws_restJson1ExecutionDetails(output.lastRunExecutionDetails, context)
3688
3688
  : undefined,
3689
3689
  lastUpdatedAt: output.lastUpdatedAt !== undefined && output.lastUpdatedAt !== null
3690
- ? 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)))
3691
3691
  : undefined,
3692
- lastUpdatedBy: smithy_client_1.expectString(output.lastUpdatedBy),
3693
- sourceConnectorLabel: smithy_client_1.expectString(output.sourceConnectorLabel),
3694
- 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),
3695
3695
  tags: output.tags !== undefined && output.tags !== null
3696
3696
  ? deserializeAws_restJson1TagMap(output.tags, context)
3697
3697
  : undefined,
3698
- triggerType: smithy_client_1.expectString(output.triggerType),
3698
+ triggerType: (0, smithy_client_1.expectString)(output.triggerType),
3699
3699
  };
3700
3700
  };
3701
3701
  const deserializeAws_restJson1FlowExecutionList = (output, context) => {
@@ -3732,7 +3732,7 @@ const deserializeAws_restJson1GoogleAnalyticsMetadata = (output, context) => {
3732
3732
  };
3733
3733
  const deserializeAws_restJson1GoogleAnalyticsSourceProperties = (output, context) => {
3734
3734
  return {
3735
- object: smithy_client_1.expectString(output.object),
3735
+ object: (0, smithy_client_1.expectString)(output.object),
3736
3736
  };
3737
3737
  };
3738
3738
  const deserializeAws_restJson1HoneycodeConnectorProfileProperties = (output, context) => {
@@ -3743,7 +3743,7 @@ const deserializeAws_restJson1HoneycodeDestinationProperties = (output, context)
3743
3743
  errorHandlingConfig: output.errorHandlingConfig !== undefined && output.errorHandlingConfig !== null
3744
3744
  ? deserializeAws_restJson1ErrorHandlingConfig(output.errorHandlingConfig, context)
3745
3745
  : undefined,
3746
- object: smithy_client_1.expectString(output.object),
3746
+ object: (0, smithy_client_1.expectString)(output.object),
3747
3747
  };
3748
3748
  };
3749
3749
  const deserializeAws_restJson1HoneycodeMetadata = (output, context) => {
@@ -3760,18 +3760,18 @@ const deserializeAws_restJson1IdFieldNameList = (output, context) => {
3760
3760
  if (entry === null) {
3761
3761
  return null;
3762
3762
  }
3763
- return smithy_client_1.expectString(entry);
3763
+ return (0, smithy_client_1.expectString)(entry);
3764
3764
  });
3765
3765
  return retVal;
3766
3766
  };
3767
3767
  const deserializeAws_restJson1IncrementalPullConfig = (output, context) => {
3768
3768
  return {
3769
- datetimeTypeFieldName: smithy_client_1.expectString(output.datetimeTypeFieldName),
3769
+ datetimeTypeFieldName: (0, smithy_client_1.expectString)(output.datetimeTypeFieldName),
3770
3770
  };
3771
3771
  };
3772
3772
  const deserializeAws_restJson1InforNexusConnectorProfileProperties = (output, context) => {
3773
3773
  return {
3774
- instanceUrl: smithy_client_1.expectString(output.instanceUrl),
3774
+ instanceUrl: (0, smithy_client_1.expectString)(output.instanceUrl),
3775
3775
  };
3776
3776
  };
3777
3777
  const deserializeAws_restJson1InforNexusMetadata = (output, context) => {
@@ -3779,12 +3779,12 @@ const deserializeAws_restJson1InforNexusMetadata = (output, context) => {
3779
3779
  };
3780
3780
  const deserializeAws_restJson1InforNexusSourceProperties = (output, context) => {
3781
3781
  return {
3782
- object: smithy_client_1.expectString(output.object),
3782
+ object: (0, smithy_client_1.expectString)(output.object),
3783
3783
  };
3784
3784
  };
3785
3785
  const deserializeAws_restJson1LambdaConnectorProvisioningConfig = (output, context) => {
3786
3786
  return {
3787
- lambdaArn: smithy_client_1.expectString(output.lambdaArn),
3787
+ lambdaArn: (0, smithy_client_1.expectString)(output.lambdaArn),
3788
3788
  };
3789
3789
  };
3790
3790
  const deserializeAws_restJson1LookoutMetricsDestinationProperties = (output, context) => {
@@ -3792,7 +3792,7 @@ const deserializeAws_restJson1LookoutMetricsDestinationProperties = (output, con
3792
3792
  };
3793
3793
  const deserializeAws_restJson1MarketoConnectorProfileProperties = (output, context) => {
3794
3794
  return {
3795
- instanceUrl: smithy_client_1.expectString(output.instanceUrl),
3795
+ instanceUrl: (0, smithy_client_1.expectString)(output.instanceUrl),
3796
3796
  };
3797
3797
  };
3798
3798
  const deserializeAws_restJson1MarketoDestinationProperties = (output, context) => {
@@ -3800,7 +3800,7 @@ const deserializeAws_restJson1MarketoDestinationProperties = (output, context) =
3800
3800
  errorHandlingConfig: output.errorHandlingConfig !== undefined && output.errorHandlingConfig !== null
3801
3801
  ? deserializeAws_restJson1ErrorHandlingConfig(output.errorHandlingConfig, context)
3802
3802
  : undefined,
3803
- object: smithy_client_1.expectString(output.object),
3803
+ object: (0, smithy_client_1.expectString)(output.object),
3804
3804
  };
3805
3805
  };
3806
3806
  const deserializeAws_restJson1MarketoMetadata = (output, context) => {
@@ -3808,7 +3808,7 @@ const deserializeAws_restJson1MarketoMetadata = (output, context) => {
3808
3808
  };
3809
3809
  const deserializeAws_restJson1MarketoSourceProperties = (output, context) => {
3810
3810
  return {
3811
- object: smithy_client_1.expectString(output.object),
3811
+ object: (0, smithy_client_1.expectString)(output.object),
3812
3812
  };
3813
3813
  };
3814
3814
  const deserializeAws_restJson1OAuth2Defaults = (output, context) => {
@@ -3834,23 +3834,23 @@ const deserializeAws_restJson1OAuth2GrantTypeSupportedList = (output, context) =
3834
3834
  if (entry === null) {
3835
3835
  return null;
3836
3836
  }
3837
- return smithy_client_1.expectString(entry);
3837
+ return (0, smithy_client_1.expectString)(entry);
3838
3838
  });
3839
3839
  return retVal;
3840
3840
  };
3841
3841
  const deserializeAws_restJson1OAuth2Properties = (output, context) => {
3842
3842
  return {
3843
- oAuth2GrantType: smithy_client_1.expectString(output.oAuth2GrantType),
3844
- 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),
3845
3845
  };
3846
3846
  };
3847
3847
  const deserializeAws_restJson1OAuthProperties = (output, context) => {
3848
3848
  return {
3849
- authCodeUrl: smithy_client_1.expectString(output.authCodeUrl),
3849
+ authCodeUrl: (0, smithy_client_1.expectString)(output.authCodeUrl),
3850
3850
  oAuthScopes: output.oAuthScopes !== undefined && output.oAuthScopes !== null
3851
3851
  ? deserializeAws_restJson1OAuthScopeList(output.oAuthScopes, context)
3852
3852
  : undefined,
3853
- tokenUrl: smithy_client_1.expectString(output.tokenUrl),
3853
+ tokenUrl: (0, smithy_client_1.expectString)(output.tokenUrl),
3854
3854
  };
3855
3855
  };
3856
3856
  const deserializeAws_restJson1OAuthScopeList = (output, context) => {
@@ -3860,21 +3860,21 @@ const deserializeAws_restJson1OAuthScopeList = (output, context) => {
3860
3860
  if (entry === null) {
3861
3861
  return null;
3862
3862
  }
3863
- return smithy_client_1.expectString(entry);
3863
+ return (0, smithy_client_1.expectString)(entry);
3864
3864
  });
3865
3865
  return retVal;
3866
3866
  };
3867
3867
  const deserializeAws_restJson1PrefixConfig = (output, context) => {
3868
3868
  return {
3869
- prefixFormat: smithy_client_1.expectString(output.prefixFormat),
3870
- 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),
3871
3871
  };
3872
3872
  };
3873
3873
  const deserializeAws_restJson1PrivateConnectionProvisioningState = (output, context) => {
3874
3874
  return {
3875
- failureCause: smithy_client_1.expectString(output.failureCause),
3876
- failureMessage: smithy_client_1.expectString(output.failureMessage),
3877
- 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),
3878
3878
  };
3879
3879
  };
3880
3880
  const deserializeAws_restJson1ProfilePropertiesMap = (output, context) => {
@@ -3884,32 +3884,32 @@ const deserializeAws_restJson1ProfilePropertiesMap = (output, context) => {
3884
3884
  }
3885
3885
  return {
3886
3886
  ...acc,
3887
- [key]: smithy_client_1.expectString(value),
3887
+ [key]: (0, smithy_client_1.expectString)(value),
3888
3888
  };
3889
3889
  }, {});
3890
3890
  };
3891
3891
  const deserializeAws_restJson1Range = (output, context) => {
3892
3892
  return {
3893
- maximum: smithy_client_1.limitedParseDouble(output.maximum),
3894
- 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),
3895
3895
  };
3896
3896
  };
3897
3897
  const deserializeAws_restJson1RedshiftConnectorProfileProperties = (output, context) => {
3898
3898
  return {
3899
- bucketName: smithy_client_1.expectString(output.bucketName),
3900
- bucketPrefix: smithy_client_1.expectString(output.bucketPrefix),
3901
- databaseUrl: smithy_client_1.expectString(output.databaseUrl),
3902
- 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),
3903
3903
  };
3904
3904
  };
3905
3905
  const deserializeAws_restJson1RedshiftDestinationProperties = (output, context) => {
3906
3906
  return {
3907
- bucketPrefix: smithy_client_1.expectString(output.bucketPrefix),
3907
+ bucketPrefix: (0, smithy_client_1.expectString)(output.bucketPrefix),
3908
3908
  errorHandlingConfig: output.errorHandlingConfig !== undefined && output.errorHandlingConfig !== null
3909
3909
  ? deserializeAws_restJson1ErrorHandlingConfig(output.errorHandlingConfig, context)
3910
3910
  : undefined,
3911
- intermediateBucketName: smithy_client_1.expectString(output.intermediateBucketName),
3912
- 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),
3913
3913
  };
3914
3914
  };
3915
3915
  const deserializeAws_restJson1RedshiftMetadata = (output, context) => {
@@ -3922,14 +3922,14 @@ const deserializeAws_restJson1RegionList = (output, context) => {
3922
3922
  if (entry === null) {
3923
3923
  return null;
3924
3924
  }
3925
- return smithy_client_1.expectString(entry);
3925
+ return (0, smithy_client_1.expectString)(entry);
3926
3926
  });
3927
3927
  return retVal;
3928
3928
  };
3929
3929
  const deserializeAws_restJson1S3DestinationProperties = (output, context) => {
3930
3930
  return {
3931
- bucketName: smithy_client_1.expectString(output.bucketName),
3932
- 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),
3933
3933
  s3OutputFormatConfig: output.s3OutputFormatConfig !== undefined && output.s3OutputFormatConfig !== null
3934
3934
  ? deserializeAws_restJson1S3OutputFormatConfig(output.s3OutputFormatConfig, context)
3935
3935
  : undefined,
@@ -3937,7 +3937,7 @@ const deserializeAws_restJson1S3DestinationProperties = (output, context) => {
3937
3937
  };
3938
3938
  const deserializeAws_restJson1S3InputFormatConfig = (output, context) => {
3939
3939
  return {
3940
- s3InputFileType: smithy_client_1.expectString(output.s3InputFileType),
3940
+ s3InputFileType: (0, smithy_client_1.expectString)(output.s3InputFileType),
3941
3941
  };
3942
3942
  };
3943
3943
  const deserializeAws_restJson1S3Metadata = (output, context) => {
@@ -3948,7 +3948,7 @@ const deserializeAws_restJson1S3OutputFormatConfig = (output, context) => {
3948
3948
  aggregationConfig: output.aggregationConfig !== undefined && output.aggregationConfig !== null
3949
3949
  ? deserializeAws_restJson1AggregationConfig(output.aggregationConfig, context)
3950
3950
  : undefined,
3951
- fileType: smithy_client_1.expectString(output.fileType),
3951
+ fileType: (0, smithy_client_1.expectString)(output.fileType),
3952
3952
  prefixConfig: output.prefixConfig !== undefined && output.prefixConfig !== null
3953
3953
  ? deserializeAws_restJson1PrefixConfig(output.prefixConfig, context)
3954
3954
  : undefined,
@@ -3956,8 +3956,8 @@ const deserializeAws_restJson1S3OutputFormatConfig = (output, context) => {
3956
3956
  };
3957
3957
  const deserializeAws_restJson1S3SourceProperties = (output, context) => {
3958
3958
  return {
3959
- bucketName: smithy_client_1.expectString(output.bucketName),
3960
- 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),
3961
3961
  s3InputFormatConfig: output.s3InputFormatConfig !== undefined && output.s3InputFormatConfig !== null
3962
3962
  ? deserializeAws_restJson1S3InputFormatConfig(output.s3InputFormatConfig, context)
3963
3963
  : undefined,
@@ -3965,8 +3965,8 @@ const deserializeAws_restJson1S3SourceProperties = (output, context) => {
3965
3965
  };
3966
3966
  const deserializeAws_restJson1SalesforceConnectorProfileProperties = (output, context) => {
3967
3967
  return {
3968
- instanceUrl: smithy_client_1.expectString(output.instanceUrl),
3969
- 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),
3970
3970
  };
3971
3971
  };
3972
3972
  const deserializeAws_restJson1SalesforceDestinationProperties = (output, context) => {
@@ -3977,8 +3977,8 @@ const deserializeAws_restJson1SalesforceDestinationProperties = (output, context
3977
3977
  idFieldNames: output.idFieldNames !== undefined && output.idFieldNames !== null
3978
3978
  ? deserializeAws_restJson1IdFieldNameList(output.idFieldNames, context)
3979
3979
  : undefined,
3980
- object: smithy_client_1.expectString(output.object),
3981
- 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),
3982
3982
  };
3983
3983
  };
3984
3984
  const deserializeAws_restJson1SalesforceMetadata = (output, context) => {
@@ -3990,22 +3990,22 @@ const deserializeAws_restJson1SalesforceMetadata = (output, context) => {
3990
3990
  };
3991
3991
  const deserializeAws_restJson1SalesforceSourceProperties = (output, context) => {
3992
3992
  return {
3993
- enableDynamicFieldUpdate: smithy_client_1.expectBoolean(output.enableDynamicFieldUpdate),
3994
- includeDeletedRecords: smithy_client_1.expectBoolean(output.includeDeletedRecords),
3995
- 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),
3996
3996
  };
3997
3997
  };
3998
3998
  const deserializeAws_restJson1SAPODataConnectorProfileProperties = (output, context) => {
3999
3999
  return {
4000
- applicationHostUrl: smithy_client_1.expectString(output.applicationHostUrl),
4001
- applicationServicePath: smithy_client_1.expectString(output.applicationServicePath),
4002
- clientNumber: smithy_client_1.expectString(output.clientNumber),
4003
- 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),
4004
4004
  oAuthProperties: output.oAuthProperties !== undefined && output.oAuthProperties !== null
4005
4005
  ? deserializeAws_restJson1OAuthProperties(output.oAuthProperties, context)
4006
4006
  : undefined,
4007
- portNumber: smithy_client_1.expectInt32(output.portNumber),
4008
- 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),
4009
4009
  };
4010
4010
  };
4011
4011
  const deserializeAws_restJson1SAPODataDestinationProperties = (output, context) => {
@@ -4016,11 +4016,11 @@ const deserializeAws_restJson1SAPODataDestinationProperties = (output, context)
4016
4016
  idFieldNames: output.idFieldNames !== undefined && output.idFieldNames !== null
4017
4017
  ? deserializeAws_restJson1IdFieldNameList(output.idFieldNames, context)
4018
4018
  : undefined,
4019
- objectPath: smithy_client_1.expectString(output.objectPath),
4019
+ objectPath: (0, smithy_client_1.expectString)(output.objectPath),
4020
4020
  successResponseHandlingConfig: output.successResponseHandlingConfig !== undefined && output.successResponseHandlingConfig !== null
4021
4021
  ? deserializeAws_restJson1SuccessResponseHandlingConfig(output.successResponseHandlingConfig, context)
4022
4022
  : undefined,
4023
- writeOperationType: smithy_client_1.expectString(output.writeOperationType),
4023
+ writeOperationType: (0, smithy_client_1.expectString)(output.writeOperationType),
4024
4024
  };
4025
4025
  };
4026
4026
  const deserializeAws_restJson1SAPODataMetadata = (output, context) => {
@@ -4028,24 +4028,24 @@ const deserializeAws_restJson1SAPODataMetadata = (output, context) => {
4028
4028
  };
4029
4029
  const deserializeAws_restJson1SAPODataSourceProperties = (output, context) => {
4030
4030
  return {
4031
- objectPath: smithy_client_1.expectString(output.objectPath),
4031
+ objectPath: (0, smithy_client_1.expectString)(output.objectPath),
4032
4032
  };
4033
4033
  };
4034
4034
  const deserializeAws_restJson1ScheduledTriggerProperties = (output, context) => {
4035
4035
  return {
4036
- dataPullMode: smithy_client_1.expectString(output.dataPullMode),
4036
+ dataPullMode: (0, smithy_client_1.expectString)(output.dataPullMode),
4037
4037
  firstExecutionFrom: output.firstExecutionFrom !== undefined && output.firstExecutionFrom !== null
4038
- ? 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)))
4039
4039
  : undefined,
4040
4040
  scheduleEndTime: output.scheduleEndTime !== undefined && output.scheduleEndTime !== null
4041
- ? 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)))
4042
4042
  : undefined,
4043
- scheduleExpression: smithy_client_1.expectString(output.scheduleExpression),
4044
- 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),
4045
4045
  scheduleStartTime: output.scheduleStartTime !== undefined && output.scheduleStartTime !== null
4046
- ? 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)))
4047
4047
  : undefined,
4048
- timezone: smithy_client_1.expectString(output.timezone),
4048
+ timezone: (0, smithy_client_1.expectString)(output.timezone),
4049
4049
  };
4050
4050
  };
4051
4051
  const deserializeAws_restJson1SchedulingFrequencyTypeList = (output, context) => {
@@ -4055,13 +4055,13 @@ const deserializeAws_restJson1SchedulingFrequencyTypeList = (output, context) =>
4055
4055
  if (entry === null) {
4056
4056
  return null;
4057
4057
  }
4058
- return smithy_client_1.expectString(entry);
4058
+ return (0, smithy_client_1.expectString)(entry);
4059
4059
  });
4060
4060
  return retVal;
4061
4061
  };
4062
4062
  const deserializeAws_restJson1ServiceNowConnectorProfileProperties = (output, context) => {
4063
4063
  return {
4064
- instanceUrl: smithy_client_1.expectString(output.instanceUrl),
4064
+ instanceUrl: (0, smithy_client_1.expectString)(output.instanceUrl),
4065
4065
  };
4066
4066
  };
4067
4067
  const deserializeAws_restJson1ServiceNowMetadata = (output, context) => {
@@ -4069,7 +4069,7 @@ const deserializeAws_restJson1ServiceNowMetadata = (output, context) => {
4069
4069
  };
4070
4070
  const deserializeAws_restJson1ServiceNowSourceProperties = (output, context) => {
4071
4071
  return {
4072
- object: smithy_client_1.expectString(output.object),
4072
+ object: (0, smithy_client_1.expectString)(output.object),
4073
4073
  };
4074
4074
  };
4075
4075
  const deserializeAws_restJson1SingularConnectorProfileProperties = (output, context) => {
@@ -4080,12 +4080,12 @@ const deserializeAws_restJson1SingularMetadata = (output, context) => {
4080
4080
  };
4081
4081
  const deserializeAws_restJson1SingularSourceProperties = (output, context) => {
4082
4082
  return {
4083
- object: smithy_client_1.expectString(output.object),
4083
+ object: (0, smithy_client_1.expectString)(output.object),
4084
4084
  };
4085
4085
  };
4086
4086
  const deserializeAws_restJson1SlackConnectorProfileProperties = (output, context) => {
4087
4087
  return {
4088
- instanceUrl: smithy_client_1.expectString(output.instanceUrl),
4088
+ instanceUrl: (0, smithy_client_1.expectString)(output.instanceUrl),
4089
4089
  };
4090
4090
  };
4091
4091
  const deserializeAws_restJson1SlackMetadata = (output, context) => {
@@ -4097,28 +4097,28 @@ const deserializeAws_restJson1SlackMetadata = (output, context) => {
4097
4097
  };
4098
4098
  const deserializeAws_restJson1SlackSourceProperties = (output, context) => {
4099
4099
  return {
4100
- object: smithy_client_1.expectString(output.object),
4100
+ object: (0, smithy_client_1.expectString)(output.object),
4101
4101
  };
4102
4102
  };
4103
4103
  const deserializeAws_restJson1SnowflakeConnectorProfileProperties = (output, context) => {
4104
4104
  return {
4105
- accountName: smithy_client_1.expectString(output.accountName),
4106
- bucketName: smithy_client_1.expectString(output.bucketName),
4107
- bucketPrefix: smithy_client_1.expectString(output.bucketPrefix),
4108
- privateLinkServiceName: smithy_client_1.expectString(output.privateLinkServiceName),
4109
- region: smithy_client_1.expectString(output.region),
4110
- stage: smithy_client_1.expectString(output.stage),
4111
- 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),
4112
4112
  };
4113
4113
  };
4114
4114
  const deserializeAws_restJson1SnowflakeDestinationProperties = (output, context) => {
4115
4115
  return {
4116
- bucketPrefix: smithy_client_1.expectString(output.bucketPrefix),
4116
+ bucketPrefix: (0, smithy_client_1.expectString)(output.bucketPrefix),
4117
4117
  errorHandlingConfig: output.errorHandlingConfig !== undefined && output.errorHandlingConfig !== null
4118
4118
  ? deserializeAws_restJson1ErrorHandlingConfig(output.errorHandlingConfig, context)
4119
4119
  : undefined,
4120
- intermediateBucketName: smithy_client_1.expectString(output.intermediateBucketName),
4121
- 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),
4122
4122
  };
4123
4123
  };
4124
4124
  const deserializeAws_restJson1SnowflakeMetadata = (output, context) => {
@@ -4182,9 +4182,9 @@ const deserializeAws_restJson1SourceConnectorProperties = (output, context) => {
4182
4182
  };
4183
4183
  const deserializeAws_restJson1SourceFieldProperties = (output, context) => {
4184
4184
  return {
4185
- isQueryable: smithy_client_1.expectBoolean(output.isQueryable),
4186
- isRetrievable: smithy_client_1.expectBoolean(output.isRetrievable),
4187
- 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),
4188
4188
  };
4189
4189
  };
4190
4190
  const deserializeAws_restJson1SourceFields = (output, context) => {
@@ -4194,15 +4194,15 @@ const deserializeAws_restJson1SourceFields = (output, context) => {
4194
4194
  if (entry === null) {
4195
4195
  return null;
4196
4196
  }
4197
- return smithy_client_1.expectString(entry);
4197
+ return (0, smithy_client_1.expectString)(entry);
4198
4198
  });
4199
4199
  return retVal;
4200
4200
  };
4201
4201
  const deserializeAws_restJson1SourceFlowConfig = (output, context) => {
4202
4202
  return {
4203
- apiVersion: smithy_client_1.expectString(output.apiVersion),
4204
- connectorProfileName: smithy_client_1.expectString(output.connectorProfileName),
4205
- 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),
4206
4206
  incrementalPullConfig: output.incrementalPullConfig !== undefined && output.incrementalPullConfig !== null
4207
4207
  ? deserializeAws_restJson1IncrementalPullConfig(output.incrementalPullConfig, context)
4208
4208
  : undefined,
@@ -4213,8 +4213,8 @@ const deserializeAws_restJson1SourceFlowConfig = (output, context) => {
4213
4213
  };
4214
4214
  const deserializeAws_restJson1SuccessResponseHandlingConfig = (output, context) => {
4215
4215
  return {
4216
- bucketName: smithy_client_1.expectString(output.bucketName),
4217
- 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),
4218
4218
  };
4219
4219
  };
4220
4220
  const deserializeAws_restJson1SupportedApiVersionList = (output, context) => {
@@ -4224,7 +4224,7 @@ const deserializeAws_restJson1SupportedApiVersionList = (output, context) => {
4224
4224
  if (entry === null) {
4225
4225
  return null;
4226
4226
  }
4227
- return smithy_client_1.expectString(entry);
4227
+ return (0, smithy_client_1.expectString)(entry);
4228
4228
  });
4229
4229
  return retVal;
4230
4230
  };
@@ -4242,7 +4242,7 @@ const deserializeAws_restJson1SupportedOperatorList = (output, context) => {
4242
4242
  if (entry === null) {
4243
4243
  return null;
4244
4244
  }
4245
- return smithy_client_1.expectString(entry);
4245
+ return (0, smithy_client_1.expectString)(entry);
4246
4246
  });
4247
4247
  return retVal;
4248
4248
  };
@@ -4253,7 +4253,7 @@ const deserializeAws_restJson1SupportedValueList = (output, context) => {
4253
4253
  if (entry === null) {
4254
4254
  return null;
4255
4255
  }
4256
- return smithy_client_1.expectString(entry);
4256
+ return (0, smithy_client_1.expectString)(entry);
4257
4257
  });
4258
4258
  return retVal;
4259
4259
  };
@@ -4264,7 +4264,7 @@ const deserializeAws_restJson1SupportedWriteOperationList = (output, context) =>
4264
4264
  if (entry === null) {
4265
4265
  return null;
4266
4266
  }
4267
- return smithy_client_1.expectString(entry);
4267
+ return (0, smithy_client_1.expectString)(entry);
4268
4268
  });
4269
4269
  return retVal;
4270
4270
  };
@@ -4275,7 +4275,7 @@ const deserializeAws_restJson1TagMap = (output, context) => {
4275
4275
  }
4276
4276
  return {
4277
4277
  ...acc,
4278
- [key]: smithy_client_1.expectString(value),
4278
+ [key]: (0, smithy_client_1.expectString)(value),
4279
4279
  };
4280
4280
  }, {});
4281
4281
  };
@@ -4284,14 +4284,14 @@ const deserializeAws_restJson1Task = (output, context) => {
4284
4284
  connectorOperator: output.connectorOperator !== undefined && output.connectorOperator !== null
4285
4285
  ? deserializeAws_restJson1ConnectorOperator(output.connectorOperator, context)
4286
4286
  : undefined,
4287
- destinationField: smithy_client_1.expectString(output.destinationField),
4287
+ destinationField: (0, smithy_client_1.expectString)(output.destinationField),
4288
4288
  sourceFields: output.sourceFields !== undefined && output.sourceFields !== null
4289
4289
  ? deserializeAws_restJson1SourceFields(output.sourceFields, context)
4290
4290
  : undefined,
4291
4291
  taskProperties: output.taskProperties !== undefined && output.taskProperties !== null
4292
4292
  ? deserializeAws_restJson1TaskPropertiesMap(output.taskProperties, context)
4293
4293
  : undefined,
4294
- taskType: smithy_client_1.expectString(output.taskType),
4294
+ taskType: (0, smithy_client_1.expectString)(output.taskType),
4295
4295
  };
4296
4296
  };
4297
4297
  const deserializeAws_restJson1TaskPropertiesMap = (output, context) => {
@@ -4301,7 +4301,7 @@ const deserializeAws_restJson1TaskPropertiesMap = (output, context) => {
4301
4301
  }
4302
4302
  return {
4303
4303
  ...acc,
4304
- [key]: smithy_client_1.expectString(value),
4304
+ [key]: (0, smithy_client_1.expectString)(value),
4305
4305
  };
4306
4306
  }, {});
4307
4307
  };
@@ -4323,7 +4323,7 @@ const deserializeAws_restJson1TokenUrlList = (output, context) => {
4323
4323
  if (entry === null) {
4324
4324
  return null;
4325
4325
  }
4326
- return smithy_client_1.expectString(entry);
4326
+ return (0, smithy_client_1.expectString)(entry);
4327
4327
  });
4328
4328
  return retVal;
4329
4329
  };
@@ -4335,7 +4335,7 @@ const deserializeAws_restJson1TrendmicroMetadata = (output, context) => {
4335
4335
  };
4336
4336
  const deserializeAws_restJson1TrendmicroSourceProperties = (output, context) => {
4337
4337
  return {
4338
- object: smithy_client_1.expectString(output.object),
4338
+ object: (0, smithy_client_1.expectString)(output.object),
4339
4339
  };
4340
4340
  };
4341
4341
  const deserializeAws_restJson1TriggerConfig = (output, context) => {
@@ -4343,7 +4343,7 @@ const deserializeAws_restJson1TriggerConfig = (output, context) => {
4343
4343
  triggerProperties: output.triggerProperties !== undefined && output.triggerProperties !== null
4344
4344
  ? deserializeAws_restJson1TriggerProperties(output.triggerProperties, context)
4345
4345
  : undefined,
4346
- triggerType: smithy_client_1.expectString(output.triggerType),
4346
+ triggerType: (0, smithy_client_1.expectString)(output.triggerType),
4347
4347
  };
4348
4348
  };
4349
4349
  const deserializeAws_restJson1TriggerProperties = (output, context) => {
@@ -4360,14 +4360,14 @@ const deserializeAws_restJson1TriggerTypeList = (output, context) => {
4360
4360
  if (entry === null) {
4361
4361
  return null;
4362
4362
  }
4363
- return smithy_client_1.expectString(entry);
4363
+ return (0, smithy_client_1.expectString)(entry);
4364
4364
  });
4365
4365
  return retVal;
4366
4366
  };
4367
4367
  const deserializeAws_restJson1UpsolverDestinationProperties = (output, context) => {
4368
4368
  return {
4369
- bucketName: smithy_client_1.expectString(output.bucketName),
4370
- 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),
4371
4371
  s3OutputFormatConfig: output.s3OutputFormatConfig !== undefined && output.s3OutputFormatConfig !== null
4372
4372
  ? deserializeAws_restJson1UpsolverS3OutputFormatConfig(output.s3OutputFormatConfig, context)
4373
4373
  : undefined,
@@ -4381,7 +4381,7 @@ const deserializeAws_restJson1UpsolverS3OutputFormatConfig = (output, context) =
4381
4381
  aggregationConfig: output.aggregationConfig !== undefined && output.aggregationConfig !== null
4382
4382
  ? deserializeAws_restJson1AggregationConfig(output.aggregationConfig, context)
4383
4383
  : undefined,
4384
- fileType: smithy_client_1.expectString(output.fileType),
4384
+ fileType: (0, smithy_client_1.expectString)(output.fileType),
4385
4385
  prefixConfig: output.prefixConfig !== undefined && output.prefixConfig !== null
4386
4386
  ? deserializeAws_restJson1PrefixConfig(output.prefixConfig, context)
4387
4387
  : undefined,
@@ -4389,7 +4389,7 @@ const deserializeAws_restJson1UpsolverS3OutputFormatConfig = (output, context) =
4389
4389
  };
4390
4390
  const deserializeAws_restJson1VeevaConnectorProfileProperties = (output, context) => {
4391
4391
  return {
4392
- instanceUrl: smithy_client_1.expectString(output.instanceUrl),
4392
+ instanceUrl: (0, smithy_client_1.expectString)(output.instanceUrl),
4393
4393
  };
4394
4394
  };
4395
4395
  const deserializeAws_restJson1VeevaMetadata = (output, context) => {
@@ -4397,16 +4397,16 @@ const deserializeAws_restJson1VeevaMetadata = (output, context) => {
4397
4397
  };
4398
4398
  const deserializeAws_restJson1VeevaSourceProperties = (output, context) => {
4399
4399
  return {
4400
- documentType: smithy_client_1.expectString(output.documentType),
4401
- includeAllVersions: smithy_client_1.expectBoolean(output.includeAllVersions),
4402
- includeRenditions: smithy_client_1.expectBoolean(output.includeRenditions),
4403
- includeSourceFiles: smithy_client_1.expectBoolean(output.includeSourceFiles),
4404
- 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),
4405
4405
  };
4406
4406
  };
4407
4407
  const deserializeAws_restJson1ZendeskConnectorProfileProperties = (output, context) => {
4408
4408
  return {
4409
- instanceUrl: smithy_client_1.expectString(output.instanceUrl),
4409
+ instanceUrl: (0, smithy_client_1.expectString)(output.instanceUrl),
4410
4410
  };
4411
4411
  };
4412
4412
  const deserializeAws_restJson1ZendeskDestinationProperties = (output, context) => {
@@ -4417,8 +4417,8 @@ const deserializeAws_restJson1ZendeskDestinationProperties = (output, context) =
4417
4417
  idFieldNames: output.idFieldNames !== undefined && output.idFieldNames !== null
4418
4418
  ? deserializeAws_restJson1IdFieldNameList(output.idFieldNames, context)
4419
4419
  : undefined,
4420
- object: smithy_client_1.expectString(output.object),
4421
- 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),
4422
4422
  };
4423
4423
  };
4424
4424
  const deserializeAws_restJson1ZendeskMetadata = (output, context) => {
@@ -4430,7 +4430,7 @@ const deserializeAws_restJson1ZendeskMetadata = (output, context) => {
4430
4430
  };
4431
4431
  const deserializeAws_restJson1ZendeskSourceProperties = (output, context) => {
4432
4432
  return {
4433
- object: smithy_client_1.expectString(output.object),
4433
+ object: (0, smithy_client_1.expectString)(output.object),
4434
4434
  };
4435
4435
  };
4436
4436
  const deserializeMetadata = (output) => {