@aws-sdk/client-elastic-load-balancing-v2 3.928.0 → 3.930.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 +2269 -6639
- package/dist-cjs/runtimeConfig.shared.js +7 -0
- package/dist-es/ElasticLoadBalancingV2Client.js +2 -0
- package/dist-es/commands/AddListenerCertificatesCommand.js +3 -9
- package/dist-es/commands/AddTagsCommand.js +3 -9
- package/dist-es/commands/AddTrustStoreRevocationsCommand.js +3 -9
- package/dist-es/commands/CreateListenerCommand.js +3 -9
- package/dist-es/commands/CreateLoadBalancerCommand.js +3 -9
- package/dist-es/commands/CreateRuleCommand.js +3 -9
- package/dist-es/commands/CreateTargetGroupCommand.js +3 -9
- package/dist-es/commands/CreateTrustStoreCommand.js +3 -9
- package/dist-es/commands/DeleteListenerCommand.js +3 -9
- package/dist-es/commands/DeleteLoadBalancerCommand.js +3 -9
- package/dist-es/commands/DeleteRuleCommand.js +3 -9
- package/dist-es/commands/DeleteSharedTrustStoreAssociationCommand.js +3 -9
- package/dist-es/commands/DeleteTargetGroupCommand.js +3 -9
- package/dist-es/commands/DeleteTrustStoreCommand.js +3 -9
- package/dist-es/commands/DeregisterTargetsCommand.js +3 -9
- package/dist-es/commands/DescribeAccountLimitsCommand.js +3 -9
- package/dist-es/commands/DescribeCapacityReservationCommand.js +3 -9
- package/dist-es/commands/DescribeListenerAttributesCommand.js +3 -9
- package/dist-es/commands/DescribeListenerCertificatesCommand.js +3 -9
- package/dist-es/commands/DescribeListenersCommand.js +3 -9
- package/dist-es/commands/DescribeLoadBalancerAttributesCommand.js +3 -9
- package/dist-es/commands/DescribeLoadBalancersCommand.js +3 -9
- package/dist-es/commands/DescribeRulesCommand.js +3 -9
- package/dist-es/commands/DescribeSSLPoliciesCommand.js +3 -9
- package/dist-es/commands/DescribeTagsCommand.js +3 -9
- package/dist-es/commands/DescribeTargetGroupAttributesCommand.js +3 -9
- package/dist-es/commands/DescribeTargetGroupsCommand.js +3 -9
- package/dist-es/commands/DescribeTargetHealthCommand.js +3 -9
- package/dist-es/commands/DescribeTrustStoreAssociationsCommand.js +3 -9
- package/dist-es/commands/DescribeTrustStoreRevocationsCommand.js +3 -9
- package/dist-es/commands/DescribeTrustStoresCommand.js +3 -9
- package/dist-es/commands/GetResourcePolicyCommand.js +3 -9
- package/dist-es/commands/GetTrustStoreCaCertificatesBundleCommand.js +3 -9
- package/dist-es/commands/GetTrustStoreRevocationContentCommand.js +3 -9
- package/dist-es/commands/ModifyCapacityReservationCommand.js +3 -9
- package/dist-es/commands/ModifyIpPoolsCommand.js +3 -9
- package/dist-es/commands/ModifyListenerAttributesCommand.js +3 -9
- package/dist-es/commands/ModifyListenerCommand.js +3 -9
- package/dist-es/commands/ModifyLoadBalancerAttributesCommand.js +3 -9
- package/dist-es/commands/ModifyRuleCommand.js +3 -9
- package/dist-es/commands/ModifyTargetGroupAttributesCommand.js +3 -9
- package/dist-es/commands/ModifyTargetGroupCommand.js +3 -9
- package/dist-es/commands/ModifyTrustStoreCommand.js +3 -9
- package/dist-es/commands/RegisterTargetsCommand.js +3 -9
- package/dist-es/commands/RemoveListenerCertificatesCommand.js +3 -9
- package/dist-es/commands/RemoveTagsCommand.js +3 -9
- package/dist-es/commands/RemoveTrustStoreRevocationsCommand.js +3 -9
- package/dist-es/commands/SetIpAddressTypeCommand.js +3 -9
- package/dist-es/commands/SetRulePrioritiesCommand.js +3 -9
- package/dist-es/commands/SetSecurityGroupsCommand.js +3 -9
- package/dist-es/commands/SetSubnetsCommand.js +3 -9
- package/dist-es/models/models_0.js +6 -0
- package/dist-es/runtimeConfig.shared.js +7 -0
- package/dist-es/schemas/schemas_0.js +2215 -0
- package/dist-types/ElasticLoadBalancingV2Client.d.ts +10 -1
- package/dist-types/commands/CreateListenerCommand.d.ts +28 -2
- package/dist-types/commands/CreateRuleCommand.d.ts +28 -2
- package/dist-types/commands/DescribeListenersCommand.d.ts +14 -1
- package/dist-types/commands/DescribeRulesCommand.d.ts +15 -2
- package/dist-types/commands/ModifyListenerCommand.d.ts +28 -2
- package/dist-types/commands/ModifyRuleCommand.d.ts +28 -2
- package/dist-types/commands/SetRulePrioritiesCommand.d.ts +14 -1
- package/dist-types/models/models_0.d.ts +95 -25
- package/dist-types/runtimeConfig.browser.d.ts +1 -0
- package/dist-types/runtimeConfig.d.ts +1 -0
- package/dist-types/runtimeConfig.native.d.ts +1 -0
- package/dist-types/runtimeConfig.shared.d.ts +1 -0
- package/dist-types/schemas/schemas_0.d.ts +323 -0
- package/dist-types/ts3.4/ElasticLoadBalancingV2Client.d.ts +4 -0
- package/dist-types/ts3.4/models/models_0.d.ts +19 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +328 -0
- package/package.json +34 -34
- package/dist-es/protocols/Aws_query.js +0 -6319
- package/dist-types/protocols/Aws_query.d.ts +0 -461
- package/dist-types/ts3.4/protocols/Aws_query.d.ts +0 -617
|
@@ -5,7 +5,7 @@ import { EndpointInputConfig, EndpointResolvedConfig } from "@smithy/middleware-
|
|
|
5
5
|
import { RetryInputConfig, RetryResolvedConfig } from "@smithy/middleware-retry";
|
|
6
6
|
import { HttpHandlerUserInput as __HttpHandlerUserInput } from "@smithy/protocol-http";
|
|
7
7
|
import { Client as __Client, DefaultsMode as __DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@smithy/smithy-client";
|
|
8
|
-
import { AwsCredentialIdentityProvider, BodyLengthCalculator as __BodyLengthCalculator, CheckOptionalClientConfig as __CheckOptionalClientConfig, ChecksumConstructor as __ChecksumConstructor, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@smithy/types";
|
|
8
|
+
import { AwsCredentialIdentityProvider, BodyLengthCalculator as __BodyLengthCalculator, CheckOptionalClientConfig as __CheckOptionalClientConfig, ChecksumConstructor as __ChecksumConstructor, ClientProtocol, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, HttpRequest, HttpResponse, Logger as __Logger, Provider as __Provider, Provider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@smithy/types";
|
|
9
9
|
import { HttpAuthSchemeInputConfig, HttpAuthSchemeResolvedConfig } from "./auth/httpAuthSchemeProvider";
|
|
10
10
|
import { AddListenerCertificatesCommandInput, AddListenerCertificatesCommandOutput } from "./commands/AddListenerCertificatesCommand";
|
|
11
11
|
import { AddTagsCommandInput, AddTagsCommandOutput } from "./commands/AddTagsCommand";
|
|
@@ -192,6 +192,15 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand
|
|
|
192
192
|
* Optional extensions
|
|
193
193
|
*/
|
|
194
194
|
extensions?: RuntimeExtension[];
|
|
195
|
+
/**
|
|
196
|
+
* The protocol controlling the message type (e.g. HTTP) and format (e.g. JSON)
|
|
197
|
+
* may be overridden. A default will always be set by the client.
|
|
198
|
+
* Available options depend on the service's supported protocols and will not be validated by
|
|
199
|
+
* the client.
|
|
200
|
+
* @alpha
|
|
201
|
+
*
|
|
202
|
+
*/
|
|
203
|
+
protocol?: ClientProtocol<HttpRequest, HttpResponse>;
|
|
195
204
|
/**
|
|
196
205
|
* The {@link @smithy/smithy-client#DefaultsMode} that will be used to determine how certain default configuration options are resolved in the SDK.
|
|
197
206
|
*/
|
|
@@ -73,7 +73,7 @@ declare const CreateListenerCommand_base: {
|
|
|
73
73
|
* ],
|
|
74
74
|
* DefaultActions: [ // Actions // required
|
|
75
75
|
* { // Action
|
|
76
|
-
* Type: "forward" || "authenticate-oidc" || "authenticate-cognito" || "redirect" || "fixed-response", // required
|
|
76
|
+
* Type: "forward" || "authenticate-oidc" || "authenticate-cognito" || "redirect" || "fixed-response" || "jwt-validation", // required
|
|
77
77
|
* TargetGroupArn: "STRING_VALUE",
|
|
78
78
|
* AuthenticateOidcConfig: { // AuthenticateOidcActionConfig
|
|
79
79
|
* Issuer: "STRING_VALUE", // required
|
|
@@ -129,6 +129,19 @@ declare const CreateListenerCommand_base: {
|
|
|
129
129
|
* DurationSeconds: Number("int"),
|
|
130
130
|
* },
|
|
131
131
|
* },
|
|
132
|
+
* JwtValidationConfig: { // JwtValidationActionConfig
|
|
133
|
+
* JwksEndpoint: "STRING_VALUE", // required
|
|
134
|
+
* Issuer: "STRING_VALUE", // required
|
|
135
|
+
* AdditionalClaims: [ // JwtValidationActionAdditionalClaims
|
|
136
|
+
* { // JwtValidationActionAdditionalClaim
|
|
137
|
+
* Format: "single-string" || "string-array" || "space-separated-values", // required
|
|
138
|
+
* Name: "STRING_VALUE", // required
|
|
139
|
+
* Values: [ // JwtValidationActionAdditionalClaimValues // required
|
|
140
|
+
* "STRING_VALUE",
|
|
141
|
+
* ],
|
|
142
|
+
* },
|
|
143
|
+
* ],
|
|
144
|
+
* },
|
|
132
145
|
* },
|
|
133
146
|
* ],
|
|
134
147
|
* AlpnPolicy: [ // AlpnPolicyName
|
|
@@ -166,7 +179,7 @@ declare const CreateListenerCommand_base: {
|
|
|
166
179
|
* // SslPolicy: "STRING_VALUE",
|
|
167
180
|
* // DefaultActions: [ // Actions
|
|
168
181
|
* // { // Action
|
|
169
|
-
* // Type: "forward" || "authenticate-oidc" || "authenticate-cognito" || "redirect" || "fixed-response", // required
|
|
182
|
+
* // Type: "forward" || "authenticate-oidc" || "authenticate-cognito" || "redirect" || "fixed-response" || "jwt-validation", // required
|
|
170
183
|
* // TargetGroupArn: "STRING_VALUE",
|
|
171
184
|
* // AuthenticateOidcConfig: { // AuthenticateOidcActionConfig
|
|
172
185
|
* // Issuer: "STRING_VALUE", // required
|
|
@@ -222,6 +235,19 @@ declare const CreateListenerCommand_base: {
|
|
|
222
235
|
* // DurationSeconds: Number("int"),
|
|
223
236
|
* // },
|
|
224
237
|
* // },
|
|
238
|
+
* // JwtValidationConfig: { // JwtValidationActionConfig
|
|
239
|
+
* // JwksEndpoint: "STRING_VALUE", // required
|
|
240
|
+
* // Issuer: "STRING_VALUE", // required
|
|
241
|
+
* // AdditionalClaims: [ // JwtValidationActionAdditionalClaims
|
|
242
|
+
* // { // JwtValidationActionAdditionalClaim
|
|
243
|
+
* // Format: "single-string" || "string-array" || "space-separated-values", // required
|
|
244
|
+
* // Name: "STRING_VALUE", // required
|
|
245
|
+
* // Values: [ // JwtValidationActionAdditionalClaimValues // required
|
|
246
|
+
* // "STRING_VALUE",
|
|
247
|
+
* // ],
|
|
248
|
+
* // },
|
|
249
|
+
* // ],
|
|
250
|
+
* // },
|
|
225
251
|
* // },
|
|
226
252
|
* // ],
|
|
227
253
|
* // AlpnPolicy: [ // AlpnPolicyName
|
|
@@ -91,7 +91,7 @@ declare const CreateRuleCommand_base: {
|
|
|
91
91
|
* Priority: Number("int"), // required
|
|
92
92
|
* Actions: [ // Actions // required
|
|
93
93
|
* { // Action
|
|
94
|
-
* Type: "forward" || "authenticate-oidc" || "authenticate-cognito" || "redirect" || "fixed-response", // required
|
|
94
|
+
* Type: "forward" || "authenticate-oidc" || "authenticate-cognito" || "redirect" || "fixed-response" || "jwt-validation", // required
|
|
95
95
|
* TargetGroupArn: "STRING_VALUE",
|
|
96
96
|
* AuthenticateOidcConfig: { // AuthenticateOidcActionConfig
|
|
97
97
|
* Issuer: "STRING_VALUE", // required
|
|
@@ -147,6 +147,19 @@ declare const CreateRuleCommand_base: {
|
|
|
147
147
|
* DurationSeconds: Number("int"),
|
|
148
148
|
* },
|
|
149
149
|
* },
|
|
150
|
+
* JwtValidationConfig: { // JwtValidationActionConfig
|
|
151
|
+
* JwksEndpoint: "STRING_VALUE", // required
|
|
152
|
+
* Issuer: "STRING_VALUE", // required
|
|
153
|
+
* AdditionalClaims: [ // JwtValidationActionAdditionalClaims
|
|
154
|
+
* { // JwtValidationActionAdditionalClaim
|
|
155
|
+
* Format: "single-string" || "string-array" || "space-separated-values", // required
|
|
156
|
+
* Name: "STRING_VALUE", // required
|
|
157
|
+
* Values: [ // JwtValidationActionAdditionalClaimValues // required
|
|
158
|
+
* "STRING_VALUE",
|
|
159
|
+
* ],
|
|
160
|
+
* },
|
|
161
|
+
* ],
|
|
162
|
+
* },
|
|
150
163
|
* },
|
|
151
164
|
* ],
|
|
152
165
|
* Tags: [ // TagList
|
|
@@ -230,7 +243,7 @@ declare const CreateRuleCommand_base: {
|
|
|
230
243
|
* // ],
|
|
231
244
|
* // Actions: [ // Actions
|
|
232
245
|
* // { // Action
|
|
233
|
-
* // Type: "forward" || "authenticate-oidc" || "authenticate-cognito" || "redirect" || "fixed-response", // required
|
|
246
|
+
* // Type: "forward" || "authenticate-oidc" || "authenticate-cognito" || "redirect" || "fixed-response" || "jwt-validation", // required
|
|
234
247
|
* // TargetGroupArn: "STRING_VALUE",
|
|
235
248
|
* // AuthenticateOidcConfig: { // AuthenticateOidcActionConfig
|
|
236
249
|
* // Issuer: "STRING_VALUE", // required
|
|
@@ -286,6 +299,19 @@ declare const CreateRuleCommand_base: {
|
|
|
286
299
|
* // DurationSeconds: Number("int"),
|
|
287
300
|
* // },
|
|
288
301
|
* // },
|
|
302
|
+
* // JwtValidationConfig: { // JwtValidationActionConfig
|
|
303
|
+
* // JwksEndpoint: "STRING_VALUE", // required
|
|
304
|
+
* // Issuer: "STRING_VALUE", // required
|
|
305
|
+
* // AdditionalClaims: [ // JwtValidationActionAdditionalClaims
|
|
306
|
+
* // { // JwtValidationActionAdditionalClaim
|
|
307
|
+
* // Format: "single-string" || "string-array" || "space-separated-values", // required
|
|
308
|
+
* // Name: "STRING_VALUE", // required
|
|
309
|
+
* // Values: [ // JwtValidationActionAdditionalClaimValues // required
|
|
310
|
+
* // "STRING_VALUE",
|
|
311
|
+
* // ],
|
|
312
|
+
* // },
|
|
313
|
+
* // ],
|
|
314
|
+
* // },
|
|
289
315
|
* // },
|
|
290
316
|
* // ],
|
|
291
317
|
* // IsDefault: true || false,
|
|
@@ -64,7 +64,7 @@ declare const DescribeListenersCommand_base: {
|
|
|
64
64
|
* // SslPolicy: "STRING_VALUE",
|
|
65
65
|
* // DefaultActions: [ // Actions
|
|
66
66
|
* // { // Action
|
|
67
|
-
* // Type: "forward" || "authenticate-oidc" || "authenticate-cognito" || "redirect" || "fixed-response", // required
|
|
67
|
+
* // Type: "forward" || "authenticate-oidc" || "authenticate-cognito" || "redirect" || "fixed-response" || "jwt-validation", // required
|
|
68
68
|
* // TargetGroupArn: "STRING_VALUE",
|
|
69
69
|
* // AuthenticateOidcConfig: { // AuthenticateOidcActionConfig
|
|
70
70
|
* // Issuer: "STRING_VALUE", // required
|
|
@@ -120,6 +120,19 @@ declare const DescribeListenersCommand_base: {
|
|
|
120
120
|
* // DurationSeconds: Number("int"),
|
|
121
121
|
* // },
|
|
122
122
|
* // },
|
|
123
|
+
* // JwtValidationConfig: { // JwtValidationActionConfig
|
|
124
|
+
* // JwksEndpoint: "STRING_VALUE", // required
|
|
125
|
+
* // Issuer: "STRING_VALUE", // required
|
|
126
|
+
* // AdditionalClaims: [ // JwtValidationActionAdditionalClaims
|
|
127
|
+
* // { // JwtValidationActionAdditionalClaim
|
|
128
|
+
* // Format: "single-string" || "string-array" || "space-separated-values", // required
|
|
129
|
+
* // Name: "STRING_VALUE", // required
|
|
130
|
+
* // Values: [ // JwtValidationActionAdditionalClaimValues // required
|
|
131
|
+
* // "STRING_VALUE",
|
|
132
|
+
* // ],
|
|
133
|
+
* // },
|
|
134
|
+
* // ],
|
|
135
|
+
* // },
|
|
123
136
|
* // },
|
|
124
137
|
* // ],
|
|
125
138
|
* // AlpnPolicy: [ // AlpnPolicyName
|
|
@@ -28,7 +28,7 @@ declare const DescribeRulesCommand_base: {
|
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
30
|
* <p>Describes the specified rules or the rules for the specified listener. You must specify
|
|
31
|
-
* either a listener or
|
|
31
|
+
* either a listener or rules.</p>
|
|
32
32
|
* @example
|
|
33
33
|
* Use a bare-bones client and the command you need to make an API call.
|
|
34
34
|
* ```javascript
|
|
@@ -98,7 +98,7 @@ declare const DescribeRulesCommand_base: {
|
|
|
98
98
|
* // ],
|
|
99
99
|
* // Actions: [ // Actions
|
|
100
100
|
* // { // Action
|
|
101
|
-
* // Type: "forward" || "authenticate-oidc" || "authenticate-cognito" || "redirect" || "fixed-response", // required
|
|
101
|
+
* // Type: "forward" || "authenticate-oidc" || "authenticate-cognito" || "redirect" || "fixed-response" || "jwt-validation", // required
|
|
102
102
|
* // TargetGroupArn: "STRING_VALUE",
|
|
103
103
|
* // AuthenticateOidcConfig: { // AuthenticateOidcActionConfig
|
|
104
104
|
* // Issuer: "STRING_VALUE", // required
|
|
@@ -154,6 +154,19 @@ declare const DescribeRulesCommand_base: {
|
|
|
154
154
|
* // DurationSeconds: Number("int"),
|
|
155
155
|
* // },
|
|
156
156
|
* // },
|
|
157
|
+
* // JwtValidationConfig: { // JwtValidationActionConfig
|
|
158
|
+
* // JwksEndpoint: "STRING_VALUE", // required
|
|
159
|
+
* // Issuer: "STRING_VALUE", // required
|
|
160
|
+
* // AdditionalClaims: [ // JwtValidationActionAdditionalClaims
|
|
161
|
+
* // { // JwtValidationActionAdditionalClaim
|
|
162
|
+
* // Format: "single-string" || "string-array" || "space-separated-values", // required
|
|
163
|
+
* // Name: "STRING_VALUE", // required
|
|
164
|
+
* // Values: [ // JwtValidationActionAdditionalClaimValues // required
|
|
165
|
+
* // "STRING_VALUE",
|
|
166
|
+
* // ],
|
|
167
|
+
* // },
|
|
168
|
+
* // ],
|
|
169
|
+
* // },
|
|
157
170
|
* // },
|
|
158
171
|
* // ],
|
|
159
172
|
* // IsDefault: true || false,
|
|
@@ -56,7 +56,7 @@ declare const ModifyListenerCommand_base: {
|
|
|
56
56
|
* ],
|
|
57
57
|
* DefaultActions: [ // Actions
|
|
58
58
|
* { // Action
|
|
59
|
-
* Type: "forward" || "authenticate-oidc" || "authenticate-cognito" || "redirect" || "fixed-response", // required
|
|
59
|
+
* Type: "forward" || "authenticate-oidc" || "authenticate-cognito" || "redirect" || "fixed-response" || "jwt-validation", // required
|
|
60
60
|
* TargetGroupArn: "STRING_VALUE",
|
|
61
61
|
* AuthenticateOidcConfig: { // AuthenticateOidcActionConfig
|
|
62
62
|
* Issuer: "STRING_VALUE", // required
|
|
@@ -112,6 +112,19 @@ declare const ModifyListenerCommand_base: {
|
|
|
112
112
|
* DurationSeconds: Number("int"),
|
|
113
113
|
* },
|
|
114
114
|
* },
|
|
115
|
+
* JwtValidationConfig: { // JwtValidationActionConfig
|
|
116
|
+
* JwksEndpoint: "STRING_VALUE", // required
|
|
117
|
+
* Issuer: "STRING_VALUE", // required
|
|
118
|
+
* AdditionalClaims: [ // JwtValidationActionAdditionalClaims
|
|
119
|
+
* { // JwtValidationActionAdditionalClaim
|
|
120
|
+
* Format: "single-string" || "string-array" || "space-separated-values", // required
|
|
121
|
+
* Name: "STRING_VALUE", // required
|
|
122
|
+
* Values: [ // JwtValidationActionAdditionalClaimValues // required
|
|
123
|
+
* "STRING_VALUE",
|
|
124
|
+
* ],
|
|
125
|
+
* },
|
|
126
|
+
* ],
|
|
127
|
+
* },
|
|
115
128
|
* },
|
|
116
129
|
* ],
|
|
117
130
|
* AlpnPolicy: [ // AlpnPolicyName
|
|
@@ -143,7 +156,7 @@ declare const ModifyListenerCommand_base: {
|
|
|
143
156
|
* // SslPolicy: "STRING_VALUE",
|
|
144
157
|
* // DefaultActions: [ // Actions
|
|
145
158
|
* // { // Action
|
|
146
|
-
* // Type: "forward" || "authenticate-oidc" || "authenticate-cognito" || "redirect" || "fixed-response", // required
|
|
159
|
+
* // Type: "forward" || "authenticate-oidc" || "authenticate-cognito" || "redirect" || "fixed-response" || "jwt-validation", // required
|
|
147
160
|
* // TargetGroupArn: "STRING_VALUE",
|
|
148
161
|
* // AuthenticateOidcConfig: { // AuthenticateOidcActionConfig
|
|
149
162
|
* // Issuer: "STRING_VALUE", // required
|
|
@@ -199,6 +212,19 @@ declare const ModifyListenerCommand_base: {
|
|
|
199
212
|
* // DurationSeconds: Number("int"),
|
|
200
213
|
* // },
|
|
201
214
|
* // },
|
|
215
|
+
* // JwtValidationConfig: { // JwtValidationActionConfig
|
|
216
|
+
* // JwksEndpoint: "STRING_VALUE", // required
|
|
217
|
+
* // Issuer: "STRING_VALUE", // required
|
|
218
|
+
* // AdditionalClaims: [ // JwtValidationActionAdditionalClaims
|
|
219
|
+
* // { // JwtValidationActionAdditionalClaim
|
|
220
|
+
* // Format: "single-string" || "string-array" || "space-separated-values", // required
|
|
221
|
+
* // Name: "STRING_VALUE", // required
|
|
222
|
+
* // Values: [ // JwtValidationActionAdditionalClaimValues // required
|
|
223
|
+
* // "STRING_VALUE",
|
|
224
|
+
* // ],
|
|
225
|
+
* // },
|
|
226
|
+
* // ],
|
|
227
|
+
* // },
|
|
202
228
|
* // },
|
|
203
229
|
* // ],
|
|
204
230
|
* // AlpnPolicy: [ // AlpnPolicyName
|
|
@@ -88,7 +88,7 @@ declare const ModifyRuleCommand_base: {
|
|
|
88
88
|
* ],
|
|
89
89
|
* Actions: [ // Actions
|
|
90
90
|
* { // Action
|
|
91
|
-
* Type: "forward" || "authenticate-oidc" || "authenticate-cognito" || "redirect" || "fixed-response", // required
|
|
91
|
+
* Type: "forward" || "authenticate-oidc" || "authenticate-cognito" || "redirect" || "fixed-response" || "jwt-validation", // required
|
|
92
92
|
* TargetGroupArn: "STRING_VALUE",
|
|
93
93
|
* AuthenticateOidcConfig: { // AuthenticateOidcActionConfig
|
|
94
94
|
* Issuer: "STRING_VALUE", // required
|
|
@@ -144,6 +144,19 @@ declare const ModifyRuleCommand_base: {
|
|
|
144
144
|
* DurationSeconds: Number("int"),
|
|
145
145
|
* },
|
|
146
146
|
* },
|
|
147
|
+
* JwtValidationConfig: { // JwtValidationActionConfig
|
|
148
|
+
* JwksEndpoint: "STRING_VALUE", // required
|
|
149
|
+
* Issuer: "STRING_VALUE", // required
|
|
150
|
+
* AdditionalClaims: [ // JwtValidationActionAdditionalClaims
|
|
151
|
+
* { // JwtValidationActionAdditionalClaim
|
|
152
|
+
* Format: "single-string" || "string-array" || "space-separated-values", // required
|
|
153
|
+
* Name: "STRING_VALUE", // required
|
|
154
|
+
* Values: [ // JwtValidationActionAdditionalClaimValues // required
|
|
155
|
+
* "STRING_VALUE",
|
|
156
|
+
* ],
|
|
157
|
+
* },
|
|
158
|
+
* ],
|
|
159
|
+
* },
|
|
147
160
|
* },
|
|
148
161
|
* ],
|
|
149
162
|
* Transforms: [ // RuleTransformList
|
|
@@ -222,7 +235,7 @@ declare const ModifyRuleCommand_base: {
|
|
|
222
235
|
* // ],
|
|
223
236
|
* // Actions: [ // Actions
|
|
224
237
|
* // { // Action
|
|
225
|
-
* // Type: "forward" || "authenticate-oidc" || "authenticate-cognito" || "redirect" || "fixed-response", // required
|
|
238
|
+
* // Type: "forward" || "authenticate-oidc" || "authenticate-cognito" || "redirect" || "fixed-response" || "jwt-validation", // required
|
|
226
239
|
* // TargetGroupArn: "STRING_VALUE",
|
|
227
240
|
* // AuthenticateOidcConfig: { // AuthenticateOidcActionConfig
|
|
228
241
|
* // Issuer: "STRING_VALUE", // required
|
|
@@ -278,6 +291,19 @@ declare const ModifyRuleCommand_base: {
|
|
|
278
291
|
* // DurationSeconds: Number("int"),
|
|
279
292
|
* // },
|
|
280
293
|
* // },
|
|
294
|
+
* // JwtValidationConfig: { // JwtValidationActionConfig
|
|
295
|
+
* // JwksEndpoint: "STRING_VALUE", // required
|
|
296
|
+
* // Issuer: "STRING_VALUE", // required
|
|
297
|
+
* // AdditionalClaims: [ // JwtValidationActionAdditionalClaims
|
|
298
|
+
* // { // JwtValidationActionAdditionalClaim
|
|
299
|
+
* // Format: "single-string" || "string-array" || "space-separated-values", // required
|
|
300
|
+
* // Name: "STRING_VALUE", // required
|
|
301
|
+
* // Values: [ // JwtValidationActionAdditionalClaimValues // required
|
|
302
|
+
* // "STRING_VALUE",
|
|
303
|
+
* // ],
|
|
304
|
+
* // },
|
|
305
|
+
* // ],
|
|
306
|
+
* // },
|
|
281
307
|
* // },
|
|
282
308
|
* // ],
|
|
283
309
|
* // IsDefault: true || false,
|
|
@@ -99,7 +99,7 @@ declare const SetRulePrioritiesCommand_base: {
|
|
|
99
99
|
* // ],
|
|
100
100
|
* // Actions: [ // Actions
|
|
101
101
|
* // { // Action
|
|
102
|
-
* // Type: "forward" || "authenticate-oidc" || "authenticate-cognito" || "redirect" || "fixed-response", // required
|
|
102
|
+
* // Type: "forward" || "authenticate-oidc" || "authenticate-cognito" || "redirect" || "fixed-response" || "jwt-validation", // required
|
|
103
103
|
* // TargetGroupArn: "STRING_VALUE",
|
|
104
104
|
* // AuthenticateOidcConfig: { // AuthenticateOidcActionConfig
|
|
105
105
|
* // Issuer: "STRING_VALUE", // required
|
|
@@ -155,6 +155,19 @@ declare const SetRulePrioritiesCommand_base: {
|
|
|
155
155
|
* // DurationSeconds: Number("int"),
|
|
156
156
|
* // },
|
|
157
157
|
* // },
|
|
158
|
+
* // JwtValidationConfig: { // JwtValidationActionConfig
|
|
159
|
+
* // JwksEndpoint: "STRING_VALUE", // required
|
|
160
|
+
* // Issuer: "STRING_VALUE", // required
|
|
161
|
+
* // AdditionalClaims: [ // JwtValidationActionAdditionalClaims
|
|
162
|
+
* // { // JwtValidationActionAdditionalClaim
|
|
163
|
+
* // Format: "single-string" || "string-array" || "space-separated-values", // required
|
|
164
|
+
* // Name: "STRING_VALUE", // required
|
|
165
|
+
* // Values: [ // JwtValidationActionAdditionalClaimValues // required
|
|
166
|
+
* // "STRING_VALUE",
|
|
167
|
+
* // ],
|
|
168
|
+
* // },
|
|
169
|
+
* // ],
|
|
170
|
+
* // },
|
|
158
171
|
* // },
|
|
159
172
|
* // ],
|
|
160
173
|
* // IsDefault: true || false,
|
|
@@ -234,9 +234,9 @@ export interface TargetGroupStickinessConfig {
|
|
|
234
234
|
*/
|
|
235
235
|
Enabled?: boolean | undefined;
|
|
236
236
|
/**
|
|
237
|
-
* <p>The time period, in seconds, during which requests from a
|
|
238
|
-
* same target group. The range is 1-604800 seconds (7 days). You
|
|
239
|
-
* enabling target group stickiness.</p>
|
|
237
|
+
* <p>[Application Load Balancers] The time period, in seconds, during which requests from a
|
|
238
|
+
* client should be routed to the same target group. The range is 1-604800 seconds (7 days). You
|
|
239
|
+
* must specify this value when enabling target group stickiness.</p>
|
|
240
240
|
* @public
|
|
241
241
|
*/
|
|
242
242
|
DurationSeconds?: number | undefined;
|
|
@@ -247,8 +247,7 @@ export interface TargetGroupStickinessConfig {
|
|
|
247
247
|
*/
|
|
248
248
|
export interface ForwardActionConfig {
|
|
249
249
|
/**
|
|
250
|
-
* <p>The target groups
|
|
251
|
-
* group.</p>
|
|
250
|
+
* <p>The target groups.</p>
|
|
252
251
|
* @public
|
|
253
252
|
*/
|
|
254
253
|
TargetGroups?: TargetGroupTuple[] | undefined;
|
|
@@ -258,6 +257,70 @@ export interface ForwardActionConfig {
|
|
|
258
257
|
*/
|
|
259
258
|
TargetGroupStickinessConfig?: TargetGroupStickinessConfig | undefined;
|
|
260
259
|
}
|
|
260
|
+
/**
|
|
261
|
+
* @public
|
|
262
|
+
* @enum
|
|
263
|
+
*/
|
|
264
|
+
export declare const JwtValidationActionAdditionalClaimFormatEnum: {
|
|
265
|
+
readonly SINGLE_STRING: "single-string";
|
|
266
|
+
readonly SPACE_SEPARATED_VALUES: "space-separated-values";
|
|
267
|
+
readonly STRING_ARRAY: "string-array";
|
|
268
|
+
};
|
|
269
|
+
/**
|
|
270
|
+
* @public
|
|
271
|
+
*/
|
|
272
|
+
export type JwtValidationActionAdditionalClaimFormatEnum = (typeof JwtValidationActionAdditionalClaimFormatEnum)[keyof typeof JwtValidationActionAdditionalClaimFormatEnum];
|
|
273
|
+
/**
|
|
274
|
+
* <p>Information about an additional claim to validate.</p>
|
|
275
|
+
* @public
|
|
276
|
+
*/
|
|
277
|
+
export interface JwtValidationActionAdditionalClaim {
|
|
278
|
+
/**
|
|
279
|
+
* <p>The format of the claim value.</p>
|
|
280
|
+
* @public
|
|
281
|
+
*/
|
|
282
|
+
Format: JwtValidationActionAdditionalClaimFormatEnum | undefined;
|
|
283
|
+
/**
|
|
284
|
+
* <p>The name of the claim. You can't specify <code>exp</code>, <code>iss</code>,
|
|
285
|
+
* <code>nbf</code>, or <code>iat</code> because we validate them by default.</p>
|
|
286
|
+
* @public
|
|
287
|
+
*/
|
|
288
|
+
Name: string | undefined;
|
|
289
|
+
/**
|
|
290
|
+
* <p>The claim value. The maximum size of the list is 10.
|
|
291
|
+
* Each value can be up to 256 characters in length.
|
|
292
|
+
* If the format is <code>space-separated-values</code>, the values
|
|
293
|
+
* can't include spaces.</p>
|
|
294
|
+
* @public
|
|
295
|
+
*/
|
|
296
|
+
Values: string[] | undefined;
|
|
297
|
+
}
|
|
298
|
+
/**
|
|
299
|
+
* <p>Information about a JSON Web Token (JWT) validation action.</p>
|
|
300
|
+
* @public
|
|
301
|
+
*/
|
|
302
|
+
export interface JwtValidationActionConfig {
|
|
303
|
+
/**
|
|
304
|
+
* <p>The JSON Web Key Set (JWKS) endpoint. This endpoint contains JSON Web Keys (JWK)
|
|
305
|
+
* that are used to validate signatures from the provider.</p>
|
|
306
|
+
* <p>This must be a full URL, including the HTTPS protocol, the domain, and the path.
|
|
307
|
+
* The maximum length is 256 characters.</p>
|
|
308
|
+
* @public
|
|
309
|
+
*/
|
|
310
|
+
JwksEndpoint: string | undefined;
|
|
311
|
+
/**
|
|
312
|
+
* <p>The issuer of the JWT. The maximum length is 256 characters.</p>
|
|
313
|
+
* @public
|
|
314
|
+
*/
|
|
315
|
+
Issuer: string | undefined;
|
|
316
|
+
/**
|
|
317
|
+
* <p>Additional claims to validate. The maximum size of the list is 10.
|
|
318
|
+
* We validate the <code>exp</code>, <code>iss</code>, <code>nbf</code>,
|
|
319
|
+
* and <code>iat</code> claims by default.</p>
|
|
320
|
+
* @public
|
|
321
|
+
*/
|
|
322
|
+
AdditionalClaims?: JwtValidationActionAdditionalClaim[] | undefined;
|
|
323
|
+
}
|
|
261
324
|
/**
|
|
262
325
|
* @public
|
|
263
326
|
* @enum
|
|
@@ -344,6 +407,7 @@ export declare const ActionTypeEnum: {
|
|
|
344
407
|
readonly AUTHENTICATE_OIDC: "authenticate-oidc";
|
|
345
408
|
readonly FIXED_RESPONSE: "fixed-response";
|
|
346
409
|
readonly FORWARD: "forward";
|
|
410
|
+
readonly JWT_VALIDATION: "jwt-validation";
|
|
347
411
|
readonly REDIRECT: "redirect";
|
|
348
412
|
};
|
|
349
413
|
/**
|
|
@@ -352,9 +416,12 @@ export declare const ActionTypeEnum: {
|
|
|
352
416
|
export type ActionTypeEnum = (typeof ActionTypeEnum)[keyof typeof ActionTypeEnum];
|
|
353
417
|
/**
|
|
354
418
|
* <p>Information about an action.</p>
|
|
355
|
-
* <p>Each rule must include exactly one of the following
|
|
356
|
-
* <code>
|
|
357
|
-
*
|
|
419
|
+
* <p>Each rule must include exactly one of the following routing actions: <code>forward</code>,
|
|
420
|
+
* <code>fixed-response</code>, or <code>redirect</code>, and it must be the last
|
|
421
|
+
* action to be performed.</p>
|
|
422
|
+
* <p>Optionally, a rule for an HTTPS listener can also include one of the following
|
|
423
|
+
* user authentication actions: <code>authenticate-oidc</code>,
|
|
424
|
+
* <code>authenticate-cognito</code>, or <code>jwt-validation</code>.</p>
|
|
358
425
|
* @public
|
|
359
426
|
*/
|
|
360
427
|
export interface Action {
|
|
@@ -365,8 +432,8 @@ export interface Action {
|
|
|
365
432
|
Type: ActionTypeEnum | undefined;
|
|
366
433
|
/**
|
|
367
434
|
* <p>The Amazon Resource Name (ARN) of the target group. Specify only when <code>Type</code> is
|
|
368
|
-
* <code>forward</code> and you want to route to a single target group. To route to
|
|
369
|
-
* target groups, use <code>ForwardConfig</code> instead.</p>
|
|
435
|
+
* <code>forward</code> and you want to route to a single target group. To route to multiple
|
|
436
|
+
* target groups, you must use <code>ForwardConfig</code> instead.</p>
|
|
370
437
|
* @public
|
|
371
438
|
*/
|
|
372
439
|
TargetGroupArn?: string | undefined;
|
|
@@ -401,15 +468,20 @@ export interface Action {
|
|
|
401
468
|
*/
|
|
402
469
|
FixedResponseConfig?: FixedResponseActionConfig | undefined;
|
|
403
470
|
/**
|
|
404
|
-
* <p>Information for creating an action that distributes requests among
|
|
405
|
-
* groups.
|
|
406
|
-
*
|
|
407
|
-
*
|
|
408
|
-
*
|
|
409
|
-
* <code>TargetGroupArn</code>.</p>
|
|
471
|
+
* <p>Information for creating an action that distributes requests among multiple target
|
|
472
|
+
* groups. Specify only when <code>Type</code> is <code>forward</code>.</p>
|
|
473
|
+
* <p>If you specify both <code>ForwardConfig</code> and <code>TargetGroupArn</code>, you can
|
|
474
|
+
* specify only one target group using <code>ForwardConfig</code> and it must be the same
|
|
475
|
+
* target group specified in <code>TargetGroupArn</code>.</p>
|
|
410
476
|
* @public
|
|
411
477
|
*/
|
|
412
478
|
ForwardConfig?: ForwardActionConfig | undefined;
|
|
479
|
+
/**
|
|
480
|
+
* <p>[HTTPS listeners] Information for validating JWT access tokens in client requests.
|
|
481
|
+
* Specify only when <code>Type</code> is <code>jwt-validation</code>.</p>
|
|
482
|
+
* @public
|
|
483
|
+
*/
|
|
484
|
+
JwtValidationConfig?: JwtValidationActionConfig | undefined;
|
|
413
485
|
}
|
|
414
486
|
/**
|
|
415
487
|
* <p>Information about an SSL server certificate.</p>
|
|
@@ -4212,13 +4284,11 @@ export interface TargetHealth {
|
|
|
4212
4284
|
* <li>
|
|
4213
4285
|
* <p>
|
|
4214
4286
|
* <code>Target.ResponseCodeMismatch</code> - The health checks did not return an
|
|
4215
|
-
* expected HTTP code
|
|
4216
|
-
* Balancers.</p>
|
|
4287
|
+
* expected HTTP code.</p>
|
|
4217
4288
|
* </li>
|
|
4218
4289
|
* <li>
|
|
4219
4290
|
* <p>
|
|
4220
|
-
* <code>Target.Timeout</code> - The health check requests timed out
|
|
4221
|
-
* Application Load Balancers and Gateway Load Balancers.</p>
|
|
4291
|
+
* <code>Target.Timeout</code> - The health check requests timed out.</p>
|
|
4222
4292
|
* </li>
|
|
4223
4293
|
* <li>
|
|
4224
4294
|
* <p>
|
|
@@ -4227,8 +4297,7 @@ export interface TargetHealth {
|
|
|
4227
4297
|
* </li>
|
|
4228
4298
|
* <li>
|
|
4229
4299
|
* <p>
|
|
4230
|
-
* <code>Elb.InternalError</code> - The health checks failed due to an internal error
|
|
4231
|
-
* Applies only to Application Load Balancers.</p>
|
|
4300
|
+
* <code>Elb.InternalError</code> - The health checks failed due to an internal error.</p>
|
|
4232
4301
|
* </li>
|
|
4233
4302
|
* </ul>
|
|
4234
4303
|
* <p>If the target state is <code>unused</code>, the reason code can be one of the following
|
|
@@ -4270,12 +4339,12 @@ export interface TargetHealth {
|
|
|
4270
4339
|
* <li>
|
|
4271
4340
|
* <p>
|
|
4272
4341
|
* <code>Target.HealthCheckDisabled</code> - Health checks are disabled for the target
|
|
4273
|
-
* group
|
|
4342
|
+
* group.</p>
|
|
4274
4343
|
* </li>
|
|
4275
4344
|
* <li>
|
|
4276
4345
|
* <p>
|
|
4277
4346
|
* <code>Elb.InternalError</code> - Target health is unavailable due to an internal
|
|
4278
|
-
* error
|
|
4347
|
+
* error.</p>
|
|
4279
4348
|
* </li>
|
|
4280
4349
|
* </ul>
|
|
4281
4350
|
* @public
|
|
@@ -5211,7 +5280,8 @@ export interface SetSecurityGroupsInput {
|
|
|
5211
5280
|
SecurityGroups: string[] | undefined;
|
|
5212
5281
|
/**
|
|
5213
5282
|
* <p>Indicates whether to evaluate inbound security group rules for traffic sent to a
|
|
5214
|
-
* Network Load Balancer through Amazon Web Services PrivateLink.
|
|
5283
|
+
* Network Load Balancer through Amazon Web Services PrivateLink. Applies only if the load balancer
|
|
5284
|
+
* has an associated security group. The default is <code>on</code>.</p>
|
|
5215
5285
|
* @public
|
|
5216
5286
|
*/
|
|
5217
5287
|
EnforceSecurityGroupInboundRulesOnPrivateLinkTraffic?: EnforceSecurityGroupInboundRulesOnPrivateLinkTrafficEnum | undefined;
|
|
@@ -29,6 +29,7 @@ export declare const getRuntimeConfig: (config: ElasticLoadBalancingV2ClientConf
|
|
|
29
29
|
profile?: string;
|
|
30
30
|
logger: import("@smithy/types").Logger;
|
|
31
31
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
32
|
+
protocol: import("@smithy/types").ClientProtocol<import("@smithy/types").HttpRequest, import("@smithy/types").HttpResponse>;
|
|
32
33
|
customUserAgent?: string | import("@smithy/types").UserAgent;
|
|
33
34
|
userAgentAppId?: string | undefined | import("@smithy/types").Provider<string | undefined>;
|
|
34
35
|
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
|
|
@@ -31,6 +31,7 @@ export declare const getRuntimeConfig: (config: ElasticLoadBalancingV2ClientConf
|
|
|
31
31
|
profile?: string;
|
|
32
32
|
logger: import("@smithy/types").Logger;
|
|
33
33
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
34
|
+
protocol: import("@smithy/types").ClientProtocol<import("@smithy/types").HttpRequest, import("@smithy/types").HttpResponse>;
|
|
34
35
|
customUserAgent?: string | import("@smithy/types").UserAgent;
|
|
35
36
|
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
|
|
36
37
|
endpoint?: ((string | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>) & (string | import("@smithy/types").Provider<string> | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>)) | undefined;
|
|
@@ -27,6 +27,7 @@ export declare const getRuntimeConfig: (config: ElasticLoadBalancingV2ClientConf
|
|
|
27
27
|
retryMode: string | import("@smithy/types").Provider<string>;
|
|
28
28
|
logger: import("@smithy/types").Logger;
|
|
29
29
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
30
|
+
protocol: import("@smithy/types").ClientProtocol<import("@smithy/types").HttpRequest, import("@smithy/types").HttpResponse>;
|
|
30
31
|
defaultsMode: import("@smithy/smithy-client").DefaultsMode | import("@smithy/types").Provider<import("@smithy/smithy-client").DefaultsMode>;
|
|
31
32
|
customUserAgent?: string | import("@smithy/types").UserAgent;
|
|
32
33
|
userAgentAppId?: string | undefined | import("@smithy/types").Provider<string | undefined>;
|
|
@@ -14,6 +14,7 @@ export declare const getRuntimeConfig: (config: ElasticLoadBalancingV2ClientConf
|
|
|
14
14
|
httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").ElasticLoadBalancingV2HttpAuthSchemeProvider;
|
|
15
15
|
httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
|
|
16
16
|
logger: import("@smithy/types").Logger;
|
|
17
|
+
protocol: import("@smithy/types").ClientProtocol<import("@smithy/types").HttpRequest, import("@smithy/types").HttpResponse>;
|
|
17
18
|
serviceId: string;
|
|
18
19
|
urlParser: import("@smithy/types").UrlParser;
|
|
19
20
|
utf8Decoder: import("@smithy/types").Decoder;
|