@aws-sdk/client-network-firewall 3.1154.0 → 3.1155.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/README.md +2 -2
- package/dist-cjs/index.js +117 -24
- package/dist-es/NetworkFirewall.js +5 -1
- package/dist-es/index.js +1 -0
- package/dist-es/models/enums.js +16 -0
- package/dist-es/schemas/schemas_0.js +49 -21
- package/dist-es/waiters/index.js +1 -0
- package/dist-es/waiters/waitForFirewallPolicyActive.js +40 -0
- package/dist-types/NetworkFirewall.d.ts +10 -3
- package/dist-types/NetworkFirewallClient.d.ts +4 -3
- package/dist-types/commands/CreateFirewallPolicyCommand.d.ts +28 -1
- package/dist-types/commands/CreateRuleGroupCommand.d.ts +2 -2
- package/dist-types/commands/CreateTLSInspectionConfigurationCommand.d.ts +1 -1
- package/dist-types/commands/DeleteFirewallPolicyCommand.d.ts +9 -1
- package/dist-types/commands/DeleteRuleGroupCommand.d.ts +1 -1
- package/dist-types/commands/DeleteTLSInspectionConfigurationCommand.d.ts +1 -1
- package/dist-types/commands/DescribeFirewallPolicyCommand.d.ts +24 -1
- package/dist-types/commands/DescribeFlowOperationCommand.d.ts +2 -0
- package/dist-types/commands/DescribeRuleGroupCommand.d.ts +2 -2
- package/dist-types/commands/DescribeTLSInspectionConfigurationCommand.d.ts +1 -1
- package/dist-types/commands/ListFlowOperationResultsCommand.d.ts +2 -0
- package/dist-types/commands/ListFlowOperationsCommand.d.ts +1 -0
- package/dist-types/commands/StartFlowCaptureCommand.d.ts +1 -0
- package/dist-types/commands/StartFlowFlushCommand.d.ts +1 -0
- package/dist-types/commands/UpdateContainerAssociationCommand.d.ts +3 -0
- package/dist-types/commands/UpdateFirewallPolicyCommand.d.ts +28 -1
- package/dist-types/commands/UpdateRuleGroupCommand.d.ts +2 -2
- package/dist-types/commands/UpdateTLSInspectionConfigurationCommand.d.ts +1 -1
- package/dist-types/index.d.ts +3 -2
- package/dist-types/models/enums.d.ts +40 -0
- package/dist-types/models/models_0.d.ts +293 -16
- package/dist-types/schemas/schemas_0.d.ts +2 -0
- package/dist-types/ts3.4/NetworkFirewall.d.ts +11 -0
- package/dist-types/ts3.4/index.d.ts +1 -0
- package/dist-types/ts3.4/models/enums.d.ts +22 -0
- package/dist-types/ts3.4/models/models_0.d.ts +25 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +2 -0
- package/dist-types/ts3.4/waiters/index.d.ts +1 -0
- package/dist-types/ts3.4/waiters/waitForFirewallPolicyActive.d.ts +15 -0
- package/dist-types/waiters/index.d.ts +1 -0
- package/dist-types/waiters/waitForFirewallPolicyActive.d.ts +15 -0
- package/package.json +5 -5
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { checkExceptions, createWaiter, WaiterState, } from "@smithy/core/client";
|
|
2
|
+
import { DescribeFirewallPolicyCommand, } from "../commands/DescribeFirewallPolicyCommand";
|
|
3
|
+
const checkState = async (client, input) => {
|
|
4
|
+
let reason;
|
|
5
|
+
try {
|
|
6
|
+
let result = await client.send(new DescribeFirewallPolicyCommand(input));
|
|
7
|
+
reason = result;
|
|
8
|
+
try {
|
|
9
|
+
const returnComparator = () => {
|
|
10
|
+
return result.FirewallPolicyResponse.FirewallPolicyStatus;
|
|
11
|
+
};
|
|
12
|
+
if (returnComparator() === "ACTIVE") {
|
|
13
|
+
return { state: WaiterState.SUCCESS, reason };
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
catch (e) { }
|
|
17
|
+
try {
|
|
18
|
+
const returnComparator = () => {
|
|
19
|
+
return result.FirewallPolicyResponse.FirewallPolicyStatus;
|
|
20
|
+
};
|
|
21
|
+
if (returnComparator() === "ERROR") {
|
|
22
|
+
return { state: WaiterState.FAILURE, reason };
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
catch (e) { }
|
|
26
|
+
}
|
|
27
|
+
catch (exception) {
|
|
28
|
+
reason = exception;
|
|
29
|
+
}
|
|
30
|
+
return { state: WaiterState.RETRY, reason };
|
|
31
|
+
};
|
|
32
|
+
export const waitForFirewallPolicyActive = async (params, input) => {
|
|
33
|
+
const serviceDefaults = { minDelay: 15, maxDelay: 120 };
|
|
34
|
+
return createWaiter({ ...serviceDefaults, ...params }, input, checkState);
|
|
35
|
+
};
|
|
36
|
+
export const waitUntilFirewallPolicyActive = async (params, input) => {
|
|
37
|
+
const serviceDefaults = { minDelay: 15, maxDelay: 120 };
|
|
38
|
+
const result = await createWaiter({ ...serviceDefaults, ...params }, input, checkState);
|
|
39
|
+
return checkExceptions(result);
|
|
40
|
+
};
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { type WaiterResult } from "@smithy/core/client";
|
|
2
|
+
import type { HttpHandlerOptions as __HttpHandlerOptions, MetricsRecorder as __MetricsRecorder, PaginationConfiguration, Paginator, WaiterConfiguration } from "@smithy/types";
|
|
2
3
|
import { type AcceptNetworkFirewallTransitGatewayAttachmentCommandInput, type AcceptNetworkFirewallTransitGatewayAttachmentCommandOutput } from "./commands/AcceptNetworkFirewallTransitGatewayAttachmentCommand";
|
|
3
4
|
import { type AssociateAvailabilityZonesCommandInput, type AssociateAvailabilityZonesCommandOutput } from "./commands/AssociateAvailabilityZonesCommand";
|
|
4
5
|
import { type AssociateFirewallPolicyCommandInput, type AssociateFirewallPolicyCommandOutput } from "./commands/AssociateFirewallPolicyCommand";
|
|
@@ -734,6 +735,12 @@ export interface NetworkFirewall {
|
|
|
734
735
|
* @returns AsyncIterable of {@link ListVpcEndpointAssociationsCommandOutput}.
|
|
735
736
|
*/
|
|
736
737
|
paginateListVpcEndpointAssociations(args?: ListVpcEndpointAssociationsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListVpcEndpointAssociationsCommandOutput>;
|
|
738
|
+
/**
|
|
739
|
+
* @see {@link DescribeFirewallPolicyCommand}
|
|
740
|
+
* @param args - command input.
|
|
741
|
+
* @param waiterConfig - `maxWaitTime` in seconds or waiter config object.
|
|
742
|
+
*/
|
|
743
|
+
waitUntilFirewallPolicyActive(args: DescribeFirewallPolicyCommandInput, waiterConfig: number | Omit<WaiterConfiguration<NetworkFirewall>, "client">): Promise<WaiterResult<DescribeFirewallPolicyCommandOutput>>;
|
|
737
744
|
}
|
|
738
745
|
/**
|
|
739
746
|
* <p>This is the API Reference for Network Firewall. This guide is for developers who need
|
|
@@ -763,9 +770,9 @@ export interface NetworkFirewall {
|
|
|
763
770
|
* perimeter of your VPC. This includes filtering traffic going to and coming from an internet
|
|
764
771
|
* gateway, NAT gateway, or over VPN or Direct Connect. Network Firewall uses rules that are compatible
|
|
765
772
|
* with Suricata, a free, open source network analysis and threat detection engine.
|
|
766
|
-
* Network Firewall supports Suricata version
|
|
773
|
+
* Network Firewall supports Suricata version 8.0.3. For information about Suricata,
|
|
767
774
|
* see the <a href="https://suricata.io/">Suricata website</a> and the
|
|
768
|
-
* <a href="https://suricata.readthedocs.io/en/suricata-
|
|
775
|
+
* <a href="https://suricata.readthedocs.io/en/suricata-8.0.3/">Suricata User Guide</a>. </p>
|
|
769
776
|
* <p>You can use Network Firewall to monitor and protect your VPC traffic in a number of ways.
|
|
770
777
|
* The following are just a few examples: </p>
|
|
771
778
|
* <ul>
|
|
@@ -213,7 +213,8 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand
|
|
|
213
213
|
maxAttempts?: number | __Provider<number>;
|
|
214
214
|
/**
|
|
215
215
|
* Specifies which retry algorithm to use.
|
|
216
|
-
*
|
|
216
|
+
* Accepted values are "standard" and "adaptive".
|
|
217
|
+
* @see https://docs.aws.amazon.com/sdkref/latest/guide/feature-retry-behavior.html
|
|
217
218
|
*
|
|
218
219
|
*/
|
|
219
220
|
retryMode?: string | __Provider<string>;
|
|
@@ -280,9 +281,9 @@ export interface NetworkFirewallClientResolvedConfig extends NetworkFirewallClie
|
|
|
280
281
|
* perimeter of your VPC. This includes filtering traffic going to and coming from an internet
|
|
281
282
|
* gateway, NAT gateway, or over VPN or Direct Connect. Network Firewall uses rules that are compatible
|
|
282
283
|
* with Suricata, a free, open source network analysis and threat detection engine.
|
|
283
|
-
* Network Firewall supports Suricata version
|
|
284
|
+
* Network Firewall supports Suricata version 8.0.3. For information about Suricata,
|
|
284
285
|
* see the <a href="https://suricata.io/">Suricata website</a> and the
|
|
285
|
-
* <a href="https://suricata.readthedocs.io/en/suricata-
|
|
286
|
+
* <a href="https://suricata.readthedocs.io/en/suricata-8.0.3/">Suricata User Guide</a>. </p>
|
|
286
287
|
* <p>You can use Network Firewall to monitor and protect your VPC traffic in a number of ways.
|
|
287
288
|
* The following are just a few examples: </p>
|
|
288
289
|
* <ul>
|
|
@@ -96,6 +96,21 @@ declare const CreateFirewallPolicyCommand_base: {
|
|
|
96
96
|
* },
|
|
97
97
|
* },
|
|
98
98
|
* EnableTLSSessionHolding: true || false,
|
|
99
|
+
* Route53ResolvedIPValidation: { // Route53ResolvedIPValidation
|
|
100
|
+
* Action: "REJECT" || "DROP" || "ALERT", // required
|
|
101
|
+
* DNSFirewallRuleGroupId: "STRING_VALUE", // required
|
|
102
|
+
* DNSExpiryExceptionPolicy: "REJECT" || "DROP" || "CONTINUE", // required
|
|
103
|
+
* BypassDestinationValidationIPRanges: [ // Route53ResolvedIPValidationAddresses
|
|
104
|
+
* { // Address
|
|
105
|
+
* AddressDefinition: "STRING_VALUE", // required
|
|
106
|
+
* },
|
|
107
|
+
* ],
|
|
108
|
+
* SourceIPRanges: [
|
|
109
|
+
* {
|
|
110
|
+
* AddressDefinition: "STRING_VALUE", // required
|
|
111
|
+
* },
|
|
112
|
+
* ],
|
|
113
|
+
* },
|
|
99
114
|
* },
|
|
100
115
|
* Description: "STRING_VALUE",
|
|
101
116
|
* Tags: [ // TagList
|
|
@@ -119,7 +134,8 @@ declare const CreateFirewallPolicyCommand_base: {
|
|
|
119
134
|
* // FirewallPolicyArn: "STRING_VALUE", // required
|
|
120
135
|
* // FirewallPolicyId: "STRING_VALUE", // required
|
|
121
136
|
* // Description: "STRING_VALUE",
|
|
122
|
-
* // FirewallPolicyStatus: "ACTIVE" || "DELETING" || "ERROR",
|
|
137
|
+
* // FirewallPolicyStatus: "ACTIVE" || "DELETING" || "ERROR" || "UPDATING",
|
|
138
|
+
* // StatusMessage: "STRING_VALUE",
|
|
123
139
|
* // Tags: [ // TagList
|
|
124
140
|
* // { // Tag
|
|
125
141
|
* // Key: "STRING_VALUE", // required
|
|
@@ -134,6 +150,13 @@ declare const CreateFirewallPolicyCommand_base: {
|
|
|
134
150
|
* // KeyId: "STRING_VALUE",
|
|
135
151
|
* // Type: "CUSTOMER_KMS" || "AWS_OWNED_KMS_KEY", // required
|
|
136
152
|
* // },
|
|
153
|
+
* // Errors: [ // FirewallPolicyErrors
|
|
154
|
+
* // { // FirewallPolicyError
|
|
155
|
+
* // Code: "DNS_FIREWALL_RULE_GROUP_UNAVAILABLE" || "ROUTE53_RESOLVED_IP_VALIDATION_MISSING", // required
|
|
156
|
+
* // Message: "STRING_VALUE", // required
|
|
157
|
+
* // ResourceId: "STRING_VALUE",
|
|
158
|
+
* // },
|
|
159
|
+
* // ],
|
|
137
160
|
* // LastModifiedTime: new Date("TIMESTAMP"),
|
|
138
161
|
* // },
|
|
139
162
|
* // };
|
|
@@ -154,6 +177,10 @@ declare const CreateFirewallPolicyCommand_base: {
|
|
|
154
177
|
* <p>Your request is valid, but Network Firewall couldn't perform the operation because of a
|
|
155
178
|
* system problem. Retry your request. </p>
|
|
156
179
|
*
|
|
180
|
+
* @throws {@link InvalidOperationException} (client fault)
|
|
181
|
+
* <p>The operation failed because it's not valid. For example, you might have tried to delete
|
|
182
|
+
* a rule group or firewall policy that's in use.</p>
|
|
183
|
+
*
|
|
157
184
|
* @throws {@link InvalidRequestException} (client fault)
|
|
158
185
|
* <p>The operation failed because of a problem with your request. Examples include: </p>
|
|
159
186
|
* <ul>
|
|
@@ -69,7 +69,7 @@ declare const CreateRuleGroupCommand_base: {
|
|
|
69
69
|
* "STRING_VALUE",
|
|
70
70
|
* ],
|
|
71
71
|
* TargetTypes: [ // TargetTypes // required
|
|
72
|
-
* "TLS_SNI" || "HTTP_HOST",
|
|
72
|
+
* "TLS_SNI" || "HTTP_HOST" || "AWS_ROUTE_53_RESOLVED_DOMAIN",
|
|
73
73
|
* ],
|
|
74
74
|
* GeneratedRulesType: "ALLOWLIST" || "DENYLIST" || "REJECTLIST" || "ALERTLIST", // required
|
|
75
75
|
* },
|
|
@@ -199,7 +199,7 @@ declare const CreateRuleGroupCommand_base: {
|
|
|
199
199
|
* // Description: "STRING_VALUE",
|
|
200
200
|
* // Type: "STATELESS" || "STATEFUL" || "STATEFUL_DOMAIN",
|
|
201
201
|
* // Capacity: Number("int"),
|
|
202
|
-
* // RuleGroupStatus: "ACTIVE" || "DELETING" || "ERROR",
|
|
202
|
+
* // RuleGroupStatus: "ACTIVE" || "DELETING" || "ERROR" || "UPDATING",
|
|
203
203
|
* // Tags: [ // TagList
|
|
204
204
|
* // { // Tag
|
|
205
205
|
* // Key: "STRING_VALUE", // required
|
|
@@ -107,7 +107,7 @@ declare const CreateTLSInspectionConfigurationCommand_base: {
|
|
|
107
107
|
* // TLSInspectionConfigurationArn: "STRING_VALUE", // required
|
|
108
108
|
* // TLSInspectionConfigurationName: "STRING_VALUE", // required
|
|
109
109
|
* // TLSInspectionConfigurationId: "STRING_VALUE", // required
|
|
110
|
-
* // TLSInspectionConfigurationStatus: "ACTIVE" || "DELETING" || "ERROR",
|
|
110
|
+
* // TLSInspectionConfigurationStatus: "ACTIVE" || "DELETING" || "ERROR" || "UPDATING",
|
|
111
111
|
* // Description: "STRING_VALUE",
|
|
112
112
|
* // Tags: [ // TagList
|
|
113
113
|
* // { // Tag
|
|
@@ -45,7 +45,8 @@ declare const DeleteFirewallPolicyCommand_base: {
|
|
|
45
45
|
* // FirewallPolicyArn: "STRING_VALUE", // required
|
|
46
46
|
* // FirewallPolicyId: "STRING_VALUE", // required
|
|
47
47
|
* // Description: "STRING_VALUE",
|
|
48
|
-
* // FirewallPolicyStatus: "ACTIVE" || "DELETING" || "ERROR",
|
|
48
|
+
* // FirewallPolicyStatus: "ACTIVE" || "DELETING" || "ERROR" || "UPDATING",
|
|
49
|
+
* // StatusMessage: "STRING_VALUE",
|
|
49
50
|
* // Tags: [ // TagList
|
|
50
51
|
* // { // Tag
|
|
51
52
|
* // Key: "STRING_VALUE", // required
|
|
@@ -60,6 +61,13 @@ declare const DeleteFirewallPolicyCommand_base: {
|
|
|
60
61
|
* // KeyId: "STRING_VALUE",
|
|
61
62
|
* // Type: "CUSTOMER_KMS" || "AWS_OWNED_KMS_KEY", // required
|
|
62
63
|
* // },
|
|
64
|
+
* // Errors: [ // FirewallPolicyErrors
|
|
65
|
+
* // { // FirewallPolicyError
|
|
66
|
+
* // Code: "DNS_FIREWALL_RULE_GROUP_UNAVAILABLE" || "ROUTE53_RESOLVED_IP_VALIDATION_MISSING", // required
|
|
67
|
+
* // Message: "STRING_VALUE", // required
|
|
68
|
+
* // ResourceId: "STRING_VALUE",
|
|
69
|
+
* // },
|
|
70
|
+
* // ],
|
|
63
71
|
* // LastModifiedTime: new Date("TIMESTAMP"),
|
|
64
72
|
* // },
|
|
65
73
|
* // };
|
|
@@ -48,7 +48,7 @@ declare const DeleteRuleGroupCommand_base: {
|
|
|
48
48
|
* // Description: "STRING_VALUE",
|
|
49
49
|
* // Type: "STATELESS" || "STATEFUL" || "STATEFUL_DOMAIN",
|
|
50
50
|
* // Capacity: Number("int"),
|
|
51
|
-
* // RuleGroupStatus: "ACTIVE" || "DELETING" || "ERROR",
|
|
51
|
+
* // RuleGroupStatus: "ACTIVE" || "DELETING" || "ERROR" || "UPDATING",
|
|
52
52
|
* // Tags: [ // TagList
|
|
53
53
|
* // { // Tag
|
|
54
54
|
* // Key: "STRING_VALUE", // required
|
|
@@ -44,7 +44,7 @@ declare const DeleteTLSInspectionConfigurationCommand_base: {
|
|
|
44
44
|
* // TLSInspectionConfigurationArn: "STRING_VALUE", // required
|
|
45
45
|
* // TLSInspectionConfigurationName: "STRING_VALUE", // required
|
|
46
46
|
* // TLSInspectionConfigurationId: "STRING_VALUE", // required
|
|
47
|
-
* // TLSInspectionConfigurationStatus: "ACTIVE" || "DELETING" || "ERROR",
|
|
47
|
+
* // TLSInspectionConfigurationStatus: "ACTIVE" || "DELETING" || "ERROR" || "UPDATING",
|
|
48
48
|
* // Description: "STRING_VALUE",
|
|
49
49
|
* // Tags: [ // TagList
|
|
50
50
|
* // { // Tag
|
|
@@ -46,7 +46,8 @@ declare const DescribeFirewallPolicyCommand_base: {
|
|
|
46
46
|
* // FirewallPolicyArn: "STRING_VALUE", // required
|
|
47
47
|
* // FirewallPolicyId: "STRING_VALUE", // required
|
|
48
48
|
* // Description: "STRING_VALUE",
|
|
49
|
-
* // FirewallPolicyStatus: "ACTIVE" || "DELETING" || "ERROR",
|
|
49
|
+
* // FirewallPolicyStatus: "ACTIVE" || "DELETING" || "ERROR" || "UPDATING",
|
|
50
|
+
* // StatusMessage: "STRING_VALUE",
|
|
50
51
|
* // Tags: [ // TagList
|
|
51
52
|
* // { // Tag
|
|
52
53
|
* // Key: "STRING_VALUE", // required
|
|
@@ -61,6 +62,13 @@ declare const DescribeFirewallPolicyCommand_base: {
|
|
|
61
62
|
* // KeyId: "STRING_VALUE",
|
|
62
63
|
* // Type: "CUSTOMER_KMS" || "AWS_OWNED_KMS_KEY", // required
|
|
63
64
|
* // },
|
|
65
|
+
* // Errors: [ // FirewallPolicyErrors
|
|
66
|
+
* // { // FirewallPolicyError
|
|
67
|
+
* // Code: "DNS_FIREWALL_RULE_GROUP_UNAVAILABLE" || "ROUTE53_RESOLVED_IP_VALIDATION_MISSING", // required
|
|
68
|
+
* // Message: "STRING_VALUE", // required
|
|
69
|
+
* // ResourceId: "STRING_VALUE",
|
|
70
|
+
* // },
|
|
71
|
+
* // ],
|
|
64
72
|
* // LastModifiedTime: new Date("TIMESTAMP"),
|
|
65
73
|
* // },
|
|
66
74
|
* // FirewallPolicy: { // FirewallPolicy
|
|
@@ -121,6 +129,21 @@ declare const DescribeFirewallPolicyCommand_base: {
|
|
|
121
129
|
* // },
|
|
122
130
|
* // },
|
|
123
131
|
* // EnableTLSSessionHolding: true || false,
|
|
132
|
+
* // Route53ResolvedIPValidation: { // Route53ResolvedIPValidation
|
|
133
|
+
* // Action: "REJECT" || "DROP" || "ALERT", // required
|
|
134
|
+
* // DNSFirewallRuleGroupId: "STRING_VALUE", // required
|
|
135
|
+
* // DNSExpiryExceptionPolicy: "REJECT" || "DROP" || "CONTINUE", // required
|
|
136
|
+
* // BypassDestinationValidationIPRanges: [ // Route53ResolvedIPValidationAddresses
|
|
137
|
+
* // { // Address
|
|
138
|
+
* // AddressDefinition: "STRING_VALUE", // required
|
|
139
|
+
* // },
|
|
140
|
+
* // ],
|
|
141
|
+
* // SourceIPRanges: [
|
|
142
|
+
* // {
|
|
143
|
+
* // AddressDefinition: "STRING_VALUE", // required
|
|
144
|
+
* // },
|
|
145
|
+
* // ],
|
|
146
|
+
* // },
|
|
124
147
|
* // },
|
|
125
148
|
* // };
|
|
126
149
|
*
|
|
@@ -36,6 +36,7 @@ declare const DescribeFlowOperationCommand_base: {
|
|
|
36
36
|
* const input = { // DescribeFlowOperationRequest
|
|
37
37
|
* FirewallArn: "STRING_VALUE", // required
|
|
38
38
|
* AvailabilityZone: "STRING_VALUE",
|
|
39
|
+
* AvailabilityZoneId: "STRING_VALUE",
|
|
39
40
|
* VpcEndpointAssociationArn: "STRING_VALUE",
|
|
40
41
|
* VpcEndpointId: "STRING_VALUE",
|
|
41
42
|
* FlowOperationId: "STRING_VALUE", // required
|
|
@@ -45,6 +46,7 @@ declare const DescribeFlowOperationCommand_base: {
|
|
|
45
46
|
* // { // DescribeFlowOperationResponse
|
|
46
47
|
* // FirewallArn: "STRING_VALUE",
|
|
47
48
|
* // AvailabilityZone: "STRING_VALUE",
|
|
49
|
+
* // AvailabilityZoneId: "STRING_VALUE",
|
|
48
50
|
* // VpcEndpointAssociationArn: "STRING_VALUE",
|
|
49
51
|
* // VpcEndpointId: "STRING_VALUE",
|
|
50
52
|
* // FlowOperationId: "STRING_VALUE",
|
|
@@ -74,7 +74,7 @@ declare const DescribeRuleGroupCommand_base: {
|
|
|
74
74
|
* // "STRING_VALUE",
|
|
75
75
|
* // ],
|
|
76
76
|
* // TargetTypes: [ // TargetTypes // required
|
|
77
|
-
* // "TLS_SNI" || "HTTP_HOST",
|
|
77
|
+
* // "TLS_SNI" || "HTTP_HOST" || "AWS_ROUTE_53_RESOLVED_DOMAIN",
|
|
78
78
|
* // ],
|
|
79
79
|
* // GeneratedRulesType: "ALLOWLIST" || "DENYLIST" || "REJECTLIST" || "ALERTLIST", // required
|
|
80
80
|
* // },
|
|
@@ -174,7 +174,7 @@ declare const DescribeRuleGroupCommand_base: {
|
|
|
174
174
|
* // Description: "STRING_VALUE",
|
|
175
175
|
* // Type: "STATELESS" || "STATEFUL" || "STATEFUL_DOMAIN",
|
|
176
176
|
* // Capacity: Number("int"),
|
|
177
|
-
* // RuleGroupStatus: "ACTIVE" || "DELETING" || "ERROR",
|
|
177
|
+
* // RuleGroupStatus: "ACTIVE" || "DELETING" || "ERROR" || "UPDATING",
|
|
178
178
|
* // Tags: [ // TagList
|
|
179
179
|
* // { // Tag
|
|
180
180
|
* // Key: "STRING_VALUE", // required
|
|
@@ -90,7 +90,7 @@ declare const DescribeTLSInspectionConfigurationCommand_base: {
|
|
|
90
90
|
* // TLSInspectionConfigurationArn: "STRING_VALUE", // required
|
|
91
91
|
* // TLSInspectionConfigurationName: "STRING_VALUE", // required
|
|
92
92
|
* // TLSInspectionConfigurationId: "STRING_VALUE", // required
|
|
93
|
-
* // TLSInspectionConfigurationStatus: "ACTIVE" || "DELETING" || "ERROR",
|
|
93
|
+
* // TLSInspectionConfigurationStatus: "ACTIVE" || "DELETING" || "ERROR" || "UPDATING",
|
|
94
94
|
* // Description: "STRING_VALUE",
|
|
95
95
|
* // Tags: [ // TagList
|
|
96
96
|
* // { // Tag
|
|
@@ -42,6 +42,7 @@ declare const ListFlowOperationResultsCommand_base: {
|
|
|
42
42
|
* NextToken: "STRING_VALUE",
|
|
43
43
|
* MaxResults: Number("int"),
|
|
44
44
|
* AvailabilityZone: "STRING_VALUE",
|
|
45
|
+
* AvailabilityZoneId: "STRING_VALUE",
|
|
45
46
|
* VpcEndpointId: "STRING_VALUE",
|
|
46
47
|
* VpcEndpointAssociationArn: "STRING_VALUE",
|
|
47
48
|
* };
|
|
@@ -50,6 +51,7 @@ declare const ListFlowOperationResultsCommand_base: {
|
|
|
50
51
|
* // { // ListFlowOperationResultsResponse
|
|
51
52
|
* // FirewallArn: "STRING_VALUE",
|
|
52
53
|
* // AvailabilityZone: "STRING_VALUE",
|
|
54
|
+
* // AvailabilityZoneId: "STRING_VALUE",
|
|
53
55
|
* // VpcEndpointAssociationArn: "STRING_VALUE",
|
|
54
56
|
* // VpcEndpointId: "STRING_VALUE",
|
|
55
57
|
* // FlowOperationId: "STRING_VALUE",
|
|
@@ -40,6 +40,7 @@ declare const ListFlowOperationsCommand_base: {
|
|
|
40
40
|
* const input = { // ListFlowOperationsRequest
|
|
41
41
|
* FirewallArn: "STRING_VALUE", // required
|
|
42
42
|
* AvailabilityZone: "STRING_VALUE",
|
|
43
|
+
* AvailabilityZoneId: "STRING_VALUE",
|
|
43
44
|
* VpcEndpointAssociationArn: "STRING_VALUE",
|
|
44
45
|
* VpcEndpointId: "STRING_VALUE",
|
|
45
46
|
* FlowOperationType: "FLOW_FLUSH" || "FLOW_CAPTURE",
|
|
@@ -44,6 +44,7 @@ declare const StartFlowCaptureCommand_base: {
|
|
|
44
44
|
* const input = { // StartFlowCaptureRequest
|
|
45
45
|
* FirewallArn: "STRING_VALUE", // required
|
|
46
46
|
* AvailabilityZone: "STRING_VALUE",
|
|
47
|
+
* AvailabilityZoneId: "STRING_VALUE",
|
|
47
48
|
* VpcEndpointAssociationArn: "STRING_VALUE",
|
|
48
49
|
* VpcEndpointId: "STRING_VALUE",
|
|
49
50
|
* MinimumFlowAgeInSeconds: Number("int"),
|
|
@@ -43,6 +43,7 @@ declare const StartFlowFlushCommand_base: {
|
|
|
43
43
|
* const input = { // StartFlowFlushRequest
|
|
44
44
|
* FirewallArn: "STRING_VALUE", // required
|
|
45
45
|
* AvailabilityZone: "STRING_VALUE",
|
|
46
|
+
* AvailabilityZoneId: "STRING_VALUE",
|
|
46
47
|
* VpcEndpointAssociationArn: "STRING_VALUE",
|
|
47
48
|
* VpcEndpointId: "STRING_VALUE",
|
|
48
49
|
* MinimumFlowAgeInSeconds: Number("int"),
|
|
@@ -117,6 +117,9 @@ declare const UpdateContainerAssociationCommand_base: {
|
|
|
117
117
|
* @throws {@link InvalidTokenException} (client fault)
|
|
118
118
|
* <p>The token you provided is stale or isn't valid for the operation. </p>
|
|
119
119
|
*
|
|
120
|
+
* @throws {@link LimitExceededException} (client fault)
|
|
121
|
+
* <p>Unable to perform the operation because doing so would violate a limit setting. </p>
|
|
122
|
+
*
|
|
120
123
|
* @throws {@link ResourceNotFoundException} (client fault)
|
|
121
124
|
* <p>Unable to locate a resource using the parameters that you provided.</p>
|
|
122
125
|
*
|
|
@@ -95,6 +95,21 @@ declare const UpdateFirewallPolicyCommand_base: {
|
|
|
95
95
|
* },
|
|
96
96
|
* },
|
|
97
97
|
* EnableTLSSessionHolding: true || false,
|
|
98
|
+
* Route53ResolvedIPValidation: { // Route53ResolvedIPValidation
|
|
99
|
+
* Action: "REJECT" || "DROP" || "ALERT", // required
|
|
100
|
+
* DNSFirewallRuleGroupId: "STRING_VALUE", // required
|
|
101
|
+
* DNSExpiryExceptionPolicy: "REJECT" || "DROP" || "CONTINUE", // required
|
|
102
|
+
* BypassDestinationValidationIPRanges: [ // Route53ResolvedIPValidationAddresses
|
|
103
|
+
* { // Address
|
|
104
|
+
* AddressDefinition: "STRING_VALUE", // required
|
|
105
|
+
* },
|
|
106
|
+
* ],
|
|
107
|
+
* SourceIPRanges: [
|
|
108
|
+
* {
|
|
109
|
+
* AddressDefinition: "STRING_VALUE", // required
|
|
110
|
+
* },
|
|
111
|
+
* ],
|
|
112
|
+
* },
|
|
98
113
|
* },
|
|
99
114
|
* Description: "STRING_VALUE",
|
|
100
115
|
* DryRun: true || false,
|
|
@@ -112,7 +127,8 @@ declare const UpdateFirewallPolicyCommand_base: {
|
|
|
112
127
|
* // FirewallPolicyArn: "STRING_VALUE", // required
|
|
113
128
|
* // FirewallPolicyId: "STRING_VALUE", // required
|
|
114
129
|
* // Description: "STRING_VALUE",
|
|
115
|
-
* // FirewallPolicyStatus: "ACTIVE" || "DELETING" || "ERROR",
|
|
130
|
+
* // FirewallPolicyStatus: "ACTIVE" || "DELETING" || "ERROR" || "UPDATING",
|
|
131
|
+
* // StatusMessage: "STRING_VALUE",
|
|
116
132
|
* // Tags: [ // TagList
|
|
117
133
|
* // { // Tag
|
|
118
134
|
* // Key: "STRING_VALUE", // required
|
|
@@ -127,6 +143,13 @@ declare const UpdateFirewallPolicyCommand_base: {
|
|
|
127
143
|
* // KeyId: "STRING_VALUE",
|
|
128
144
|
* // Type: "CUSTOMER_KMS" || "AWS_OWNED_KMS_KEY", // required
|
|
129
145
|
* // },
|
|
146
|
+
* // Errors: [ // FirewallPolicyErrors
|
|
147
|
+
* // { // FirewallPolicyError
|
|
148
|
+
* // Code: "DNS_FIREWALL_RULE_GROUP_UNAVAILABLE" || "ROUTE53_RESOLVED_IP_VALIDATION_MISSING", // required
|
|
149
|
+
* // Message: "STRING_VALUE", // required
|
|
150
|
+
* // ResourceId: "STRING_VALUE",
|
|
151
|
+
* // },
|
|
152
|
+
* // ],
|
|
130
153
|
* // LastModifiedTime: new Date("TIMESTAMP"),
|
|
131
154
|
* // },
|
|
132
155
|
* // };
|
|
@@ -143,6 +166,10 @@ declare const UpdateFirewallPolicyCommand_base: {
|
|
|
143
166
|
* <p>Your request is valid, but Network Firewall couldn't perform the operation because of a
|
|
144
167
|
* system problem. Retry your request. </p>
|
|
145
168
|
*
|
|
169
|
+
* @throws {@link InvalidOperationException} (client fault)
|
|
170
|
+
* <p>The operation failed because it's not valid. For example, you might have tried to delete
|
|
171
|
+
* a rule group or firewall policy that's in use.</p>
|
|
172
|
+
*
|
|
146
173
|
* @throws {@link InvalidRequestException} (client fault)
|
|
147
174
|
* <p>The operation failed because of a problem with your request. Examples include: </p>
|
|
148
175
|
* <ul>
|
|
@@ -73,7 +73,7 @@ declare const UpdateRuleGroupCommand_base: {
|
|
|
73
73
|
* "STRING_VALUE",
|
|
74
74
|
* ],
|
|
75
75
|
* TargetTypes: [ // TargetTypes // required
|
|
76
|
-
* "TLS_SNI" || "HTTP_HOST",
|
|
76
|
+
* "TLS_SNI" || "HTTP_HOST" || "AWS_ROUTE_53_RESOLVED_DOMAIN",
|
|
77
77
|
* ],
|
|
78
78
|
* GeneratedRulesType: "ALLOWLIST" || "DENYLIST" || "REJECTLIST" || "ALERTLIST", // required
|
|
79
79
|
* },
|
|
@@ -196,7 +196,7 @@ declare const UpdateRuleGroupCommand_base: {
|
|
|
196
196
|
* // Description: "STRING_VALUE",
|
|
197
197
|
* // Type: "STATELESS" || "STATEFUL" || "STATEFUL_DOMAIN",
|
|
198
198
|
* // Capacity: Number("int"),
|
|
199
|
-
* // RuleGroupStatus: "ACTIVE" || "DELETING" || "ERROR",
|
|
199
|
+
* // RuleGroupStatus: "ACTIVE" || "DELETING" || "ERROR" || "UPDATING",
|
|
200
200
|
* // Tags: [ // TagList
|
|
201
201
|
* // { // Tag
|
|
202
202
|
* // Key: "STRING_VALUE", // required
|
|
@@ -101,7 +101,7 @@ declare const UpdateTLSInspectionConfigurationCommand_base: {
|
|
|
101
101
|
* // TLSInspectionConfigurationArn: "STRING_VALUE", // required
|
|
102
102
|
* // TLSInspectionConfigurationName: "STRING_VALUE", // required
|
|
103
103
|
* // TLSInspectionConfigurationId: "STRING_VALUE", // required
|
|
104
|
-
* // TLSInspectionConfigurationStatus: "ACTIVE" || "DELETING" || "ERROR",
|
|
104
|
+
* // TLSInspectionConfigurationStatus: "ACTIVE" || "DELETING" || "ERROR" || "UPDATING",
|
|
105
105
|
* // Description: "STRING_VALUE",
|
|
106
106
|
* // Tags: [ // TagList
|
|
107
107
|
* // { // Tag
|
package/dist-types/index.d.ts
CHANGED
|
@@ -26,9 +26,9 @@
|
|
|
26
26
|
* perimeter of your VPC. This includes filtering traffic going to and coming from an internet
|
|
27
27
|
* gateway, NAT gateway, or over VPN or Direct Connect. Network Firewall uses rules that are compatible
|
|
28
28
|
* with Suricata, a free, open source network analysis and threat detection engine.
|
|
29
|
-
* Network Firewall supports Suricata version
|
|
29
|
+
* Network Firewall supports Suricata version 8.0.3. For information about Suricata,
|
|
30
30
|
* see the <a href="https://suricata.io/">Suricata website</a> and the
|
|
31
|
-
* <a href="https://suricata.readthedocs.io/en/suricata-
|
|
31
|
+
* <a href="https://suricata.readthedocs.io/en/suricata-8.0.3/">Suricata User Guide</a>. </p>
|
|
32
32
|
* <p>You can use Network Firewall to monitor and protect your VPC traffic in a number of ways.
|
|
33
33
|
* The following are just a few examples: </p>
|
|
34
34
|
* <ul>
|
|
@@ -97,6 +97,7 @@ export type { NetworkFirewallExtensionConfiguration } from "./extensionConfigura
|
|
|
97
97
|
export * from "./commands";
|
|
98
98
|
export { Command as $Command } from "@smithy/core/client";
|
|
99
99
|
export * from "./pagination";
|
|
100
|
+
export * from "./waiters";
|
|
100
101
|
export * from "./schemas/schemas_0";
|
|
101
102
|
export * from "./models/enums";
|
|
102
103
|
export * from "./models/errors";
|
|
@@ -203,6 +203,32 @@ export declare const NatGatewayAttachmentStatus: {
|
|
|
203
203
|
* @public
|
|
204
204
|
*/
|
|
205
205
|
export type NatGatewayAttachmentStatus = (typeof NatGatewayAttachmentStatus)[keyof typeof NatGatewayAttachmentStatus];
|
|
206
|
+
/**
|
|
207
|
+
* @public
|
|
208
|
+
* @enum
|
|
209
|
+
*/
|
|
210
|
+
export declare const Route53ResolvedIPValidationAction: {
|
|
211
|
+
readonly ALERT: "ALERT";
|
|
212
|
+
readonly DROP: "DROP";
|
|
213
|
+
readonly REJECT: "REJECT";
|
|
214
|
+
};
|
|
215
|
+
/**
|
|
216
|
+
* @public
|
|
217
|
+
*/
|
|
218
|
+
export type Route53ResolvedIPValidationAction = (typeof Route53ResolvedIPValidationAction)[keyof typeof Route53ResolvedIPValidationAction];
|
|
219
|
+
/**
|
|
220
|
+
* @public
|
|
221
|
+
* @enum
|
|
222
|
+
*/
|
|
223
|
+
export declare const DNSExpiryExceptionPolicy: {
|
|
224
|
+
readonly CONTINUE: "CONTINUE";
|
|
225
|
+
readonly DROP: "DROP";
|
|
226
|
+
readonly REJECT: "REJECT";
|
|
227
|
+
};
|
|
228
|
+
/**
|
|
229
|
+
* @public
|
|
230
|
+
*/
|
|
231
|
+
export type DNSExpiryExceptionPolicy = (typeof DNSExpiryExceptionPolicy)[keyof typeof DNSExpiryExceptionPolicy];
|
|
206
232
|
/**
|
|
207
233
|
* @public
|
|
208
234
|
* @enum
|
|
@@ -239,6 +265,18 @@ export declare const OverrideAction: {
|
|
|
239
265
|
* @public
|
|
240
266
|
*/
|
|
241
267
|
export type OverrideAction = (typeof OverrideAction)[keyof typeof OverrideAction];
|
|
268
|
+
/**
|
|
269
|
+
* @public
|
|
270
|
+
* @enum
|
|
271
|
+
*/
|
|
272
|
+
export declare const FirewallPolicyErrorCode: {
|
|
273
|
+
readonly DNS_FIREWALL_RULE_GROUP_UNAVAILABLE: "DNS_FIREWALL_RULE_GROUP_UNAVAILABLE";
|
|
274
|
+
readonly ROUTE53_RESOLVED_IP_VALIDATION_MISSING: "ROUTE53_RESOLVED_IP_VALIDATION_MISSING";
|
|
275
|
+
};
|
|
276
|
+
/**
|
|
277
|
+
* @public
|
|
278
|
+
*/
|
|
279
|
+
export type FirewallPolicyErrorCode = (typeof FirewallPolicyErrorCode)[keyof typeof FirewallPolicyErrorCode];
|
|
242
280
|
/**
|
|
243
281
|
* @public
|
|
244
282
|
* @enum
|
|
@@ -247,6 +285,7 @@ export declare const ResourceStatus: {
|
|
|
247
285
|
readonly ACTIVE: "ACTIVE";
|
|
248
286
|
readonly DELETING: "DELETING";
|
|
249
287
|
readonly ERROR: "ERROR";
|
|
288
|
+
readonly UPDATING: "UPDATING";
|
|
250
289
|
};
|
|
251
290
|
/**
|
|
252
291
|
* @public
|
|
@@ -312,6 +351,7 @@ export type GeneratedRulesType = (typeof GeneratedRulesType)[keyof typeof Genera
|
|
|
312
351
|
* @enum
|
|
313
352
|
*/
|
|
314
353
|
export declare const TargetType: {
|
|
354
|
+
readonly AWS_ROUTE_53_RESOLVED_DOMAIN: "AWS_ROUTE_53_RESOLVED_DOMAIN";
|
|
315
355
|
readonly HTTP_HOST: "HTTP_HOST";
|
|
316
356
|
readonly TLS_SNI: "TLS_SNI";
|
|
317
357
|
};
|