@aws-sdk/client-elastic-load-balancing-v2 3.910.0 → 3.913.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/endpoint/ruleset.js +1 -1
- package/dist-cjs/index.js +264 -12
- package/dist-es/endpoint/ruleset.js +1 -1
- package/dist-es/models/models_0.js +4 -0
- package/dist-es/protocols/Aws_query.js +259 -12
- package/dist-types/commands/CreateRuleCommand.d.ts +67 -16
- package/dist-types/commands/DescribeRulesCommand.d.ts +31 -6
- package/dist-types/commands/ModifyRuleCommand.d.ts +63 -12
- package/dist-types/commands/SetRulePrioritiesCommand.d.ts +31 -6
- package/dist-types/commands/SetSubnetsCommand.d.ts +2 -5
- package/dist-types/models/models_0.d.ts +151 -72
- package/dist-types/ts3.4/models/models_0.d.ts +29 -0
- package/package.json +5 -5
|
@@ -52,17 +52,22 @@ declare const ModifyRuleCommand_base: {
|
|
|
52
52
|
* Values: [
|
|
53
53
|
* "STRING_VALUE",
|
|
54
54
|
* ],
|
|
55
|
+
* RegexValues: [
|
|
56
|
+
* "STRING_VALUE",
|
|
57
|
+
* ],
|
|
55
58
|
* },
|
|
56
59
|
* PathPatternConfig: { // PathPatternConditionConfig
|
|
57
60
|
* Values: [
|
|
58
61
|
* "STRING_VALUE",
|
|
59
62
|
* ],
|
|
63
|
+
* RegexValues: [
|
|
64
|
+
* "STRING_VALUE",
|
|
65
|
+
* ],
|
|
60
66
|
* },
|
|
61
67
|
* HttpHeaderConfig: { // HttpHeaderConditionConfig
|
|
62
68
|
* HttpHeaderName: "STRING_VALUE",
|
|
63
|
-
* Values:
|
|
64
|
-
*
|
|
65
|
-
* ],
|
|
69
|
+
* Values: "<ListOfString>",
|
|
70
|
+
* RegexValues: "<ListOfString>",
|
|
66
71
|
* },
|
|
67
72
|
* QueryStringConfig: { // QueryStringConditionConfig
|
|
68
73
|
* Values: [ // QueryStringKeyValuePairList
|
|
@@ -73,13 +78,12 @@ declare const ModifyRuleCommand_base: {
|
|
|
73
78
|
* ],
|
|
74
79
|
* },
|
|
75
80
|
* HttpRequestMethodConfig: { // HttpRequestMethodConditionConfig
|
|
76
|
-
* Values:
|
|
77
|
-
* "STRING_VALUE",
|
|
78
|
-
* ],
|
|
81
|
+
* Values: "<ListOfString>",
|
|
79
82
|
* },
|
|
80
83
|
* SourceIpConfig: { // SourceIpConditionConfig
|
|
81
84
|
* Values: "<ListOfString>",
|
|
82
85
|
* },
|
|
86
|
+
* RegexValues: "<ListOfString>",
|
|
83
87
|
* },
|
|
84
88
|
* ],
|
|
85
89
|
* Actions: [ // Actions
|
|
@@ -142,6 +146,28 @@ declare const ModifyRuleCommand_base: {
|
|
|
142
146
|
* },
|
|
143
147
|
* },
|
|
144
148
|
* ],
|
|
149
|
+
* Transforms: [ // RuleTransformList
|
|
150
|
+
* { // RuleTransform
|
|
151
|
+
* Type: "host-header-rewrite" || "url-rewrite", // required
|
|
152
|
+
* HostHeaderRewriteConfig: { // HostHeaderRewriteConfig
|
|
153
|
+
* Rewrites: [ // RewriteConfigList
|
|
154
|
+
* { // RewriteConfig
|
|
155
|
+
* Regex: "STRING_VALUE", // required
|
|
156
|
+
* Replace: "STRING_VALUE", // required
|
|
157
|
+
* },
|
|
158
|
+
* ],
|
|
159
|
+
* },
|
|
160
|
+
* UrlRewriteConfig: { // UrlRewriteConfig
|
|
161
|
+
* Rewrites: [
|
|
162
|
+
* {
|
|
163
|
+
* Regex: "STRING_VALUE", // required
|
|
164
|
+
* Replace: "STRING_VALUE", // required
|
|
165
|
+
* },
|
|
166
|
+
* ],
|
|
167
|
+
* },
|
|
168
|
+
* },
|
|
169
|
+
* ],
|
|
170
|
+
* ResetTransforms: true || false,
|
|
145
171
|
* };
|
|
146
172
|
* const command = new ModifyRuleCommand(input);
|
|
147
173
|
* const response = await client.send(command);
|
|
@@ -160,17 +186,22 @@ declare const ModifyRuleCommand_base: {
|
|
|
160
186
|
* // Values: [
|
|
161
187
|
* // "STRING_VALUE",
|
|
162
188
|
* // ],
|
|
189
|
+
* // RegexValues: [
|
|
190
|
+
* // "STRING_VALUE",
|
|
191
|
+
* // ],
|
|
163
192
|
* // },
|
|
164
193
|
* // PathPatternConfig: { // PathPatternConditionConfig
|
|
165
194
|
* // Values: [
|
|
166
195
|
* // "STRING_VALUE",
|
|
167
196
|
* // ],
|
|
197
|
+
* // RegexValues: [
|
|
198
|
+
* // "STRING_VALUE",
|
|
199
|
+
* // ],
|
|
168
200
|
* // },
|
|
169
201
|
* // HttpHeaderConfig: { // HttpHeaderConditionConfig
|
|
170
202
|
* // HttpHeaderName: "STRING_VALUE",
|
|
171
|
-
* // Values:
|
|
172
|
-
* //
|
|
173
|
-
* // ],
|
|
203
|
+
* // Values: "<ListOfString>",
|
|
204
|
+
* // RegexValues: "<ListOfString>",
|
|
174
205
|
* // },
|
|
175
206
|
* // QueryStringConfig: { // QueryStringConditionConfig
|
|
176
207
|
* // Values: [ // QueryStringKeyValuePairList
|
|
@@ -181,13 +212,12 @@ declare const ModifyRuleCommand_base: {
|
|
|
181
212
|
* // ],
|
|
182
213
|
* // },
|
|
183
214
|
* // HttpRequestMethodConfig: { // HttpRequestMethodConditionConfig
|
|
184
|
-
* // Values:
|
|
185
|
-
* // "STRING_VALUE",
|
|
186
|
-
* // ],
|
|
215
|
+
* // Values: "<ListOfString>",
|
|
187
216
|
* // },
|
|
188
217
|
* // SourceIpConfig: { // SourceIpConditionConfig
|
|
189
218
|
* // Values: "<ListOfString>",
|
|
190
219
|
* // },
|
|
220
|
+
* // RegexValues: "<ListOfString>",
|
|
191
221
|
* // },
|
|
192
222
|
* // ],
|
|
193
223
|
* // Actions: [ // Actions
|
|
@@ -251,6 +281,27 @@ declare const ModifyRuleCommand_base: {
|
|
|
251
281
|
* // },
|
|
252
282
|
* // ],
|
|
253
283
|
* // IsDefault: true || false,
|
|
284
|
+
* // Transforms: [ // RuleTransformList
|
|
285
|
+
* // { // RuleTransform
|
|
286
|
+
* // Type: "host-header-rewrite" || "url-rewrite", // required
|
|
287
|
+
* // HostHeaderRewriteConfig: { // HostHeaderRewriteConfig
|
|
288
|
+
* // Rewrites: [ // RewriteConfigList
|
|
289
|
+
* // { // RewriteConfig
|
|
290
|
+
* // Regex: "STRING_VALUE", // required
|
|
291
|
+
* // Replace: "STRING_VALUE", // required
|
|
292
|
+
* // },
|
|
293
|
+
* // ],
|
|
294
|
+
* // },
|
|
295
|
+
* // UrlRewriteConfig: { // UrlRewriteConfig
|
|
296
|
+
* // Rewrites: [
|
|
297
|
+
* // {
|
|
298
|
+
* // Regex: "STRING_VALUE", // required
|
|
299
|
+
* // Replace: "STRING_VALUE", // required
|
|
300
|
+
* // },
|
|
301
|
+
* // ],
|
|
302
|
+
* // },
|
|
303
|
+
* // },
|
|
304
|
+
* // ],
|
|
254
305
|
* // },
|
|
255
306
|
* // ],
|
|
256
307
|
* // };
|
|
@@ -63,17 +63,22 @@ declare const SetRulePrioritiesCommand_base: {
|
|
|
63
63
|
* // Values: [
|
|
64
64
|
* // "STRING_VALUE",
|
|
65
65
|
* // ],
|
|
66
|
+
* // RegexValues: [
|
|
67
|
+
* // "STRING_VALUE",
|
|
68
|
+
* // ],
|
|
66
69
|
* // },
|
|
67
70
|
* // PathPatternConfig: { // PathPatternConditionConfig
|
|
68
71
|
* // Values: [
|
|
69
72
|
* // "STRING_VALUE",
|
|
70
73
|
* // ],
|
|
74
|
+
* // RegexValues: [
|
|
75
|
+
* // "STRING_VALUE",
|
|
76
|
+
* // ],
|
|
71
77
|
* // },
|
|
72
78
|
* // HttpHeaderConfig: { // HttpHeaderConditionConfig
|
|
73
79
|
* // HttpHeaderName: "STRING_VALUE",
|
|
74
|
-
* // Values:
|
|
75
|
-
* //
|
|
76
|
-
* // ],
|
|
80
|
+
* // Values: "<ListOfString>",
|
|
81
|
+
* // RegexValues: "<ListOfString>",
|
|
77
82
|
* // },
|
|
78
83
|
* // QueryStringConfig: { // QueryStringConditionConfig
|
|
79
84
|
* // Values: [ // QueryStringKeyValuePairList
|
|
@@ -84,13 +89,12 @@ declare const SetRulePrioritiesCommand_base: {
|
|
|
84
89
|
* // ],
|
|
85
90
|
* // },
|
|
86
91
|
* // HttpRequestMethodConfig: { // HttpRequestMethodConditionConfig
|
|
87
|
-
* // Values:
|
|
88
|
-
* // "STRING_VALUE",
|
|
89
|
-
* // ],
|
|
92
|
+
* // Values: "<ListOfString>",
|
|
90
93
|
* // },
|
|
91
94
|
* // SourceIpConfig: { // SourceIpConditionConfig
|
|
92
95
|
* // Values: "<ListOfString>",
|
|
93
96
|
* // },
|
|
97
|
+
* // RegexValues: "<ListOfString>",
|
|
94
98
|
* // },
|
|
95
99
|
* // ],
|
|
96
100
|
* // Actions: [ // Actions
|
|
@@ -154,6 +158,27 @@ declare const SetRulePrioritiesCommand_base: {
|
|
|
154
158
|
* // },
|
|
155
159
|
* // ],
|
|
156
160
|
* // IsDefault: true || false,
|
|
161
|
+
* // Transforms: [ // RuleTransformList
|
|
162
|
+
* // { // RuleTransform
|
|
163
|
+
* // Type: "host-header-rewrite" || "url-rewrite", // required
|
|
164
|
+
* // HostHeaderRewriteConfig: { // HostHeaderRewriteConfig
|
|
165
|
+
* // Rewrites: [ // RewriteConfigList
|
|
166
|
+
* // { // RewriteConfig
|
|
167
|
+
* // Regex: "STRING_VALUE", // required
|
|
168
|
+
* // Replace: "STRING_VALUE", // required
|
|
169
|
+
* // },
|
|
170
|
+
* // ],
|
|
171
|
+
* // },
|
|
172
|
+
* // UrlRewriteConfig: { // UrlRewriteConfig
|
|
173
|
+
* // Rewrites: [
|
|
174
|
+
* // {
|
|
175
|
+
* // Regex: "STRING_VALUE", // required
|
|
176
|
+
* // Replace: "STRING_VALUE", // required
|
|
177
|
+
* // },
|
|
178
|
+
* // ],
|
|
179
|
+
* // },
|
|
180
|
+
* // },
|
|
181
|
+
* // ],
|
|
157
182
|
* // },
|
|
158
183
|
* // ],
|
|
159
184
|
* // };
|
|
@@ -28,11 +28,8 @@ declare const SetSubnetsCommand_base: {
|
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
30
|
* <p>Enables the Availability Zones for the specified public subnets for the specified
|
|
31
|
-
* Application Load Balancer, Network Load Balancer or Gateway Load Balancer. The specified subnets
|
|
32
|
-
* previously enabled subnets.</p>
|
|
33
|
-
* <p>When you specify subnets for a Network Load Balancer, or Gateway Load Balancer you must include all subnets that
|
|
34
|
-
* were enabled previously, with their existing configurations, plus any additional
|
|
35
|
-
* subnets.</p>
|
|
31
|
+
* Application Load Balancer, Network Load Balancer or Gateway Load Balancer. The specified subnets
|
|
32
|
+
* replace the previously enabled subnets.</p>
|
|
36
33
|
* @example
|
|
37
34
|
* Use a bare-bones client and the command you need to make an API call.
|
|
38
35
|
* ```javascript
|
|
@@ -1185,7 +1185,7 @@ export interface CreateListenerInput {
|
|
|
1185
1185
|
*/
|
|
1186
1186
|
Tags?: Tag[] | undefined;
|
|
1187
1187
|
/**
|
|
1188
|
-
* <p>The mutual authentication configuration information.</p>
|
|
1188
|
+
* <p>[HTTPS listeners] The mutual authentication configuration information.</p>
|
|
1189
1189
|
* @public
|
|
1190
1190
|
*/
|
|
1191
1191
|
MutualAuthentication?: MutualAuthenticationAttributes | undefined;
|
|
@@ -1882,7 +1882,7 @@ export declare class TooManyLoadBalancersException extends __BaseException {
|
|
|
1882
1882
|
*/
|
|
1883
1883
|
export interface HostHeaderConditionConfig {
|
|
1884
1884
|
/**
|
|
1885
|
-
* <p>The host names. The maximum
|
|
1885
|
+
* <p>The host names. The maximum length of each string is 128 characters. The comparison is
|
|
1886
1886
|
* case insensitive. The following wildcard characters are supported: * (matches 0 or more
|
|
1887
1887
|
* characters) and ? (matches exactly 1 character). You must include at least one "."
|
|
1888
1888
|
* character. You can include only alphabetical characters after the final "." character.</p>
|
|
@@ -1891,6 +1891,11 @@ export interface HostHeaderConditionConfig {
|
|
|
1891
1891
|
* @public
|
|
1892
1892
|
*/
|
|
1893
1893
|
Values?: string[] | undefined;
|
|
1894
|
+
/**
|
|
1895
|
+
* <p>The regular expressions to compare against the host header. The maximum length of each string is 128 characters.</p>
|
|
1896
|
+
* @public
|
|
1897
|
+
*/
|
|
1898
|
+
RegexValues?: string[] | undefined;
|
|
1894
1899
|
}
|
|
1895
1900
|
/**
|
|
1896
1901
|
* <p>Information about an HTTP header condition.</p>
|
|
@@ -1900,7 +1905,7 @@ export interface HostHeaderConditionConfig {
|
|
|
1900
1905
|
*/
|
|
1901
1906
|
export interface HttpHeaderConditionConfig {
|
|
1902
1907
|
/**
|
|
1903
|
-
* <p>The name of the HTTP header field. The maximum
|
|
1908
|
+
* <p>The name of the HTTP header field. The maximum length is 40 characters. The header name is
|
|
1904
1909
|
* case insensitive. The allowed characters are specified by RFC 7230. Wildcards are not
|
|
1905
1910
|
* supported.</p>
|
|
1906
1911
|
* <p>You can't use an HTTP header condition to specify the host header. Instead, use a <a href="https://docs.aws.amazon.com/elasticloadbalancing/latest/application/load-balancer-listeners.html#host-conditions">host condition</a>.</p>
|
|
@@ -1908,7 +1913,7 @@ export interface HttpHeaderConditionConfig {
|
|
|
1908
1913
|
*/
|
|
1909
1914
|
HttpHeaderName?: string | undefined;
|
|
1910
1915
|
/**
|
|
1911
|
-
* <p>The strings to compare against the value of the HTTP header. The maximum
|
|
1916
|
+
* <p>The strings to compare against the value of the HTTP header. The maximum length of
|
|
1912
1917
|
* each string is 128 characters. The comparison strings are case insensitive. The following
|
|
1913
1918
|
* wildcard characters are supported: * (matches 0 or more characters) and ? (matches exactly 1
|
|
1914
1919
|
* character).</p>
|
|
@@ -1920,6 +1925,11 @@ export interface HttpHeaderConditionConfig {
|
|
|
1920
1925
|
* @public
|
|
1921
1926
|
*/
|
|
1922
1927
|
Values?: string[] | undefined;
|
|
1928
|
+
/**
|
|
1929
|
+
* <p>The regular expression to compare against the HTTP header. The maximum length of each string is 128 characters.</p>
|
|
1930
|
+
* @public
|
|
1931
|
+
*/
|
|
1932
|
+
RegexValues?: string[] | undefined;
|
|
1923
1933
|
}
|
|
1924
1934
|
/**
|
|
1925
1935
|
* <p>Information about an HTTP method condition.</p>
|
|
@@ -1930,7 +1940,7 @@ export interface HttpHeaderConditionConfig {
|
|
|
1930
1940
|
*/
|
|
1931
1941
|
export interface HttpRequestMethodConditionConfig {
|
|
1932
1942
|
/**
|
|
1933
|
-
* <p>The name of the request method. The maximum
|
|
1943
|
+
* <p>The name of the request method. The maximum length is 40 characters. The allowed characters
|
|
1934
1944
|
* are A-Z, hyphen (-), and underscore (_). The comparison is case sensitive. Wildcards are not
|
|
1935
1945
|
* supported; therefore, the method name must be an exact match.</p>
|
|
1936
1946
|
* <p>If you specify multiple strings, the condition is satisfied if one of the strings matches
|
|
@@ -1946,7 +1956,7 @@ export interface HttpRequestMethodConditionConfig {
|
|
|
1946
1956
|
*/
|
|
1947
1957
|
export interface PathPatternConditionConfig {
|
|
1948
1958
|
/**
|
|
1949
|
-
* <p>The path patterns to compare against the request URL. The maximum
|
|
1959
|
+
* <p>The path patterns to compare against the request URL. The maximum length of each
|
|
1950
1960
|
* string is 128 characters. The comparison is case sensitive. The following wildcard characters
|
|
1951
1961
|
* are supported: * (matches 0 or more characters) and ? (matches exactly 1 character).</p>
|
|
1952
1962
|
* <p>If you specify multiple strings, the condition is satisfied if one of them matches the
|
|
@@ -1955,6 +1965,11 @@ export interface PathPatternConditionConfig {
|
|
|
1955
1965
|
* @public
|
|
1956
1966
|
*/
|
|
1957
1967
|
Values?: string[] | undefined;
|
|
1968
|
+
/**
|
|
1969
|
+
* <p>The regular expressions to compare against the request URL. The maximum length of each string is 128 characters.</p>
|
|
1970
|
+
* @public
|
|
1971
|
+
*/
|
|
1972
|
+
RegexValues?: string[] | undefined;
|
|
1958
1973
|
}
|
|
1959
1974
|
/**
|
|
1960
1975
|
* <p>Information about a key/value pair.</p>
|
|
@@ -1982,7 +1997,7 @@ export interface QueryStringKeyValuePair {
|
|
|
1982
1997
|
*/
|
|
1983
1998
|
export interface QueryStringConditionConfig {
|
|
1984
1999
|
/**
|
|
1985
|
-
* <p>The key/value pairs or values to find in the query string. The maximum
|
|
2000
|
+
* <p>The key/value pairs or values to find in the query string. The maximum length of
|
|
1986
2001
|
* each string is 128 characters. The comparison is case insensitive. The following wildcard
|
|
1987
2002
|
* characters are supported: * (matches 0 or more characters) and ? (matches exactly 1
|
|
1988
2003
|
* character). To search for a literal '*' or '?' character in a query string, you must escape
|
|
@@ -2144,6 +2159,96 @@ export interface RuleCondition {
|
|
|
2144
2159
|
* @public
|
|
2145
2160
|
*/
|
|
2146
2161
|
SourceIpConfig?: SourceIpConditionConfig | undefined;
|
|
2162
|
+
/**
|
|
2163
|
+
* <p>The regular expressions to match against the condition field. The maximum length of each string is 128 characters.
|
|
2164
|
+
* Specify only when <code>Field</code> is <code>http-header</code>, <code>host-header</code>, or <code>path-pattern</code>.</p>
|
|
2165
|
+
* @public
|
|
2166
|
+
*/
|
|
2167
|
+
RegexValues?: string[] | undefined;
|
|
2168
|
+
}
|
|
2169
|
+
/**
|
|
2170
|
+
* <p>Information about a rewrite transform. This transform matches a pattern and replaces it with the specified string.</p>
|
|
2171
|
+
* @public
|
|
2172
|
+
*/
|
|
2173
|
+
export interface RewriteConfig {
|
|
2174
|
+
/**
|
|
2175
|
+
* <p>The regular expression to match in the input string. The maximum length of the string is 1,024 characters.</p>
|
|
2176
|
+
* @public
|
|
2177
|
+
*/
|
|
2178
|
+
Regex: string | undefined;
|
|
2179
|
+
/**
|
|
2180
|
+
* <p>The replacement string to use when rewriting the matched input. The maximum length of the string is 1,024 characters.
|
|
2181
|
+
* You can specify capture groups in the regular expression (for example, $1 and $2).</p>
|
|
2182
|
+
* @public
|
|
2183
|
+
*/
|
|
2184
|
+
Replace: string | undefined;
|
|
2185
|
+
}
|
|
2186
|
+
/**
|
|
2187
|
+
* <p>Information about a host header rewrite transform. This transform matches a pattern in the host header in an HTTP request and replaces it with the specified string.</p>
|
|
2188
|
+
* @public
|
|
2189
|
+
*/
|
|
2190
|
+
export interface HostHeaderRewriteConfig {
|
|
2191
|
+
/**
|
|
2192
|
+
* <p>The host header rewrite transform. Each transform consists of a regular expression to match and a replacement string.</p>
|
|
2193
|
+
* @public
|
|
2194
|
+
*/
|
|
2195
|
+
Rewrites?: RewriteConfig[] | undefined;
|
|
2196
|
+
}
|
|
2197
|
+
/**
|
|
2198
|
+
* @public
|
|
2199
|
+
* @enum
|
|
2200
|
+
*/
|
|
2201
|
+
export declare const TransformTypeEnum: {
|
|
2202
|
+
readonly HOST_HEADER_REWRITE: "host-header-rewrite";
|
|
2203
|
+
readonly URL_REWRITE: "url-rewrite";
|
|
2204
|
+
};
|
|
2205
|
+
/**
|
|
2206
|
+
* @public
|
|
2207
|
+
*/
|
|
2208
|
+
export type TransformTypeEnum = (typeof TransformTypeEnum)[keyof typeof TransformTypeEnum];
|
|
2209
|
+
/**
|
|
2210
|
+
* <p>Information about a URL rewrite transform. This transform matches a pattern in the request URL and replaces it with the specified string.</p>
|
|
2211
|
+
* @public
|
|
2212
|
+
*/
|
|
2213
|
+
export interface UrlRewriteConfig {
|
|
2214
|
+
/**
|
|
2215
|
+
* <p>The URL rewrite transform to apply to the request. The transform consists of a regular expression to match and a replacement string.</p>
|
|
2216
|
+
* @public
|
|
2217
|
+
*/
|
|
2218
|
+
Rewrites?: RewriteConfig[] | undefined;
|
|
2219
|
+
}
|
|
2220
|
+
/**
|
|
2221
|
+
* <p>Information about a transform to apply to requests that match a rule. Transforms are applied to requests before they are sent to targets.</p>
|
|
2222
|
+
* @public
|
|
2223
|
+
*/
|
|
2224
|
+
export interface RuleTransform {
|
|
2225
|
+
/**
|
|
2226
|
+
* <p>The type of transform. </p>
|
|
2227
|
+
* <ul>
|
|
2228
|
+
* <li>
|
|
2229
|
+
* <p>
|
|
2230
|
+
* <code>host-header-rewrite</code> - Rewrite the host header.</p>
|
|
2231
|
+
* </li>
|
|
2232
|
+
* <li>
|
|
2233
|
+
* <p>
|
|
2234
|
+
* <code>url-rewrite</code> - Rewrite the request URL.</p>
|
|
2235
|
+
* </li>
|
|
2236
|
+
* </ul>
|
|
2237
|
+
* @public
|
|
2238
|
+
*/
|
|
2239
|
+
Type: TransformTypeEnum | undefined;
|
|
2240
|
+
/**
|
|
2241
|
+
* <p>Information about a host header rewrite transform. This transform modifies the host header in an HTTP request.
|
|
2242
|
+
* Specify only when <code>Type</code> is <code>host-header-rewrite</code>.</p>
|
|
2243
|
+
* @public
|
|
2244
|
+
*/
|
|
2245
|
+
HostHeaderRewriteConfig?: HostHeaderRewriteConfig | undefined;
|
|
2246
|
+
/**
|
|
2247
|
+
* <p>Information about a URL rewrite transform. This transform modifies the request URL.
|
|
2248
|
+
* Specify only when <code>Type</code> is <code>url-rewrite</code>.</p>
|
|
2249
|
+
* @public
|
|
2250
|
+
*/
|
|
2251
|
+
UrlRewriteConfig?: UrlRewriteConfig | undefined;
|
|
2147
2252
|
}
|
|
2148
2253
|
/**
|
|
2149
2254
|
* @public
|
|
@@ -2174,6 +2279,12 @@ export interface CreateRuleInput {
|
|
|
2174
2279
|
* @public
|
|
2175
2280
|
*/
|
|
2176
2281
|
Tags?: Tag[] | undefined;
|
|
2282
|
+
/**
|
|
2283
|
+
* <p>The transforms to apply to requests that match this rule. You can add one host header rewrite transform
|
|
2284
|
+
* and one URL rewrite transform.</p>
|
|
2285
|
+
* @public
|
|
2286
|
+
*/
|
|
2287
|
+
Transforms?: RuleTransform[] | undefined;
|
|
2177
2288
|
}
|
|
2178
2289
|
/**
|
|
2179
2290
|
* <p>Information about a rule.</p>
|
|
@@ -2210,6 +2321,11 @@ export interface Rule {
|
|
|
2210
2321
|
* @public
|
|
2211
2322
|
*/
|
|
2212
2323
|
IsDefault?: boolean | undefined;
|
|
2324
|
+
/**
|
|
2325
|
+
* <p>The transforms for the rule.</p>
|
|
2326
|
+
* @public
|
|
2327
|
+
*/
|
|
2328
|
+
Transforms?: RuleTransform[] | undefined;
|
|
2213
2329
|
}
|
|
2214
2330
|
/**
|
|
2215
2331
|
* @public
|
|
@@ -2975,63 +3091,7 @@ export interface DescribeAccountLimitsInput {
|
|
|
2975
3091
|
*/
|
|
2976
3092
|
export interface Limit {
|
|
2977
3093
|
/**
|
|
2978
|
-
* <p>The name of the limit
|
|
2979
|
-
* <ul>
|
|
2980
|
-
* <li>
|
|
2981
|
-
* <p>application-load-balancers</p>
|
|
2982
|
-
* </li>
|
|
2983
|
-
* <li>
|
|
2984
|
-
* <p>condition-values-per-alb-rule</p>
|
|
2985
|
-
* </li>
|
|
2986
|
-
* <li>
|
|
2987
|
-
* <p>condition-wildcards-per-alb-rule</p>
|
|
2988
|
-
* </li>
|
|
2989
|
-
* <li>
|
|
2990
|
-
* <p>gateway-load-balancers</p>
|
|
2991
|
-
* </li>
|
|
2992
|
-
* <li>
|
|
2993
|
-
* <p>gateway-load-balancers-per-vpc</p>
|
|
2994
|
-
* </li>
|
|
2995
|
-
* <li>
|
|
2996
|
-
* <p>geneve-target-groups</p>
|
|
2997
|
-
* </li>
|
|
2998
|
-
* <li>
|
|
2999
|
-
* <p>listeners-per-application-load-balancer</p>
|
|
3000
|
-
* </li>
|
|
3001
|
-
* <li>
|
|
3002
|
-
* <p>listeners-per-network-load-balancer</p>
|
|
3003
|
-
* </li>
|
|
3004
|
-
* <li>
|
|
3005
|
-
* <p>network-load-balancers</p>
|
|
3006
|
-
* </li>
|
|
3007
|
-
* <li>
|
|
3008
|
-
* <p>rules-per-application-load-balancer</p>
|
|
3009
|
-
* </li>
|
|
3010
|
-
* <li>
|
|
3011
|
-
* <p>target-groups</p>
|
|
3012
|
-
* </li>
|
|
3013
|
-
* <li>
|
|
3014
|
-
* <p>target-groups-per-action-on-application-load-balancer</p>
|
|
3015
|
-
* </li>
|
|
3016
|
-
* <li>
|
|
3017
|
-
* <p>target-groups-per-action-on-network-load-balancer</p>
|
|
3018
|
-
* </li>
|
|
3019
|
-
* <li>
|
|
3020
|
-
* <p>target-groups-per-application-load-balancer</p>
|
|
3021
|
-
* </li>
|
|
3022
|
-
* <li>
|
|
3023
|
-
* <p>targets-per-application-load-balancer</p>
|
|
3024
|
-
* </li>
|
|
3025
|
-
* <li>
|
|
3026
|
-
* <p>targets-per-availability-zone-per-gateway-load-balancer</p>
|
|
3027
|
-
* </li>
|
|
3028
|
-
* <li>
|
|
3029
|
-
* <p>targets-per-availability-zone-per-network-load-balancer</p>
|
|
3030
|
-
* </li>
|
|
3031
|
-
* <li>
|
|
3032
|
-
* <p>targets-per-network-load-balancer</p>
|
|
3033
|
-
* </li>
|
|
3034
|
-
* </ul>
|
|
3094
|
+
* <p>The name of the limit.</p>
|
|
3035
3095
|
* @public
|
|
3036
3096
|
*/
|
|
3037
3097
|
Name?: string | undefined;
|
|
@@ -3524,10 +3584,12 @@ export interface LoadBalancerAttribute {
|
|
|
3524
3584
|
* </li>
|
|
3525
3585
|
* <li>
|
|
3526
3586
|
* <p>
|
|
3527
|
-
* <code>routing.http2.enabled</code> - Indicates whether
|
|
3528
|
-
*
|
|
3529
|
-
*
|
|
3530
|
-
* characters and hyphens
|
|
3587
|
+
* <code>routing.http2.enabled</code> - Indicates whether clients can connect to the load
|
|
3588
|
+
* balancer using HTTP/2. If <code>true</code>, clients can connect using HTTP/2 or HTTP/1.1.
|
|
3589
|
+
* However, all client requests are subject to the stricter HTTP/2 header validation rules.
|
|
3590
|
+
* For example, message header names must contain only alphanumeric characters and hyphens.
|
|
3591
|
+
* If <code>false</code>, clients must connect using HTTP/1.1. The default is
|
|
3592
|
+
* <code>true</code>.</p>
|
|
3531
3593
|
* </li>
|
|
3532
3594
|
* <li>
|
|
3533
3595
|
* <p>
|
|
@@ -4720,7 +4782,7 @@ export interface ModifyListenerInput {
|
|
|
4720
4782
|
*/
|
|
4721
4783
|
AlpnPolicy?: string[] | undefined;
|
|
4722
4784
|
/**
|
|
4723
|
-
* <p>The mutual authentication configuration information.</p>
|
|
4785
|
+
* <p>[HTTPS listeners] The mutual authentication configuration information.</p>
|
|
4724
4786
|
* @public
|
|
4725
4787
|
*/
|
|
4726
4788
|
MutualAuthentication?: MutualAuthenticationAttributes | undefined;
|
|
@@ -4804,6 +4866,18 @@ export interface ModifyRuleInput {
|
|
|
4804
4866
|
* @public
|
|
4805
4867
|
*/
|
|
4806
4868
|
Actions?: Action[] | undefined;
|
|
4869
|
+
/**
|
|
4870
|
+
* <p>The transforms to apply to requests that match this rule. You can add one host header rewrite transform
|
|
4871
|
+
* and one URL rewrite transform. If you specify <code>Transforms</code>, you can't specify <code>ResetTransforms</code>.</p>
|
|
4872
|
+
* @public
|
|
4873
|
+
*/
|
|
4874
|
+
Transforms?: RuleTransform[] | undefined;
|
|
4875
|
+
/**
|
|
4876
|
+
* <p>Indicates whether to remove all transforms from the rule. If you specify <code>ResetTransforms</code>,
|
|
4877
|
+
* you can't specify <code>Transforms</code>.</p>
|
|
4878
|
+
* @public
|
|
4879
|
+
*/
|
|
4880
|
+
ResetTransforms?: boolean | undefined;
|
|
4807
4881
|
}
|
|
4808
4882
|
/**
|
|
4809
4883
|
* @public
|
|
@@ -4848,7 +4922,10 @@ export interface ModifyTargetGroupInput {
|
|
|
4848
4922
|
*/
|
|
4849
4923
|
HealthCheckPath?: string | undefined;
|
|
4850
4924
|
/**
|
|
4851
|
-
* <p>Indicates whether health checks are enabled
|
|
4925
|
+
* <p>Indicates whether health checks are enabled. If the target type is <code>lambda</code>,
|
|
4926
|
+
* health checks are disabled by default but can be enabled. If the target type is
|
|
4927
|
+
* <code>instance</code>, <code>ip</code>, or <code>alb</code>, health checks are always
|
|
4928
|
+
* enabled and can't be disabled.</p>
|
|
4852
4929
|
* @public
|
|
4853
4930
|
*/
|
|
4854
4931
|
HealthCheckEnabled?: boolean | undefined;
|
|
@@ -5172,8 +5249,10 @@ export interface SetSubnetsInput {
|
|
|
5172
5249
|
* <p>[Application Load Balancers on Outposts] You must specify one Outpost subnet.</p>
|
|
5173
5250
|
* <p>[Application Load Balancers on Local Zones] You can specify subnets from one or more Local
|
|
5174
5251
|
* Zones.</p>
|
|
5175
|
-
* <p>[Network Load Balancers
|
|
5176
|
-
*
|
|
5252
|
+
* <p>[Network Load Balancers] You can specify subnets from one or more Availability Zones.</p>
|
|
5253
|
+
* <p>[Gateway Load Balancers] You can specify subnets from one or more Availability Zones.
|
|
5254
|
+
* You must include all subnets that were enabled previously, with their existing configurations,
|
|
5255
|
+
* plus any additional subnets.</p>
|
|
5177
5256
|
* @public
|
|
5178
5257
|
*/
|
|
5179
5258
|
Subnets?: string[] | undefined;
|
|
@@ -704,16 +704,19 @@ export declare class TooManyLoadBalancersException extends __BaseException {
|
|
|
704
704
|
}
|
|
705
705
|
export interface HostHeaderConditionConfig {
|
|
706
706
|
Values?: string[] | undefined;
|
|
707
|
+
RegexValues?: string[] | undefined;
|
|
707
708
|
}
|
|
708
709
|
export interface HttpHeaderConditionConfig {
|
|
709
710
|
HttpHeaderName?: string | undefined;
|
|
710
711
|
Values?: string[] | undefined;
|
|
712
|
+
RegexValues?: string[] | undefined;
|
|
711
713
|
}
|
|
712
714
|
export interface HttpRequestMethodConditionConfig {
|
|
713
715
|
Values?: string[] | undefined;
|
|
714
716
|
}
|
|
715
717
|
export interface PathPatternConditionConfig {
|
|
716
718
|
Values?: string[] | undefined;
|
|
719
|
+
RegexValues?: string[] | undefined;
|
|
717
720
|
}
|
|
718
721
|
export interface QueryStringKeyValuePair {
|
|
719
722
|
Key?: string | undefined;
|
|
@@ -734,6 +737,28 @@ export interface RuleCondition {
|
|
|
734
737
|
QueryStringConfig?: QueryStringConditionConfig | undefined;
|
|
735
738
|
HttpRequestMethodConfig?: HttpRequestMethodConditionConfig | undefined;
|
|
736
739
|
SourceIpConfig?: SourceIpConditionConfig | undefined;
|
|
740
|
+
RegexValues?: string[] | undefined;
|
|
741
|
+
}
|
|
742
|
+
export interface RewriteConfig {
|
|
743
|
+
Regex: string | undefined;
|
|
744
|
+
Replace: string | undefined;
|
|
745
|
+
}
|
|
746
|
+
export interface HostHeaderRewriteConfig {
|
|
747
|
+
Rewrites?: RewriteConfig[] | undefined;
|
|
748
|
+
}
|
|
749
|
+
export declare const TransformTypeEnum: {
|
|
750
|
+
readonly HOST_HEADER_REWRITE: "host-header-rewrite";
|
|
751
|
+
readonly URL_REWRITE: "url-rewrite";
|
|
752
|
+
};
|
|
753
|
+
export type TransformTypeEnum =
|
|
754
|
+
(typeof TransformTypeEnum)[keyof typeof TransformTypeEnum];
|
|
755
|
+
export interface UrlRewriteConfig {
|
|
756
|
+
Rewrites?: RewriteConfig[] | undefined;
|
|
757
|
+
}
|
|
758
|
+
export interface RuleTransform {
|
|
759
|
+
Type: TransformTypeEnum | undefined;
|
|
760
|
+
HostHeaderRewriteConfig?: HostHeaderRewriteConfig | undefined;
|
|
761
|
+
UrlRewriteConfig?: UrlRewriteConfig | undefined;
|
|
737
762
|
}
|
|
738
763
|
export interface CreateRuleInput {
|
|
739
764
|
ListenerArn: string | undefined;
|
|
@@ -741,6 +766,7 @@ export interface CreateRuleInput {
|
|
|
741
766
|
Priority: number | undefined;
|
|
742
767
|
Actions: Action[] | undefined;
|
|
743
768
|
Tags?: Tag[] | undefined;
|
|
769
|
+
Transforms?: RuleTransform[] | undefined;
|
|
744
770
|
}
|
|
745
771
|
export interface Rule {
|
|
746
772
|
RuleArn?: string | undefined;
|
|
@@ -748,6 +774,7 @@ export interface Rule {
|
|
|
748
774
|
Conditions?: RuleCondition[] | undefined;
|
|
749
775
|
Actions?: Action[] | undefined;
|
|
750
776
|
IsDefault?: boolean | undefined;
|
|
777
|
+
Transforms?: RuleTransform[] | undefined;
|
|
751
778
|
}
|
|
752
779
|
export interface CreateRuleOutput {
|
|
753
780
|
Rules?: Rule[] | undefined;
|
|
@@ -1316,6 +1343,8 @@ export interface ModifyRuleInput {
|
|
|
1316
1343
|
RuleArn: string | undefined;
|
|
1317
1344
|
Conditions?: RuleCondition[] | undefined;
|
|
1318
1345
|
Actions?: Action[] | undefined;
|
|
1346
|
+
Transforms?: RuleTransform[] | undefined;
|
|
1347
|
+
ResetTransforms?: boolean | undefined;
|
|
1319
1348
|
}
|
|
1320
1349
|
export interface ModifyRuleOutput {
|
|
1321
1350
|
Rules?: Rule[] | undefined;
|