@aws-sdk/client-network-firewall 3.236.0 → 3.240.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 +3 -3
- package/dist-cjs/protocols/Aws_json1_0.js +1 -0
- package/dist-es/endpoint/ruleset.js +3 -3
- package/dist-es/protocols/Aws_json1_0.js +1 -0
- package/dist-types/NetworkFirewall.d.ts +2 -2
- package/dist-types/commands/PutResourcePolicyCommand.d.ts +2 -2
- package/dist-types/endpoint/EndpointParameters.d.ts +1 -1
- package/dist-types/models/models_0.d.ts +39 -35
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +1 -1
- package/dist-types/ts3.4/models/models_0.d.ts +1 -0
- package/package.json +5 -4
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.ruleSet = void 0;
|
|
4
|
-
const
|
|
5
|
-
const a =
|
|
6
|
-
const _data = { version: "1.0", parameters: { Region:
|
|
4
|
+
const q = "fn", r = "argv", s = "ref";
|
|
5
|
+
const a = true, b = false, c = "String", d = "PartitionResult", e = "tree", f = "error", g = "endpoint", h = { "required": true, "default": false, "type": "Boolean" }, i = { [s]: "Endpoint" }, j = { [q]: "booleanEquals", [r]: [{ [s]: "UseFIPS" }, true] }, k = { [q]: "booleanEquals", [r]: [{ [s]: "UseDualStack" }, true] }, l = {}, m = { [q]: "booleanEquals", [r]: [true, { [q]: "getAttr", [r]: [{ [s]: d }, "supportsFIPS"] }] }, n = { [q]: "booleanEquals", [r]: [true, { [q]: "getAttr", [r]: [{ [s]: d }, "supportsDualStack"] }] }, o = [j], p = [k];
|
|
6
|
+
const _data = { version: "1.0", parameters: { Region: { required: a, type: c }, UseDualStack: h, UseFIPS: h, Endpoint: { required: b, type: c } }, rules: [{ conditions: [{ [q]: "aws.partition", [r]: [{ [s]: "Region" }], assign: d }], type: e, rules: [{ conditions: [{ [q]: "isSet", [r]: [i] }], type: e, rules: [{ conditions: o, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: f }, { type: e, rules: [{ conditions: p, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: f }, { endpoint: { url: i, properties: l, headers: l }, type: g }] }] }, { conditions: [j, k], type: e, rules: [{ conditions: [m, n], type: e, rules: [{ endpoint: { url: "https://network-firewall-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: l, headers: l }, type: g }] }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: f }] }, { conditions: o, type: e, rules: [{ conditions: [m], type: e, rules: [{ type: e, rules: [{ endpoint: { url: "https://network-firewall-fips.{Region}.{PartitionResult#dnsSuffix}", properties: l, headers: l }, type: g }] }] }, { error: "FIPS is enabled but this partition does not support FIPS", type: f }] }, { conditions: p, type: e, rules: [{ conditions: [n], type: e, rules: [{ endpoint: { url: "https://network-firewall.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: l, headers: l }, type: g }] }, { error: "DualStack is enabled but this partition does not support DualStack", type: f }] }, { endpoint: { url: "https://network-firewall.{Region}.{PartitionResult#dnsSuffix}", properties: l, headers: l }, type: g }] }] };
|
|
7
7
|
exports.ruleSet = _data;
|
|
@@ -2626,6 +2626,7 @@ const deserializeAws_json1_0Attachment = (output, context) => {
|
|
|
2626
2626
|
return {
|
|
2627
2627
|
EndpointId: (0, smithy_client_1.expectString)(output.EndpointId),
|
|
2628
2628
|
Status: (0, smithy_client_1.expectString)(output.Status),
|
|
2629
|
+
StatusMessage: (0, smithy_client_1.expectString)(output.StatusMessage),
|
|
2629
2630
|
SubnetId: (0, smithy_client_1.expectString)(output.SubnetId),
|
|
2630
2631
|
};
|
|
2631
2632
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const
|
|
2
|
-
const a =
|
|
3
|
-
const _data = { version: "1.0", parameters: { Region:
|
|
1
|
+
const q = "fn", r = "argv", s = "ref";
|
|
2
|
+
const a = true, b = false, c = "String", d = "PartitionResult", e = "tree", f = "error", g = "endpoint", h = { "required": true, "default": false, "type": "Boolean" }, i = { [s]: "Endpoint" }, j = { [q]: "booleanEquals", [r]: [{ [s]: "UseFIPS" }, true] }, k = { [q]: "booleanEquals", [r]: [{ [s]: "UseDualStack" }, true] }, l = {}, m = { [q]: "booleanEquals", [r]: [true, { [q]: "getAttr", [r]: [{ [s]: d }, "supportsFIPS"] }] }, n = { [q]: "booleanEquals", [r]: [true, { [q]: "getAttr", [r]: [{ [s]: d }, "supportsDualStack"] }] }, o = [j], p = [k];
|
|
3
|
+
const _data = { version: "1.0", parameters: { Region: { required: a, type: c }, UseDualStack: h, UseFIPS: h, Endpoint: { required: b, type: c } }, rules: [{ conditions: [{ [q]: "aws.partition", [r]: [{ [s]: "Region" }], assign: d }], type: e, rules: [{ conditions: [{ [q]: "isSet", [r]: [i] }], type: e, rules: [{ conditions: o, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: f }, { type: e, rules: [{ conditions: p, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: f }, { endpoint: { url: i, properties: l, headers: l }, type: g }] }] }, { conditions: [j, k], type: e, rules: [{ conditions: [m, n], type: e, rules: [{ endpoint: { url: "https://network-firewall-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: l, headers: l }, type: g }] }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: f }] }, { conditions: o, type: e, rules: [{ conditions: [m], type: e, rules: [{ type: e, rules: [{ endpoint: { url: "https://network-firewall-fips.{Region}.{PartitionResult#dnsSuffix}", properties: l, headers: l }, type: g }] }] }, { error: "FIPS is enabled but this partition does not support FIPS", type: f }] }, { conditions: p, type: e, rules: [{ conditions: [n], type: e, rules: [{ endpoint: { url: "https://network-firewall.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: l, headers: l }, type: g }] }, { error: "DualStack is enabled but this partition does not support DualStack", type: f }] }, { endpoint: { url: "https://network-firewall.{Region}.{PartitionResult#dnsSuffix}", properties: l, headers: l }, type: g }] }] };
|
|
4
4
|
export const ruleSet = _data;
|
|
@@ -2560,6 +2560,7 @@ const deserializeAws_json1_0Attachment = (output, context) => {
|
|
|
2560
2560
|
return {
|
|
2561
2561
|
EndpointId: __expectString(output.EndpointId),
|
|
2562
2562
|
Status: __expectString(output.Status),
|
|
2563
|
+
StatusMessage: __expectString(output.StatusMessage),
|
|
2563
2564
|
SubnetId: __expectString(output.SubnetId),
|
|
2564
2565
|
};
|
|
2565
2566
|
};
|
|
@@ -291,11 +291,11 @@ export declare class NetworkFirewall extends NetworkFirewallClient {
|
|
|
291
291
|
* <li>
|
|
292
292
|
* <p>
|
|
293
293
|
* <a href="https://docs.aws.amazon.com/ram/latest/APIReference/API_GetResourceShareInvitations.html">GetResourceShareInvitations</a> - Returns the Amazon Resource Names (ARNs) of the resource share invitations. </p>
|
|
294
|
-
*
|
|
294
|
+
* </li>
|
|
295
295
|
* <li>
|
|
296
296
|
* <p>
|
|
297
297
|
* <a href="https://docs.aws.amazon.com/ram/latest/APIReference/API_AcceptResourceShareInvitation.html">AcceptResourceShareInvitation</a> - Accepts the share invitation for a specified resource share. </p>
|
|
298
|
-
*
|
|
298
|
+
* </li>
|
|
299
299
|
* </ul>
|
|
300
300
|
* <p>For additional information about resource sharing using RAM, see <a href="https://docs.aws.amazon.com/ram/latest/userguide/what-is.html">Resource Access Manager User Guide</a>.</p>
|
|
301
301
|
*/
|
|
@@ -16,11 +16,11 @@ export interface PutResourcePolicyCommandOutput extends PutResourcePolicyRespons
|
|
|
16
16
|
* <li>
|
|
17
17
|
* <p>
|
|
18
18
|
* <a href="https://docs.aws.amazon.com/ram/latest/APIReference/API_GetResourceShareInvitations.html">GetResourceShareInvitations</a> - Returns the Amazon Resource Names (ARNs) of the resource share invitations. </p>
|
|
19
|
-
*
|
|
19
|
+
* </li>
|
|
20
20
|
* <li>
|
|
21
21
|
* <p>
|
|
22
22
|
* <a href="https://docs.aws.amazon.com/ram/latest/APIReference/API_AcceptResourceShareInvitation.html">AcceptResourceShareInvitation</a> - Accepts the share invitation for a specified resource share. </p>
|
|
23
|
-
*
|
|
23
|
+
* </li>
|
|
24
24
|
* </ul>
|
|
25
25
|
* <p>For additional information about resource sharing using RAM, see <a href="https://docs.aws.amazon.com/ram/latest/userguide/what-is.html">Resource Access Manager User Guide</a>.</p>
|
|
26
26
|
* @example
|
|
@@ -12,7 +12,7 @@ export declare const resolveClientEndpointParameters: <T>(options: T & ClientInp
|
|
|
12
12
|
defaultSigningName: string;
|
|
13
13
|
};
|
|
14
14
|
export interface EndpointParameters extends __EndpointParameters {
|
|
15
|
-
Region
|
|
15
|
+
Region: string;
|
|
16
16
|
UseDualStack?: boolean;
|
|
17
17
|
UseFIPS?: boolean;
|
|
18
18
|
Endpoint?: string;
|
|
@@ -70,12 +70,12 @@ export interface AssociateFirewallPolicyRequest {
|
|
|
70
70
|
UpdateToken?: string;
|
|
71
71
|
/**
|
|
72
72
|
* <p>The Amazon Resource Name (ARN) of the firewall.</p>
|
|
73
|
-
*
|
|
73
|
+
* <p>You must specify the ARN or the name, and you can specify both. </p>
|
|
74
74
|
*/
|
|
75
75
|
FirewallArn?: string;
|
|
76
76
|
/**
|
|
77
77
|
* <p>The descriptive name of the firewall. You can't change the name of a firewall after you create it.</p>
|
|
78
|
-
*
|
|
78
|
+
* <p>You must specify the ARN or the name, and you can specify both. </p>
|
|
79
79
|
*/
|
|
80
80
|
FirewallName?: string;
|
|
81
81
|
/**
|
|
@@ -211,12 +211,12 @@ export interface AssociateSubnetsRequest {
|
|
|
211
211
|
UpdateToken?: string;
|
|
212
212
|
/**
|
|
213
213
|
* <p>The Amazon Resource Name (ARN) of the firewall.</p>
|
|
214
|
-
*
|
|
214
|
+
* <p>You must specify the ARN or the name, and you can specify both. </p>
|
|
215
215
|
*/
|
|
216
216
|
FirewallArn?: string;
|
|
217
217
|
/**
|
|
218
218
|
* <p>The descriptive name of the firewall. You can't change the name of a firewall after you create it.</p>
|
|
219
|
-
*
|
|
219
|
+
* <p>You must specify the ARN or the name, and you can specify both. </p>
|
|
220
220
|
*/
|
|
221
221
|
FirewallName?: string;
|
|
222
222
|
/**
|
|
@@ -285,9 +285,13 @@ export interface Attachment {
|
|
|
285
285
|
* the <code>Config</code> settings. When this value is <code>READY</code>, the endpoint is
|
|
286
286
|
* available and configured properly to handle network traffic. When the endpoint isn't
|
|
287
287
|
* available for traffic, this value will reflect its state, for example
|
|
288
|
-
* <code>CREATING</code
|
|
288
|
+
* <code>CREATING</code> or <code>DELETING</code>.</p>
|
|
289
289
|
*/
|
|
290
290
|
Status?: AttachmentStatus | string;
|
|
291
|
+
/**
|
|
292
|
+
* <p>If Network Firewall fails to create or delete the firewall endpoint in the subnet, it populates this with the reason for the failure and how to resolve it. Depending on the error, it can take as many as 15 minutes to populate this field. For more information about the errors and solutions available for this field, see <a href="https://docs.aws.amazon.com/network-firewall/latest/developerguide/firewall-troubleshooting-endpoint-failures.html">Troubleshooting firewall endpoint failures</a> in the <i>Network Firewall Developer Guide</i>.</p>
|
|
293
|
+
*/
|
|
294
|
+
StatusMessage?: string;
|
|
291
295
|
}
|
|
292
296
|
/**
|
|
293
297
|
* <p>General information about the IP set.</p>
|
|
@@ -950,7 +954,7 @@ export interface RulesSourceList {
|
|
|
950
954
|
* </li>
|
|
951
955
|
* <li>
|
|
952
956
|
* <p>Names that use a domain wildcard, which you indicate with an initial '<code>.</code>'. For example,<code>.example.com</code> matches <code>example.com</code> and matches all subdomains of <code>example.com</code>, such as <code>abc.example.com</code> and <code>www.example.com</code>. </p>
|
|
953
|
-
*
|
|
957
|
+
* </li>
|
|
954
958
|
* </ul>
|
|
955
959
|
*/
|
|
956
960
|
Targets: string[] | undefined;
|
|
@@ -1155,10 +1159,10 @@ export interface TCPFlagField {
|
|
|
1155
1159
|
* <ul>
|
|
1156
1160
|
* <li>
|
|
1157
1161
|
* <p>The ones that are set in this flags setting must be set in the packet. </p>
|
|
1158
|
-
*
|
|
1162
|
+
* </li>
|
|
1159
1163
|
* <li>
|
|
1160
1164
|
* <p>The ones that are not set in this flags setting must also not be set in the packet. </p>
|
|
1161
|
-
*
|
|
1165
|
+
* </li>
|
|
1162
1166
|
* </ul>
|
|
1163
1167
|
*/
|
|
1164
1168
|
Flags: (TCPFlag | string)[] | undefined;
|
|
@@ -1609,12 +1613,12 @@ export interface CreateRuleGroupResponse {
|
|
|
1609
1613
|
export interface DeleteFirewallRequest {
|
|
1610
1614
|
/**
|
|
1611
1615
|
* <p>The descriptive name of the firewall. You can't change the name of a firewall after you create it.</p>
|
|
1612
|
-
*
|
|
1616
|
+
* <p>You must specify the ARN or the name, and you can specify both. </p>
|
|
1613
1617
|
*/
|
|
1614
1618
|
FirewallName?: string;
|
|
1615
1619
|
/**
|
|
1616
1620
|
* <p>The Amazon Resource Name (ARN) of the firewall.</p>
|
|
1617
|
-
*
|
|
1621
|
+
* <p>You must specify the ARN or the name, and you can specify both. </p>
|
|
1618
1622
|
*/
|
|
1619
1623
|
FirewallArn?: string;
|
|
1620
1624
|
}
|
|
@@ -1711,12 +1715,12 @@ export interface DeleteRuleGroupResponse {
|
|
|
1711
1715
|
export interface DescribeFirewallRequest {
|
|
1712
1716
|
/**
|
|
1713
1717
|
* <p>The descriptive name of the firewall. You can't change the name of a firewall after you create it.</p>
|
|
1714
|
-
*
|
|
1718
|
+
* <p>You must specify the ARN or the name, and you can specify both. </p>
|
|
1715
1719
|
*/
|
|
1716
1720
|
FirewallName?: string;
|
|
1717
1721
|
/**
|
|
1718
1722
|
* <p>The Amazon Resource Name (ARN) of the firewall.</p>
|
|
1719
|
-
*
|
|
1723
|
+
* <p>You must specify the ARN or the name, and you can specify both. </p>
|
|
1720
1724
|
*/
|
|
1721
1725
|
FirewallArn?: string;
|
|
1722
1726
|
}
|
|
@@ -1739,12 +1743,12 @@ export interface DescribeFirewallResponse {
|
|
|
1739
1743
|
export interface DescribeFirewallPolicyRequest {
|
|
1740
1744
|
/**
|
|
1741
1745
|
* <p>The descriptive name of the firewall policy. You can't change the name of a firewall policy after you create it.</p>
|
|
1742
|
-
*
|
|
1746
|
+
* <p>You must specify the ARN or the name, and you can specify both. </p>
|
|
1743
1747
|
*/
|
|
1744
1748
|
FirewallPolicyName?: string;
|
|
1745
1749
|
/**
|
|
1746
1750
|
* <p>The Amazon Resource Name (ARN) of the firewall policy.</p>
|
|
1747
|
-
*
|
|
1751
|
+
* <p>You must specify the ARN or the name, and you can specify both. </p>
|
|
1748
1752
|
*/
|
|
1749
1753
|
FirewallPolicyArn?: string;
|
|
1750
1754
|
}
|
|
@@ -1766,12 +1770,12 @@ export interface DescribeFirewallPolicyResponse {
|
|
|
1766
1770
|
export interface DescribeLoggingConfigurationRequest {
|
|
1767
1771
|
/**
|
|
1768
1772
|
* <p>The Amazon Resource Name (ARN) of the firewall.</p>
|
|
1769
|
-
*
|
|
1773
|
+
* <p>You must specify the ARN or the name, and you can specify both. </p>
|
|
1770
1774
|
*/
|
|
1771
1775
|
FirewallArn?: string;
|
|
1772
1776
|
/**
|
|
1773
1777
|
* <p>The descriptive name of the firewall. You can't change the name of a firewall after you create it.</p>
|
|
1774
|
-
*
|
|
1778
|
+
* <p>You must specify the ARN or the name, and you can specify both. </p>
|
|
1775
1779
|
*/
|
|
1776
1780
|
FirewallName?: string;
|
|
1777
1781
|
}
|
|
@@ -1873,18 +1877,18 @@ export interface DescribeResourcePolicyResponse {
|
|
|
1873
1877
|
export interface DescribeRuleGroupRequest {
|
|
1874
1878
|
/**
|
|
1875
1879
|
* <p>The descriptive name of the rule group. You can't change the name of a rule group after you create it.</p>
|
|
1876
|
-
*
|
|
1880
|
+
* <p>You must specify the ARN or the name, and you can specify both. </p>
|
|
1877
1881
|
*/
|
|
1878
1882
|
RuleGroupName?: string;
|
|
1879
1883
|
/**
|
|
1880
1884
|
* <p>The Amazon Resource Name (ARN) of the rule group.</p>
|
|
1881
|
-
*
|
|
1885
|
+
* <p>You must specify the ARN or the name, and you can specify both. </p>
|
|
1882
1886
|
*/
|
|
1883
1887
|
RuleGroupArn?: string;
|
|
1884
1888
|
/**
|
|
1885
1889
|
* <p>Indicates whether the rule group is stateless or stateful. If the rule group is stateless, it contains
|
|
1886
1890
|
* stateless rules. If it is stateful, it contains stateful rules. </p>
|
|
1887
|
-
*
|
|
1891
|
+
* <note>
|
|
1888
1892
|
* <p>This setting is required for requests that do not include the <code>RuleGroupARN</code>.</p>
|
|
1889
1893
|
* </note>
|
|
1890
1894
|
*/
|
|
@@ -1980,12 +1984,12 @@ export interface DisassociateSubnetsRequest {
|
|
|
1980
1984
|
UpdateToken?: string;
|
|
1981
1985
|
/**
|
|
1982
1986
|
* <p>The Amazon Resource Name (ARN) of the firewall.</p>
|
|
1983
|
-
*
|
|
1987
|
+
* <p>You must specify the ARN or the name, and you can specify both. </p>
|
|
1984
1988
|
*/
|
|
1985
1989
|
FirewallArn?: string;
|
|
1986
1990
|
/**
|
|
1987
1991
|
* <p>The descriptive name of the firewall. You can't change the name of a firewall after you create it.</p>
|
|
1988
|
-
*
|
|
1992
|
+
* <p>You must specify the ARN or the name, and you can specify both. </p>
|
|
1989
1993
|
*/
|
|
1990
1994
|
FirewallName?: string;
|
|
1991
1995
|
/**
|
|
@@ -2295,12 +2299,12 @@ export interface UpdateFirewallDeleteProtectionRequest {
|
|
|
2295
2299
|
UpdateToken?: string;
|
|
2296
2300
|
/**
|
|
2297
2301
|
* <p>The Amazon Resource Name (ARN) of the firewall.</p>
|
|
2298
|
-
*
|
|
2302
|
+
* <p>You must specify the ARN or the name, and you can specify both. </p>
|
|
2299
2303
|
*/
|
|
2300
2304
|
FirewallArn?: string;
|
|
2301
2305
|
/**
|
|
2302
2306
|
* <p>The descriptive name of the firewall. You can't change the name of a firewall after you create it.</p>
|
|
2303
|
-
*
|
|
2307
|
+
* <p>You must specify the ARN or the name, and you can specify both. </p>
|
|
2304
2308
|
*/
|
|
2305
2309
|
FirewallName?: string;
|
|
2306
2310
|
/**
|
|
@@ -2341,12 +2345,12 @@ export interface UpdateFirewallDescriptionRequest {
|
|
|
2341
2345
|
UpdateToken?: string;
|
|
2342
2346
|
/**
|
|
2343
2347
|
* <p>The Amazon Resource Name (ARN) of the firewall.</p>
|
|
2344
|
-
*
|
|
2348
|
+
* <p>You must specify the ARN or the name, and you can specify both. </p>
|
|
2345
2349
|
*/
|
|
2346
2350
|
FirewallArn?: string;
|
|
2347
2351
|
/**
|
|
2348
2352
|
* <p>The descriptive name of the firewall. You can't change the name of a firewall after you create it.</p>
|
|
2349
|
-
*
|
|
2353
|
+
* <p>You must specify the ARN or the name, and you can specify both. </p>
|
|
2350
2354
|
*/
|
|
2351
2355
|
FirewallName?: string;
|
|
2352
2356
|
/**
|
|
@@ -2423,12 +2427,12 @@ export interface UpdateFirewallPolicyRequest {
|
|
|
2423
2427
|
UpdateToken: string | undefined;
|
|
2424
2428
|
/**
|
|
2425
2429
|
* <p>The Amazon Resource Name (ARN) of the firewall policy.</p>
|
|
2426
|
-
*
|
|
2430
|
+
* <p>You must specify the ARN or the name, and you can specify both. </p>
|
|
2427
2431
|
*/
|
|
2428
2432
|
FirewallPolicyArn?: string;
|
|
2429
2433
|
/**
|
|
2430
2434
|
* <p>The descriptive name of the firewall policy. You can't change the name of a firewall policy after you create it.</p>
|
|
2431
|
-
*
|
|
2435
|
+
* <p>You must specify the ARN or the name, and you can specify both. </p>
|
|
2432
2436
|
*/
|
|
2433
2437
|
FirewallPolicyName?: string;
|
|
2434
2438
|
/**
|
|
@@ -2473,12 +2477,12 @@ export interface UpdateFirewallPolicyChangeProtectionRequest {
|
|
|
2473
2477
|
UpdateToken?: string;
|
|
2474
2478
|
/**
|
|
2475
2479
|
* <p>The Amazon Resource Name (ARN) of the firewall.</p>
|
|
2476
|
-
*
|
|
2480
|
+
* <p>You must specify the ARN or the name, and you can specify both. </p>
|
|
2477
2481
|
*/
|
|
2478
2482
|
FirewallArn?: string;
|
|
2479
2483
|
/**
|
|
2480
2484
|
* <p>The descriptive name of the firewall. You can't change the name of a firewall after you create it.</p>
|
|
2481
|
-
*
|
|
2485
|
+
* <p>You must specify the ARN or the name, and you can specify both. </p>
|
|
2482
2486
|
*/
|
|
2483
2487
|
FirewallName?: string;
|
|
2484
2488
|
/**
|
|
@@ -2513,12 +2517,12 @@ export interface UpdateFirewallPolicyChangeProtectionResponse {
|
|
|
2513
2517
|
export interface UpdateLoggingConfigurationRequest {
|
|
2514
2518
|
/**
|
|
2515
2519
|
* <p>The Amazon Resource Name (ARN) of the firewall.</p>
|
|
2516
|
-
*
|
|
2520
|
+
* <p>You must specify the ARN or the name, and you can specify both. </p>
|
|
2517
2521
|
*/
|
|
2518
2522
|
FirewallArn?: string;
|
|
2519
2523
|
/**
|
|
2520
2524
|
* <p>The descriptive name of the firewall. You can't change the name of a firewall after you create it.</p>
|
|
2521
|
-
*
|
|
2525
|
+
* <p>You must specify the ARN or the name, and you can specify both. </p>
|
|
2522
2526
|
*/
|
|
2523
2527
|
FirewallName?: string;
|
|
2524
2528
|
/**
|
|
@@ -2549,12 +2553,12 @@ export interface UpdateRuleGroupRequest {
|
|
|
2549
2553
|
UpdateToken: string | undefined;
|
|
2550
2554
|
/**
|
|
2551
2555
|
* <p>The Amazon Resource Name (ARN) of the rule group.</p>
|
|
2552
|
-
*
|
|
2556
|
+
* <p>You must specify the ARN or the name, and you can specify both. </p>
|
|
2553
2557
|
*/
|
|
2554
2558
|
RuleGroupArn?: string;
|
|
2555
2559
|
/**
|
|
2556
2560
|
* <p>The descriptive name of the rule group. You can't change the name of a rule group after you create it.</p>
|
|
2557
|
-
*
|
|
2561
|
+
* <p>You must specify the ARN or the name, and you can specify both. </p>
|
|
2558
2562
|
*/
|
|
2559
2563
|
RuleGroupName?: string;
|
|
2560
2564
|
/**
|
|
@@ -2577,7 +2581,7 @@ export interface UpdateRuleGroupRequest {
|
|
|
2577
2581
|
/**
|
|
2578
2582
|
* <p>Indicates whether the rule group is stateless or stateful. If the rule group is stateless, it contains
|
|
2579
2583
|
* stateless rules. If it is stateful, it contains stateful rules. </p>
|
|
2580
|
-
*
|
|
2584
|
+
* <note>
|
|
2581
2585
|
* <p>This setting is required for requests that do not include the <code>RuleGroupARN</code>.</p>
|
|
2582
2586
|
* </note>
|
|
2583
2587
|
*/
|
|
@@ -2629,7 +2633,7 @@ export interface UpdateSubnetChangeProtectionRequest {
|
|
|
2629
2633
|
FirewallArn?: string;
|
|
2630
2634
|
/**
|
|
2631
2635
|
* <p>The descriptive name of the firewall. You can't change the name of a firewall after you create it.</p>
|
|
2632
|
-
*
|
|
2636
|
+
* <p>You must specify the ARN or the name, and you can specify both. </p>
|
|
2633
2637
|
*/
|
|
2634
2638
|
FirewallName?: string;
|
|
2635
2639
|
/**
|
|
@@ -27,7 +27,7 @@ export declare const resolveClientEndpointParameters: <T>(
|
|
|
27
27
|
defaultSigningName: string;
|
|
28
28
|
};
|
|
29
29
|
export interface EndpointParameters extends __EndpointParameters {
|
|
30
|
-
Region
|
|
30
|
+
Region: string;
|
|
31
31
|
UseDualStack?: boolean;
|
|
32
32
|
UseFIPS?: boolean;
|
|
33
33
|
Endpoint?: string;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-network-firewall",
|
|
3
3
|
"description": "AWS SDK for JavaScript Network Firewall Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.240.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -10,7 +10,8 @@
|
|
|
10
10
|
"build:include:deps": "lerna run --scope $npm_package_name --include-dependencies build",
|
|
11
11
|
"build:types": "tsc -p tsconfig.types.json",
|
|
12
12
|
"build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4",
|
|
13
|
-
"clean": "rimraf ./dist-* && rimraf *.tsbuildinfo"
|
|
13
|
+
"clean": "rimraf ./dist-* && rimraf *.tsbuildinfo",
|
|
14
|
+
"generate:client": "(cd ../../ && yarn generate-clients -g ./codegen/sdk-codegen/aws-models/network-firewall.json --keepFiles)"
|
|
14
15
|
},
|
|
15
16
|
"main": "./dist-cjs/index.js",
|
|
16
17
|
"types": "./dist-types/index.d.ts",
|
|
@@ -19,9 +20,9 @@
|
|
|
19
20
|
"dependencies": {
|
|
20
21
|
"@aws-crypto/sha256-browser": "2.0.0",
|
|
21
22
|
"@aws-crypto/sha256-js": "2.0.0",
|
|
22
|
-
"@aws-sdk/client-sts": "3.
|
|
23
|
+
"@aws-sdk/client-sts": "3.238.0",
|
|
23
24
|
"@aws-sdk/config-resolver": "3.234.0",
|
|
24
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
25
|
+
"@aws-sdk/credential-provider-node": "3.238.0",
|
|
25
26
|
"@aws-sdk/fetch-http-handler": "3.226.0",
|
|
26
27
|
"@aws-sdk/hash-node": "3.226.0",
|
|
27
28
|
"@aws-sdk/invalid-dependency": "3.226.0",
|