@aws-sdk/client-data-pipeline 3.645.0 → 3.650.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 (29) hide show
  1. package/dist-cjs/endpoint/endpointResolver.js +6 -2
  2. package/dist-cjs/index.js +19 -57
  3. package/dist-es/commands/ActivatePipelineCommand.js +1 -3
  4. package/dist-es/commands/AddTagsCommand.js +1 -3
  5. package/dist-es/commands/CreatePipelineCommand.js +1 -3
  6. package/dist-es/commands/DeactivatePipelineCommand.js +1 -3
  7. package/dist-es/commands/DeletePipelineCommand.js +1 -3
  8. package/dist-es/commands/DescribeObjectsCommand.js +1 -3
  9. package/dist-es/commands/DescribePipelinesCommand.js +1 -3
  10. package/dist-es/commands/EvaluateExpressionCommand.js +1 -3
  11. package/dist-es/commands/GetPipelineDefinitionCommand.js +1 -3
  12. package/dist-es/commands/ListPipelinesCommand.js +1 -3
  13. package/dist-es/commands/PollForTaskCommand.js +1 -3
  14. package/dist-es/commands/PutPipelineDefinitionCommand.js +1 -3
  15. package/dist-es/commands/QueryObjectsCommand.js +1 -3
  16. package/dist-es/commands/RemoveTagsCommand.js +1 -3
  17. package/dist-es/commands/ReportTaskProgressCommand.js +1 -3
  18. package/dist-es/commands/ReportTaskRunnerHeartbeatCommand.js +1 -3
  19. package/dist-es/commands/SetStatusCommand.js +1 -3
  20. package/dist-es/commands/SetTaskStatusCommand.js +1 -3
  21. package/dist-es/commands/ValidatePipelineDefinitionCommand.js +1 -3
  22. package/dist-es/endpoint/endpointResolver.js +7 -3
  23. package/dist-types/runtimeConfig.browser.d.ts +2 -0
  24. package/dist-types/runtimeConfig.d.ts +2 -0
  25. package/dist-types/runtimeConfig.native.d.ts +2 -0
  26. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +2 -0
  27. package/dist-types/ts3.4/runtimeConfig.d.ts +2 -0
  28. package/dist-types/ts3.4/runtimeConfig.native.d.ts +2 -0
  29. package/package.json +35 -35
@@ -4,11 +4,15 @@ exports.defaultEndpointResolver = void 0;
4
4
  const util_endpoints_1 = require("@aws-sdk/util-endpoints");
5
5
  const util_endpoints_2 = require("@smithy/util-endpoints");
6
6
  const ruleset_1 = require("./ruleset");
7
+ const cache = new util_endpoints_2.EndpointCache({
8
+ size: 50,
9
+ params: ["Endpoint", "Region", "UseDualStack", "UseFIPS"],
10
+ });
7
11
  const defaultEndpointResolver = (endpointParams, context = {}) => {
8
- return (0, util_endpoints_2.resolveEndpoint)(ruleset_1.ruleSet, {
12
+ return cache.get(endpointParams, () => (0, util_endpoints_2.resolveEndpoint)(ruleset_1.ruleSet, {
9
13
  endpointParams: endpointParams,
10
14
  logger: context.logger,
11
- });
15
+ }));
12
16
  };
13
17
  exports.defaultEndpointResolver = defaultEndpointResolver;
14
18
  util_endpoints_2.customEndpointFunctions.aws = util_endpoints_1.awsEndpointFunctions;
