@aws-sdk/client-cloudhsm 3.649.0 → 3.651.1

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.
package/dist-cjs/index.js CHANGED
@@ -763,9 +763,7 @@ function sharedHeaders(operation) {
763
763
  __name(sharedHeaders, "sharedHeaders");
764
764
 
765
765
  // src/commands/AddTagsToResourceCommand.ts
766
- var _AddTagsToResourceCommand = class _AddTagsToResourceCommand extends import_smithy_client.Command.classBuilder().ep({
767
- ...commonParams
768
- }).m(function(Command, cs, config, o) {
766
+ var _AddTagsToResourceCommand = class _AddTagsToResourceCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
769
767
  return [
770
768
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
771
769
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -779,9 +777,7 @@ var AddTagsToResourceCommand = _AddTagsToResourceCommand;
779
777
 
780
778
 
781
779
 
782
- var _CreateHapgCommand = class _CreateHapgCommand extends import_smithy_client.Command.classBuilder().ep({
783
- ...commonParams
784
- }).m(function(Command, cs, config, o) {
780
+ var _CreateHapgCommand = class _CreateHapgCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
785
781
  return [
786
782
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
787
783
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -795,9 +791,7 @@ var CreateHapgCommand = _CreateHapgCommand;
795
791
 
796
792
 
797
793
 
798
- var _CreateHsmCommand = class _CreateHsmCommand extends import_smithy_client.Command.classBuilder().ep({
799
- ...commonParams
800
- }).m(function(Command, cs, config, o) {
794
+ var _CreateHsmCommand = class _CreateHsmCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
801
795
  return [
802
796
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
803
797
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -811,9 +805,7 @@ var CreateHsmCommand = _CreateHsmCommand;
811
805
 
812
806
 
813
807
 
814
- var _CreateLunaClientCommand = class _CreateLunaClientCommand extends import_smithy_client.Command.classBuilder().ep({
815
- ...commonParams
816
- }).m(function(Command, cs, config, o) {
808
+ var _CreateLunaClientCommand = class _CreateLunaClientCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
817
809
  return [
818
810
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
819
811
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -827,9 +819,7 @@ var CreateLunaClientCommand = _CreateLunaClientCommand;
827
819
 
828
820
 
829
821
 
830
- var _DeleteHapgCommand = class _DeleteHapgCommand extends import_smithy_client.Command.classBuilder().ep({
831
- ...commonParams
832
- }).m(function(Command, cs, config, o) {
822
+ var _DeleteHapgCommand = class _DeleteHapgCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
833
823
  return [
834
824
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
835
825
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -843,9 +833,7 @@ var DeleteHapgCommand = _DeleteHapgCommand;
843
833
 
844
834
 
845
835
 
846
- var _DeleteHsmCommand = class _DeleteHsmCommand extends import_smithy_client.Command.classBuilder().ep({
847
- ...commonParams
848
- }).m(function(Command, cs, config, o) {
836
+ var _DeleteHsmCommand = class _DeleteHsmCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
849
837
  return [
850
838
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
851
839
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -859,9 +847,7 @@ var DeleteHsmCommand = _DeleteHsmCommand;
859
847
 
860
848
 
861
849
 
862
- var _DeleteLunaClientCommand = class _DeleteLunaClientCommand extends import_smithy_client.Command.classBuilder().ep({
863
- ...commonParams
864
- }).m(function(Command, cs, config, o) {
850
+ var _DeleteLunaClientCommand = class _DeleteLunaClientCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
865
851
  return [
866
852
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
867
853
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -875,9 +861,7 @@ var DeleteLunaClientCommand = _DeleteLunaClientCommand;
875
861
 
876
862
 
877
863
 
878
- var _DescribeHapgCommand = class _DescribeHapgCommand extends import_smithy_client.Command.classBuilder().ep({
879
- ...commonParams
880
- }).m(function(Command, cs, config, o) {
864
+ var _DescribeHapgCommand = class _DescribeHapgCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
881
865
  return [
882
866
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
883
867
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -891,9 +875,7 @@ var DescribeHapgCommand = _DescribeHapgCommand;
891
875
 
892
876
 
893
877
 
894
- var _DescribeHsmCommand = class _DescribeHsmCommand extends import_smithy_client.Command.classBuilder().ep({
895
- ...commonParams
896
- }).m(function(Command, cs, config, o) {
878
+ var _DescribeHsmCommand = class _DescribeHsmCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
897
879
  return [
898
880
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
899
881
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -907,9 +889,7 @@ var DescribeHsmCommand = _DescribeHsmCommand;
907
889
 
908
890
 
909
891
 
910
- var _DescribeLunaClientCommand = class _DescribeLunaClientCommand extends import_smithy_client.Command.classBuilder().ep({
911
- ...commonParams
912
- }).m(function(Command, cs, config, o) {
892
+ var _DescribeLunaClientCommand = class _DescribeLunaClientCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
913
893
  return [
914
894
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
915
895
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -923,9 +903,7 @@ var DescribeLunaClientCommand = _DescribeLunaClientCommand;
923
903
 
924
904
 
925
905
 
926
- var _GetConfigCommand = class _GetConfigCommand extends import_smithy_client.Command.classBuilder().ep({
927
- ...commonParams
928
- }).m(function(Command, cs, config, o) {
906
+ var _GetConfigCommand = class _GetConfigCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
929
907
  return [
930
908
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
931
909
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -939,9 +917,7 @@ var GetConfigCommand = _GetConfigCommand;
939
917
 
940
918
 
941
919
 
942
- var _ListAvailableZonesCommand = class _ListAvailableZonesCommand extends import_smithy_client.Command.classBuilder().ep({
943
- ...commonParams
944
- }).m(function(Command, cs, config, o) {
920
+ var _ListAvailableZonesCommand = class _ListAvailableZonesCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
945
921
  return [
946
922
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
947
923
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -955,9 +931,7 @@ var ListAvailableZonesCommand = _ListAvailableZonesCommand;
955
931
 
956
932
 
957
933
 
958
- var _ListHapgsCommand = class _ListHapgsCommand extends import_smithy_client.Command.classBuilder().ep({
959
- ...commonParams
960
- }).m(function(Command, cs, config, o) {
934
+ var _ListHapgsCommand = class _ListHapgsCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
961
935
  return [
962
936
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
963
937
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -971,9 +945,7 @@ var ListHapgsCommand = _ListHapgsCommand;
971
945
 
972
946
 
973
947
 
974
- var _ListHsmsCommand = class _ListHsmsCommand extends import_smithy_client.Command.classBuilder().ep({
975
- ...commonParams
976
- }).m(function(Command, cs, config, o) {
948
+ var _ListHsmsCommand = class _ListHsmsCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
977
949
  return [
978
950
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
979
951
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -987,9 +959,7 @@ var ListHsmsCommand = _ListHsmsCommand;
987
959
 
988
960
 
989
961
 
990
- var _ListLunaClientsCommand = class _ListLunaClientsCommand extends import_smithy_client.Command.classBuilder().ep({
991
- ...commonParams
992
- }).m(function(Command, cs, config, o) {
962
+ var _ListLunaClientsCommand = class _ListLunaClientsCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
993
963
  return [
994
964
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
995
965
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -1003,9 +973,7 @@ var ListLunaClientsCommand = _ListLunaClientsCommand;
1003
973
 
1004
974
 
1005
975
 
1006
- var _ListTagsForResourceCommand = class _ListTagsForResourceCommand extends import_smithy_client.Command.classBuilder().ep({
1007
- ...commonParams
1008
- }).m(function(Command, cs, config, o) {
976
+ var _ListTagsForResourceCommand = class _ListTagsForResourceCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1009
977
  return [
1010
978
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1011
979
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -1019,9 +987,7 @@ var ListTagsForResourceCommand = _ListTagsForResourceCommand;
1019
987
 
1020
988
 
1021
989
 
1022
- var _ModifyHapgCommand = class _ModifyHapgCommand extends import_smithy_client.Command.classBuilder().ep({
1023
- ...commonParams
1024
- }).m(function(Command, cs, config, o) {
990
+ var _ModifyHapgCommand = class _ModifyHapgCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1025
991
  return [
1026
992
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1027
993
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -1035,9 +1001,7 @@ var ModifyHapgCommand = _ModifyHapgCommand;
1035
1001
 
1036
1002
 
1037
1003
 
1038
- var _ModifyHsmCommand = class _ModifyHsmCommand extends import_smithy_client.Command.classBuilder().ep({
1039
- ...commonParams
1040
- }).m(function(Command, cs, config, o) {
1004
+ var _ModifyHsmCommand = class _ModifyHsmCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1041
1005
  return [
1042
1006
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1043
1007
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -1051,9 +1015,7 @@ var ModifyHsmCommand = _ModifyHsmCommand;
1051
1015
 
1052
1016
 
1053
1017
 
1054
- var _ModifyLunaClientCommand = class _ModifyLunaClientCommand extends import_smithy_client.Command.classBuilder().ep({
1055
- ...commonParams
1056
- }).m(function(Command, cs, config, o) {
1018
+ var _ModifyLunaClientCommand = class _ModifyLunaClientCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1057
1019
  return [
1058
1020
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1059
1021
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -1067,9 +1029,7 @@ var ModifyLunaClientCommand = _ModifyLunaClientCommand;
1067
1029
 
1068
1030
 
1069
1031
 
1070
- var _RemoveTagsFromResourceCommand = class _RemoveTagsFromResourceCommand extends import_smithy_client.Command.classBuilder().ep({
1071
- ...commonParams
1072
- }).m(function(Command, cs, config, o) {
1032
+ var _RemoveTagsFromResourceCommand = class _RemoveTagsFromResourceCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1073
1033
  return [
1074
1034
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1075
1035
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -6,9 +6,7 @@ import { de_AddTagsToResourceCommand, se_AddTagsToResourceCommand } from "../pro
6
6
  export { $Command };
7
7
  export class AddTagsToResourceCommand 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_CreateHapgCommand, se_CreateHapgCommand } from "../protocols/Aws_jso
6
6
  export { $Command };
7
7
  export class CreateHapgCommand 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_CreateHsmCommand, se_CreateHsmCommand } from "../protocols/Aws_json1
6
6
  export { $Command };
7
7
  export class CreateHsmCommand 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_CreateLunaClientCommand, se_CreateLunaClientCommand } from "../proto
6
6
  export { $Command };
7
7
  export class CreateLunaClientCommand 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_DeleteHapgCommand, se_DeleteHapgCommand } from "../protocols/Aws_jso
6
6
  export { $Command };
7
7
  export class DeleteHapgCommand 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_DeleteHsmCommand, se_DeleteHsmCommand } from "../protocols/Aws_json1
6
6
  export { $Command };
7
7
  export class DeleteHsmCommand 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_DeleteLunaClientCommand, se_DeleteLunaClientCommand } from "../proto
6
6
  export { $Command };
7
7
  export class DeleteLunaClientCommand 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_DescribeHapgCommand, se_DescribeHapgCommand } from "../protocols/Aws
6
6
  export { $Command };
7
7
  export class DescribeHapgCommand 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_DescribeHsmCommand, se_DescribeHsmCommand } from "../protocols/Aws_j
6
6
  export { $Command };
7
7
  export class DescribeHsmCommand 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_DescribeLunaClientCommand, se_DescribeLunaClientCommand } from "../p
6
6
  export { $Command };
7
7
  export class DescribeLunaClientCommand 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_GetConfigCommand, se_GetConfigCommand } from "../protocols/Aws_json1
6
6
  export { $Command };
7
7
  export class GetConfigCommand 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_ListAvailableZonesCommand, se_ListAvailableZonesCommand } from "../p
6
6
  export { $Command };
7
7
  export class ListAvailableZonesCommand 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_ListHapgsCommand, se_ListHapgsCommand } from "../protocols/Aws_json1
6
6
  export { $Command };
7
7
  export class ListHapgsCommand 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_ListHsmsCommand, se_ListHsmsCommand } from "../protocols/Aws_json1_1
6
6
  export { $Command };
7
7
  export class ListHsmsCommand 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_ListLunaClientsCommand, se_ListLunaClientsCommand } from "../protoco
6
6
  export { $Command };
7
7
  export class ListLunaClientsCommand 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_ListTagsForResourceCommand, se_ListTagsForResourceCommand } from "..
6
6
  export { $Command };
7
7
  export class ListTagsForResourceCommand 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_ModifyHapgCommand, se_ModifyHapgCommand } from "../protocols/Aws_jso
6
6
  export { $Command };
7
7
  export class ModifyHapgCommand 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_ModifyHsmCommand, se_ModifyHsmCommand } from "../protocols/Aws_json1
6
6
  export { $Command };
7
7
  export class ModifyHsmCommand 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_ModifyLunaClientCommand, se_ModifyLunaClientCommand } from "../proto
6
6
  export { $Command };
7
7
  export class ModifyLunaClientCommand 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_RemoveTagsFromResourceCommand, se_RemoveTagsFromResourceCommand } fr
6
6
  export { $Command };
7
7
  export class RemoveTagsFromResourceCommand 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;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-cloudhsm",
3
3
  "description": "AWS SDK for JavaScript Cloudhsm Client for Node.js, Browser and React Native",
4
- "version": "3.649.0",
4
+ "version": "3.651.1",
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-cloudhsm",
@@ -20,10 +20,10 @@
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.649.0",
24
- "@aws-sdk/client-sts": "3.649.0",
25
- "@aws-sdk/core": "3.649.0",
26
- "@aws-sdk/credential-provider-node": "3.649.0",
23
+ "@aws-sdk/client-sso-oidc": "3.651.1",
24
+ "@aws-sdk/client-sts": "3.651.1",
25
+ "@aws-sdk/core": "3.651.1",
26
+ "@aws-sdk/credential-provider-node": "3.651.1",
27
27
  "@aws-sdk/middleware-host-header": "3.649.0",
28
28
  "@aws-sdk/middleware-logger": "3.649.0",
29
29
  "@aws-sdk/middleware-recursion-detection": "3.649.0",
@@ -1,11 +0,0 @@
1
- // This file is read by tools that parse documentation comments conforming to the TSDoc standard.
2
- // It should be published with your NPM package. It should not be tracked by Git.
3
- {
4
- "tsdocVersion": "0.12",
5
- "toolPackages": [
6
- {
7
- "packageName": "@microsoft/api-extractor",
8
- "packageVersion": "7.34.4"
9
- }
10
- ]
11
- }