@aws-sdk/client-network-firewall 3.43.0 → 3.45.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.
@@ -667,11 +667,11 @@ export declare enum RuleOrder {
667
667
  */
668
668
  export interface StatefulEngineOptions {
669
669
  /**
670
- * <p>Indicates how to manage the order of stateful rule evaluation for the policy. By default, Network Firewall
671
- * leaves the rule evaluation order up to the Suricata rule processing engine. If you set
672
- * this to <code>STRICT_ORDER</code>, your rules are evaluated in the exact order that you provide them
673
- * in the policy. With strict ordering, the rule groups are evaluated by order of priority, starting from the lowest number, and
674
- * the rules in each rule group are processed in the order that they're defined. </p>
670
+ * <p>Indicates how to manage the order of stateful rule evaluation for the policy. <code>DEFAULT_ACTION_ORDER</code> is
671
+ * the default behavior. Stateful rules are provided to the rule engine as Suricata compatible strings, and Suricata evaluates them
672
+ * based on certain settings. For more information, see
673
+ * <a href="https://docs.aws.amazon.com/network-firewall/latest/developerguide/suricata-rule-evaluation-order.html">Evaluation order for stateful rules</a> in the <i>AWS Network Firewall Developer Guide</i>.
674
+ * </p>
675
675
  */
676
676
  RuleOrder?: RuleOrder | string;
677
677
  }
@@ -681,6 +681,25 @@ export declare namespace StatefulEngineOptions {
681
681
  */
682
682
  const filterSensitiveLog: (obj: StatefulEngineOptions) => any;
683
683
  }
684
+ export declare enum OverrideAction {
685
+ DROP_TO_ALERT = "DROP_TO_ALERT"
686
+ }
687
+ /**
688
+ * <p>The setting that allows the policy owner to change the behavior of the rule group within a policy. </p>
689
+ */
690
+ export interface StatefulRuleGroupOverride {
691
+ /**
692
+ * <p>The action that changes the rule group from <code>DROP</code> to <code>ALERT</code>. This only applies to
693
+ * managed rule groups.</p>
694
+ */
695
+ Action?: OverrideAction | string;
696
+ }
697
+ export declare namespace StatefulRuleGroupOverride {
698
+ /**
699
+ * @internal
700
+ */
701
+ const filterSensitiveLog: (obj: StatefulRuleGroupOverride) => any;
702
+ }
684
703
  /**
685
704
  * <p>Identifier for a single stateful rule group, used in a firewall policy to refer to a
686
705
  * rule group. </p>
@@ -702,6 +721,10 @@ export interface StatefulRuleGroupReference {
702
721
  * 200, and so on. </p>
703
722
  */
704
723
  Priority?: number;
724
+ /**
725
+ * <p>The action that allows the policy owner to override the behavior of the rule group within a policy.</p>
726
+ */
727
+ Override?: StatefulRuleGroupOverride;
705
728
  }
