@aws-sdk/client-network-firewall 3.299.0 → 3.300.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-types/commands/AssociateFirewallPolicyCommand.d.ts +6 -0
- package/dist-types/commands/AssociateSubnetsCommand.d.ts +11 -0
- package/dist-types/commands/CreateFirewallCommand.d.ts +25 -0
- package/dist-types/commands/CreateFirewallPolicyCommand.d.ts +59 -0
- package/dist-types/commands/CreateRuleGroupCommand.d.ts +146 -0
- package/dist-types/commands/DeleteFirewallCommand.d.ts +4 -0
- package/dist-types/commands/DeleteFirewallPolicyCommand.d.ts +4 -0
- package/dist-types/commands/DeleteResourcePolicyCommand.d.ts +3 -0
- package/dist-types/commands/DeleteRuleGroupCommand.d.ts +5 -0
- package/dist-types/commands/DescribeFirewallCommand.d.ts +4 -0
- package/dist-types/commands/DescribeFirewallPolicyCommand.d.ts +4 -0
- package/dist-types/commands/DescribeLoggingConfigurationCommand.d.ts +4 -0
- package/dist-types/commands/DescribeResourcePolicyCommand.d.ts +3 -0
- package/dist-types/commands/DescribeRuleGroupCommand.d.ts +5 -0
- package/dist-types/commands/DescribeRuleGroupMetadataCommand.d.ts +5 -0
- package/dist-types/commands/DisassociateSubnetsCommand.d.ts +8 -0
- package/dist-types/commands/ListFirewallPoliciesCommand.d.ts +4 -0
- package/dist-types/commands/ListFirewallsCommand.d.ts +7 -0
- package/dist-types/commands/ListRuleGroupsCommand.d.ts +7 -0
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +5 -0
- package/dist-types/commands/PutResourcePolicyCommand.d.ts +4 -0
- package/dist-types/commands/TagResourceCommand.d.ts +9 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +6 -0
- package/dist-types/commands/UpdateFirewallDeleteProtectionCommand.d.ts +6 -0
- package/dist-types/commands/UpdateFirewallDescriptionCommand.d.ts +6 -0
- package/dist-types/commands/UpdateFirewallEncryptionConfigurationCommand.d.ts +9 -0
- package/dist-types/commands/UpdateFirewallPolicyChangeProtectionCommand.d.ts +6 -0
- package/dist-types/commands/UpdateFirewallPolicyCommand.d.ts +55 -0
- package/dist-types/commands/UpdateLoggingConfigurationCommand.d.ts +15 -0
- package/dist-types/commands/UpdateRuleGroupCommand.d.ts +141 -0
- package/dist-types/commands/UpdateSubnetChangeProtectionCommand.d.ts +6 -0
- package/package.json +8 -8
|
@@ -30,6 +30,12 @@ export interface AssociateFirewallPolicyCommandOutput extends AssociateFirewallP
|
|
|
30
30
|
* import { NetworkFirewallClient, AssociateFirewallPolicyCommand } from "@aws-sdk/client-network-firewall"; // ES Modules import
|
|
31
31
|
* // const { NetworkFirewallClient, AssociateFirewallPolicyCommand } = require("@aws-sdk/client-network-firewall"); // CommonJS import
|
|
32
32
|
* const client = new NetworkFirewallClient(config);
|
|
33
|
+
* const input = {
|
|
34
|
+
* UpdateToken: "STRING_VALUE",
|
|
35
|
+
* FirewallArn: "STRING_VALUE",
|
|
36
|
+
* FirewallName: "STRING_VALUE",
|
|
37
|
+
* FirewallPolicyArn: "STRING_VALUE", // required
|
|
38
|
+
* };
|
|
33
39
|
* const command = new AssociateFirewallPolicyCommand(input);
|
|
34
40
|
* const response = await client.send(command);
|
|
35
41
|
* ```
|
|
@@ -31,6 +31,17 @@ export interface AssociateSubnetsCommandOutput extends AssociateSubnetsResponse,
|
|
|
31
31
|
* import { NetworkFirewallClient, AssociateSubnetsCommand } from "@aws-sdk/client-network-firewall"; // ES Modules import
|
|
32
32
|
* // const { NetworkFirewallClient, AssociateSubnetsCommand } = require("@aws-sdk/client-network-firewall"); // CommonJS import
|
|
33
33
|
* const client = new NetworkFirewallClient(config);
|
|
34
|
+
* const input = {
|
|
35
|
+
* UpdateToken: "STRING_VALUE",
|
|
36
|
+
* FirewallArn: "STRING_VALUE",
|
|
37
|
+
* FirewallName: "STRING_VALUE",
|
|
38
|
+
* SubnetMappings: [ // required
|
|
39
|
+
* {
|
|
40
|
+
* SubnetId: "STRING_VALUE", // required
|
|
41
|
+
* IPAddressType: "DUALSTACK" || "IPV4",
|
|
42
|
+
* },
|
|
43
|
+
* ],
|
|
44
|
+
* };
|
|
34
45
|
* const command = new AssociateSubnetsCommand(input);
|
|
35
46
|
* const response = await client.send(command);
|
|
36
47
|
* ```
|
|
@@ -32,6 +32,31 @@ export interface CreateFirewallCommandOutput extends CreateFirewallResponse, __M
|
|
|
32
32
|
* import { NetworkFirewallClient, CreateFirewallCommand } from "@aws-sdk/client-network-firewall"; // ES Modules import
|
|
33
33
|
* // const { NetworkFirewallClient, CreateFirewallCommand } = require("@aws-sdk/client-network-firewall"); // CommonJS import
|
|
34
34
|
* const client = new NetworkFirewallClient(config);
|
|
35
|
+
* const input = {
|
|
36
|
+
* FirewallName: "STRING_VALUE", // required
|
|
37
|
+
* FirewallPolicyArn: "STRING_VALUE", // required
|
|
38
|
+
* VpcId: "STRING_VALUE", // required
|
|
39
|
+
* SubnetMappings: [ // required
|
|
40
|
+
* {
|
|
41
|
+
* SubnetId: "STRING_VALUE", // required
|
|
42
|
+
* IPAddressType: "DUALSTACK" || "IPV4",
|
|
43
|
+
* },
|
|
44
|
+
* ],
|
|
45
|
+
* DeleteProtection: true || false,
|
|
46
|
+
* SubnetChangeProtection: true || false,
|
|
47
|
+
* FirewallPolicyChangeProtection: true || false,
|
|
48
|
+
* Description: "STRING_VALUE",
|
|
49
|
+
* Tags: [
|
|
50
|
+
* {
|
|
51
|
+
* Key: "STRING_VALUE", // required
|
|
52
|
+
* Value: "STRING_VALUE", // required
|
|
53
|
+
* },
|
|
54
|
+
* ],
|
|
55
|
+
* EncryptionConfiguration: {
|
|
56
|
+
* KeyId: "STRING_VALUE",
|
|
57
|
+
* Type: "CUSTOMER_KMS" || "AWS_OWNED_KMS_KEY", // required
|
|
58
|
+
* },
|
|
59
|
+
* };
|
|
35
60
|
* const command = new CreateFirewallCommand(input);
|
|
36
61
|
* const response = await client.send(command);
|
|
37
62
|
* ```
|
|
@@ -29,6 +29,65 @@ export interface CreateFirewallPolicyCommandOutput extends CreateFirewallPolicyR
|
|
|
29
29
|
* import { NetworkFirewallClient, CreateFirewallPolicyCommand } from "@aws-sdk/client-network-firewall"; // ES Modules import
|
|
30
30
|
* // const { NetworkFirewallClient, CreateFirewallPolicyCommand } = require("@aws-sdk/client-network-firewall"); // CommonJS import
|
|
31
31
|
* const client = new NetworkFirewallClient(config);
|
|
32
|
+
* const input = {
|
|
33
|
+
* FirewallPolicyName: "STRING_VALUE", // required
|
|
34
|
+
* FirewallPolicy: {
|
|
35
|
+
* StatelessRuleGroupReferences: [
|
|
36
|
+
* {
|
|
37
|
+
* ResourceArn: "STRING_VALUE", // required
|
|
38
|
+
* Priority: Number("int"), // required
|
|
39
|
+
* },
|
|
40
|
+
* ],
|
|
41
|
+
* StatelessDefaultActions: [ // required
|
|
42
|
+
* "STRING_VALUE",
|
|
43
|
+
* ],
|
|
44
|
+
* StatelessFragmentDefaultActions: [ // required
|
|
45
|
+
* "STRING_VALUE",
|
|
46
|
+
* ],
|
|
47
|
+
* StatelessCustomActions: [
|
|
48
|
+
* {
|
|
49
|
+
* ActionName: "STRING_VALUE", // required
|
|
50
|
+
* ActionDefinition: {
|
|
51
|
+
* PublishMetricAction: {
|
|
52
|
+
* Dimensions: [ // required
|
|
53
|
+
* {
|
|
54
|
+
* Value: "STRING_VALUE", // required
|
|
55
|
+
* },
|
|
56
|
+
* ],
|
|
57
|
+
* },
|
|
58
|
+
* },
|
|
59
|
+
* },
|
|
60
|
+
* ],
|
|
61
|
+
* StatefulRuleGroupReferences: [
|
|
62
|
+
* {
|
|
63
|
+
* ResourceArn: "STRING_VALUE", // required
|
|
64
|
+
* Priority: Number("int"),
|
|
65
|
+
* Override: {
|
|
66
|
+
* Action: "DROP_TO_ALERT",
|
|
67
|
+
* },
|
|
68
|
+
* },
|
|
69
|
+
* ],
|
|
70
|
+
* StatefulDefaultActions: [
|
|
71
|
+
* "STRING_VALUE",
|
|
72
|
+
* ],
|
|
73
|
+
* StatefulEngineOptions: {
|
|
74
|
+
* RuleOrder: "DEFAULT_ACTION_ORDER" || "STRICT_ORDER",
|
|
75
|
+
* StreamExceptionPolicy: "DROP" || "CONTINUE",
|
|
76
|
+
* },
|
|
77
|
+
* },
|
|
78
|
+
* Description: "STRING_VALUE",
|
|
79
|
+
* Tags: [
|
|
80
|
+
* {
|
|
81
|
+
* Key: "STRING_VALUE", // required
|
|
82
|
+
* Value: "STRING_VALUE", // required
|
|
83
|
+
* },
|
|
84
|
+
* ],
|
|
85
|
+
* DryRun: true || false,
|
|
86
|
+
* EncryptionConfiguration: {
|
|
87
|
+
* KeyId: "STRING_VALUE",
|
|
88
|
+
* Type: "CUSTOMER_KMS" || "AWS_OWNED_KMS_KEY", // required
|
|
89
|
+
* },
|
|
90
|
+
* };
|
|
32
91
|
* const command = new CreateFirewallPolicyCommand(input);
|
|
33
92
|
* const response = await client.send(command);
|
|
34
93
|
* ```
|
|
@@ -29,6 +29,152 @@ export interface CreateRuleGroupCommandOutput extends CreateRuleGroupResponse, _
|
|
|
29
29
|
* import { NetworkFirewallClient, CreateRuleGroupCommand } from "@aws-sdk/client-network-firewall"; // ES Modules import
|
|
30
30
|
* // const { NetworkFirewallClient, CreateRuleGroupCommand } = require("@aws-sdk/client-network-firewall"); // CommonJS import
|
|
31
31
|
* const client = new NetworkFirewallClient(config);
|
|
32
|
+
* const input = {
|
|
33
|
+
* RuleGroupName: "STRING_VALUE", // required
|
|
34
|
+
* RuleGroup: {
|
|
35
|
+
* RuleVariables: {
|
|
36
|
+
* IPSets: {
|
|
37
|
+
* "<keys>": {
|
|
38
|
+
* Definition: [ // required
|
|
39
|
+
* "STRING_VALUE",
|
|
40
|
+
* ],
|
|
41
|
+
* },
|
|
42
|
+
* },
|
|
43
|
+
* PortSets: {
|
|
44
|
+
* "<keys>": {
|
|
45
|
+
* Definition: [
|
|
46
|
+
* "STRING_VALUE",
|
|
47
|
+
* ],
|
|
48
|
+
* },
|
|
49
|
+
* },
|
|
50
|
+
* },
|
|
51
|
+
* ReferenceSets: {
|
|
52
|
+
* IPSetReferences: {
|
|
53
|
+
* "<keys>": {
|
|
54
|
+
* ReferenceArn: "STRING_VALUE",
|
|
55
|
+
* },
|
|
56
|
+
* },
|
|
57
|
+
* },
|
|
58
|
+
* RulesSource: {
|
|
59
|
+
* RulesString: "STRING_VALUE",
|
|
60
|
+
* RulesSourceList: {
|
|
61
|
+
* Targets: [ // required
|
|
62
|
+
* "STRING_VALUE",
|
|
63
|
+
* ],
|
|
64
|
+
* TargetTypes: [ // required
|
|
65
|
+
* "TLS_SNI" || "HTTP_HOST",
|
|
66
|
+
* ],
|
|
67
|
+
* GeneratedRulesType: "ALLOWLIST" || "DENYLIST", // required
|
|
68
|
+
* },
|
|
69
|
+
* StatefulRules: [
|
|
70
|
+
* {
|
|
71
|
+
* Action: "PASS" || "DROP" || "ALERT" || "REJECT", // required
|
|
72
|
+
* Header: {
|
|
73
|
+
* Protocol: "IP" || "TCP" || "UDP" || "ICMP" || "HTTP" || "FTP" || "TLS" || "SMB" || "DNS" || "DCERPC" || "SSH" || "SMTP" || "IMAP" || "MSN" || "KRB5" || "IKEV2" || "TFTP" || "NTP" || "DHCP", // required
|
|
74
|
+
* Source: "STRING_VALUE", // required
|
|
75
|
+
* SourcePort: "STRING_VALUE", // required
|
|
76
|
+
* Direction: "FORWARD" || "ANY", // required
|
|
77
|
+
* Destination: "STRING_VALUE", // required
|
|
78
|
+
* DestinationPort: "STRING_VALUE", // required
|
|
79
|
+
* },
|
|
80
|
+
* RuleOptions: [ // required
|
|
81
|
+
* {
|
|
82
|
+
* Keyword: "STRING_VALUE", // required
|
|
83
|
+
* Settings: [
|
|
84
|
+
* "STRING_VALUE",
|
|
85
|
+
* ],
|
|
86
|
+
* },
|
|
87
|
+
* ],
|
|
88
|
+
* },
|
|
89
|
+
* ],
|
|
90
|
+
* StatelessRulesAndCustomActions: {
|
|
91
|
+
* StatelessRules: [ // required
|
|
92
|
+
* {
|
|
93
|
+
* RuleDefinition: {
|
|
94
|
+
* MatchAttributes: {
|
|
95
|
+
* Sources: [
|
|
96
|
+
* {
|
|
97
|
+
* AddressDefinition: "STRING_VALUE", // required
|
|
98
|
+
* },
|
|
99
|
+
* ],
|
|
100
|
+
* Destinations: [
|
|
101
|
+
* {
|
|
102
|
+
* AddressDefinition: "STRING_VALUE", // required
|
|
103
|
+
* },
|
|
104
|
+
* ],
|
|
105
|
+
* SourcePorts: [
|
|
106
|
+
* {
|
|
107
|
+
* FromPort: Number("int"), // required
|
|
108
|
+
* ToPort: Number("int"), // required
|
|
109
|
+
* },
|
|
110
|
+
* ],
|
|
111
|
+
* DestinationPorts: [
|
|
112
|
+
* {
|
|
113
|
+
* FromPort: Number("int"), // required
|
|
114
|
+
* ToPort: Number("int"), // required
|
|
115
|
+
* },
|
|
116
|
+
* ],
|
|
117
|
+
* Protocols: [
|
|
118
|
+
* Number("int"),
|
|
119
|
+
* ],
|
|
120
|
+
* TCPFlags: [
|
|
121
|
+
* {
|
|
122
|
+
* Flags: [ // required
|
|
123
|
+
* "FIN" || "SYN" || "RST" || "PSH" || "ACK" || "URG" || "ECE" || "CWR",
|
|
124
|
+
* ],
|
|
125
|
+
* Masks: [
|
|
126
|
+
* "FIN" || "SYN" || "RST" || "PSH" || "ACK" || "URG" || "ECE" || "CWR",
|
|
127
|
+
* ],
|
|
128
|
+
* },
|
|
129
|
+
* ],
|
|
130
|
+
* },
|
|
131
|
+
* Actions: [ // required
|
|
132
|
+
* "STRING_VALUE",
|
|
133
|
+
* ],
|
|
134
|
+
* },
|
|
135
|
+
* Priority: Number("int"), // required
|
|
136
|
+
* },
|
|
137
|
+
* ],
|
|
138
|
+
* CustomActions: [
|
|
139
|
+
* {
|
|
140
|
+
* ActionName: "STRING_VALUE", // required
|
|
141
|
+
* ActionDefinition: {
|
|
142
|
+
* PublishMetricAction: {
|
|
143
|
+
* Dimensions: [ // required
|
|
144
|
+
* {
|
|
145
|
+
* Value: "STRING_VALUE", // required
|
|
146
|
+
* },
|
|
147
|
+
* ],
|
|
148
|
+
* },
|
|
149
|
+
* },
|
|
150
|
+
* },
|
|
151
|
+
* ],
|
|
152
|
+
* },
|
|
153
|
+
* },
|
|
154
|
+
* StatefulRuleOptions: {
|
|
155
|
+
* RuleOrder: "DEFAULT_ACTION_ORDER" || "STRICT_ORDER",
|
|
156
|
+
* },
|
|
157
|
+
* },
|
|
158
|
+
* Rules: "STRING_VALUE",
|
|
159
|
+
* Type: "STATELESS" || "STATEFUL", // required
|
|
160
|
+
* Description: "STRING_VALUE",
|
|
161
|
+
* Capacity: Number("int"), // required
|
|
162
|
+
* Tags: [
|
|
163
|
+
* {
|
|
164
|
+
* Key: "STRING_VALUE", // required
|
|
165
|
+
* Value: "STRING_VALUE", // required
|
|
166
|
+
* },
|
|
167
|
+
* ],
|
|
168
|
+
* DryRun: true || false,
|
|
169
|
+
* EncryptionConfiguration: {
|
|
170
|
+
* KeyId: "STRING_VALUE",
|
|
171
|
+
* Type: "CUSTOMER_KMS" || "AWS_OWNED_KMS_KEY", // required
|
|
172
|
+
* },
|
|
173
|
+
* SourceMetadata: {
|
|
174
|
+
* SourceArn: "STRING_VALUE",
|
|
175
|
+
* SourceUpdateToken: "STRING_VALUE",
|
|
176
|
+
* },
|
|
177
|
+
* };
|
|
32
178
|
* const command = new CreateRuleGroupCommand(input);
|
|
33
179
|
* const response = await client.send(command);
|
|
34
180
|
* ```
|
|
@@ -36,6 +36,10 @@ export interface DeleteFirewallCommandOutput extends DeleteFirewallResponse, __M
|
|
|
36
36
|
* import { NetworkFirewallClient, DeleteFirewallCommand } from "@aws-sdk/client-network-firewall"; // ES Modules import
|
|
37
37
|
* // const { NetworkFirewallClient, DeleteFirewallCommand } = require("@aws-sdk/client-network-firewall"); // CommonJS import
|
|
38
38
|
* const client = new NetworkFirewallClient(config);
|
|
39
|
+
* const input = {
|
|
40
|
+
* FirewallName: "STRING_VALUE",
|
|
41
|
+
* FirewallArn: "STRING_VALUE",
|
|
42
|
+
* };
|
|
39
43
|
* const command = new DeleteFirewallCommand(input);
|
|
40
44
|
* const response = await client.send(command);
|
|
41
45
|
* ```
|
|
@@ -26,6 +26,10 @@ export interface DeleteFirewallPolicyCommandOutput extends DeleteFirewallPolicyR
|
|
|
26
26
|
* import { NetworkFirewallClient, DeleteFirewallPolicyCommand } from "@aws-sdk/client-network-firewall"; // ES Modules import
|
|
27
27
|
* // const { NetworkFirewallClient, DeleteFirewallPolicyCommand } = require("@aws-sdk/client-network-firewall"); // CommonJS import
|
|
28
28
|
* const client = new NetworkFirewallClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* FirewallPolicyName: "STRING_VALUE",
|
|
31
|
+
* FirewallPolicyArn: "STRING_VALUE",
|
|
32
|
+
* };
|
|
29
33
|
* const command = new DeleteFirewallPolicyCommand(input);
|
|
30
34
|
* const response = await client.send(command);
|
|
31
35
|
* ```
|
|
@@ -26,6 +26,9 @@ export interface DeleteResourcePolicyCommandOutput extends DeleteResourcePolicyR
|
|
|
26
26
|
* import { NetworkFirewallClient, DeleteResourcePolicyCommand } from "@aws-sdk/client-network-firewall"; // ES Modules import
|
|
27
27
|
* // const { NetworkFirewallClient, DeleteResourcePolicyCommand } = require("@aws-sdk/client-network-firewall"); // CommonJS import
|
|
28
28
|
* const client = new NetworkFirewallClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* ResourceArn: "STRING_VALUE", // required
|
|
31
|
+
* };
|
|
29
32
|
* const command = new DeleteResourcePolicyCommand(input);
|
|
30
33
|
* const response = await client.send(command);
|
|
31
34
|
* ```
|
|
@@ -26,6 +26,11 @@ export interface DeleteRuleGroupCommandOutput extends DeleteRuleGroupResponse, _
|
|
|
26
26
|
* import { NetworkFirewallClient, DeleteRuleGroupCommand } from "@aws-sdk/client-network-firewall"; // ES Modules import
|
|
27
27
|
* // const { NetworkFirewallClient, DeleteRuleGroupCommand } = require("@aws-sdk/client-network-firewall"); // CommonJS import
|
|
28
28
|
* const client = new NetworkFirewallClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* RuleGroupName: "STRING_VALUE",
|
|
31
|
+
* RuleGroupArn: "STRING_VALUE",
|
|
32
|
+
* Type: "STATELESS" || "STATEFUL",
|
|
33
|
+
* };
|
|
29
34
|
* const command = new DeleteRuleGroupCommand(input);
|
|
30
35
|
* const response = await client.send(command);
|
|
31
36
|
* ```
|
|
@@ -26,6 +26,10 @@ export interface DescribeFirewallCommandOutput extends DescribeFirewallResponse,
|
|
|
26
26
|
* import { NetworkFirewallClient, DescribeFirewallCommand } from "@aws-sdk/client-network-firewall"; // ES Modules import
|
|
27
27
|
* // const { NetworkFirewallClient, DescribeFirewallCommand } = require("@aws-sdk/client-network-firewall"); // CommonJS import
|
|
28
28
|
* const client = new NetworkFirewallClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* FirewallName: "STRING_VALUE",
|
|
31
|
+
* FirewallArn: "STRING_VALUE",
|
|
32
|
+
* };
|
|
29
33
|
* const command = new DescribeFirewallCommand(input);
|
|
30
34
|
* const response = await client.send(command);
|
|
31
35
|
* ```
|
|
@@ -26,6 +26,10 @@ export interface DescribeFirewallPolicyCommandOutput extends DescribeFirewallPol
|
|
|
26
26
|
* import { NetworkFirewallClient, DescribeFirewallPolicyCommand } from "@aws-sdk/client-network-firewall"; // ES Modules import
|
|
27
27
|
* // const { NetworkFirewallClient, DescribeFirewallPolicyCommand } = require("@aws-sdk/client-network-firewall"); // CommonJS import
|
|
28
28
|
* const client = new NetworkFirewallClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* FirewallPolicyName: "STRING_VALUE",
|
|
31
|
+
* FirewallPolicyArn: "STRING_VALUE",
|
|
32
|
+
* };
|
|
29
33
|
* const command = new DescribeFirewallPolicyCommand(input);
|
|
30
34
|
* const response = await client.send(command);
|
|
31
35
|
* ```
|
|
@@ -26,6 +26,10 @@ export interface DescribeLoggingConfigurationCommandOutput extends DescribeLoggi
|
|
|
26
26
|
* import { NetworkFirewallClient, DescribeLoggingConfigurationCommand } from "@aws-sdk/client-network-firewall"; // ES Modules import
|
|
27
27
|
* // const { NetworkFirewallClient, DescribeLoggingConfigurationCommand } = require("@aws-sdk/client-network-firewall"); // CommonJS import
|
|
28
28
|
* const client = new NetworkFirewallClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* FirewallArn: "STRING_VALUE",
|
|
31
|
+
* FirewallName: "STRING_VALUE",
|
|
32
|
+
* };
|
|
29
33
|
* const command = new DescribeLoggingConfigurationCommand(input);
|
|
30
34
|
* const response = await client.send(command);
|
|
31
35
|
* ```
|
|
@@ -26,6 +26,9 @@ export interface DescribeResourcePolicyCommandOutput extends DescribeResourcePol
|
|
|
26
26
|
* import { NetworkFirewallClient, DescribeResourcePolicyCommand } from "@aws-sdk/client-network-firewall"; // ES Modules import
|
|
27
27
|
* // const { NetworkFirewallClient, DescribeResourcePolicyCommand } = require("@aws-sdk/client-network-firewall"); // CommonJS import
|
|
28
28
|
* const client = new NetworkFirewallClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* ResourceArn: "STRING_VALUE", // required
|
|
31
|
+
* };
|
|
29
32
|
* const command = new DescribeResourcePolicyCommand(input);
|
|
30
33
|
* const response = await client.send(command);
|
|
31
34
|
* ```
|
|
@@ -26,6 +26,11 @@ export interface DescribeRuleGroupCommandOutput extends DescribeRuleGroupRespons
|
|
|
26
26
|
* import { NetworkFirewallClient, DescribeRuleGroupCommand } from "@aws-sdk/client-network-firewall"; // ES Modules import
|
|
27
27
|
* // const { NetworkFirewallClient, DescribeRuleGroupCommand } = require("@aws-sdk/client-network-firewall"); // CommonJS import
|
|
28
28
|
* const client = new NetworkFirewallClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* RuleGroupName: "STRING_VALUE",
|
|
31
|
+
* RuleGroupArn: "STRING_VALUE",
|
|
32
|
+
* Type: "STATELESS" || "STATEFUL",
|
|
33
|
+
* };
|
|
29
34
|
* const command = new DescribeRuleGroupCommand(input);
|
|
30
35
|
* const response = await client.send(command);
|
|
31
36
|
* ```
|
|
@@ -29,6 +29,11 @@ export interface DescribeRuleGroupMetadataCommandOutput extends DescribeRuleGrou
|
|
|
29
29
|
* import { NetworkFirewallClient, DescribeRuleGroupMetadataCommand } from "@aws-sdk/client-network-firewall"; // ES Modules import
|
|
30
30
|
* // const { NetworkFirewallClient, DescribeRuleGroupMetadataCommand } = require("@aws-sdk/client-network-firewall"); // CommonJS import
|
|
31
31
|
* const client = new NetworkFirewallClient(config);
|
|
32
|
+
* const input = {
|
|
33
|
+
* RuleGroupName: "STRING_VALUE",
|
|
34
|
+
* RuleGroupArn: "STRING_VALUE",
|
|
35
|
+
* Type: "STATELESS" || "STATEFUL",
|
|
36
|
+
* };
|
|
32
37
|
* const command = new DescribeRuleGroupMetadataCommand(input);
|
|
33
38
|
* const response = await client.send(command);
|
|
34
39
|
* ```
|
|
@@ -29,6 +29,14 @@ export interface DisassociateSubnetsCommandOutput extends DisassociateSubnetsRes
|
|
|
29
29
|
* import { NetworkFirewallClient, DisassociateSubnetsCommand } from "@aws-sdk/client-network-firewall"; // ES Modules import
|
|
30
30
|
* // const { NetworkFirewallClient, DisassociateSubnetsCommand } = require("@aws-sdk/client-network-firewall"); // CommonJS import
|
|
31
31
|
* const client = new NetworkFirewallClient(config);
|
|
32
|
+
* const input = {
|
|
33
|
+
* UpdateToken: "STRING_VALUE",
|
|
34
|
+
* FirewallArn: "STRING_VALUE",
|
|
35
|
+
* FirewallName: "STRING_VALUE",
|
|
36
|
+
* SubnetIds: [ // required
|
|
37
|
+
* "STRING_VALUE",
|
|
38
|
+
* ],
|
|
39
|
+
* };
|
|
32
40
|
* const command = new DisassociateSubnetsCommand(input);
|
|
33
41
|
* const response = await client.send(command);
|
|
34
42
|
* ```
|
|
@@ -28,6 +28,10 @@ export interface ListFirewallPoliciesCommandOutput extends ListFirewallPoliciesR
|
|
|
28
28
|
* import { NetworkFirewallClient, ListFirewallPoliciesCommand } from "@aws-sdk/client-network-firewall"; // ES Modules import
|
|
29
29
|
* // const { NetworkFirewallClient, ListFirewallPoliciesCommand } = require("@aws-sdk/client-network-firewall"); // CommonJS import
|
|
30
30
|
* const client = new NetworkFirewallClient(config);
|
|
31
|
+
* const input = {
|
|
32
|
+
* NextToken: "STRING_VALUE",
|
|
33
|
+
* MaxResults: Number("int"),
|
|
34
|
+
* };
|
|
31
35
|
* const command = new ListFirewallPoliciesCommand(input);
|
|
32
36
|
* const response = await client.send(command);
|
|
33
37
|
* ```
|
|
@@ -29,6 +29,13 @@ export interface ListFirewallsCommandOutput extends ListFirewallsResponse, __Met
|
|
|
29
29
|
* import { NetworkFirewallClient, ListFirewallsCommand } from "@aws-sdk/client-network-firewall"; // ES Modules import
|
|
30
30
|
* // const { NetworkFirewallClient, ListFirewallsCommand } = require("@aws-sdk/client-network-firewall"); // CommonJS import
|
|
31
31
|
* const client = new NetworkFirewallClient(config);
|
|
32
|
+
* const input = {
|
|
33
|
+
* NextToken: "STRING_VALUE",
|
|
34
|
+
* VpcIds: [
|
|
35
|
+
* "STRING_VALUE",
|
|
36
|
+
* ],
|
|
37
|
+
* MaxResults: Number("int"),
|
|
38
|
+
* };
|
|
32
39
|
* const command = new ListFirewallsCommand(input);
|
|
33
40
|
* const response = await client.send(command);
|
|
34
41
|
* ```
|
|
@@ -28,6 +28,13 @@ export interface ListRuleGroupsCommandOutput extends ListRuleGroupsResponse, __M
|
|
|
28
28
|
* import { NetworkFirewallClient, ListRuleGroupsCommand } from "@aws-sdk/client-network-firewall"; // ES Modules import
|
|
29
29
|
* // const { NetworkFirewallClient, ListRuleGroupsCommand } = require("@aws-sdk/client-network-firewall"); // CommonJS import
|
|
30
30
|
* const client = new NetworkFirewallClient(config);
|
|
31
|
+
* const input = {
|
|
32
|
+
* NextToken: "STRING_VALUE",
|
|
33
|
+
* MaxResults: Number("int"),
|
|
34
|
+
* Scope: "MANAGED" || "ACCOUNT",
|
|
35
|
+
* ManagedType: "AWS_MANAGED_THREAT_SIGNATURES" || "AWS_MANAGED_DOMAIN_LISTS",
|
|
36
|
+
* Type: "STATELESS" || "STATEFUL",
|
|
37
|
+
* };
|
|
31
38
|
* const command = new ListRuleGroupsCommand(input);
|
|
32
39
|
* const response = await client.send(command);
|
|
33
40
|
* ```
|
|
@@ -32,6 +32,11 @@ export interface ListTagsForResourceCommandOutput extends ListTagsForResourceRes
|
|
|
32
32
|
* import { NetworkFirewallClient, ListTagsForResourceCommand } from "@aws-sdk/client-network-firewall"; // ES Modules import
|
|
33
33
|
* // const { NetworkFirewallClient, ListTagsForResourceCommand } = require("@aws-sdk/client-network-firewall"); // CommonJS import
|
|
34
34
|
* const client = new NetworkFirewallClient(config);
|
|
35
|
+
* const input = {
|
|
36
|
+
* NextToken: "STRING_VALUE",
|
|
37
|
+
* MaxResults: Number("int"),
|
|
38
|
+
* ResourceArn: "STRING_VALUE", // required
|
|
39
|
+
* };
|
|
35
40
|
* const command = new ListTagsForResourceCommand(input);
|
|
36
41
|
* const response = await client.send(command);
|
|
37
42
|
* ```
|
|
@@ -40,6 +40,10 @@ export interface PutResourcePolicyCommandOutput extends PutResourcePolicyRespons
|
|
|
40
40
|
* import { NetworkFirewallClient, PutResourcePolicyCommand } from "@aws-sdk/client-network-firewall"; // ES Modules import
|
|
41
41
|
* // const { NetworkFirewallClient, PutResourcePolicyCommand } = require("@aws-sdk/client-network-firewall"); // CommonJS import
|
|
42
42
|
* const client = new NetworkFirewallClient(config);
|
|
43
|
+
* const input = {
|
|
44
|
+
* ResourceArn: "STRING_VALUE", // required
|
|
45
|
+
* Policy: "STRING_VALUE", // required
|
|
46
|
+
* };
|
|
43
47
|
* const command = new PutResourcePolicyCommand(input);
|
|
44
48
|
* const response = await client.send(command);
|
|
45
49
|
* ```
|
|
@@ -31,6 +31,15 @@ export interface TagResourceCommandOutput extends TagResourceResponse, __Metadat
|
|
|
31
31
|
* import { NetworkFirewallClient, TagResourceCommand } from "@aws-sdk/client-network-firewall"; // ES Modules import
|
|
32
32
|
* // const { NetworkFirewallClient, TagResourceCommand } = require("@aws-sdk/client-network-firewall"); // CommonJS import
|
|
33
33
|
* const client = new NetworkFirewallClient(config);
|
|
34
|
+
* const input = {
|
|
35
|
+
* ResourceArn: "STRING_VALUE", // required
|
|
36
|
+
* Tags: [ // required
|
|
37
|
+
* {
|
|
38
|
+
* Key: "STRING_VALUE", // required
|
|
39
|
+
* Value: "STRING_VALUE", // required
|
|
40
|
+
* },
|
|
41
|
+
* ],
|
|
42
|
+
* };
|
|
34
43
|
* const command = new TagResourceCommand(input);
|
|
35
44
|
* const response = await client.send(command);
|
|
36
45
|
* ```
|
|
@@ -32,6 +32,12 @@ export interface UntagResourceCommandOutput extends UntagResourceResponse, __Met
|
|
|
32
32
|
* import { NetworkFirewallClient, UntagResourceCommand } from "@aws-sdk/client-network-firewall"; // ES Modules import
|
|
33
33
|
* // const { NetworkFirewallClient, UntagResourceCommand } = require("@aws-sdk/client-network-firewall"); // CommonJS import
|
|
34
34
|
* const client = new NetworkFirewallClient(config);
|
|
35
|
+
* const input = {
|
|
36
|
+
* ResourceArn: "STRING_VALUE", // required
|
|
37
|
+
* TagKeys: [ // required
|
|
38
|
+
* "STRING_VALUE",
|
|
39
|
+
* ],
|
|
40
|
+
* };
|
|
35
41
|
* const command = new UntagResourceCommand(input);
|
|
36
42
|
* const response = await client.send(command);
|
|
37
43
|
* ```
|
|
@@ -29,6 +29,12 @@ export interface UpdateFirewallDeleteProtectionCommandOutput extends UpdateFirew
|
|
|
29
29
|
* import { NetworkFirewallClient, UpdateFirewallDeleteProtectionCommand } from "@aws-sdk/client-network-firewall"; // ES Modules import
|
|
30
30
|
* // const { NetworkFirewallClient, UpdateFirewallDeleteProtectionCommand } = require("@aws-sdk/client-network-firewall"); // CommonJS import
|
|
31
31
|
* const client = new NetworkFirewallClient(config);
|
|
32
|
+
* const input = {
|
|
33
|
+
* UpdateToken: "STRING_VALUE",
|
|
34
|
+
* FirewallArn: "STRING_VALUE",
|
|
35
|
+
* FirewallName: "STRING_VALUE",
|
|
36
|
+
* DeleteProtection: true || false, // required
|
|
37
|
+
* };
|
|
32
38
|
* const command = new UpdateFirewallDeleteProtectionCommand(input);
|
|
33
39
|
* const response = await client.send(command);
|
|
34
40
|
* ```
|
|
@@ -27,6 +27,12 @@ export interface UpdateFirewallDescriptionCommandOutput extends UpdateFirewallDe
|
|
|
27
27
|
* import { NetworkFirewallClient, UpdateFirewallDescriptionCommand } from "@aws-sdk/client-network-firewall"; // ES Modules import
|
|
28
28
|
* // const { NetworkFirewallClient, UpdateFirewallDescriptionCommand } = require("@aws-sdk/client-network-firewall"); // CommonJS import
|
|
29
29
|
* const client = new NetworkFirewallClient(config);
|
|
30
|
+
* const input = {
|
|
31
|
+
* UpdateToken: "STRING_VALUE",
|
|
32
|
+
* FirewallArn: "STRING_VALUE",
|
|
33
|
+
* FirewallName: "STRING_VALUE",
|
|
34
|
+
* Description: "STRING_VALUE",
|
|
35
|
+
* };
|
|
30
36
|
* const command = new UpdateFirewallDescriptionCommand(input);
|
|
31
37
|
* const response = await client.send(command);
|
|
32
38
|
* ```
|
|
@@ -26,6 +26,15 @@ export interface UpdateFirewallEncryptionConfigurationCommandOutput extends Upda
|
|
|
26
26
|
* import { NetworkFirewallClient, UpdateFirewallEncryptionConfigurationCommand } from "@aws-sdk/client-network-firewall"; // ES Modules import
|
|
27
27
|
* // const { NetworkFirewallClient, UpdateFirewallEncryptionConfigurationCommand } = require("@aws-sdk/client-network-firewall"); // CommonJS import
|
|
28
28
|
* const client = new NetworkFirewallClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* UpdateToken: "STRING_VALUE",
|
|
31
|
+
* FirewallArn: "STRING_VALUE",
|
|
32
|
+
* FirewallName: "STRING_VALUE",
|
|
33
|
+
* EncryptionConfiguration: {
|
|
34
|
+
* KeyId: "STRING_VALUE",
|
|
35
|
+
* Type: "CUSTOMER_KMS" || "AWS_OWNED_KMS_KEY", // required
|
|
36
|
+
* },
|
|
37
|
+
* };
|
|
29
38
|
* const command = new UpdateFirewallEncryptionConfigurationCommand(input);
|
|
30
39
|
* const response = await client.send(command);
|
|
31
40
|
* ```
|
|
@@ -28,6 +28,12 @@ export interface UpdateFirewallPolicyChangeProtectionCommandOutput extends Updat
|
|
|
28
28
|
* import { NetworkFirewallClient, UpdateFirewallPolicyChangeProtectionCommand } from "@aws-sdk/client-network-firewall"; // ES Modules import
|
|
29
29
|
* // const { NetworkFirewallClient, UpdateFirewallPolicyChangeProtectionCommand } = require("@aws-sdk/client-network-firewall"); // CommonJS import
|
|
30
30
|
* const client = new NetworkFirewallClient(config);
|
|
31
|
+
* const input = {
|
|
32
|
+
* UpdateToken: "STRING_VALUE",
|
|
33
|
+
* FirewallArn: "STRING_VALUE",
|
|
34
|
+
* FirewallName: "STRING_VALUE",
|
|
35
|
+
* FirewallPolicyChangeProtection: true || false, // required
|
|
36
|
+
* };
|
|
31
37
|
* const command = new UpdateFirewallPolicyChangeProtectionCommand(input);
|
|
32
38
|
* const response = await client.send(command);
|
|
33
39
|
* ```
|
|
@@ -26,6 +26,61 @@ export interface UpdateFirewallPolicyCommandOutput extends UpdateFirewallPolicyR
|
|
|
26
26
|
* import { NetworkFirewallClient, UpdateFirewallPolicyCommand } from "@aws-sdk/client-network-firewall"; // ES Modules import
|
|
27
27
|
* // const { NetworkFirewallClient, UpdateFirewallPolicyCommand } = require("@aws-sdk/client-network-firewall"); // CommonJS import
|
|
28
28
|
* const client = new NetworkFirewallClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* UpdateToken: "STRING_VALUE", // required
|
|
31
|
+
* FirewallPolicyArn: "STRING_VALUE",
|
|
32
|
+
* FirewallPolicyName: "STRING_VALUE",
|
|
33
|
+
* FirewallPolicy: {
|
|
34
|
+
* StatelessRuleGroupReferences: [
|
|
35
|
+
* {
|
|
36
|
+
* ResourceArn: "STRING_VALUE", // required
|
|
37
|
+
* Priority: Number("int"), // required
|
|
38
|
+
* },
|
|
39
|
+
* ],
|
|
40
|
+
* StatelessDefaultActions: [ // required
|
|
41
|
+
* "STRING_VALUE",
|
|
42
|
+
* ],
|
|
43
|
+
* StatelessFragmentDefaultActions: [ // required
|
|
44
|
+
* "STRING_VALUE",
|
|
45
|
+
* ],
|
|
46
|
+
* StatelessCustomActions: [
|
|
47
|
+
* {
|
|
48
|
+
* ActionName: "STRING_VALUE", // required
|
|
49
|
+
* ActionDefinition: {
|
|
50
|
+
* PublishMetricAction: {
|
|
51
|
+
* Dimensions: [ // required
|
|
52
|
+
* {
|
|
53
|
+
* Value: "STRING_VALUE", // required
|
|
54
|
+
* },
|
|
55
|
+
* ],
|
|
56
|
+
* },
|
|
57
|
+
* },
|
|
58
|
+
* },
|
|
59
|
+
* ],
|
|
60
|
+
* StatefulRuleGroupReferences: [
|
|
61
|
+
* {
|
|
62
|
+
* ResourceArn: "STRING_VALUE", // required
|
|
63
|
+
* Priority: Number("int"),
|
|
64
|
+
* Override: {
|
|
65
|
+
* Action: "DROP_TO_ALERT",
|
|
66
|
+
* },
|
|
67
|
+
* },
|
|
68
|
+
* ],
|
|
69
|
+
* StatefulDefaultActions: [
|
|
70
|
+
* "STRING_VALUE",
|
|
71
|
+
* ],
|
|
72
|
+
* StatefulEngineOptions: {
|
|
73
|
+
* RuleOrder: "DEFAULT_ACTION_ORDER" || "STRICT_ORDER",
|
|
74
|
+
* StreamExceptionPolicy: "DROP" || "CONTINUE",
|
|
75
|
+
* },
|
|
76
|
+
* },
|
|
77
|
+
* Description: "STRING_VALUE",
|
|
78
|
+
* DryRun: true || false,
|
|
79
|
+
* EncryptionConfiguration: {
|
|
80
|
+
* KeyId: "STRING_VALUE",
|
|
81
|
+
* Type: "CUSTOMER_KMS" || "AWS_OWNED_KMS_KEY", // required
|
|
82
|
+
* },
|
|
83
|
+
* };
|
|
29
84
|
* const command = new UpdateFirewallPolicyCommand(input);
|
|
30
85
|
* const response = await client.send(command);
|
|
31
86
|
* ```
|
|
@@ -51,6 +51,21 @@ export interface UpdateLoggingConfigurationCommandOutput extends UpdateLoggingCo
|
|
|
51
51
|
* import { NetworkFirewallClient, UpdateLoggingConfigurationCommand } from "@aws-sdk/client-network-firewall"; // ES Modules import
|
|
52
52
|
* // const { NetworkFirewallClient, UpdateLoggingConfigurationCommand } = require("@aws-sdk/client-network-firewall"); // CommonJS import
|
|
53
53
|
* const client = new NetworkFirewallClient(config);
|
|
54
|
+
* const input = {
|
|
55
|
+
* FirewallArn: "STRING_VALUE",
|
|
56
|
+
* FirewallName: "STRING_VALUE",
|
|
57
|
+
* LoggingConfiguration: {
|
|
58
|
+
* LogDestinationConfigs: [ // required
|
|
59
|
+
* {
|
|
60
|
+
* LogType: "ALERT" || "FLOW", // required
|
|
61
|
+
* LogDestinationType: "S3" || "CloudWatchLogs" || "KinesisDataFirehose", // required
|
|
62
|
+
* LogDestination: { // required
|
|
63
|
+
* "<keys>": "STRING_VALUE",
|
|
64
|
+
* },
|
|
65
|
+
* },
|
|
66
|
+
* ],
|
|
67
|
+
* },
|
|
68
|
+
* };
|
|
54
69
|
* const command = new UpdateLoggingConfigurationCommand(input);
|
|
55
70
|
* const response = await client.send(command);
|
|
56
71
|
* ```
|
|
@@ -31,6 +31,147 @@ export interface UpdateRuleGroupCommandOutput extends UpdateRuleGroupResponse, _
|
|
|
31
31
|
* import { NetworkFirewallClient, UpdateRuleGroupCommand } from "@aws-sdk/client-network-firewall"; // ES Modules import
|
|
32
32
|
* // const { NetworkFirewallClient, UpdateRuleGroupCommand } = require("@aws-sdk/client-network-firewall"); // CommonJS import
|
|
33
33
|
* const client = new NetworkFirewallClient(config);
|
|
34
|
+
* const input = {
|
|
35
|
+
* UpdateToken: "STRING_VALUE", // required
|
|
36
|
+
* RuleGroupArn: "STRING_VALUE",
|
|
37
|
+
* RuleGroupName: "STRING_VALUE",
|
|
38
|
+
* RuleGroup: {
|
|
39
|
+
* RuleVariables: {
|
|
40
|
+
* IPSets: {
|
|
41
|
+
* "<keys>": {
|
|
42
|
+
* Definition: [ // required
|
|
43
|
+
* "STRING_VALUE",
|
|
44
|
+
* ],
|
|
45
|
+
* },
|
|
46
|
+
* },
|
|
47
|
+
* PortSets: {
|
|
48
|
+
* "<keys>": {
|
|
49
|
+
* Definition: [
|
|
50
|
+
* "STRING_VALUE",
|
|
51
|
+
* ],
|
|
52
|
+
* },
|
|
53
|
+
* },
|
|
54
|
+
* },
|
|
55
|
+
* ReferenceSets: {
|
|
56
|
+
* IPSetReferences: {
|
|
57
|
+
* "<keys>": {
|
|
58
|
+
* ReferenceArn: "STRING_VALUE",
|
|
59
|
+
* },
|
|
60
|
+
* },
|
|
61
|
+
* },
|
|
62
|
+
* RulesSource: {
|
|
63
|
+
* RulesString: "STRING_VALUE",
|
|
64
|
+
* RulesSourceList: {
|
|
65
|
+
* Targets: [ // required
|
|
66
|
+
* "STRING_VALUE",
|
|
67
|
+
* ],
|
|
68
|
+
* TargetTypes: [ // required
|
|
69
|
+
* "TLS_SNI" || "HTTP_HOST",
|
|
70
|
+
* ],
|
|
71
|
+
* GeneratedRulesType: "ALLOWLIST" || "DENYLIST", // required
|
|
72
|
+
* },
|
|
73
|
+
* StatefulRules: [
|
|
74
|
+
* {
|
|
75
|
+
* Action: "PASS" || "DROP" || "ALERT" || "REJECT", // required
|
|
76
|
+
* Header: {
|
|
77
|
+
* Protocol: "IP" || "TCP" || "UDP" || "ICMP" || "HTTP" || "FTP" || "TLS" || "SMB" || "DNS" || "DCERPC" || "SSH" || "SMTP" || "IMAP" || "MSN" || "KRB5" || "IKEV2" || "TFTP" || "NTP" || "DHCP", // required
|
|
78
|
+
* Source: "STRING_VALUE", // required
|
|
79
|
+
* SourcePort: "STRING_VALUE", // required
|
|
80
|
+
* Direction: "FORWARD" || "ANY", // required
|
|
81
|
+
* Destination: "STRING_VALUE", // required
|
|
82
|
+
* DestinationPort: "STRING_VALUE", // required
|
|
83
|
+
* },
|
|
84
|
+
* RuleOptions: [ // required
|
|
85
|
+
* {
|
|
86
|
+
* Keyword: "STRING_VALUE", // required
|
|
87
|
+
* Settings: [
|
|
88
|
+
* "STRING_VALUE",
|
|
89
|
+
* ],
|
|
90
|
+
* },
|
|
91
|
+
* ],
|
|
92
|
+
* },
|
|
93
|
+
* ],
|
|
94
|
+
* StatelessRulesAndCustomActions: {
|
|
95
|
+
* StatelessRules: [ // required
|
|
96
|
+
* {
|
|
97
|
+
* RuleDefinition: {
|
|
98
|
+
* MatchAttributes: {
|
|
99
|
+
* Sources: [
|
|
100
|
+
* {
|
|
101
|
+
* AddressDefinition: "STRING_VALUE", // required
|
|
102
|
+
* },
|
|
103
|
+
* ],
|
|
104
|
+
* Destinations: [
|
|
105
|
+
* {
|
|
106
|
+
* AddressDefinition: "STRING_VALUE", // required
|
|
107
|
+
* },
|
|
108
|
+
* ],
|
|
109
|
+
* SourcePorts: [
|
|
110
|
+
* {
|
|
111
|
+
* FromPort: Number("int"), // required
|
|
112
|
+
* ToPort: Number("int"), // required
|
|
113
|
+
* },
|
|
114
|
+
* ],
|
|
115
|
+
* DestinationPorts: [
|
|
116
|
+
* {
|
|
117
|
+
* FromPort: Number("int"), // required
|
|
118
|
+
* ToPort: Number("int"), // required
|
|
119
|
+
* },
|
|
120
|
+
* ],
|
|
121
|
+
* Protocols: [
|
|
122
|
+
* Number("int"),
|
|
123
|
+
* ],
|
|
124
|
+
* TCPFlags: [
|
|
125
|
+
* {
|
|
126
|
+
* Flags: [ // required
|
|
127
|
+
* "FIN" || "SYN" || "RST" || "PSH" || "ACK" || "URG" || "ECE" || "CWR",
|
|
128
|
+
* ],
|
|
129
|
+
* Masks: [
|
|
130
|
+
* "FIN" || "SYN" || "RST" || "PSH" || "ACK" || "URG" || "ECE" || "CWR",
|
|
131
|
+
* ],
|
|
132
|
+
* },
|
|
133
|
+
* ],
|
|
134
|
+
* },
|
|
135
|
+
* Actions: [ // required
|
|
136
|
+
* "STRING_VALUE",
|
|
137
|
+
* ],
|
|
138
|
+
* },
|
|
139
|
+
* Priority: Number("int"), // required
|
|
140
|
+
* },
|
|
141
|
+
* ],
|
|
142
|
+
* CustomActions: [
|
|
143
|
+
* {
|
|
144
|
+
* ActionName: "STRING_VALUE", // required
|
|
145
|
+
* ActionDefinition: {
|
|
146
|
+
* PublishMetricAction: {
|
|
147
|
+
* Dimensions: [ // required
|
|
148
|
+
* {
|
|
149
|
+
* Value: "STRING_VALUE", // required
|
|
150
|
+
* },
|
|
151
|
+
* ],
|
|
152
|
+
* },
|
|
153
|
+
* },
|
|
154
|
+
* },
|
|
155
|
+
* ],
|
|
156
|
+
* },
|
|
157
|
+
* },
|
|
158
|
+
* StatefulRuleOptions: {
|
|
159
|
+
* RuleOrder: "DEFAULT_ACTION_ORDER" || "STRICT_ORDER",
|
|
160
|
+
* },
|
|
161
|
+
* },
|
|
162
|
+
* Rules: "STRING_VALUE",
|
|
163
|
+
* Type: "STATELESS" || "STATEFUL",
|
|
164
|
+
* Description: "STRING_VALUE",
|
|
165
|
+
* DryRun: true || false,
|
|
166
|
+
* EncryptionConfiguration: {
|
|
167
|
+
* KeyId: "STRING_VALUE",
|
|
168
|
+
* Type: "CUSTOMER_KMS" || "AWS_OWNED_KMS_KEY", // required
|
|
169
|
+
* },
|
|
170
|
+
* SourceMetadata: {
|
|
171
|
+
* SourceArn: "STRING_VALUE",
|
|
172
|
+
* SourceUpdateToken: "STRING_VALUE",
|
|
173
|
+
* },
|
|
174
|
+
* };
|
|
34
175
|
* const command = new UpdateRuleGroupCommand(input);
|
|
35
176
|
* const response = await client.send(command);
|
|
36
177
|
* ```
|
|
@@ -26,6 +26,12 @@ export interface UpdateSubnetChangeProtectionCommandOutput extends UpdateSubnetC
|
|
|
26
26
|
* import { NetworkFirewallClient, UpdateSubnetChangeProtectionCommand } from "@aws-sdk/client-network-firewall"; // ES Modules import
|
|
27
27
|
* // const { NetworkFirewallClient, UpdateSubnetChangeProtectionCommand } = require("@aws-sdk/client-network-firewall"); // CommonJS import
|
|
28
28
|
* const client = new NetworkFirewallClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* UpdateToken: "STRING_VALUE",
|
|
31
|
+
* FirewallArn: "STRING_VALUE",
|
|
32
|
+
* FirewallName: "STRING_VALUE",
|
|
33
|
+
* SubnetChangeProtection: true || false, // required
|
|
34
|
+
* };
|
|
29
35
|
* const command = new UpdateSubnetChangeProtectionCommand(input);
|
|
30
36
|
* const response = await client.send(command);
|
|
31
37
|
* ```
|
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.300.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",
|
|
@@ -21,9 +21,9 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
25
|
-
"@aws-sdk/config-resolver": "3.
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
24
|
+
"@aws-sdk/client-sts": "3.300.0",
|
|
25
|
+
"@aws-sdk/config-resolver": "3.300.0",
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.300.0",
|
|
27
27
|
"@aws-sdk/fetch-http-handler": "3.296.0",
|
|
28
28
|
"@aws-sdk/hash-node": "3.296.0",
|
|
29
29
|
"@aws-sdk/invalid-dependency": "3.296.0",
|
|
@@ -32,12 +32,12 @@
|
|
|
32
32
|
"@aws-sdk/middleware-host-header": "3.296.0",
|
|
33
33
|
"@aws-sdk/middleware-logger": "3.296.0",
|
|
34
34
|
"@aws-sdk/middleware-recursion-detection": "3.296.0",
|
|
35
|
-
"@aws-sdk/middleware-retry": "3.
|
|
35
|
+
"@aws-sdk/middleware-retry": "3.300.0",
|
|
36
36
|
"@aws-sdk/middleware-serde": "3.296.0",
|
|
37
37
|
"@aws-sdk/middleware-signing": "3.299.0",
|
|
38
38
|
"@aws-sdk/middleware-stack": "3.296.0",
|
|
39
39
|
"@aws-sdk/middleware-user-agent": "3.299.0",
|
|
40
|
-
"@aws-sdk/node-config-provider": "3.
|
|
40
|
+
"@aws-sdk/node-config-provider": "3.300.0",
|
|
41
41
|
"@aws-sdk/node-http-handler": "3.296.0",
|
|
42
42
|
"@aws-sdk/protocol-http": "3.296.0",
|
|
43
43
|
"@aws-sdk/smithy-client": "3.296.0",
|
|
@@ -47,11 +47,11 @@
|
|
|
47
47
|
"@aws-sdk/util-body-length-browser": "3.295.0",
|
|
48
48
|
"@aws-sdk/util-body-length-node": "3.295.0",
|
|
49
49
|
"@aws-sdk/util-defaults-mode-browser": "3.296.0",
|
|
50
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
50
|
+
"@aws-sdk/util-defaults-mode-node": "3.300.0",
|
|
51
51
|
"@aws-sdk/util-endpoints": "3.296.0",
|
|
52
52
|
"@aws-sdk/util-retry": "3.296.0",
|
|
53
53
|
"@aws-sdk/util-user-agent-browser": "3.299.0",
|
|
54
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
54
|
+
"@aws-sdk/util-user-agent-node": "3.300.0",
|
|
55
55
|
"@aws-sdk/util-utf8": "3.295.0",
|
|
56
56
|
"tslib": "^2.5.0"
|
|
57
57
|
},
|