@aws-sdk/client-elastic-load-balancing 3.943.0 → 3.947.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.
- package/dist-cjs/index.js +22 -110
- package/dist-cjs/runtimeConfig.browser.js +2 -2
- package/dist-cjs/runtimeConfig.js +3 -4
- package/dist-es/ElasticLoadBalancingClient.js +2 -2
- package/dist-es/runtimeConfig.browser.js +2 -2
- package/dist-es/runtimeConfig.js +2 -3
- package/dist-es/schemas/schemas_0.js +22 -110
- package/dist-types/ElasticLoadBalancing.d.ts +1 -1
- package/dist-types/ElasticLoadBalancingClient.d.ts +10 -10
- package/dist-types/auth/httpAuthExtensionConfiguration.d.ts +2 -2
- package/dist-types/auth/httpAuthSchemeProvider.d.ts +2 -2
- package/dist-types/commands/AddTagsCommand.d.ts +3 -3
- package/dist-types/commands/ApplySecurityGroupsToLoadBalancerCommand.d.ts +3 -3
- package/dist-types/commands/AttachLoadBalancerToSubnetsCommand.d.ts +3 -3
- package/dist-types/commands/ConfigureHealthCheckCommand.d.ts +3 -3
- package/dist-types/commands/CreateAppCookieStickinessPolicyCommand.d.ts +3 -3
- package/dist-types/commands/CreateLBCookieStickinessPolicyCommand.d.ts +3 -3
- package/dist-types/commands/CreateLoadBalancerCommand.d.ts +3 -3
- package/dist-types/commands/CreateLoadBalancerListenersCommand.d.ts +3 -3
- package/dist-types/commands/CreateLoadBalancerPolicyCommand.d.ts +3 -3
- package/dist-types/commands/DeleteLoadBalancerCommand.d.ts +3 -3
- package/dist-types/commands/DeleteLoadBalancerListenersCommand.d.ts +3 -3
- package/dist-types/commands/DeleteLoadBalancerPolicyCommand.d.ts +3 -3
- package/dist-types/commands/DeregisterInstancesFromLoadBalancerCommand.d.ts +3 -3
- package/dist-types/commands/DescribeAccountLimitsCommand.d.ts +3 -3
- package/dist-types/commands/DescribeInstanceHealthCommand.d.ts +3 -3
- package/dist-types/commands/DescribeLoadBalancerAttributesCommand.d.ts +3 -3
- package/dist-types/commands/DescribeLoadBalancerPoliciesCommand.d.ts +3 -3
- package/dist-types/commands/DescribeLoadBalancerPolicyTypesCommand.d.ts +3 -3
- package/dist-types/commands/DescribeLoadBalancersCommand.d.ts +3 -3
- package/dist-types/commands/DescribeTagsCommand.d.ts +3 -3
- package/dist-types/commands/DetachLoadBalancerFromSubnetsCommand.d.ts +3 -3
- package/dist-types/commands/DisableAvailabilityZonesForLoadBalancerCommand.d.ts +3 -3
- package/dist-types/commands/EnableAvailabilityZonesForLoadBalancerCommand.d.ts +3 -3
- package/dist-types/commands/ModifyLoadBalancerAttributesCommand.d.ts +3 -3
- package/dist-types/commands/RegisterInstancesWithLoadBalancerCommand.d.ts +3 -3
- package/dist-types/commands/RemoveTagsCommand.d.ts +3 -3
- package/dist-types/commands/SetLoadBalancerListenerSSLCertificateCommand.d.ts +3 -3
- package/dist-types/commands/SetLoadBalancerPoliciesForBackendServerCommand.d.ts +3 -3
- package/dist-types/commands/SetLoadBalancerPoliciesOfListenerCommand.d.ts +3 -3
- package/dist-types/endpoint/EndpointParameters.d.ts +13 -1
- package/dist-types/endpoint/endpointResolver.d.ts +5 -2
- package/dist-types/extensionConfiguration.d.ts +4 -4
- package/dist-types/models/ElasticLoadBalancingServiceException.d.ts +1 -1
- package/dist-types/models/errors.d.ts +1 -1
- package/dist-types/pagination/DescribeLoadBalancersPaginator.d.ts +1 -1
- package/dist-types/pagination/Interfaces.d.ts +1 -1
- package/dist-types/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/runtimeConfig.d.ts +1 -1
- package/dist-types/runtimeConfig.native.d.ts +1 -1
- package/dist-types/runtimeConfig.shared.d.ts +1 -1
- package/dist-types/runtimeExtensions.d.ts +1 -1
- package/dist-types/schemas/schemas_0.d.ts +1 -1
- package/dist-types/ts3.4/ElasticLoadBalancingClient.d.ts +3 -3
- package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +1 -1
- package/dist-types/ts3.4/models/ElasticLoadBalancingServiceException.d.ts +1 -1
- package/package.json +13 -12
package/dist-cjs/index.js
CHANGED
|
@@ -645,11 +645,7 @@ var AccessPointNotFoundException = [
|
|
|
645
645
|
-3,
|
|
646
646
|
n0,
|
|
647
647
|
_APNFE,
|
|
648
|
-
{
|
|
649
|
-
[_e]: _c,
|
|
650
|
-
[_hE]: 400,
|
|
651
|
-
[_aQE]: [`LoadBalancerNotFound`, 400],
|
|
652
|
-
},
|
|
648
|
+
{ [_e]: _c, [_hE]: 400, [_aQE]: [`LoadBalancerNotFound`, 400] },
|
|
653
649
|
[_M],
|
|
654
650
|
[0],
|
|
655
651
|
];
|
|
@@ -676,11 +672,7 @@ var CertificateNotFoundException = [
|
|
|
676
672
|
-3,
|
|
677
673
|
n0,
|
|
678
674
|
_CNFE,
|
|
679
|
-
{
|
|
680
|
-
[_e]: _c,
|
|
681
|
-
[_hE]: 400,
|
|
682
|
-
[_aQE]: [`CertificateNotFound`, 400],
|
|
683
|
-
},
|
|
675
|
+
{ [_e]: _c, [_hE]: 400, [_aQE]: [`CertificateNotFound`, 400] },
|
|
684
676
|
[_M],
|
|
685
677
|
[0],
|
|
686
678
|
];
|
|
@@ -745,11 +737,7 @@ var DependencyThrottleException = [
|
|
|
745
737
|
-3,
|
|
746
738
|
n0,
|
|
747
739
|
_DTE,
|
|
748
|
-
{
|
|
749
|
-
[_e]: _c,
|
|
750
|
-
[_hE]: 400,
|
|
751
|
-
[_aQE]: [`DependencyThrottle`, 400],
|
|
752
|
-
},
|
|
740
|
+
{ [_e]: _c, [_hE]: 400, [_aQE]: [`DependencyThrottle`, 400] },
|
|
753
741
|
[_M],
|
|
754
742
|
[0],
|
|
755
743
|
];
|
|
@@ -804,11 +792,7 @@ var DuplicateAccessPointNameException = [
|
|
|
804
792
|
-3,
|
|
805
793
|
n0,
|
|
806
794
|
_DAPNE,
|
|
807
|
-
{
|
|
808
|
-
[_e]: _c,
|
|
809
|
-
[_hE]: 400,
|
|
810
|
-
[_aQE]: [`DuplicateLoadBalancerName`, 400],
|
|
811
|
-
},
|
|
795
|
+
{ [_e]: _c, [_hE]: 400, [_aQE]: [`DuplicateLoadBalancerName`, 400] },
|
|
812
796
|
[_M],
|
|
813
797
|
[0],
|
|
814
798
|
];
|
|
@@ -817,11 +801,7 @@ var DuplicateListenerException = [
|
|
|
817
801
|
-3,
|
|
818
802
|
n0,
|
|
819
803
|
_DLE,
|
|
820
|
-
{
|
|
821
|
-
[_e]: _c,
|
|
822
|
-
[_hE]: 400,
|
|
823
|
-
[_aQE]: [`DuplicateListener`, 400],
|
|
824
|
-
},
|
|
804
|
+
{ [_e]: _c, [_hE]: 400, [_aQE]: [`DuplicateListener`, 400] },
|
|
825
805
|
[_M],
|
|
826
806
|
[0],
|
|
827
807
|
];
|
|
@@ -830,11 +810,7 @@ var DuplicatePolicyNameException = [
|
|
|
830
810
|
-3,
|
|
831
811
|
n0,
|
|
832
812
|
_DPNE,
|
|
833
|
-
{
|
|
834
|
-
[_e]: _c,
|
|
835
|
-
[_hE]: 400,
|
|
836
|
-
[_aQE]: [`DuplicatePolicyName`, 400],
|
|
837
|
-
},
|
|
813
|
+
{ [_e]: _c, [_hE]: 400, [_aQE]: [`DuplicatePolicyName`, 400] },
|
|
838
814
|
[_M],
|
|
839
815
|
[0],
|
|
840
816
|
];
|
|
@@ -843,11 +819,7 @@ var DuplicateTagKeysException = [
|
|
|
843
819
|
-3,
|
|
844
820
|
n0,
|
|
845
821
|
_DTKE,
|
|
846
|
-
{
|
|
847
|
-
[_e]: _c,
|
|
848
|
-
[_hE]: 400,
|
|
849
|
-
[_aQE]: [`DuplicateTagKeys`, 400],
|
|
850
|
-
},
|
|
822
|
+
{ [_e]: _c, [_hE]: 400, [_aQE]: [`DuplicateTagKeys`, 400] },
|
|
851
823
|
[_M],
|
|
852
824
|
[0],
|
|
853
825
|
];
|
|
@@ -859,11 +831,7 @@ var InvalidConfigurationRequestException = [
|
|
|
859
831
|
-3,
|
|
860
832
|
n0,
|
|
861
833
|
_ICRE,
|
|
862
|
-
{
|
|
863
|
-
[_e]: _c,
|
|
864
|
-
[_hE]: 409,
|
|
865
|
-
[_aQE]: [`InvalidConfigurationRequest`, 409],
|
|
866
|
-
},
|
|
834
|
+
{ [_e]: _c, [_hE]: 409, [_aQE]: [`InvalidConfigurationRequest`, 409] },
|
|
867
835
|
[_M],
|
|
868
836
|
[0],
|
|
869
837
|
];
|
|
@@ -872,11 +840,7 @@ var InvalidEndPointException = [
|
|
|
872
840
|
-3,
|
|
873
841
|
n0,
|
|
874
842
|
_IEPE,
|
|
875
|
-
{
|
|
876
|
-
[_e]: _c,
|
|
877
|
-
[_hE]: 400,
|
|
878
|
-
[_aQE]: [`InvalidInstance`, 400],
|
|
879
|
-
},
|
|
843
|
+
{ [_e]: _c, [_hE]: 400, [_aQE]: [`InvalidInstance`, 400] },
|
|
880
844
|
[_M],
|
|
881
845
|
[0],
|
|
882
846
|
];
|
|
@@ -885,11 +849,7 @@ var InvalidSchemeException = [
|
|
|
885
849
|
-3,
|
|
886
850
|
n0,
|
|
887
851
|
_ISE,
|
|
888
|
-
{
|
|
889
|
-
[_e]: _c,
|
|
890
|
-
[_hE]: 400,
|
|
891
|
-
[_aQE]: [`InvalidScheme`, 400],
|
|
892
|
-
},
|
|
852
|
+
{ [_e]: _c, [_hE]: 400, [_aQE]: [`InvalidScheme`, 400] },
|
|
893
853
|
[_M],
|
|
894
854
|
[0],
|
|
895
855
|
];
|
|
@@ -898,11 +858,7 @@ var InvalidSecurityGroupException = [
|
|
|
898
858
|
-3,
|
|
899
859
|
n0,
|
|
900
860
|
_ISGE,
|
|
901
|
-
{
|
|
902
|
-
[_e]: _c,
|
|
903
|
-
[_hE]: 400,
|
|
904
|
-
[_aQE]: [`InvalidSecurityGroup`, 400],
|
|
905
|
-
},
|
|
861
|
+
{ [_e]: _c, [_hE]: 400, [_aQE]: [`InvalidSecurityGroup`, 400] },
|
|
906
862
|
[_M],
|
|
907
863
|
[0],
|
|
908
864
|
];
|
|
@@ -911,11 +867,7 @@ var InvalidSubnetException = [
|
|
|
911
867
|
-3,
|
|
912
868
|
n0,
|
|
913
869
|
_ISEn,
|
|
914
|
-
{
|
|
915
|
-
[_e]: _c,
|
|
916
|
-
[_hE]: 400,
|
|
917
|
-
[_aQE]: [`InvalidSubnet`, 400],
|
|
918
|
-
},
|
|
870
|
+
{ [_e]: _c, [_hE]: 400, [_aQE]: [`InvalidSubnet`, 400] },
|
|
919
871
|
[_M],
|
|
920
872
|
[0],
|
|
921
873
|
];
|
|
@@ -928,11 +880,7 @@ var ListenerNotFoundException = [
|
|
|
928
880
|
-3,
|
|
929
881
|
n0,
|
|
930
882
|
_LNFE,
|
|
931
|
-
{
|
|
932
|
-
[_e]: _c,
|
|
933
|
-
[_hE]: 400,
|
|
934
|
-
[_aQE]: [`ListenerNotFound`, 400],
|
|
935
|
-
},
|
|
883
|
+
{ [_e]: _c, [_hE]: 400, [_aQE]: [`ListenerNotFound`, 400] },
|
|
936
884
|
[_M],
|
|
937
885
|
[0],
|
|
938
886
|
];
|
|
@@ -941,11 +889,7 @@ var LoadBalancerAttributeNotFoundException = [
|
|
|
941
889
|
-3,
|
|
942
890
|
n0,
|
|
943
891
|
_LBANFE,
|
|
944
|
-
{
|
|
945
|
-
[_e]: _c,
|
|
946
|
-
[_hE]: 400,
|
|
947
|
-
[_aQE]: [`LoadBalancerAttributeNotFound`, 400],
|
|
948
|
-
},
|
|
892
|
+
{ [_e]: _c, [_hE]: 400, [_aQE]: [`LoadBalancerAttributeNotFound`, 400] },
|
|
949
893
|
[_M],
|
|
950
894
|
[0],
|
|
951
895
|
];
|
|
@@ -1009,11 +953,7 @@ var OperationNotPermittedException = [
|
|
|
1009
953
|
-3,
|
|
1010
954
|
n0,
|
|
1011
955
|
_ONPE,
|
|
1012
|
-
{
|
|
1013
|
-
[_e]: _c,
|
|
1014
|
-
[_hE]: 400,
|
|
1015
|
-
[_aQE]: [`OperationNotPermitted`, 400],
|
|
1016
|
-
},
|
|
956
|
+
{ [_e]: _c, [_hE]: 400, [_aQE]: [`OperationNotPermitted`, 400] },
|
|
1017
957
|
[_M],
|
|
1018
958
|
[0],
|
|
1019
959
|
];
|
|
@@ -1048,11 +988,7 @@ var PolicyNotFoundException = [
|
|
|
1048
988
|
-3,
|
|
1049
989
|
n0,
|
|
1050
990
|
_PNFE,
|
|
1051
|
-
{
|
|
1052
|
-
[_e]: _c,
|
|
1053
|
-
[_hE]: 400,
|
|
1054
|
-
[_aQE]: [`PolicyNotFound`, 400],
|
|
1055
|
-
},
|
|
991
|
+
{ [_e]: _c, [_hE]: 400, [_aQE]: [`PolicyNotFound`, 400] },
|
|
1056
992
|
[_M],
|
|
1057
993
|
[0],
|
|
1058
994
|
];
|
|
@@ -1069,11 +1005,7 @@ var PolicyTypeNotFoundException = [
|
|
|
1069
1005
|
-3,
|
|
1070
1006
|
n0,
|
|
1071
1007
|
_PTNFE,
|
|
1072
|
-
{
|
|
1073
|
-
[_e]: _c,
|
|
1074
|
-
[_hE]: 400,
|
|
1075
|
-
[_aQE]: [`PolicyTypeNotFound`, 400],
|
|
1076
|
-
},
|
|
1008
|
+
{ [_e]: _c, [_hE]: 400, [_aQE]: [`PolicyTypeNotFound`, 400] },
|
|
1077
1009
|
[_M],
|
|
1078
1010
|
[0],
|
|
1079
1011
|
];
|
|
@@ -1116,11 +1048,7 @@ var SubnetNotFoundException = [
|
|
|
1116
1048
|
-3,
|
|
1117
1049
|
n0,
|
|
1118
1050
|
_SNFE,
|
|
1119
|
-
{
|
|
1120
|
-
[_e]: _c,
|
|
1121
|
-
[_hE]: 400,
|
|
1122
|
-
[_aQE]: [`SubnetNotFound`, 400],
|
|
1123
|
-
},
|
|
1051
|
+
{ [_e]: _c, [_hE]: 400, [_aQE]: [`SubnetNotFound`, 400] },
|
|
1124
1052
|
[_M],
|
|
1125
1053
|
[0],
|
|
1126
1054
|
];
|
|
@@ -1132,11 +1060,7 @@ var TooManyAccessPointsException = [
|
|
|
1132
1060
|
-3,
|
|
1133
1061
|
n0,
|
|
1134
1062
|
_TMAPE,
|
|
1135
|
-
{
|
|
1136
|
-
[_e]: _c,
|
|
1137
|
-
[_hE]: 400,
|
|
1138
|
-
[_aQE]: [`TooManyLoadBalancers`, 400],
|
|
1139
|
-
},
|
|
1063
|
+
{ [_e]: _c, [_hE]: 400, [_aQE]: [`TooManyLoadBalancers`, 400] },
|
|
1140
1064
|
[_M],
|
|
1141
1065
|
[0],
|
|
1142
1066
|
];
|
|
@@ -1145,11 +1069,7 @@ var TooManyPoliciesException = [
|
|
|
1145
1069
|
-3,
|
|
1146
1070
|
n0,
|
|
1147
1071
|
_TMPE,
|
|
1148
|
-
{
|
|
1149
|
-
[_e]: _c,
|
|
1150
|
-
[_hE]: 400,
|
|
1151
|
-
[_aQE]: [`TooManyPolicies`, 400],
|
|
1152
|
-
},
|
|
1072
|
+
{ [_e]: _c, [_hE]: 400, [_aQE]: [`TooManyPolicies`, 400] },
|
|
1153
1073
|
[_M],
|
|
1154
1074
|
[0],
|
|
1155
1075
|
];
|
|
@@ -1158,11 +1078,7 @@ var TooManyTagsException = [
|
|
|
1158
1078
|
-3,
|
|
1159
1079
|
n0,
|
|
1160
1080
|
_TMTE,
|
|
1161
|
-
{
|
|
1162
|
-
[_e]: _c,
|
|
1163
|
-
[_hE]: 400,
|
|
1164
|
-
[_aQE]: [`TooManyTags`, 400],
|
|
1165
|
-
},
|
|
1081
|
+
{ [_e]: _c, [_hE]: 400, [_aQE]: [`TooManyTags`, 400] },
|
|
1166
1082
|
[_M],
|
|
1167
1083
|
[0],
|
|
1168
1084
|
];
|
|
@@ -1171,11 +1087,7 @@ var UnsupportedProtocolException = [
|
|
|
1171
1087
|
-3,
|
|
1172
1088
|
n0,
|
|
1173
1089
|
_UPE,
|
|
1174
|
-
{
|
|
1175
|
-
[_e]: _c,
|
|
1176
|
-
[_hE]: 400,
|
|
1177
|
-
[_aQE]: [`UnsupportedProtocol`, 400],
|
|
1178
|
-
},
|
|
1090
|
+
{ [_e]: _c, [_hE]: 400, [_aQE]: [`UnsupportedProtocol`, 400] },
|
|
1179
1091
|
[_M],
|
|
1180
1092
|
[0],
|
|
1181
1093
|
];
|
|
@@ -8,11 +8,11 @@ const util_user_agent_browser_1 = require("@aws-sdk/util-user-agent-browser");
|
|
|
8
8
|
const config_resolver_1 = require("@smithy/config-resolver");
|
|
9
9
|
const fetch_http_handler_1 = require("@smithy/fetch-http-handler");
|
|
10
10
|
const invalid_dependency_1 = require("@smithy/invalid-dependency");
|
|
11
|
+
const smithy_client_1 = require("@smithy/smithy-client");
|
|
11
12
|
const util_body_length_browser_1 = require("@smithy/util-body-length-browser");
|
|
13
|
+
const util_defaults_mode_browser_1 = require("@smithy/util-defaults-mode-browser");
|
|
12
14
|
const util_retry_1 = require("@smithy/util-retry");
|
|
13
15
|
const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
|
|
14
|
-
const smithy_client_1 = require("@smithy/smithy-client");
|
|
15
|
-
const util_defaults_mode_browser_1 = require("@smithy/util-defaults-mode-browser");
|
|
16
16
|
const getRuntimeConfig = (config) => {
|
|
17
17
|
const defaultsMode = (0, util_defaults_mode_browser_1.resolveDefaultsModeConfig)(config);
|
|
18
18
|
const defaultConfigProvider = () => defaultsMode().then(smithy_client_1.loadConfigsForDefaultMode);
|
|
@@ -11,14 +11,13 @@ const hash_node_1 = require("@smithy/hash-node");
|
|
|
11
11
|
const middleware_retry_1 = require("@smithy/middleware-retry");
|
|
12
12
|
const node_config_provider_1 = require("@smithy/node-config-provider");
|
|
13
13
|
const node_http_handler_1 = require("@smithy/node-http-handler");
|
|
14
|
+
const smithy_client_1 = require("@smithy/smithy-client");
|
|
14
15
|
const util_body_length_node_1 = require("@smithy/util-body-length-node");
|
|
16
|
+
const util_defaults_mode_node_1 = require("@smithy/util-defaults-mode-node");
|
|
15
17
|
const util_retry_1 = require("@smithy/util-retry");
|
|
16
18
|
const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
|
|
17
|
-
const smithy_client_1 = require("@smithy/smithy-client");
|
|
18
|
-
const util_defaults_mode_node_1 = require("@smithy/util-defaults-mode-node");
|
|
19
|
-
const smithy_client_2 = require("@smithy/smithy-client");
|
|
20
19
|
const getRuntimeConfig = (config) => {
|
|
21
|
-
(0,
|
|
20
|
+
(0, smithy_client_1.emitWarningIfUnsupportedVersion)(process.version);
|
|
22
21
|
const defaultsMode = (0, util_defaults_mode_node_1.resolveDefaultsModeConfig)(config);
|
|
23
22
|
const defaultConfigProvider = () => defaultsMode().then(smithy_client_1.loadConfigsForDefaultMode);
|
|
24
23
|
const clientSharedValues = (0, runtimeConfig_shared_1.getRuntimeConfig)(config);
|
|
@@ -6,8 +6,8 @@ import { resolveRegionConfig } from "@smithy/config-resolver";
|
|
|
6
6
|
import { DefaultIdentityProviderConfig, getHttpAuthSchemeEndpointRuleSetPlugin, getHttpSigningPlugin, } from "@smithy/core";
|
|
7
7
|
import { getSchemaSerdePlugin } from "@smithy/core/schema";
|
|
8
8
|
import { getContentLengthPlugin } from "@smithy/middleware-content-length";
|
|
9
|
-
import { resolveEndpointConfig } from "@smithy/middleware-endpoint";
|
|
10
|
-
import { getRetryPlugin, resolveRetryConfig } from "@smithy/middleware-retry";
|
|
9
|
+
import { resolveEndpointConfig, } from "@smithy/middleware-endpoint";
|
|
10
|
+
import { getRetryPlugin, resolveRetryConfig, } from "@smithy/middleware-retry";
|
|
11
11
|
import { Client as __Client, } from "@smithy/smithy-client";
|
|
12
12
|
import { defaultElasticLoadBalancingHttpAuthSchemeParametersProvider, resolveHttpAuthSchemeConfig, } from "./auth/httpAuthSchemeProvider";
|
|
13
13
|
import { resolveClientEndpointParameters, } from "./endpoint/EndpointParameters";
|
|
@@ -4,11 +4,11 @@ import { createDefaultUserAgentProvider } from "@aws-sdk/util-user-agent-browser
|
|
|
4
4
|
import { DEFAULT_USE_DUALSTACK_ENDPOINT, DEFAULT_USE_FIPS_ENDPOINT } from "@smithy/config-resolver";
|
|
5
5
|
import { FetchHttpHandler as RequestHandler, streamCollector } from "@smithy/fetch-http-handler";
|
|
6
6
|
import { invalidProvider } from "@smithy/invalid-dependency";
|
|
7
|
+
import { loadConfigsForDefaultMode } from "@smithy/smithy-client";
|
|
7
8
|
import { calculateBodyLength } from "@smithy/util-body-length-browser";
|
|
9
|
+
import { resolveDefaultsModeConfig } from "@smithy/util-defaults-mode-browser";
|
|
8
10
|
import { DEFAULT_MAX_ATTEMPTS, DEFAULT_RETRY_MODE } from "@smithy/util-retry";
|
|
9
11
|
import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
|
|
10
|
-
import { loadConfigsForDefaultMode } from "@smithy/smithy-client";
|
|
11
|
-
import { resolveDefaultsModeConfig } from "@smithy/util-defaults-mode-browser";
|
|
12
12
|
export const getRuntimeConfig = (config) => {
|
|
13
13
|
const defaultsMode = resolveDefaultsModeConfig(config);
|
|
14
14
|
const defaultConfigProvider = () => defaultsMode().then(loadConfigsForDefaultMode);
|
package/dist-es/runtimeConfig.js
CHANGED
|
@@ -7,12 +7,11 @@ import { Hash } from "@smithy/hash-node";
|
|
|
7
7
|
import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS, NODE_RETRY_MODE_CONFIG_OPTIONS } from "@smithy/middleware-retry";
|
|
8
8
|
import { loadConfig as loadNodeConfig } from "@smithy/node-config-provider";
|
|
9
9
|
import { NodeHttpHandler as RequestHandler, streamCollector } from "@smithy/node-http-handler";
|
|
10
|
+
import { emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode } from "@smithy/smithy-client";
|
|
10
11
|
import { calculateBodyLength } from "@smithy/util-body-length-node";
|
|
12
|
+
import { resolveDefaultsModeConfig } from "@smithy/util-defaults-mode-node";
|
|
11
13
|
import { DEFAULT_RETRY_MODE } from "@smithy/util-retry";
|
|
12
14
|
import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
|
|
13
|
-
import { loadConfigsForDefaultMode } from "@smithy/smithy-client";
|
|
14
|
-
import { resolveDefaultsModeConfig } from "@smithy/util-defaults-mode-node";
|
|
15
|
-
import { emitWarningIfUnsupportedVersion } from "@smithy/smithy-client";
|
|
16
15
|
export const getRuntimeConfig = (config) => {
|
|
17
16
|
emitWarningIfUnsupportedVersion(process.version);
|
|
18
17
|
const defaultsMode = resolveDefaultsModeConfig(config);
|
|
@@ -219,11 +219,7 @@ export var AccessPointNotFoundException = [
|
|
|
219
219
|
-3,
|
|
220
220
|
n0,
|
|
221
221
|
_APNFE,
|
|
222
|
-
{
|
|
223
|
-
[_e]: _c,
|
|
224
|
-
[_hE]: 400,
|
|
225
|
-
[_aQE]: [`LoadBalancerNotFound`, 400],
|
|
226
|
-
},
|
|
222
|
+
{ [_e]: _c, [_hE]: 400, [_aQE]: [`LoadBalancerNotFound`, 400] },
|
|
227
223
|
[_M],
|
|
228
224
|
[0],
|
|
229
225
|
];
|
|
@@ -250,11 +246,7 @@ export var CertificateNotFoundException = [
|
|
|
250
246
|
-3,
|
|
251
247
|
n0,
|
|
252
248
|
_CNFE,
|
|
253
|
-
{
|
|
254
|
-
[_e]: _c,
|
|
255
|
-
[_hE]: 400,
|
|
256
|
-
[_aQE]: [`CertificateNotFound`, 400],
|
|
257
|
-
},
|
|
249
|
+
{ [_e]: _c, [_hE]: 400, [_aQE]: [`CertificateNotFound`, 400] },
|
|
258
250
|
[_M],
|
|
259
251
|
[0],
|
|
260
252
|
];
|
|
@@ -319,11 +311,7 @@ export var DependencyThrottleException = [
|
|
|
319
311
|
-3,
|
|
320
312
|
n0,
|
|
321
313
|
_DTE,
|
|
322
|
-
{
|
|
323
|
-
[_e]: _c,
|
|
324
|
-
[_hE]: 400,
|
|
325
|
-
[_aQE]: [`DependencyThrottle`, 400],
|
|
326
|
-
},
|
|
314
|
+
{ [_e]: _c, [_hE]: 400, [_aQE]: [`DependencyThrottle`, 400] },
|
|
327
315
|
[_M],
|
|
328
316
|
[0],
|
|
329
317
|
];
|
|
@@ -378,11 +366,7 @@ export var DuplicateAccessPointNameException = [
|
|
|
378
366
|
-3,
|
|
379
367
|
n0,
|
|
380
368
|
_DAPNE,
|
|
381
|
-
{
|
|
382
|
-
[_e]: _c,
|
|
383
|
-
[_hE]: 400,
|
|
384
|
-
[_aQE]: [`DuplicateLoadBalancerName`, 400],
|
|
385
|
-
},
|
|
369
|
+
{ [_e]: _c, [_hE]: 400, [_aQE]: [`DuplicateLoadBalancerName`, 400] },
|
|
386
370
|
[_M],
|
|
387
371
|
[0],
|
|
388
372
|
];
|
|
@@ -391,11 +375,7 @@ export var DuplicateListenerException = [
|
|
|
391
375
|
-3,
|
|
392
376
|
n0,
|
|
393
377
|
_DLE,
|
|
394
|
-
{
|
|
395
|
-
[_e]: _c,
|
|
396
|
-
[_hE]: 400,
|
|
397
|
-
[_aQE]: [`DuplicateListener`, 400],
|
|
398
|
-
},
|
|
378
|
+
{ [_e]: _c, [_hE]: 400, [_aQE]: [`DuplicateListener`, 400] },
|
|
399
379
|
[_M],
|
|
400
380
|
[0],
|
|
401
381
|
];
|
|
@@ -404,11 +384,7 @@ export var DuplicatePolicyNameException = [
|
|
|
404
384
|
-3,
|
|
405
385
|
n0,
|
|
406
386
|
_DPNE,
|
|
407
|
-
{
|
|
408
|
-
[_e]: _c,
|
|
409
|
-
[_hE]: 400,
|
|
410
|
-
[_aQE]: [`DuplicatePolicyName`, 400],
|
|
411
|
-
},
|
|
387
|
+
{ [_e]: _c, [_hE]: 400, [_aQE]: [`DuplicatePolicyName`, 400] },
|
|
412
388
|
[_M],
|
|
413
389
|
[0],
|
|
414
390
|
];
|
|
@@ -417,11 +393,7 @@ export var DuplicateTagKeysException = [
|
|
|
417
393
|
-3,
|
|
418
394
|
n0,
|
|
419
395
|
_DTKE,
|
|
420
|
-
{
|
|
421
|
-
[_e]: _c,
|
|
422
|
-
[_hE]: 400,
|
|
423
|
-
[_aQE]: [`DuplicateTagKeys`, 400],
|
|
424
|
-
},
|
|
396
|
+
{ [_e]: _c, [_hE]: 400, [_aQE]: [`DuplicateTagKeys`, 400] },
|
|
425
397
|
[_M],
|
|
426
398
|
[0],
|
|
427
399
|
];
|
|
@@ -433,11 +405,7 @@ export var InvalidConfigurationRequestException = [
|
|
|
433
405
|
-3,
|
|
434
406
|
n0,
|
|
435
407
|
_ICRE,
|
|
436
|
-
{
|
|
437
|
-
[_e]: _c,
|
|
438
|
-
[_hE]: 409,
|
|
439
|
-
[_aQE]: [`InvalidConfigurationRequest`, 409],
|
|
440
|
-
},
|
|
408
|
+
{ [_e]: _c, [_hE]: 409, [_aQE]: [`InvalidConfigurationRequest`, 409] },
|
|
441
409
|
[_M],
|
|
442
410
|
[0],
|
|
443
411
|
];
|
|
@@ -446,11 +414,7 @@ export var InvalidEndPointException = [
|
|
|
446
414
|
-3,
|
|
447
415
|
n0,
|
|
448
416
|
_IEPE,
|
|
449
|
-
{
|
|
450
|
-
[_e]: _c,
|
|
451
|
-
[_hE]: 400,
|
|
452
|
-
[_aQE]: [`InvalidInstance`, 400],
|
|
453
|
-
},
|
|
417
|
+
{ [_e]: _c, [_hE]: 400, [_aQE]: [`InvalidInstance`, 400] },
|
|
454
418
|
[_M],
|
|
455
419
|
[0],
|
|
456
420
|
];
|
|
@@ -459,11 +423,7 @@ export var InvalidSchemeException = [
|
|
|
459
423
|
-3,
|
|
460
424
|
n0,
|
|
461
425
|
_ISE,
|
|
462
|
-
{
|
|
463
|
-
[_e]: _c,
|
|
464
|
-
[_hE]: 400,
|
|
465
|
-
[_aQE]: [`InvalidScheme`, 400],
|
|
466
|
-
},
|
|
426
|
+
{ [_e]: _c, [_hE]: 400, [_aQE]: [`InvalidScheme`, 400] },
|
|
467
427
|
[_M],
|
|
468
428
|
[0],
|
|
469
429
|
];
|
|
@@ -472,11 +432,7 @@ export var InvalidSecurityGroupException = [
|
|
|
472
432
|
-3,
|
|
473
433
|
n0,
|
|
474
434
|
_ISGE,
|
|
475
|
-
{
|
|
476
|
-
[_e]: _c,
|
|
477
|
-
[_hE]: 400,
|
|
478
|
-
[_aQE]: [`InvalidSecurityGroup`, 400],
|
|
479
|
-
},
|
|
435
|
+
{ [_e]: _c, [_hE]: 400, [_aQE]: [`InvalidSecurityGroup`, 400] },
|
|
480
436
|
[_M],
|
|
481
437
|
[0],
|
|
482
438
|
];
|
|
@@ -485,11 +441,7 @@ export var InvalidSubnetException = [
|
|
|
485
441
|
-3,
|
|
486
442
|
n0,
|
|
487
443
|
_ISEn,
|
|
488
|
-
{
|
|
489
|
-
[_e]: _c,
|
|
490
|
-
[_hE]: 400,
|
|
491
|
-
[_aQE]: [`InvalidSubnet`, 400],
|
|
492
|
-
},
|
|
444
|
+
{ [_e]: _c, [_hE]: 400, [_aQE]: [`InvalidSubnet`, 400] },
|
|
493
445
|
[_M],
|
|
494
446
|
[0],
|
|
495
447
|
];
|
|
@@ -502,11 +454,7 @@ export var ListenerNotFoundException = [
|
|
|
502
454
|
-3,
|
|
503
455
|
n0,
|
|
504
456
|
_LNFE,
|
|
505
|
-
{
|
|
506
|
-
[_e]: _c,
|
|
507
|
-
[_hE]: 400,
|
|
508
|
-
[_aQE]: [`ListenerNotFound`, 400],
|
|
509
|
-
},
|
|
457
|
+
{ [_e]: _c, [_hE]: 400, [_aQE]: [`ListenerNotFound`, 400] },
|
|
510
458
|
[_M],
|
|
511
459
|
[0],
|
|
512
460
|
];
|
|
@@ -515,11 +463,7 @@ export var LoadBalancerAttributeNotFoundException = [
|
|
|
515
463
|
-3,
|
|
516
464
|
n0,
|
|
517
465
|
_LBANFE,
|
|
518
|
-
{
|
|
519
|
-
[_e]: _c,
|
|
520
|
-
[_hE]: 400,
|
|
521
|
-
[_aQE]: [`LoadBalancerAttributeNotFound`, 400],
|
|
522
|
-
},
|
|
466
|
+
{ [_e]: _c, [_hE]: 400, [_aQE]: [`LoadBalancerAttributeNotFound`, 400] },
|
|
523
467
|
[_M],
|
|
524
468
|
[0],
|
|
525
469
|
];
|
|
@@ -583,11 +527,7 @@ export var OperationNotPermittedException = [
|
|
|
583
527
|
-3,
|
|
584
528
|
n0,
|
|
585
529
|
_ONPE,
|
|
586
|
-
{
|
|
587
|
-
[_e]: _c,
|
|
588
|
-
[_hE]: 400,
|
|
589
|
-
[_aQE]: [`OperationNotPermitted`, 400],
|
|
590
|
-
},
|
|
530
|
+
{ [_e]: _c, [_hE]: 400, [_aQE]: [`OperationNotPermitted`, 400] },
|
|
591
531
|
[_M],
|
|
592
532
|
[0],
|
|
593
533
|
];
|
|
@@ -622,11 +562,7 @@ export var PolicyNotFoundException = [
|
|
|
622
562
|
-3,
|
|
623
563
|
n0,
|
|
624
564
|
_PNFE,
|
|
625
|
-
{
|
|
626
|
-
[_e]: _c,
|
|
627
|
-
[_hE]: 400,
|
|
628
|
-
[_aQE]: [`PolicyNotFound`, 400],
|
|
629
|
-
},
|
|
565
|
+
{ [_e]: _c, [_hE]: 400, [_aQE]: [`PolicyNotFound`, 400] },
|
|
630
566
|
[_M],
|
|
631
567
|
[0],
|
|
632
568
|
];
|
|
@@ -643,11 +579,7 @@ export var PolicyTypeNotFoundException = [
|
|
|
643
579
|
-3,
|
|
644
580
|
n0,
|
|
645
581
|
_PTNFE,
|
|
646
|
-
{
|
|
647
|
-
[_e]: _c,
|
|
648
|
-
[_hE]: 400,
|
|
649
|
-
[_aQE]: [`PolicyTypeNotFound`, 400],
|
|
650
|
-
},
|
|
582
|
+
{ [_e]: _c, [_hE]: 400, [_aQE]: [`PolicyTypeNotFound`, 400] },
|
|
651
583
|
[_M],
|
|
652
584
|
[0],
|
|
653
585
|
];
|
|
@@ -690,11 +622,7 @@ export var SubnetNotFoundException = [
|
|
|
690
622
|
-3,
|
|
691
623
|
n0,
|
|
692
624
|
_SNFE,
|
|
693
|
-
{
|
|
694
|
-
[_e]: _c,
|
|
695
|
-
[_hE]: 400,
|
|
696
|
-
[_aQE]: [`SubnetNotFound`, 400],
|
|
697
|
-
},
|
|
625
|
+
{ [_e]: _c, [_hE]: 400, [_aQE]: [`SubnetNotFound`, 400] },
|
|
698
626
|
[_M],
|
|
699
627
|
[0],
|
|
700
628
|
];
|
|
@@ -706,11 +634,7 @@ export var TooManyAccessPointsException = [
|
|
|
706
634
|
-3,
|
|
707
635
|
n0,
|
|
708
636
|
_TMAPE,
|
|
709
|
-
{
|
|
710
|
-
[_e]: _c,
|
|
711
|
-
[_hE]: 400,
|
|
712
|
-
[_aQE]: [`TooManyLoadBalancers`, 400],
|
|
713
|
-
},
|
|
637
|
+
{ [_e]: _c, [_hE]: 400, [_aQE]: [`TooManyLoadBalancers`, 400] },
|
|
714
638
|
[_M],
|
|
715
639
|
[0],
|
|
716
640
|
];
|
|
@@ -719,11 +643,7 @@ export var TooManyPoliciesException = [
|
|
|
719
643
|
-3,
|
|
720
644
|
n0,
|
|
721
645
|
_TMPE,
|
|
722
|
-
{
|
|
723
|
-
[_e]: _c,
|
|
724
|
-
[_hE]: 400,
|
|
725
|
-
[_aQE]: [`TooManyPolicies`, 400],
|
|
726
|
-
},
|
|
646
|
+
{ [_e]: _c, [_hE]: 400, [_aQE]: [`TooManyPolicies`, 400] },
|
|
727
647
|
[_M],
|
|
728
648
|
[0],
|
|
729
649
|
];
|
|
@@ -732,11 +652,7 @@ export var TooManyTagsException = [
|
|
|
732
652
|
-3,
|
|
733
653
|
n0,
|
|
734
654
|
_TMTE,
|
|
735
|
-
{
|
|
736
|
-
[_e]: _c,
|
|
737
|
-
[_hE]: 400,
|
|
738
|
-
[_aQE]: [`TooManyTags`, 400],
|
|
739
|
-
},
|
|
655
|
+
{ [_e]: _c, [_hE]: 400, [_aQE]: [`TooManyTags`, 400] },
|
|
740
656
|
[_M],
|
|
741
657
|
[0],
|
|
742
658
|
];
|
|
@@ -745,11 +661,7 @@ export var UnsupportedProtocolException = [
|
|
|
745
661
|
-3,
|
|
746
662
|
n0,
|
|
747
663
|
_UPE,
|
|
748
|
-
{
|
|
749
|
-
[_e]: _c,
|
|
750
|
-
[_hE]: 400,
|
|
751
|
-
[_aQE]: [`UnsupportedProtocol`, 400],
|
|
752
|
-
},
|
|
664
|
+
{ [_e]: _c, [_hE]: 400, [_aQE]: [`UnsupportedProtocol`, 400] },
|
|
753
665
|
[_M],
|
|
754
666
|
[0],
|
|
755
667
|
];
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types";
|
|
1
|
+
import type { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types";
|
|
2
2
|
import { AddTagsCommandInput, AddTagsCommandOutput } from "./commands/AddTagsCommand";
|
|
3
3
|
import { ApplySecurityGroupsToLoadBalancerCommandInput, ApplySecurityGroupsToLoadBalancerCommandOutput } from "./commands/ApplySecurityGroupsToLoadBalancerCommand";
|
|
4
4
|
import { AttachLoadBalancerToSubnetsCommandInput, AttachLoadBalancerToSubnetsCommandOutput } from "./commands/AttachLoadBalancerToSubnetsCommand";
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { HostHeaderInputConfig, HostHeaderResolvedConfig } from "@aws-sdk/middleware-host-header";
|
|
2
|
-
import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
|
|
3
|
-
import { RegionInputConfig, RegionResolvedConfig } from "@smithy/config-resolver";
|
|
4
|
-
import { EndpointInputConfig, EndpointResolvedConfig } from "@smithy/middleware-endpoint";
|
|
5
|
-
import { RetryInputConfig, RetryResolvedConfig } from "@smithy/middleware-retry";
|
|
6
|
-
import { HttpHandlerUserInput as __HttpHandlerUserInput } from "@smithy/protocol-http";
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import { HttpAuthSchemeInputConfig, HttpAuthSchemeResolvedConfig } from "./auth/httpAuthSchemeProvider";
|
|
1
|
+
import { type HostHeaderInputConfig, type HostHeaderResolvedConfig } from "@aws-sdk/middleware-host-header";
|
|
2
|
+
import { type UserAgentInputConfig, type UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
|
|
3
|
+
import { type RegionInputConfig, type RegionResolvedConfig } from "@smithy/config-resolver";
|
|
4
|
+
import { type EndpointInputConfig, type EndpointResolvedConfig } from "@smithy/middleware-endpoint";
|
|
5
|
+
import { type RetryInputConfig, type RetryResolvedConfig } from "@smithy/middleware-retry";
|
|
6
|
+
import type { HttpHandlerUserInput as __HttpHandlerUserInput } from "@smithy/protocol-http";
|
|
7
|
+
import { type DefaultsMode as __DefaultsMode, type SmithyConfiguration as __SmithyConfiguration, type SmithyResolvedConfiguration as __SmithyResolvedConfiguration, Client as __Client } from "@smithy/smithy-client";
|
|
8
|
+
import { type BodyLengthCalculator as __BodyLengthCalculator, type CheckOptionalClientConfig as __CheckOptionalClientConfig, type ChecksumConstructor as __ChecksumConstructor, type ClientProtocol, type Decoder as __Decoder, type Encoder as __Encoder, type HashConstructor as __HashConstructor, type HttpHandlerOptions as __HttpHandlerOptions, type HttpRequest, type HttpResponse, type Logger as __Logger, type Provider as __Provider, type StreamCollector as __StreamCollector, type UrlParser as __UrlParser, AwsCredentialIdentityProvider, Provider, UserAgent as __UserAgent } from "@smithy/types";
|
|
9
|
+
import { type HttpAuthSchemeInputConfig, type HttpAuthSchemeResolvedConfig } from "./auth/httpAuthSchemeProvider";
|
|
10
10
|
import { AddTagsCommandInput, AddTagsCommandOutput } from "./commands/AddTagsCommand";
|
|
11
11
|
import { ApplySecurityGroupsToLoadBalancerCommandInput, ApplySecurityGroupsToLoadBalancerCommandOutput } from "./commands/ApplySecurityGroupsToLoadBalancerCommand";
|
|
12
12
|
import { AttachLoadBalancerToSubnetsCommandInput, AttachLoadBalancerToSubnetsCommandOutput } from "./commands/AttachLoadBalancerToSubnetsCommand";
|
|
@@ -37,7 +37,7 @@ import { SetLoadBalancerListenerSSLCertificateCommandInput, SetLoadBalancerListe
|
|
|
37
37
|
import { SetLoadBalancerPoliciesForBackendServerCommandInput, SetLoadBalancerPoliciesForBackendServerCommandOutput } from "./commands/SetLoadBalancerPoliciesForBackendServerCommand";
|
|
38
38
|
import { SetLoadBalancerPoliciesOfListenerCommandInput, SetLoadBalancerPoliciesOfListenerCommandOutput } from "./commands/SetLoadBalancerPoliciesOfListenerCommand";
|
|
39
39
|
import { ClientInputEndpointParameters, ClientResolvedEndpointParameters, EndpointParameters } from "./endpoint/EndpointParameters";
|
|
40
|
-
import { RuntimeExtension, RuntimeExtensionsConfig } from "./runtimeExtensions";
|
|
40
|
+
import { type RuntimeExtension, type RuntimeExtensionsConfig } from "./runtimeExtensions";
|
|
41
41
|
export { __Client };
|
|
42
42
|
/**
|
|
43
43
|
* @public
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { AwsCredentialIdentity, AwsCredentialIdentityProvider
|
|
2
|
-
import { ElasticLoadBalancingHttpAuthSchemeProvider } from "./httpAuthSchemeProvider";
|
|
1
|
+
import { type HttpAuthScheme, AwsCredentialIdentity, AwsCredentialIdentityProvider } from "@smithy/types";
|
|
2
|
+
import type { ElasticLoadBalancingHttpAuthSchemeProvider } from "./httpAuthSchemeProvider";
|
|
3
3
|
/**
|
|
4
4
|
* @internal
|
|
5
5
|
*/
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { AwsSdkSigV4AuthInputConfig, AwsSdkSigV4AuthResolvedConfig, AwsSdkSigV4PreviouslyResolved } from "@aws-sdk/core";
|
|
2
|
-
import { HandlerExecutionContext, HttpAuthScheme, HttpAuthSchemeParameters, HttpAuthSchemeParametersProvider, HttpAuthSchemeProvider, Provider } from "@smithy/types";
|
|
3
|
-
import { ElasticLoadBalancingClientResolvedConfig } from "../ElasticLoadBalancingClient";
|
|
2
|
+
import type { HandlerExecutionContext, HttpAuthScheme, HttpAuthSchemeParameters, HttpAuthSchemeParametersProvider, HttpAuthSchemeProvider, Provider } from "@smithy/types";
|
|
3
|
+
import { type ElasticLoadBalancingClientResolvedConfig } from "../ElasticLoadBalancingClient";
|
|
4
4
|
/**
|
|
5
5
|
* @internal
|
|
6
6
|
*/
|