package/dist-cjs/index.js CHANGED
@@ -793,9 +793,7 @@ function sharedHeaders(operation) {
793
793
  __name(sharedHeaders, "sharedHeaders");
794
794
 
795
795
  // src/commands/ActivatePipelineCommand.ts
796
- var _ActivatePipelineCommand = class _ActivatePipelineCommand extends import_smithy_client.Command.classBuilder().ep({
797
- ...commonParams
798
- }).m(function(Command, cs, config, o) {
796
+ var _ActivatePipelineCommand = class _ActivatePipelineCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
799
797
  return [
800
798
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
801
799
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -809,9 +807,7 @@ var ActivatePipelineCommand = _ActivatePipelineCommand;
809
807
 
810
808
 
811
809
 
812
- var _AddTagsCommand = class _AddTagsCommand extends import_smithy_client.Command.classBuilder().ep({
813
- ...commonParams
814
- }).m(function(Command, cs, config, o) {
810
+ var _AddTagsCommand = class _AddTagsCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
815
811
  return [
816
812
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
817
813
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -825,9 +821,7 @@ var AddTagsCommand = _AddTagsCommand;
825
821
 
826
822
 
827
823
 
828
- var _CreatePipelineCommand = class _CreatePipelineCommand extends import_smithy_client.Command.classBuilder().ep({
829
- ...commonParams
830
- }).m(function(Command, cs, config, o) {
824
+ var _CreatePipelineCommand = class _CreatePipelineCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
831
825
  return [
832
826
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
833
827
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -841,9 +835,7 @@ var CreatePipelineCommand = _CreatePipelineCommand;
841
835
 
842
836
 
843
837
 
844
- var _DeactivatePipelineCommand = class _DeactivatePipelineCommand extends import_smithy_client.Command.classBuilder().ep({
845
- ...commonParams
846
- }).m(function(Command, cs, config, o) {
838
+ var _DeactivatePipelineCommand = class _DeactivatePipelineCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
847
839
  return [
848
840
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
849
841
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -857,9 +849,7 @@ var DeactivatePipelineCommand = _DeactivatePipelineCommand;
857
849
 
858
850
 
859
851
 
860
- var _DeletePipelineCommand = class _DeletePipelineCommand extends import_smithy_client.Command.classBuilder().ep({
861
- ...commonParams
862
- }).m(function(Command, cs, config, o) {
852
+ var _DeletePipelineCommand = class _DeletePipelineCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
863
853
  return [
864
854
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
865
855
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -873,9 +863,7 @@ var DeletePipelineCommand = _DeletePipelineCommand;
873
863
 
874
864
 
875
865
 
876
- var _DescribeObjectsCommand = class _DescribeObjectsCommand extends import_smithy_client.Command.classBuilder().ep({
877
- ...commonParams
878
- }).m(function(Command, cs, config, o) {
866
+ var _DescribeObjectsCommand = class _DescribeObjectsCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
879
867
  return [
880
868
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
881
869
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -889,9 +877,7 @@ var DescribeObjectsCommand = _DescribeObjectsCommand;
889
877
 
890
878
 
891
879
 
892
- var _DescribePipelinesCommand = class _DescribePipelinesCommand extends import_smithy_client.Command.classBuilder().ep({
893
- ...commonParams
894
- }).m(function(Command, cs, config, o) {
880
+ var _DescribePipelinesCommand = class _DescribePipelinesCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
895
881
  return [
896
882
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
897
883
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -905,9 +891,7 @@ var DescribePipelinesCommand = _DescribePipelinesCommand;
905
891
 
906
892
 
907
893
 
908
- var _EvaluateExpressionCommand = class _EvaluateExpressionCommand extends import_smithy_client.Command.classBuilder().ep({
909
- ...commonParams
910
- }).m(function(Command, cs, config, o) {
894
+ var _EvaluateExpressionCommand = class _EvaluateExpressionCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
911
895
  return [
912
896
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
913
897
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -921,9 +905,7 @@ var EvaluateExpressionCommand = _EvaluateExpressionCommand;
921
905
 
922
906
 
923
907
 
924
- var _GetPipelineDefinitionCommand = class _GetPipelineDefinitionCommand extends import_smithy_client.Command.classBuilder().ep({
925
- ...commonParams
926
- }).m(function(Command, cs, config, o) {
908
+ var _GetPipelineDefinitionCommand = class _GetPipelineDefinitionCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
927
909
  return [
928
910
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
929
911
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -937,9 +919,7 @@ var GetPipelineDefinitionCommand = _GetPipelineDefinitionCommand;
937
919
 
938
920
 
939
921
 
940
- var _ListPipelinesCommand = class _ListPipelinesCommand extends import_smithy_client.Command.classBuilder().ep({
941
- ...commonParams
942
- }).m(function(Command, cs, config, o) {
922
+ var _ListPipelinesCommand = class _ListPipelinesCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
943
923
  return [
944
924
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
945
925
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -953,9 +933,7 @@ var ListPipelinesCommand = _ListPipelinesCommand;
953
933
 
954
934
 
955
935
 
956
- var _PollForTaskCommand = class _PollForTaskCommand extends import_smithy_client.Command.classBuilder().ep({
957
- ...commonParams
958
- }).m(function(Command, cs, config, o) {
936
+ var _PollForTaskCommand = class _PollForTaskCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
959
937
  return [
960
938
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
961
939
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -969,9 +947,7 @@ var PollForTaskCommand = _PollForTaskCommand;
969
947
 
970
948
 
971
949
 
972
- var _PutPipelineDefinitionCommand = class _PutPipelineDefinitionCommand extends import_smithy_client.Command.classBuilder().ep({
973
- ...commonParams
974
- }).m(function(Command, cs, config, o) {
950
+ var _PutPipelineDefinitionCommand = class _PutPipelineDefinitionCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
975
951
  return [
976
952
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
977
953
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -985,9 +961,7 @@ var PutPipelineDefinitionCommand = _PutPipelineDefinitionCommand;
985
961
 
986
962
 
987
963
 
988
- var _QueryObjectsCommand = class _QueryObjectsCommand extends import_smithy_client.Command.classBuilder().ep({
989
- ...commonParams
990
- }).m(function(Command, cs, config, o) {
964
+ var _QueryObjectsCommand = class _QueryObjectsCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
991
965
  return [
992
966
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
993
967
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -1001,9 +975,7 @@ var QueryObjectsCommand = _QueryObjectsCommand;
1001
975
 
1002
976
 
1003
977
 
1004
- var _RemoveTagsCommand = class _RemoveTagsCommand extends import_smithy_client.Command.classBuilder().ep({
1005
- ...commonParams
1006
- }).m(function(Command, cs, config, o) {
978
+ var _RemoveTagsCommand = class _RemoveTagsCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1007
979
  return [
1008
980
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1009
981
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -1017,9 +989,7 @@ var RemoveTagsCommand = _RemoveTagsCommand;
1017
989
 
1018
990
 
1019
991
 
1020
- var _ReportTaskProgressCommand = class _ReportTaskProgressCommand extends import_smithy_client.Command.classBuilder().ep({
1021
- ...commonParams
1022
- }).m(function(Command, cs, config, o) {
992
+ var _ReportTaskProgressCommand = class _ReportTaskProgressCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1023
993
  return [
1024
994
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1025
995
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -1033,9 +1003,7 @@ var ReportTaskProgressCommand = _ReportTaskProgressCommand;
1033
1003
 
1034
1004
 
1035
1005
 
1036
- var _ReportTaskRunnerHeartbeatCommand = class _ReportTaskRunnerHeartbeatCommand extends import_smithy_client.Command.classBuilder().ep({
1037
- ...commonParams
1038
- }).m(function(Command, cs, config, o) {
1006
+ var _ReportTaskRunnerHeartbeatCommand = class _ReportTaskRunnerHeartbeatCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1039
1007
  return [
1040
1008
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1041
1009
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -1049,9 +1017,7 @@ var ReportTaskRunnerHeartbeatCommand = _ReportTaskRunnerHeartbeatCommand;
1049
1017
 
1050
1018
 
1051
1019
 
1052
- var _SetStatusCommand = class _SetStatusCommand extends import_smithy_client.Command.classBuilder().ep({
1053
- ...commonParams
1054
- }).m(function(Command, cs, config, o) {
1020
+ var _SetStatusCommand = class _SetStatusCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1055
1021
  return [
1056
1022
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1057
1023
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -1065,9 +1031,7 @@ var SetStatusCommand = _SetStatusCommand;
1065
1031
 
1066
1032
 
1067
1033
 
1068
- var _SetTaskStatusCommand = class _SetTaskStatusCommand extends import_smithy_client.Command.classBuilder().ep({
1069
- ...commonParams
1070
- }).m(function(Command, cs, config, o) {
1034
+ var _SetTaskStatusCommand = class _SetTaskStatusCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1071
1035
  return [
1072
1036
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1073
1037
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -1081,9 +1045,7 @@ var SetTaskStatusCommand = _SetTaskStatusCommand;
1081
1045
 
1082
1046
 
1083
1047
 
1084
- var _ValidatePipelineDefinitionCommand = class _ValidatePipelineDefinitionCommand extends import_smithy_client.Command.classBuilder().ep({
1085
- ...commonParams
1086
- }).m(function(Command, cs, config, o) {
1048
+ var _ValidatePipelineDefinitionCommand = class _ValidatePipelineDefinitionCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1087
1049
  return [
1088
1050
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1089
1051
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -6,9 +6,7 @@ import { de_ActivatePipelineCommand, se_ActivatePipelineCommand } from "../proto
6
6
  export { $Command };
7
7
  export class ActivatePipelineCommand extends $Command
8
8
  .classBuilder()
9
- .ep({
10
- ...commonParams,
11
- })
9
+ .ep(commonParams)
12
10
  .m(function (Command, cs, config, o) {
13
11
  return [
14
12
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -6,9 +6,7 @@ import { de_AddTagsCommand, se_AddTagsCommand } from "../protocols/Aws_json1_1";
6
6
  export { $Command };
7
7
  export class AddTagsCommand extends $Command
8
8
  .classBuilder()
9
- .ep({
10
- ...commonParams,
11
- })
9
+ .ep(commonParams)
12
10
  .m(function (Command, cs, config, o) {
13
11
  return [
14
12
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -6,9 +6,7 @@ import { de_CreatePipelineCommand, se_CreatePipelineCommand } from "../protocols
6
6
  export { $Command };
7
7
  export class CreatePipelineCommand extends $Command
8
8
  .classBuilder()
9
- .ep({
10
- ...commonParams,
11
- })
9
+ .ep(commonParams)
12
10
  .m(function (Command, cs, config, o) {
13
11
  return [
14
12
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -6,9 +6,7 @@ import { de_DeactivatePipelineCommand, se_DeactivatePipelineCommand } from "../p
6
6
  export { $Command };
7
7
  export class DeactivatePipelineCommand extends $Command
8
8
  .classBuilder()
9
- .ep({
10
- ...commonParams,
11
- })
9
+ .ep(commonParams)
12
10
  .m(function (Command, cs, config, o) {
13
11
  return [
14
12
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -6,9 +6,7 @@ import { de_DeletePipelineCommand, se_DeletePipelineCommand } from "../protocols
6
6
  export { $Command };
7
7
  export class DeletePipelineCommand extends $Command
8
8
  .classBuilder()
9
- .ep({
10
- ...commonParams,
11
- })
9
+ .ep(commonParams)
12
10
  .m(function (Command, cs, config, o) {
13
11
  return [
14
12
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -6,9 +6,7 @@ import { de_DescribeObjectsCommand, se_DescribeObjectsCommand } from "../protoco
6
6
  export { $Command };
7
7
  export class DescribeObjectsCommand extends $Command
8
8
  .classBuilder()
9
- .ep({
10
- ...commonParams,
11
- })
9
+ .ep(commonParams)
12
10
  .m(function (Command, cs, config, o) {
13
11
  return [
14
12
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -6,9 +6,7 @@ import { de_DescribePipelinesCommand, se_DescribePipelinesCommand } from "../pro
6
6
  export { $Command };
7
7
  export class DescribePipelinesCommand extends $Command
8
8
  .classBuilder()
9
- .ep({
10
- ...commonParams,
11
- })
9
+ .ep(commonParams)
12
10
  .m(function (Command, cs, config, o) {
13
11
  return [
14
12
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -6,9 +6,7 @@ import { de_EvaluateExpressionCommand, se_EvaluateExpressionCommand } from "../p
6
6
  export { $Command };
7
7
  export class EvaluateExpressionCommand extends $Command
8
8
  .classBuilder()
9
- .ep({
10
- ...commonParams,
11
- })
9
+ .ep(commonParams)
12
10
  .m(function (Command, cs, config, o) {
13
11
  return [
14
12
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -6,9 +6,7 @@ import { de_GetPipelineDefinitionCommand, se_GetPipelineDefinitionCommand } from
6
6
  export { $Command };
7
7
  export class GetPipelineDefinitionCommand extends $Command
8
8
  .classBuilder()
9
- .ep({
10
- ...commonParams,
11
- })
9
+ .ep(commonParams)
12
10
  .m(function (Command, cs, config, o) {
13
11
  return [
14
12
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -6,9 +6,7 @@ import { de_ListPipelinesCommand, se_ListPipelinesCommand } from "../protocols/A
6
6
  export { $Command };
7
7
  export class ListPipelinesCommand extends $Command
8
8
  .classBuilder()
9
- .ep({
10
- ...commonParams,
11
- })
9
+ .ep(commonParams)
12
10
  .m(function (Command, cs, config, o) {
13
11
  return [
14
12
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -6,9 +6,7 @@ import { de_PollForTaskCommand, se_PollForTaskCommand } from "../protocols/Aws_j
6
6
  export { $Command };
7
7
  export class PollForTaskCommand extends $Command
8
8
  .classBuilder()
9
- .ep({
10
- ...commonParams,
11
- })
9
+ .ep(commonParams)
12
10
  .m(function (Command, cs, config, o) {
13
11
  return [
14
12
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -6,9 +6,7 @@ import { de_PutPipelineDefinitionCommand, se_PutPipelineDefinitionCommand } from
6
6
  export { $Command };
7
7
  export class PutPipelineDefinitionCommand extends $Command
8
8
  .classBuilder()
9
- .ep({
10
- ...commonParams,
11
- })
9
+ .ep(commonParams)
12
10
  .m(function (Command, cs, config, o) {
13
11
  return [
14
12
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -6,9 +6,7 @@ import { de_QueryObjectsCommand, se_QueryObjectsCommand } from "../protocols/Aws
6
6
  export { $Command };
7
7
  export class QueryObjectsCommand extends $Command
8
8
  .classBuilder()
9
- .ep({
10
- ...commonParams,
11
- })
9
+ .ep(commonParams)
12
10
  .m(function (Command, cs, config, o) {
13
11
  return [
14
12
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -6,9 +6,7 @@ import { de_RemoveTagsCommand, se_RemoveTagsCommand } from "../protocols/Aws_jso
6
6
  export { $Command };
7
7
  export class RemoveTagsCommand extends $Command
8
8
  .classBuilder()
9
- .ep({
10
- ...commonParams,
11
- })
9
+ .ep(commonParams)
12
10
  .m(function (Command, cs, config, o) {
13
11
  return [
14
12
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -6,9 +6,7 @@ import { de_ReportTaskProgressCommand, se_ReportTaskProgressCommand } from "../p
6
6
  export { $Command };
7
7
  export class ReportTaskProgressCommand extends $Command
8
8
  .classBuilder()
9
- .ep({
10
- ...commonParams,
11
- })
9
+ .ep(commonParams)
12
10
  .m(function (Command, cs, config, o) {
13
11
  return [
14
12
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -6,9 +6,7 @@ import { de_ReportTaskRunnerHeartbeatCommand, se_ReportTaskRunnerHeartbeatComman
6
6
  export { $Command };
7
7
  export class ReportTaskRunnerHeartbeatCommand extends $Command
8
8
  .classBuilder()
9
- .ep({
10
- ...commonParams,
11
- })
9
+ .ep(commonParams)
12
10
  .m(function (Command, cs, config, o) {
13
11
  return [
14
12
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -6,9 +6,7 @@ import { de_SetStatusCommand, se_SetStatusCommand } from "../protocols/Aws_json1
6
6
  export { $Command };
7
7
  export class SetStatusCommand extends $Command
8
8
  .classBuilder()
9
- .ep({
10
- ...commonParams,
11
- })
9
+ .ep(commonParams)
12
10
  .m(function (Command, cs, config, o) {
13
11
  return [
14
12
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -6,9 +6,7 @@ import { de_SetTaskStatusCommand, se_SetTaskStatusCommand } from "../protocols/A
6
6
  export { $Command };
7
7
  export class SetTaskStatusCommand extends $Command
8
8
  .classBuilder()
9
- .ep({
10
- ...commonParams,
11
- })
9
+ .ep(commonParams)
12
10
  .m(function (Command, cs, config, o) {
13
11
  return [
14
12
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -6,9 +6,7 @@ import { de_ValidatePipelineDefinitionCommand, se_ValidatePipelineDefinitionComm
6
6
  export { $Command };
7
7
  export class ValidatePipelineDefinitionCommand extends $Command
8
8
  .classBuilder()
9
- .ep({
10
- ...commonParams,
11
- })
9
+ .ep(commonParams)
12
10
  .m(function (Command, cs, config, o) {
13
11
  return [
14
12
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -1,10 +1,14 @@
1
1
  import { awsEndpointFunctions } from "@aws-sdk/util-endpoints";
2
- import { customEndpointFunctions, resolveEndpoint } from "@smithy/util-endpoints";
2
+ import { customEndpointFunctions, EndpointCache, resolveEndpoint } from "@smithy/util-endpoints";
3
3
  import { ruleSet } from "./ruleset";
4
+ const cache = new EndpointCache({
5
+ size: 50,
6
+ params: ["Endpoint", "Region", "UseDualStack", "UseFIPS"],
7
+ });
4
8
  export const defaultEndpointResolver = (endpointParams, context = {}) => {
5
- return resolveEndpoint(ruleSet, {
9
+ return cache.get(endpointParams, () => resolveEndpoint(ruleSet, {
6
10
  endpointParams: endpointParams,
7
11
  logger: context.logger,
8
- });
12
+ }));
9
13
  };
10
14
  customEndpointFunctions.aws = awsEndpointFunctions;
@@ -18,6 +18,7 @@ export declare const getRuntimeConfig: (config: DataPipelineClientConfig) => {
18
18
  useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
19
19
  useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
20
20
  apiVersion: string;
21
+ cacheMiddleware?: boolean | undefined;
21
22
  urlParser: import("@smithy/types").UrlParser;
22
23
  base64Decoder: import("@smithy/types").Decoder;
23
24
  base64Encoder: (_input: string | Uint8Array) => string;
@@ -34,6 +35,7 @@ export declare const getRuntimeConfig: (config: DataPipelineClientConfig) => {
34
35
  logger?: import("@smithy/types").Logger | undefined;
35
36
  }) => import("@smithy/types").EndpointV2;
36
37
  tls?: boolean | undefined;
38
+ serviceConfiguredEndpoint?: undefined;
37
39
  httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
38
40
  httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").DataPipelineHttpAuthSchemeProvider;
39
41
  credentials?: import("@smithy/types").AwsCredentialIdentity | import("@smithy/types").AwsCredentialIdentityProvider | undefined;
@@ -18,6 +18,7 @@ export declare const getRuntimeConfig: (config: DataPipelineClientConfig) => {
18
18
  useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
19
19
  useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
20
20
  apiVersion: string;
21
+ cacheMiddleware?: boolean | undefined;
21
22
  urlParser: import("@smithy/types").UrlParser;
22
23
  base64Decoder: import("@smithy/types").Decoder;
23
24
  base64Encoder: (_input: string | Uint8Array) => string;
@@ -34,6 +35,7 @@ export declare const getRuntimeConfig: (config: DataPipelineClientConfig) => {
34
35
  logger?: import("@smithy/types").Logger | undefined;
35
36
  }) => import("@smithy/types").EndpointV2;
36
37
  tls?: boolean | undefined;
38
+ serviceConfiguredEndpoint?: undefined;
37
39
  httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
38
40
  httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").DataPipelineHttpAuthSchemeProvider;
39
41
  credentials?: import("@smithy/types").AwsCredentialIdentity | import("@smithy/types").AwsCredentialIdentityProvider | undefined;
@@ -7,6 +7,7 @@ export declare const getRuntimeConfig: (config: DataPipelineClientConfig) => {
7
7
  sha256: import("@smithy/types").HashConstructor;
8
8
  requestHandler: import("@smithy/types").NodeHttpHandlerOptions | import("@smithy/types").FetchHttpHandlerOptions | Record<string, unknown> | import("@smithy/protocol-http").HttpHandler<any> | import("@smithy/fetch-http-handler").FetchHttpHandler;
9
9
  apiVersion: string;
10
+ cacheMiddleware?: boolean | undefined;
10
11
  urlParser: import("@smithy/types").UrlParser;
11
12
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
12
13
  streamCollector: import("@smithy/types").StreamCollector;
@@ -33,6 +34,7 @@ export declare const getRuntimeConfig: (config: DataPipelineClientConfig) => {
33
34
  logger?: import("@smithy/types").Logger | undefined;
34
35
  }) => import("@smithy/types").EndpointV2;
35
36
  tls?: boolean | undefined;
37
+ serviceConfiguredEndpoint?: undefined;
36
38
  httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
37
39
  httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").DataPipelineHttpAuthSchemeProvider;
38
40
  credentials?: import("@smithy/types").AwsCredentialIdentity | import("@smithy/types").AwsCredentialIdentityProvider | undefined;
@@ -23,6 +23,7 @@ export declare const getRuntimeConfig: (config: DataPipelineClientConfig) => {
23
23
  useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
24
24
  useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
25
25
  apiVersion: string;
26
+ cacheMiddleware?: boolean | undefined;
26
27
  urlParser: import("@smithy/types").UrlParser;
27
28
  base64Decoder: import("@smithy/types").Decoder;
28
29
  base64Encoder: (_input: string | Uint8Array) => string;
@@ -61,6 +62,7 @@ export declare const getRuntimeConfig: (config: DataPipelineClientConfig) => {
61
62
  }
62
63
  ) => import("@smithy/types").EndpointV2;
63
64
  tls?: boolean | undefined;
65
+ serviceConfiguredEndpoint?: undefined;
64
66
  httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
65
67
  httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").DataPipelineHttpAuthSchemeProvider;
66
68
  credentials?:
@@ -27,6 +27,7 @@ export declare const getRuntimeConfig: (config: DataPipelineClientConfig) => {
27
27
  useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
28
28
  useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
29
29
  apiVersion: string;
30
+ cacheMiddleware?: boolean | undefined;
30
31
  urlParser: import("@smithy/types").UrlParser;
31
32
  base64Decoder: import("@smithy/types").Decoder;
32
33
  base64Encoder: (_input: string | Uint8Array) => string;
@@ -65,6 +66,7 @@ export declare const getRuntimeConfig: (config: DataPipelineClientConfig) => {
65
66
  }
66
67
  ) => import("@smithy/types").EndpointV2;
67
68
  tls?: boolean | undefined;
69
+ serviceConfiguredEndpoint?: undefined;
68
70
  httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
69
71
  httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").DataPipelineHttpAuthSchemeProvider;
70
72
  credentials?:
@@ -9,6 +9,7 @@ export declare const getRuntimeConfig: (config: DataPipelineClientConfig) => {
9
9
  | import("@smithy/protocol-http").HttpHandler<any>
10
10
  | import("@smithy/fetch-http-handler").FetchHttpHandler;
11
11
  apiVersion: string;
12
+ cacheMiddleware?: boolean | undefined;
12
13
  urlParser: import("@smithy/types").UrlParser;
13
14
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
14
15
  streamCollector: import("@smithy/types").StreamCollector;
@@ -55,6 +56,7 @@ export declare const getRuntimeConfig: (config: DataPipelineClientConfig) => {
55
56
  }
56
57
  ) => import("@smithy/types").EndpointV2;
57
58
  tls?: boolean | undefined;
59
+ serviceConfiguredEndpoint?: undefined;
58
60
  httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
59
61
  httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").DataPipelineHttpAuthSchemeProvider;
60
62
  credentials?:
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-data-pipeline",
3
3
  "description": "AWS SDK for JavaScript Data Pipeline Client for Node.js, Browser and React Native",
4
- "version": "3.645.0",
4
+ "version": "3.650.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-data-pipeline",
@@ -20,43 +20,43 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "5.2.0",
22
22
  "@aws-crypto/sha256-js": "5.2.0",
23
- "@aws-sdk/client-sso-oidc": "3.645.0",
24
- "@aws-sdk/client-sts": "3.645.0",
25
- "@aws-sdk/core": "3.635.0",
26
- "@aws-sdk/credential-provider-node": "3.645.0",
27
- "@aws-sdk/middleware-host-header": "3.620.0",
28
- "@aws-sdk/middleware-logger": "3.609.0",
29
- "@aws-sdk/middleware-recursion-detection": "3.620.0",
30
- "@aws-sdk/middleware-user-agent": "3.645.0",
31
- "@aws-sdk/region-config-resolver": "3.614.0",
32
- "@aws-sdk/types": "3.609.0",
33
- "@aws-sdk/util-endpoints": "3.645.0",
34
- "@aws-sdk/util-user-agent-browser": "3.609.0",
35
- "@aws-sdk/util-user-agent-node": "3.614.0",
36
- "@smithy/config-resolver": "^3.0.5",
37
- "@smithy/core": "^2.4.0",
38
- "@smithy/fetch-http-handler": "^3.2.4",
39
- "@smithy/hash-node": "^3.0.3",
40
- "@smithy/invalid-dependency": "^3.0.3",
41
- "@smithy/middleware-content-length": "^3.0.5",
42
- "@smithy/middleware-endpoint": "^3.1.0",
43
- "@smithy/middleware-retry": "^3.0.15",
44
- "@smithy/middleware-serde": "^3.0.3",
45
- "@smithy/middleware-stack": "^3.0.3",
46
- "@smithy/node-config-provider": "^3.1.4",
47
- "@smithy/node-http-handler": "^3.1.4",
48
- "@smithy/protocol-http": "^4.1.0",
49
- "@smithy/smithy-client": "^3.2.0",
50
- "@smithy/types": "^3.3.0",
51
- "@smithy/url-parser": "^3.0.3",
23
+ "@aws-sdk/client-sso-oidc": "3.650.0",
24
+ "@aws-sdk/client-sts": "3.650.0",
25
+ "@aws-sdk/core": "3.649.0",
26
+ "@aws-sdk/credential-provider-node": "3.650.0",
27
+ "@aws-sdk/middleware-host-header": "3.649.0",
28
+ "@aws-sdk/middleware-logger": "3.649.0",
29
+ "@aws-sdk/middleware-recursion-detection": "3.649.0",
30
+ "@aws-sdk/middleware-user-agent": "3.649.0",
31
+ "@aws-sdk/region-config-resolver": "3.649.0",
32
+ "@aws-sdk/types": "3.649.0",
33
+ "@aws-sdk/util-endpoints": "3.649.0",
34
+ "@aws-sdk/util-user-agent-browser": "3.649.0",
35
+ "@aws-sdk/util-user-agent-node": "3.649.0",
36
+ "@smithy/config-resolver": "^3.0.6",
37
+ "@smithy/core": "^2.4.1",
38
+ "@smithy/fetch-http-handler": "^3.2.5",
39
+ "@smithy/hash-node": "^3.0.4",
40
+ "@smithy/invalid-dependency": "^3.0.4",
41
+ "@smithy/middleware-content-length": "^3.0.6",
42
+ "@smithy/middleware-endpoint": "^3.1.1",
43
+ "@smithy/middleware-retry": "^3.0.16",
44
+ "@smithy/middleware-serde": "^3.0.4",
45
+ "@smithy/middleware-stack": "^3.0.4",
46
+ "@smithy/node-config-provider": "^3.1.5",
47
+ "@smithy/node-http-handler": "^3.2.0",
48
+ "@smithy/protocol-http": "^4.1.1",
49
+ "@smithy/smithy-client": "^3.3.0",
50
+ "@smithy/types": "^3.4.0",
51
+ "@smithy/url-parser": "^3.0.4",
52
52
  "@smithy/util-base64": "^3.0.0",
53
53
  "@smithy/util-body-length-browser": "^3.0.0",
54
54
  "@smithy/util-body-length-node": "^3.0.0",
55
- "@smithy/util-defaults-mode-browser": "^3.0.15",
56
- "@smithy/util-defaults-mode-node": "^3.0.15",
57
- "@smithy/util-endpoints": "^2.0.5",
58
- "@smithy/util-middleware": "^3.0.3",
59
- "@smithy/util-retry": "^3.0.3",
55
+ "@smithy/util-defaults-mode-browser": "^3.0.16",
56
+ "@smithy/util-defaults-mode-node": "^3.0.16",
57
+ "@smithy/util-endpoints": "^2.1.0",
58
+ "@smithy/util-middleware": "^3.0.4",
59
+ "@smithy/util-retry": "^3.0.4",
60
60
  "@smithy/util-utf8": "^3.0.0",
61
61
  "tslib": "^2.6.2"
62
62
  },