706
729
  export declare namespace StatefulRuleGroupReference {
707
730
  /**
@@ -821,7 +844,26 @@ export interface FirewallPolicy {
821
844
  */
822
845
  StatefulRuleGroupReferences?: StatefulRuleGroupReference[];
823
846
  /**
824
- * <p>The default actions to take on a packet that doesn't match any stateful rules.</p>
847
+ * <p>The default actions to take on a packet that doesn't match any stateful rules. The stateful default action is optional,
848
+ * and is only valid when using the strict rule order.</p>
849
+ * <p>Valid values of the stateful default action:</p>
850
+ * <ul>
851
+ * <li>
852
+ * <p>aws:drop_strict</p>
853
+ * </li>
854
+ * <li>
855
+ * <p>aws:drop_established</p>
856
+ * </li>
857
+ * <li>
858
+ * <p>aws:alert_strict</p>
859
+ * </li>
860
+ * <li>
861
+ * <p>aws:alert_established</p>
862
+ * </li>
863
+ * </ul>
864
+ * <p>For more information, see
865
+ * <a href="https://docs.aws.amazon.com/network-firewall/latest/developerguide/suricata-strict-rule-evaluation-order.html">Strict evaluation order</a> in the <i>AWS Network Firewall Developer Guide</i>.
866
+ * </p>
825
867
  */
826
868
  StatefulDefaultActions?: string[];
827
869
  /**
@@ -959,8 +1001,7 @@ export declare enum TargetType {
959
1001
  */
960
1002
  export interface RulesSourceList {
961
1003
  /**
962
- * <p>The domains that you want to inspect for in your traffic flows. To provide multiple
963
- * domains, separate them with commas. Valid domain specifications are the following:</p>
1004
+ * <p>The domains that you want to inspect for in your traffic flows. Valid domain specifications are the following:</p>
964
1005
  * <ul>
965
1006
  * <li>
966
1007
  * <p>Explicit names. For example, <code>abc.example.com</code> matches only the domain <code>abc.example.com</code>.</p>
@@ -1476,10 +1517,11 @@ export declare namespace RuleVariables {
1476
1517
  */
1477
1518
  export interface StatefulRuleOptions {
1478
1519
  /**
1479
- * <p>Indicates how to manage the order of the rule evaluation for the rule group. By default, Network Firewall
1480
- * leaves the rule evaluation order up to the Suricata rule processing engine. If you set
1481
- * this to <code>STRICT_ORDER</code>, your rules are evaluated in the exact order that they're listed
1482
- * in your Suricata rules string. </p>
1520
+ * <p>Indicates how to manage the order of the rule evaluation for the rule group. <code>DEFAULT_ACTION_ORDER</code> is
1521
+ * the default behavior. Stateful rules are provided to the rule engine as Suricata compatible strings, and Suricata evaluates them
1522
+ * based on certain settings. For more information, see
1523
+ * <a href="https://docs.aws.amazon.com/network-firewall/latest/developerguide/suricata-rule-evaluation-order.html">Evaluation order for stateful rules</a> in the <i>AWS Network Firewall Developer Guide</i>.
1524
+ * </p>
1483
1525
  */
1484
1526
  RuleOrder?: RuleOrder | string;
1485
1527
  }
@@ -2126,6 +2168,75 @@ export declare namespace DescribeRuleGroupResponse {
2126
2168
  */
2127
2169
  const filterSensitiveLog: (obj: DescribeRuleGroupResponse) => any;
2128
2170
  }
2171
+ export interface DescribeRuleGroupMetadataRequest {
2172
+ /**
2173
+ * <p>The descriptive name of the rule group. You can't change the name of a rule group after you create it.</p>
2174
+ * <p>You must specify the ARN or the name, and you can specify both. </p>
2175
+ */
2176
+ RuleGroupName?: string;
2177
+ /**
2178
+ * <p>The descriptive name of the rule group. You can't change the name of a rule group after you create it.</p>
2179
+ * <p>You must specify the ARN or the name, and you can specify both. </p>
2180
+ */
2181
+ RuleGroupArn?: string;
2182
+ /**
2183
+ * <p>Indicates whether the rule group is stateless or stateful. If the rule group is stateless, it contains
2184
+ * stateless rules. If it is stateful, it contains stateful rules. </p>
2185
+ * <note>
2186
+ * <p>This setting is required for requests that do not include the <code>RuleGroupARN</code>.</p>
2187
+ * </note>
2188
+ */
2189
+ Type?: RuleGroupType | string;
2190
+ }
2191
+ export declare namespace DescribeRuleGroupMetadataRequest {
2192
+ /**
2193
+ * @internal
2194
+ */
2195
+ const filterSensitiveLog: (obj: DescribeRuleGroupMetadataRequest) => any;
2196
+ }
2197
+ export interface DescribeRuleGroupMetadataResponse {
2198
+ /**
2199
+ * <p>The descriptive name of the rule group. You can't change the name of a rule group after you create it.</p>
2200
+ * <p>You must specify the ARN or the name, and you can specify both. </p>
2201
+ */
2202
+ RuleGroupArn: string | undefined;
2203
+ /**
2204
+ * <p>The descriptive name of the rule group. You can't change the name of a rule group after you create it.</p>
2205
+ * <p>You must specify the ARN or the name, and you can specify both. </p>
2206
+ */
2207
+ RuleGroupName: string | undefined;
2208
+ /**
2209
+ * <p>Returns the metadata objects for the specified rule group.
2210
+ * </p>
2211
+ */
2212
+ Description?: string;
2213
+ /**
2214
+ * <p>Indicates whether the rule group is stateless or stateful. If the rule group is stateless, it contains
2215
+ * stateless rules. If it is stateful, it contains stateful rules. </p>
2216
+ * <note>
2217
+ * <p>This setting is required for requests that do not include the <code>RuleGroupARN</code>.</p>
2218
+ * </note>
2219
+ */
2220
+ Type?: RuleGroupType | string;
2221
+ /**
2222
+ * <p>The maximum operating resources that this rule group can use. Rule group capacity is fixed at creation.
2223
+ * When you update a rule group, you are limited to this capacity. When you reference a rule group
2224
+ * from a firewall policy, Network Firewall reserves this capacity for the rule group. </p>
2225
+ * <p>You can retrieve the capacity that would be required for a rule group before you create the rule group by calling
2226
+ * <a>CreateRuleGroup</a> with <code>DryRun</code> set to <code>TRUE</code>. </p>
2227
+ */
2228
+ Capacity?: number;
2229
+ /**
2230
+ * <p>Additional options governing how Network Firewall handles the rule group. You can only use these for stateful rule groups.</p>
2231
+ */
2232
+ StatefulRuleOptions?: StatefulRuleOptions;
2233
+ }
2234
+ export declare namespace DescribeRuleGroupMetadataResponse {
2235
+ /**
2236
+ * @internal
2237
+ */
2238
+ const filterSensitiveLog: (obj: DescribeRuleGroupMetadataResponse) => any;
2239
+ }
2129
2240
  export interface DisassociateSubnetsRequest {
2130
2241
  /**
2131
2242
  * <p>An optional token that you can use for optimistic locking. Network Firewall returns a token to your requests that access the firewall. The token marks the state of the firewall resource at the time of the request. </p>
@@ -2306,6 +2417,10 @@ export declare namespace ListFirewallsResponse {
2306
2417
  */
2307
2418
  const filterSensitiveLog: (obj: ListFirewallsResponse) => any;
2308
2419
  }
2420
+ export declare enum ResourceManagedStatus {
2421
+ ACCOUNT = "ACCOUNT",
2422
+ MANAGED = "MANAGED"
2423
+ }
2309
2424
  export interface ListRuleGroupsRequest {
2310
2425
  /**
2311
2426
  * <p>When you request a list of objects with a <code>MaxResults</code> setting, if the number of objects that are still available
@@ -2319,6 +2434,12 @@ export interface ListRuleGroupsRequest {
2319
2434
  * <code>NextToken</code> value that you can use in a subsequent call to get the next batch of objects.</p>
2320
2435
  */
2321
2436
  MaxResults?: number;
2437
+ /**
2438
+ * <p>The scope of the request. The default setting of <code>ACCOUNT</code> or a setting of
2439
+ * <code>NULL</code> returns all of the rule groups in your account. A setting of
2440
+ * <code>MANAGED</code> returns all available managed rule groups.</p>
2441
+ */
2442
+ Scope?: ResourceManagedStatus | string;
2322
2443
  }
2323
2444
  export declare namespace ListRuleGroupsRequest {
2324
2445
  /**
@@ -2577,7 +2698,9 @@ export interface UpdateFirewallDeleteProtectionResponse {
2577
2698
  */
2578
2699
  FirewallName?: string;
2579
2700
  /**
2580
- * <p></p>
2701
+ * <p>A flag indicating whether it is possible to delete the firewall. A setting of <code>TRUE</code> indicates
2702
+ * that the firewall is protected against deletion. Use this setting to protect against
2703
+ * accidentally deleting a firewall that is in use. When you create a firewall, the operation initializes this flag to <code>TRUE</code>.</p>
2581
2704
  */
2582
2705
  DeleteProtection?: boolean;
2583
2706
  /**
@@ -14,6 +14,7 @@ import { DescribeFirewallPolicyCommandInput, DescribeFirewallPolicyCommandOutput
14
14
  import { DescribeLoggingConfigurationCommandInput, DescribeLoggingConfigurationCommandOutput } from "../commands/DescribeLoggingConfigurationCommand";
15
15
  import { DescribeResourcePolicyCommandInput, DescribeResourcePolicyCommandOutput } from "../commands/DescribeResourcePolicyCommand";
16
16
  import { DescribeRuleGroupCommandInput, DescribeRuleGroupCommandOutput } from "../commands/DescribeRuleGroupCommand";
17
+ import { DescribeRuleGroupMetadataCommandInput, DescribeRuleGroupMetadataCommandOutput } from "../commands/DescribeRuleGroupMetadataCommand";
17
18
  import { DisassociateSubnetsCommandInput, DisassociateSubnetsCommandOutput } from "../commands/DisassociateSubnetsCommand";
18
19
  import { ListFirewallPoliciesCommandInput, ListFirewallPoliciesCommandOutput } from "../commands/ListFirewallPoliciesCommand";
19
20
  import { ListFirewallsCommandInput, ListFirewallsCommandOutput } from "../commands/ListFirewallsCommand";
@@ -43,6 +44,7 @@ export declare const serializeAws_json1_0DescribeFirewallPolicyCommand: (input:
43
44
  export declare const serializeAws_json1_0DescribeLoggingConfigurationCommand: (input: DescribeLoggingConfigurationCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
44
45
  export declare const serializeAws_json1_0DescribeResourcePolicyCommand: (input: DescribeResourcePolicyCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
45
46
  export declare const serializeAws_json1_0DescribeRuleGroupCommand: (input: DescribeRuleGroupCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
47
+ export declare const serializeAws_json1_0DescribeRuleGroupMetadataCommand: (input: DescribeRuleGroupMetadataCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
46
48
  export declare const serializeAws_json1_0DisassociateSubnetsCommand: (input: DisassociateSubnetsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
47
49
  export declare const serializeAws_json1_0ListFirewallPoliciesCommand: (input: ListFirewallPoliciesCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
48
50
  export declare const serializeAws_json1_0ListFirewallsCommand: (input: ListFirewallsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
@@ -72,6 +74,7 @@ export declare const deserializeAws_json1_0DescribeFirewallPolicyCommand: (outpu
72
74
  export declare const deserializeAws_json1_0DescribeLoggingConfigurationCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DescribeLoggingConfigurationCommandOutput>;
73
75
  export declare const deserializeAws_json1_0DescribeResourcePolicyCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DescribeResourcePolicyCommandOutput>;
74
76
  export declare const deserializeAws_json1_0DescribeRuleGroupCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DescribeRuleGroupCommandOutput>;
77
+ export declare const deserializeAws_json1_0DescribeRuleGroupMetadataCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DescribeRuleGroupMetadataCommandOutput>;
75
78
  export declare const deserializeAws_json1_0DisassociateSubnetsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DisassociateSubnetsCommandOutput>;
76
79
  export declare const deserializeAws_json1_0ListFirewallPoliciesCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListFirewallPoliciesCommandOutput>;
77
80
  export declare const deserializeAws_json1_0ListFirewallsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListFirewallsCommandOutput>;
@@ -13,6 +13,7 @@ import { DescribeFirewallPolicyCommandInput, DescribeFirewallPolicyCommandOutput
13
13
  import { DescribeLoggingConfigurationCommandInput, DescribeLoggingConfigurationCommandOutput } from "./commands/DescribeLoggingConfigurationCommand";
14
14
  import { DescribeResourcePolicyCommandInput, DescribeResourcePolicyCommandOutput } from "./commands/DescribeResourcePolicyCommand";
15
15
  import { DescribeRuleGroupCommandInput, DescribeRuleGroupCommandOutput } from "./commands/DescribeRuleGroupCommand";
16
+ import { DescribeRuleGroupMetadataCommandInput, DescribeRuleGroupMetadataCommandOutput } from "./commands/DescribeRuleGroupMetadataCommand";
16
17
  import { DisassociateSubnetsCommandInput, DisassociateSubnetsCommandOutput } from "./commands/DisassociateSubnetsCommand";
17
18
  import { ListFirewallPoliciesCommandInput, ListFirewallPoliciesCommandOutput } from "./commands/ListFirewallPoliciesCommand";
18
19
  import { ListFirewallsCommandInput, ListFirewallsCommandOutput } from "./commands/ListFirewallsCommand";
@@ -88,6 +89,10 @@ export declare class NetworkFirewall extends NetworkFirewallClient {
88
89
  describeRuleGroup(args: DescribeRuleGroupCommandInput, cb: (err: any, data?: DescribeRuleGroupCommandOutput) => void): void;
89
90
  describeRuleGroup(args: DescribeRuleGroupCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeRuleGroupCommandOutput) => void): void;
90
91
 
92
+ describeRuleGroupMetadata(args: DescribeRuleGroupMetadataCommandInput, options?: __HttpHandlerOptions): Promise<DescribeRuleGroupMetadataCommandOutput>;
93
+ describeRuleGroupMetadata(args: DescribeRuleGroupMetadataCommandInput, cb: (err: any, data?: DescribeRuleGroupMetadataCommandOutput) => void): void;
94
+ describeRuleGroupMetadata(args: DescribeRuleGroupMetadataCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeRuleGroupMetadataCommandOutput) => void): void;
95
+
91
96
  disassociateSubnets(args: DisassociateSubnetsCommandInput, options?: __HttpHandlerOptions): Promise<DisassociateSubnetsCommandOutput>;
92
97
  disassociateSubnets(args: DisassociateSubnetsCommandInput, cb: (err: any, data?: DisassociateSubnetsCommandOutput) => void): void;
93
98
  disassociateSubnets(args: DisassociateSubnetsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DisassociateSubnetsCommandOutput) => void): void;
@@ -20,6 +20,7 @@ import { DescribeFirewallPolicyCommandInput, DescribeFirewallPolicyCommandOutput
20
20
  import { DescribeLoggingConfigurationCommandInput, DescribeLoggingConfigurationCommandOutput } from "./commands/DescribeLoggingConfigurationCommand";
21
21
  import { DescribeResourcePolicyCommandInput, DescribeResourcePolicyCommandOutput } from "./commands/DescribeResourcePolicyCommand";
22
22
  import { DescribeRuleGroupCommandInput, DescribeRuleGroupCommandOutput } from "./commands/DescribeRuleGroupCommand";
23
+ import { DescribeRuleGroupMetadataCommandInput, DescribeRuleGroupMetadataCommandOutput } from "./commands/DescribeRuleGroupMetadataCommand";
23
24
  import { DisassociateSubnetsCommandInput, DisassociateSubnetsCommandOutput } from "./commands/DisassociateSubnetsCommand";
24
25
  import { ListFirewallPoliciesCommandInput, ListFirewallPoliciesCommandOutput } from "./commands/ListFirewallPoliciesCommand";
25
26
  import { ListFirewallsCommandInput, ListFirewallsCommandOutput } from "./commands/ListFirewallsCommand";
@@ -35,8 +36,8 @@ import { UpdateFirewallPolicyCommandInput, UpdateFirewallPolicyCommandOutput } f
35
36
  import { UpdateLoggingConfigurationCommandInput, UpdateLoggingConfigurationCommandOutput } from "./commands/UpdateLoggingConfigurationCommand";
36
37
  import { UpdateRuleGroupCommandInput, UpdateRuleGroupCommandOutput } from "./commands/UpdateRuleGroupCommand";
37
38
  import { UpdateSubnetChangeProtectionCommandInput, UpdateSubnetChangeProtectionCommandOutput } from "./commands/UpdateSubnetChangeProtectionCommand";
38
- export declare type ServiceInputTypes = AssociateFirewallPolicyCommandInput | AssociateSubnetsCommandInput | CreateFirewallCommandInput | CreateFirewallPolicyCommandInput | CreateRuleGroupCommandInput | DeleteFirewallCommandInput | DeleteFirewallPolicyCommandInput | DeleteResourcePolicyCommandInput | DeleteRuleGroupCommandInput | DescribeFirewallCommandInput | DescribeFirewallPolicyCommandInput | DescribeLoggingConfigurationCommandInput | DescribeResourcePolicyCommandInput | DescribeRuleGroupCommandInput | DisassociateSubnetsCommandInput | ListFirewallPoliciesCommandInput | ListFirewallsCommandInput | ListRuleGroupsCommandInput | ListTagsForResourceCommandInput | PutResourcePolicyCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateFirewallDeleteProtectionCommandInput | UpdateFirewallDescriptionCommandInput | UpdateFirewallPolicyChangeProtectionCommandInput | UpdateFirewallPolicyCommandInput | UpdateLoggingConfigurationCommandInput | UpdateRuleGroupCommandInput | UpdateSubnetChangeProtectionCommandInput;
39
- export declare type ServiceOutputTypes = AssociateFirewallPolicyCommandOutput | AssociateSubnetsCommandOutput | CreateFirewallCommandOutput | CreateFirewallPolicyCommandOutput | CreateRuleGroupCommandOutput | DeleteFirewallCommandOutput | DeleteFirewallPolicyCommandOutput | DeleteResourcePolicyCommandOutput | DeleteRuleGroupCommandOutput | DescribeFirewallCommandOutput | DescribeFirewallPolicyCommandOutput | DescribeLoggingConfigurationCommandOutput | DescribeResourcePolicyCommandOutput | DescribeRuleGroupCommandOutput | DisassociateSubnetsCommandOutput | ListFirewallPoliciesCommandOutput | ListFirewallsCommandOutput | ListRuleGroupsCommandOutput | ListTagsForResourceCommandOutput | PutResourcePolicyCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateFirewallDeleteProtectionCommandOutput | UpdateFirewallDescriptionCommandOutput | UpdateFirewallPolicyChangeProtectionCommandOutput | UpdateFirewallPolicyCommandOutput | UpdateLoggingConfigurationCommandOutput | UpdateRuleGroupCommandOutput | UpdateSubnetChangeProtectionCommandOutput;
39
+ export declare type ServiceInputTypes = AssociateFirewallPolicyCommandInput | AssociateSubnetsCommandInput | CreateFirewallCommandInput | CreateFirewallPolicyCommandInput | CreateRuleGroupCommandInput | DeleteFirewallCommandInput | DeleteFirewallPolicyCommandInput | DeleteResourcePolicyCommandInput | DeleteRuleGroupCommandInput | DescribeFirewallCommandInput | DescribeFirewallPolicyCommandInput | DescribeLoggingConfigurationCommandInput | DescribeResourcePolicyCommandInput | DescribeRuleGroupCommandInput | DescribeRuleGroupMetadataCommandInput | DisassociateSubnetsCommandInput | ListFirewallPoliciesCommandInput | ListFirewallsCommandInput | ListRuleGroupsCommandInput | ListTagsForResourceCommandInput | PutResourcePolicyCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateFirewallDeleteProtectionCommandInput | UpdateFirewallDescriptionCommandInput | UpdateFirewallPolicyChangeProtectionCommandInput | UpdateFirewallPolicyCommandInput | UpdateLoggingConfigurationCommandInput | UpdateRuleGroupCommandInput | UpdateSubnetChangeProtectionCommandInput;
40
+ export declare type ServiceOutputTypes = AssociateFirewallPolicyCommandOutput | AssociateSubnetsCommandOutput | CreateFirewallCommandOutput | CreateFirewallPolicyCommandOutput | CreateRuleGroupCommandOutput | DeleteFirewallCommandOutput | DeleteFirewallPolicyCommandOutput | DeleteResourcePolicyCommandOutput | DeleteRuleGroupCommandOutput | DescribeFirewallCommandOutput | DescribeFirewallPolicyCommandOutput | DescribeLoggingConfigurationCommandOutput | DescribeResourcePolicyCommandOutput | DescribeRuleGroupCommandOutput | DescribeRuleGroupMetadataCommandOutput | DisassociateSubnetsCommandOutput | ListFirewallPoliciesCommandOutput | ListFirewallsCommandOutput | ListRuleGroupsCommandOutput | ListTagsForResourceCommandOutput | PutResourcePolicyCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateFirewallDeleteProtectionCommandOutput | UpdateFirewallDescriptionCommandOutput | UpdateFirewallPolicyChangeProtectionCommandOutput | UpdateFirewallPolicyCommandOutput | UpdateLoggingConfigurationCommandOutput | UpdateRuleGroupCommandOutput | UpdateSubnetChangeProtectionCommandOutput;
40
41
  export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
41
42
 
42
43
  requestHandler?: __HttpHandler;
@@ -0,0 +1,17 @@
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
+ import { DescribeRuleGroupMetadataRequest, DescribeRuleGroupMetadataResponse } from "../models/models_0";
4
+ import { NetworkFirewallClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../NetworkFirewallClient";
5
+ export interface DescribeRuleGroupMetadataCommandInput extends DescribeRuleGroupMetadataRequest {
6
+ }
7
+ export interface DescribeRuleGroupMetadataCommandOutput extends DescribeRuleGroupMetadataResponse, __MetadataBearer {
8
+ }
9
+
10
+ export declare class DescribeRuleGroupMetadataCommand extends $Command<DescribeRuleGroupMetadataCommandInput, DescribeRuleGroupMetadataCommandOutput, NetworkFirewallClientResolvedConfig> {
11
+ readonly input: DescribeRuleGroupMetadataCommandInput;
12
+ constructor(input: DescribeRuleGroupMetadataCommandInput);
13
+
14
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: NetworkFirewallClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DescribeRuleGroupMetadataCommandInput, DescribeRuleGroupMetadataCommandOutput>;
15
+ private serialize;
16
+ private deserialize;
17
+ }
@@ -12,6 +12,7 @@ export * from "./DescribeFirewallPolicyCommand";
12
12
  export * from "./DescribeLoggingConfigurationCommand";
13
13
  export * from "./DescribeResourcePolicyCommand";
14
14
  export * from "./DescribeRuleGroupCommand";
15
+ export * from "./DescribeRuleGroupMetadataCommand";
15
16
  export * from "./DisassociateSubnetsCommand";
16
17
  export * from "./ListFirewallPoliciesCommand";
17
18
  export * from "./ListFirewallsCommand";
@@ -338,12 +338,26 @@ export declare namespace StatefulEngineOptions {
338
338
 
339
339
  const filterSensitiveLog: (obj: StatefulEngineOptions) => any;
340
340
  }
341
+ export declare enum OverrideAction {
342
+ DROP_TO_ALERT = "DROP_TO_ALERT"
343
+ }
344
+
345
+ export interface StatefulRuleGroupOverride {
346
+
347
+ Action?: OverrideAction | string;
348
+ }
349
+ export declare namespace StatefulRuleGroupOverride {
350
+
351
+ const filterSensitiveLog: (obj: StatefulRuleGroupOverride) => any;
352
+ }
341
353
 
342
354
  export interface StatefulRuleGroupReference {
343
355
 
344
356
  ResourceArn: string | undefined;
345
357
 
346
358
  Priority?: number;
359
+
360
+ Override?: StatefulRuleGroupOverride;
347
361
  }
348
362
  export declare namespace StatefulRuleGroupReference {
349
363
 
@@ -987,6 +1001,36 @@ export declare namespace DescribeRuleGroupResponse {
987
1001
 
988
1002
  const filterSensitiveLog: (obj: DescribeRuleGroupResponse) => any;
989
1003
  }
1004
+ export interface DescribeRuleGroupMetadataRequest {
1005
+
1006
+ RuleGroupName?: string;
1007
+
1008
+ RuleGroupArn?: string;
1009
+
1010
+ Type?: RuleGroupType | string;
1011
+ }
1012
+ export declare namespace DescribeRuleGroupMetadataRequest {
1013
+
1014
+ const filterSensitiveLog: (obj: DescribeRuleGroupMetadataRequest) => any;
1015
+ }
1016
+ export interface DescribeRuleGroupMetadataResponse {
1017
+
1018
+ RuleGroupArn: string | undefined;
1019
+
1020
+ RuleGroupName: string | undefined;
1021
+
1022
+ Description?: string;
1023
+
1024
+ Type?: RuleGroupType | string;
1025
+
1026
+ Capacity?: number;
1027
+
1028
+ StatefulRuleOptions?: StatefulRuleOptions;
1029
+ }
1030
+ export declare namespace DescribeRuleGroupMetadataResponse {
1031
+
1032
+ const filterSensitiveLog: (obj: DescribeRuleGroupMetadataResponse) => any;
1033
+ }
990
1034
  export interface DisassociateSubnetsRequest {
991
1035
 
992
1036
  UpdateToken?: string;
@@ -1079,11 +1123,17 @@ export declare namespace ListFirewallsResponse {
1079
1123
 
1080
1124
  const filterSensitiveLog: (obj: ListFirewallsResponse) => any;
1081
1125
  }
1126
+ export declare enum ResourceManagedStatus {
1127
+ ACCOUNT = "ACCOUNT",
1128
+ MANAGED = "MANAGED"
1129
+ }
1082
1130
  export interface ListRuleGroupsRequest {
1083
1131
 
1084
1132
  NextToken?: string;
1085
1133
 
1086
1134
  MaxResults?: number;
1135
+
1136
+ Scope?: ResourceManagedStatus | string;
1087
1137
  }
1088
1138
  export declare namespace ListRuleGroupsRequest {
1089
1139
 
@@ -14,6 +14,7 @@ import { DescribeFirewallPolicyCommandInput, DescribeFirewallPolicyCommandOutput
14
14
  import { DescribeLoggingConfigurationCommandInput, DescribeLoggingConfigurationCommandOutput } from "../commands/DescribeLoggingConfigurationCommand";
15
15
  import { DescribeResourcePolicyCommandInput, DescribeResourcePolicyCommandOutput } from "../commands/DescribeResourcePolicyCommand";
16
16
  import { DescribeRuleGroupCommandInput, DescribeRuleGroupCommandOutput } from "../commands/DescribeRuleGroupCommand";
17
+ import { DescribeRuleGroupMetadataCommandInput, DescribeRuleGroupMetadataCommandOutput } from "../commands/DescribeRuleGroupMetadataCommand";
17
18
  import { DisassociateSubnetsCommandInput, DisassociateSubnetsCommandOutput } from "../commands/DisassociateSubnetsCommand";
18
19
  import { ListFirewallPoliciesCommandInput, ListFirewallPoliciesCommandOutput } from "../commands/ListFirewallPoliciesCommand";
19
20
  import { ListFirewallsCommandInput, ListFirewallsCommandOutput } from "../commands/ListFirewallsCommand";
@@ -43,6 +44,7 @@ export declare const serializeAws_json1_0DescribeFirewallPolicyCommand: (input:
43
44
  export declare const serializeAws_json1_0DescribeLoggingConfigurationCommand: (input: DescribeLoggingConfigurationCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
44
45
  export declare const serializeAws_json1_0DescribeResourcePolicyCommand: (input: DescribeResourcePolicyCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
45
46
  export declare const serializeAws_json1_0DescribeRuleGroupCommand: (input: DescribeRuleGroupCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
47
+ export declare const serializeAws_json1_0DescribeRuleGroupMetadataCommand: (input: DescribeRuleGroupMetadataCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
46
48
  export declare const serializeAws_json1_0DisassociateSubnetsCommand: (input: DisassociateSubnetsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
47
49
  export declare const serializeAws_json1_0ListFirewallPoliciesCommand: (input: ListFirewallPoliciesCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
48
50
  export declare const serializeAws_json1_0ListFirewallsCommand: (input: ListFirewallsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
@@ -72,6 +74,7 @@ export declare const deserializeAws_json1_0DescribeFirewallPolicyCommand: (outpu
72
74
  export declare const deserializeAws_json1_0DescribeLoggingConfigurationCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DescribeLoggingConfigurationCommandOutput>;
73
75
  export declare const deserializeAws_json1_0DescribeResourcePolicyCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DescribeResourcePolicyCommandOutput>;
74
76
  export declare const deserializeAws_json1_0DescribeRuleGroupCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DescribeRuleGroupCommandOutput>;
77
+ export declare const deserializeAws_json1_0DescribeRuleGroupMetadataCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DescribeRuleGroupMetadataCommandOutput>;
75
78
  export declare const deserializeAws_json1_0DisassociateSubnetsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DisassociateSubnetsCommandOutput>;
76
79
  export declare const deserializeAws_json1_0ListFirewallPoliciesCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListFirewallPoliciesCommandOutput>;
77
80
  export declare const deserializeAws_json1_0ListFirewallsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListFirewallsCommandOutput>;
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.43.0",
4
+ "version": "3.45.0",
5
5
  "scripts": {
6
6
  "build": "yarn build:cjs && yarn build:es && yarn build:types",
7
7
  "build:cjs": "tsc -p tsconfig.json",
@@ -21,9 +21,9 @@
21
21
  "dependencies": {
22
22
  "@aws-crypto/sha256-browser": "2.0.0",
23
23
  "@aws-crypto/sha256-js": "2.0.0",
24
- "@aws-sdk/client-sts": "3.43.0",
25
- "@aws-sdk/config-resolver": "3.40.0",
26
- "@aws-sdk/credential-provider-node": "3.41.0",
24
+ "@aws-sdk/client-sts": "3.45.0",
25
+ "@aws-sdk/config-resolver": "3.45.0",
26
+ "@aws-sdk/credential-provider-node": "3.45.0",
27
27
  "@aws-sdk/fetch-http-handler": "3.40.0",
28
28
  "@aws-sdk/hash-node": "3.40.0",
29
29
  "@aws-sdk/invalid-dependency": "3.40.0",
@@ -32,7 +32,7 @@
32
32
  "@aws-sdk/middleware-logger": "3.40.0",
33
33
  "@aws-sdk/middleware-retry": "3.40.0",
34
34
  "@aws-sdk/middleware-serde": "3.40.0",
35
- "@aws-sdk/middleware-signing": "3.40.0",
35
+ "@aws-sdk/middleware-signing": "3.45.0",
36
36
  "@aws-sdk/middleware-stack": "3.40.0",
37
37
  "@aws-sdk/middleware-user-agent": "3.40.0",
38
38
  "@aws-sdk/node-config-provider": "3.40.0",