@aws-sdk/client-network-firewall 3.300.0 → 3.301.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 +1 -1
- package/dist-types/commands/AssociateSubnetsCommand.d.ts +3 -3
- package/dist-types/commands/CreateFirewallCommand.d.ts +6 -6
- package/dist-types/commands/CreateFirewallPolicyCommand.d.ts +19 -19
- package/dist-types/commands/CreateRuleGroupCommand.d.ts +46 -46
- package/dist-types/commands/DeleteFirewallCommand.d.ts +1 -1
- package/dist-types/commands/DeleteFirewallPolicyCommand.d.ts +1 -1
- package/dist-types/commands/DeleteResourcePolicyCommand.d.ts +1 -1
- package/dist-types/commands/DeleteRuleGroupCommand.d.ts +1 -1
- package/dist-types/commands/DescribeFirewallCommand.d.ts +1 -1
- package/dist-types/commands/DescribeFirewallPolicyCommand.d.ts +1 -1
- package/dist-types/commands/DescribeLoggingConfigurationCommand.d.ts +1 -1
- package/dist-types/commands/DescribeResourcePolicyCommand.d.ts +1 -1
- package/dist-types/commands/DescribeRuleGroupCommand.d.ts +1 -1
- package/dist-types/commands/DescribeRuleGroupMetadataCommand.d.ts +1 -1
- package/dist-types/commands/DisassociateSubnetsCommand.d.ts +2 -2
- package/dist-types/commands/ListFirewallPoliciesCommand.d.ts +1 -1
- package/dist-types/commands/ListFirewallsCommand.d.ts +2 -2
- package/dist-types/commands/ListRuleGroupsCommand.d.ts +1 -1
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +1 -1
- package/dist-types/commands/PutResourcePolicyCommand.d.ts +1 -1
- package/dist-types/commands/TagResourceCommand.d.ts +3 -3
- package/dist-types/commands/UntagResourceCommand.d.ts +2 -2
- package/dist-types/commands/UpdateFirewallDeleteProtectionCommand.d.ts +1 -1
- package/dist-types/commands/UpdateFirewallDescriptionCommand.d.ts +1 -1
- package/dist-types/commands/UpdateFirewallEncryptionConfigurationCommand.d.ts +2 -2
- package/dist-types/commands/UpdateFirewallPolicyChangeProtectionCommand.d.ts +1 -1
- package/dist-types/commands/UpdateFirewallPolicyCommand.d.ts +17 -17
- package/dist-types/commands/UpdateLoggingConfigurationCommand.d.ts +5 -5
- package/dist-types/commands/UpdateRuleGroupCommand.d.ts +44 -44
- package/dist-types/commands/UpdateSubnetChangeProtectionCommand.d.ts +1 -1
- package/package.json +3 -3
|
@@ -30,7 +30,7 @@ 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 = {
|
|
33
|
+
* const input = { // AssociateFirewallPolicyRequest
|
|
34
34
|
* UpdateToken: "STRING_VALUE",
|
|
35
35
|
* FirewallArn: "STRING_VALUE",
|
|
36
36
|
* FirewallName: "STRING_VALUE",
|
|
@@ -31,12 +31,12 @@ 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 = {
|
|
34
|
+
* const input = { // AssociateSubnetsRequest
|
|
35
35
|
* UpdateToken: "STRING_VALUE",
|
|
36
36
|
* FirewallArn: "STRING_VALUE",
|
|
37
37
|
* FirewallName: "STRING_VALUE",
|
|
38
|
-
* SubnetMappings: [ // required
|
|
39
|
-
* {
|
|
38
|
+
* SubnetMappings: [ // SubnetMappings // required
|
|
39
|
+
* { // SubnetMapping
|
|
40
40
|
* SubnetId: "STRING_VALUE", // required
|
|
41
41
|
* IPAddressType: "DUALSTACK" || "IPV4",
|
|
42
42
|
* },
|
|
@@ -32,12 +32,12 @@ 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 = {
|
|
35
|
+
* const input = { // CreateFirewallRequest
|
|
36
36
|
* FirewallName: "STRING_VALUE", // required
|
|
37
37
|
* FirewallPolicyArn: "STRING_VALUE", // required
|
|
38
38
|
* VpcId: "STRING_VALUE", // required
|
|
39
|
-
* SubnetMappings: [ // required
|
|
40
|
-
* {
|
|
39
|
+
* SubnetMappings: [ // SubnetMappings // required
|
|
40
|
+
* { // SubnetMapping
|
|
41
41
|
* SubnetId: "STRING_VALUE", // required
|
|
42
42
|
* IPAddressType: "DUALSTACK" || "IPV4",
|
|
43
43
|
* },
|
|
@@ -46,13 +46,13 @@ export interface CreateFirewallCommandOutput extends CreateFirewallResponse, __M
|
|
|
46
46
|
* SubnetChangeProtection: true || false,
|
|
47
47
|
* FirewallPolicyChangeProtection: true || false,
|
|
48
48
|
* Description: "STRING_VALUE",
|
|
49
|
-
* Tags: [
|
|
50
|
-
* {
|
|
49
|
+
* Tags: [ // TagList
|
|
50
|
+
* { // Tag
|
|
51
51
|
* Key: "STRING_VALUE", // required
|
|
52
52
|
* Value: "STRING_VALUE", // required
|
|
53
53
|
* },
|
|
54
54
|
* ],
|
|
55
|
-
* EncryptionConfiguration: {
|
|
55
|
+
* EncryptionConfiguration: { // EncryptionConfiguration
|
|
56
56
|
* KeyId: "STRING_VALUE",
|
|
57
57
|
* Type: "CUSTOMER_KMS" || "AWS_OWNED_KMS_KEY", // required
|
|
58
58
|
* },
|
|
@@ -29,28 +29,28 @@ 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 = {
|
|
32
|
+
* const input = { // CreateFirewallPolicyRequest
|
|
33
33
|
* FirewallPolicyName: "STRING_VALUE", // required
|
|
34
|
-
* FirewallPolicy: {
|
|
35
|
-
* StatelessRuleGroupReferences: [
|
|
36
|
-
* {
|
|
34
|
+
* FirewallPolicy: { // FirewallPolicy
|
|
35
|
+
* StatelessRuleGroupReferences: [ // StatelessRuleGroupReferences
|
|
36
|
+
* { // StatelessRuleGroupReference
|
|
37
37
|
* ResourceArn: "STRING_VALUE", // required
|
|
38
38
|
* Priority: Number("int"), // required
|
|
39
39
|
* },
|
|
40
40
|
* ],
|
|
41
|
-
* StatelessDefaultActions: [ // required
|
|
41
|
+
* StatelessDefaultActions: [ // StatelessActions // required
|
|
42
42
|
* "STRING_VALUE",
|
|
43
43
|
* ],
|
|
44
44
|
* StatelessFragmentDefaultActions: [ // required
|
|
45
45
|
* "STRING_VALUE",
|
|
46
46
|
* ],
|
|
47
|
-
* StatelessCustomActions: [
|
|
48
|
-
* {
|
|
47
|
+
* StatelessCustomActions: [ // CustomActions
|
|
48
|
+
* { // CustomAction
|
|
49
49
|
* ActionName: "STRING_VALUE", // required
|
|
50
|
-
* ActionDefinition: {
|
|
51
|
-
* PublishMetricAction: {
|
|
52
|
-
* Dimensions: [ // required
|
|
53
|
-
* {
|
|
50
|
+
* ActionDefinition: { // ActionDefinition
|
|
51
|
+
* PublishMetricAction: { // PublishMetricAction
|
|
52
|
+
* Dimensions: [ // Dimensions // required
|
|
53
|
+
* { // Dimension
|
|
54
54
|
* Value: "STRING_VALUE", // required
|
|
55
55
|
* },
|
|
56
56
|
* ],
|
|
@@ -58,32 +58,32 @@ export interface CreateFirewallPolicyCommandOutput extends CreateFirewallPolicyR
|
|
|
58
58
|
* },
|
|
59
59
|
* },
|
|
60
60
|
* ],
|
|
61
|
-
* StatefulRuleGroupReferences: [
|
|
62
|
-
* {
|
|
61
|
+
* StatefulRuleGroupReferences: [ // StatefulRuleGroupReferences
|
|
62
|
+
* { // StatefulRuleGroupReference
|
|
63
63
|
* ResourceArn: "STRING_VALUE", // required
|
|
64
64
|
* Priority: Number("int"),
|
|
65
|
-
* Override: {
|
|
65
|
+
* Override: { // StatefulRuleGroupOverride
|
|
66
66
|
* Action: "DROP_TO_ALERT",
|
|
67
67
|
* },
|
|
68
68
|
* },
|
|
69
69
|
* ],
|
|
70
|
-
* StatefulDefaultActions: [
|
|
70
|
+
* StatefulDefaultActions: [ // StatefulActions
|
|
71
71
|
* "STRING_VALUE",
|
|
72
72
|
* ],
|
|
73
|
-
* StatefulEngineOptions: {
|
|
73
|
+
* StatefulEngineOptions: { // StatefulEngineOptions
|
|
74
74
|
* RuleOrder: "DEFAULT_ACTION_ORDER" || "STRICT_ORDER",
|
|
75
75
|
* StreamExceptionPolicy: "DROP" || "CONTINUE",
|
|
76
76
|
* },
|
|
77
77
|
* },
|
|
78
78
|
* Description: "STRING_VALUE",
|
|
79
|
-
* Tags: [
|
|
80
|
-
* {
|
|
79
|
+
* Tags: [ // TagList
|
|
80
|
+
* { // Tag
|
|
81
81
|
* Key: "STRING_VALUE", // required
|
|
82
82
|
* Value: "STRING_VALUE", // required
|
|
83
83
|
* },
|
|
84
84
|
* ],
|
|
85
85
|
* DryRun: true || false,
|
|
86
|
-
* EncryptionConfiguration: {
|
|
86
|
+
* EncryptionConfiguration: { // EncryptionConfiguration
|
|
87
87
|
* KeyId: "STRING_VALUE",
|
|
88
88
|
* Type: "CUSTOMER_KMS" || "AWS_OWNED_KMS_KEY", // required
|
|
89
89
|
* },
|
|
@@ -29,47 +29,47 @@ 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 = {
|
|
32
|
+
* const input = { // CreateRuleGroupRequest
|
|
33
33
|
* RuleGroupName: "STRING_VALUE", // required
|
|
34
|
-
* RuleGroup: {
|
|
35
|
-
* RuleVariables: {
|
|
36
|
-
* IPSets: {
|
|
37
|
-
* "<keys>": {
|
|
38
|
-
* Definition: [ // required
|
|
34
|
+
* RuleGroup: { // RuleGroup
|
|
35
|
+
* RuleVariables: { // RuleVariables
|
|
36
|
+
* IPSets: { // IPSets
|
|
37
|
+
* "<keys>": { // IPSet
|
|
38
|
+
* Definition: [ // VariableDefinitionList // required
|
|
39
39
|
* "STRING_VALUE",
|
|
40
40
|
* ],
|
|
41
41
|
* },
|
|
42
42
|
* },
|
|
43
|
-
* PortSets: {
|
|
44
|
-
* "<keys>": {
|
|
43
|
+
* PortSets: { // PortSets
|
|
44
|
+
* "<keys>": { // PortSet
|
|
45
45
|
* Definition: [
|
|
46
46
|
* "STRING_VALUE",
|
|
47
47
|
* ],
|
|
48
48
|
* },
|
|
49
49
|
* },
|
|
50
50
|
* },
|
|
51
|
-
* ReferenceSets: {
|
|
52
|
-
* IPSetReferences: {
|
|
53
|
-
* "<keys>": {
|
|
51
|
+
* ReferenceSets: { // ReferenceSets
|
|
52
|
+
* IPSetReferences: { // IPSetReferenceMap
|
|
53
|
+
* "<keys>": { // IPSetReference
|
|
54
54
|
* ReferenceArn: "STRING_VALUE",
|
|
55
55
|
* },
|
|
56
56
|
* },
|
|
57
57
|
* },
|
|
58
|
-
* RulesSource: {
|
|
58
|
+
* RulesSource: { // RulesSource
|
|
59
59
|
* RulesString: "STRING_VALUE",
|
|
60
|
-
* RulesSourceList: {
|
|
61
|
-
* Targets: [ // required
|
|
60
|
+
* RulesSourceList: { // RulesSourceList
|
|
61
|
+
* Targets: [ // RuleTargets // required
|
|
62
62
|
* "STRING_VALUE",
|
|
63
63
|
* ],
|
|
64
|
-
* TargetTypes: [ // required
|
|
64
|
+
* TargetTypes: [ // TargetTypes // required
|
|
65
65
|
* "TLS_SNI" || "HTTP_HOST",
|
|
66
66
|
* ],
|
|
67
67
|
* GeneratedRulesType: "ALLOWLIST" || "DENYLIST", // required
|
|
68
68
|
* },
|
|
69
|
-
* StatefulRules: [
|
|
70
|
-
* {
|
|
69
|
+
* StatefulRules: [ // StatefulRules
|
|
70
|
+
* { // StatefulRule
|
|
71
71
|
* Action: "PASS" || "DROP" || "ALERT" || "REJECT", // required
|
|
72
|
-
* Header: {
|
|
72
|
+
* Header: { // Header
|
|
73
73
|
* Protocol: "IP" || "TCP" || "UDP" || "ICMP" || "HTTP" || "FTP" || "TLS" || "SMB" || "DNS" || "DCERPC" || "SSH" || "SMTP" || "IMAP" || "MSN" || "KRB5" || "IKEV2" || "TFTP" || "NTP" || "DHCP", // required
|
|
74
74
|
* Source: "STRING_VALUE", // required
|
|
75
75
|
* SourcePort: "STRING_VALUE", // required
|
|
@@ -77,23 +77,23 @@ export interface CreateRuleGroupCommandOutput extends CreateRuleGroupResponse, _
|
|
|
77
77
|
* Destination: "STRING_VALUE", // required
|
|
78
78
|
* DestinationPort: "STRING_VALUE", // required
|
|
79
79
|
* },
|
|
80
|
-
* RuleOptions: [ // required
|
|
81
|
-
* {
|
|
80
|
+
* RuleOptions: [ // RuleOptions // required
|
|
81
|
+
* { // RuleOption
|
|
82
82
|
* Keyword: "STRING_VALUE", // required
|
|
83
|
-
* Settings: [
|
|
83
|
+
* Settings: [ // Settings
|
|
84
84
|
* "STRING_VALUE",
|
|
85
85
|
* ],
|
|
86
86
|
* },
|
|
87
87
|
* ],
|
|
88
88
|
* },
|
|
89
89
|
* ],
|
|
90
|
-
* StatelessRulesAndCustomActions: {
|
|
91
|
-
* StatelessRules: [ // required
|
|
92
|
-
* {
|
|
93
|
-
* RuleDefinition: {
|
|
94
|
-
* MatchAttributes: {
|
|
95
|
-
* Sources: [
|
|
96
|
-
* {
|
|
90
|
+
* StatelessRulesAndCustomActions: { // StatelessRulesAndCustomActions
|
|
91
|
+
* StatelessRules: [ // StatelessRules // required
|
|
92
|
+
* { // StatelessRule
|
|
93
|
+
* RuleDefinition: { // RuleDefinition
|
|
94
|
+
* MatchAttributes: { // MatchAttributes
|
|
95
|
+
* Sources: [ // Addresses
|
|
96
|
+
* { // Address
|
|
97
97
|
* AddressDefinition: "STRING_VALUE", // required
|
|
98
98
|
* },
|
|
99
99
|
* ],
|
|
@@ -102,8 +102,8 @@ export interface CreateRuleGroupCommandOutput extends CreateRuleGroupResponse, _
|
|
|
102
102
|
* AddressDefinition: "STRING_VALUE", // required
|
|
103
103
|
* },
|
|
104
104
|
* ],
|
|
105
|
-
* SourcePorts: [
|
|
106
|
-
* {
|
|
105
|
+
* SourcePorts: [ // PortRanges
|
|
106
|
+
* { // PortRange
|
|
107
107
|
* FromPort: Number("int"), // required
|
|
108
108
|
* ToPort: Number("int"), // required
|
|
109
109
|
* },
|
|
@@ -114,12 +114,12 @@ export interface CreateRuleGroupCommandOutput extends CreateRuleGroupResponse, _
|
|
|
114
114
|
* ToPort: Number("int"), // required
|
|
115
115
|
* },
|
|
116
116
|
* ],
|
|
117
|
-
* Protocols: [
|
|
117
|
+
* Protocols: [ // ProtocolNumbers
|
|
118
118
|
* Number("int"),
|
|
119
119
|
* ],
|
|
120
|
-
* TCPFlags: [
|
|
121
|
-
* {
|
|
122
|
-
* Flags: [ // required
|
|
120
|
+
* TCPFlags: [ // TCPFlags
|
|
121
|
+
* { // TCPFlagField
|
|
122
|
+
* Flags: [ // Flags // required
|
|
123
123
|
* "FIN" || "SYN" || "RST" || "PSH" || "ACK" || "URG" || "ECE" || "CWR",
|
|
124
124
|
* ],
|
|
125
125
|
* Masks: [
|
|
@@ -128,20 +128,20 @@ export interface CreateRuleGroupCommandOutput extends CreateRuleGroupResponse, _
|
|
|
128
128
|
* },
|
|
129
129
|
* ],
|
|
130
130
|
* },
|
|
131
|
-
* Actions: [ // required
|
|
131
|
+
* Actions: [ // StatelessActions // required
|
|
132
132
|
* "STRING_VALUE",
|
|
133
133
|
* ],
|
|
134
134
|
* },
|
|
135
135
|
* Priority: Number("int"), // required
|
|
136
136
|
* },
|
|
137
137
|
* ],
|
|
138
|
-
* CustomActions: [
|
|
139
|
-
* {
|
|
138
|
+
* CustomActions: [ // CustomActions
|
|
139
|
+
* { // CustomAction
|
|
140
140
|
* ActionName: "STRING_VALUE", // required
|
|
141
|
-
* ActionDefinition: {
|
|
142
|
-
* PublishMetricAction: {
|
|
143
|
-
* Dimensions: [ // required
|
|
144
|
-
* {
|
|
141
|
+
* ActionDefinition: { // ActionDefinition
|
|
142
|
+
* PublishMetricAction: { // PublishMetricAction
|
|
143
|
+
* Dimensions: [ // Dimensions // required
|
|
144
|
+
* { // Dimension
|
|
145
145
|
* Value: "STRING_VALUE", // required
|
|
146
146
|
* },
|
|
147
147
|
* ],
|
|
@@ -151,7 +151,7 @@ export interface CreateRuleGroupCommandOutput extends CreateRuleGroupResponse, _
|
|
|
151
151
|
* ],
|
|
152
152
|
* },
|
|
153
153
|
* },
|
|
154
|
-
* StatefulRuleOptions: {
|
|
154
|
+
* StatefulRuleOptions: { // StatefulRuleOptions
|
|
155
155
|
* RuleOrder: "DEFAULT_ACTION_ORDER" || "STRICT_ORDER",
|
|
156
156
|
* },
|
|
157
157
|
* },
|
|
@@ -159,18 +159,18 @@ export interface CreateRuleGroupCommandOutput extends CreateRuleGroupResponse, _
|
|
|
159
159
|
* Type: "STATELESS" || "STATEFUL", // required
|
|
160
160
|
* Description: "STRING_VALUE",
|
|
161
161
|
* Capacity: Number("int"), // required
|
|
162
|
-
* Tags: [
|
|
163
|
-
* {
|
|
162
|
+
* Tags: [ // TagList
|
|
163
|
+
* { // Tag
|
|
164
164
|
* Key: "STRING_VALUE", // required
|
|
165
165
|
* Value: "STRING_VALUE", // required
|
|
166
166
|
* },
|
|
167
167
|
* ],
|
|
168
168
|
* DryRun: true || false,
|
|
169
|
-
* EncryptionConfiguration: {
|
|
169
|
+
* EncryptionConfiguration: { // EncryptionConfiguration
|
|
170
170
|
* KeyId: "STRING_VALUE",
|
|
171
171
|
* Type: "CUSTOMER_KMS" || "AWS_OWNED_KMS_KEY", // required
|
|
172
172
|
* },
|
|
173
|
-
* SourceMetadata: {
|
|
173
|
+
* SourceMetadata: { // SourceMetadata
|
|
174
174
|
* SourceArn: "STRING_VALUE",
|
|
175
175
|
* SourceUpdateToken: "STRING_VALUE",
|
|
176
176
|
* },
|
|
@@ -36,7 +36,7 @@ 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 = {
|
|
39
|
+
* const input = { // DeleteFirewallRequest
|
|
40
40
|
* FirewallName: "STRING_VALUE",
|
|
41
41
|
* FirewallArn: "STRING_VALUE",
|
|
42
42
|
* };
|
|
@@ -26,7 +26,7 @@ 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 = {
|
|
29
|
+
* const input = { // DeleteFirewallPolicyRequest
|
|
30
30
|
* FirewallPolicyName: "STRING_VALUE",
|
|
31
31
|
* FirewallPolicyArn: "STRING_VALUE",
|
|
32
32
|
* };
|
|
@@ -26,7 +26,7 @@ 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 = {
|
|
29
|
+
* const input = { // DeleteResourcePolicyRequest
|
|
30
30
|
* ResourceArn: "STRING_VALUE", // required
|
|
31
31
|
* };
|
|
32
32
|
* const command = new DeleteResourcePolicyCommand(input);
|
|
@@ -26,7 +26,7 @@ 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 = {
|
|
29
|
+
* const input = { // DeleteRuleGroupRequest
|
|
30
30
|
* RuleGroupName: "STRING_VALUE",
|
|
31
31
|
* RuleGroupArn: "STRING_VALUE",
|
|
32
32
|
* Type: "STATELESS" || "STATEFUL",
|
|
@@ -26,7 +26,7 @@ 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 = {
|
|
29
|
+
* const input = { // DescribeFirewallRequest
|
|
30
30
|
* FirewallName: "STRING_VALUE",
|
|
31
31
|
* FirewallArn: "STRING_VALUE",
|
|
32
32
|
* };
|
|
@@ -26,7 +26,7 @@ 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 = {
|
|
29
|
+
* const input = { // DescribeFirewallPolicyRequest
|
|
30
30
|
* FirewallPolicyName: "STRING_VALUE",
|
|
31
31
|
* FirewallPolicyArn: "STRING_VALUE",
|
|
32
32
|
* };
|
|
@@ -26,7 +26,7 @@ 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 = {
|
|
29
|
+
* const input = { // DescribeLoggingConfigurationRequest
|
|
30
30
|
* FirewallArn: "STRING_VALUE",
|
|
31
31
|
* FirewallName: "STRING_VALUE",
|
|
32
32
|
* };
|
|
@@ -26,7 +26,7 @@ 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 = {
|
|
29
|
+
* const input = { // DescribeResourcePolicyRequest
|
|
30
30
|
* ResourceArn: "STRING_VALUE", // required
|
|
31
31
|
* };
|
|
32
32
|
* const command = new DescribeResourcePolicyCommand(input);
|
|
@@ -26,7 +26,7 @@ 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 = {
|
|
29
|
+
* const input = { // DescribeRuleGroupRequest
|
|
30
30
|
* RuleGroupName: "STRING_VALUE",
|
|
31
31
|
* RuleGroupArn: "STRING_VALUE",
|
|
32
32
|
* Type: "STATELESS" || "STATEFUL",
|
|
@@ -29,7 +29,7 @@ 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 = {
|
|
32
|
+
* const input = { // DescribeRuleGroupMetadataRequest
|
|
33
33
|
* RuleGroupName: "STRING_VALUE",
|
|
34
34
|
* RuleGroupArn: "STRING_VALUE",
|
|
35
35
|
* Type: "STATELESS" || "STATEFUL",
|
|
@@ -29,11 +29,11 @@ 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 = {
|
|
32
|
+
* const input = { // DisassociateSubnetsRequest
|
|
33
33
|
* UpdateToken: "STRING_VALUE",
|
|
34
34
|
* FirewallArn: "STRING_VALUE",
|
|
35
35
|
* FirewallName: "STRING_VALUE",
|
|
36
|
-
* SubnetIds: [ // required
|
|
36
|
+
* SubnetIds: [ // AzSubnets // required
|
|
37
37
|
* "STRING_VALUE",
|
|
38
38
|
* ],
|
|
39
39
|
* };
|
|
@@ -28,7 +28,7 @@ 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 = {
|
|
31
|
+
* const input = { // ListFirewallPoliciesRequest
|
|
32
32
|
* NextToken: "STRING_VALUE",
|
|
33
33
|
* MaxResults: Number("int"),
|
|
34
34
|
* };
|
|
@@ -29,9 +29,9 @@ 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 = {
|
|
32
|
+
* const input = { // ListFirewallsRequest
|
|
33
33
|
* NextToken: "STRING_VALUE",
|
|
34
|
-
* VpcIds: [
|
|
34
|
+
* VpcIds: [ // VpcIds
|
|
35
35
|
* "STRING_VALUE",
|
|
36
36
|
* ],
|
|
37
37
|
* MaxResults: Number("int"),
|
|
@@ -28,7 +28,7 @@ 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 = {
|
|
31
|
+
* const input = { // ListRuleGroupsRequest
|
|
32
32
|
* NextToken: "STRING_VALUE",
|
|
33
33
|
* MaxResults: Number("int"),
|
|
34
34
|
* Scope: "MANAGED" || "ACCOUNT",
|
|
@@ -32,7 +32,7 @@ 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 = {
|
|
35
|
+
* const input = { // ListTagsForResourceRequest
|
|
36
36
|
* NextToken: "STRING_VALUE",
|
|
37
37
|
* MaxResults: Number("int"),
|
|
38
38
|
* ResourceArn: "STRING_VALUE", // required
|
|
@@ -40,7 +40,7 @@ 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 = {
|
|
43
|
+
* const input = { // PutResourcePolicyRequest
|
|
44
44
|
* ResourceArn: "STRING_VALUE", // required
|
|
45
45
|
* Policy: "STRING_VALUE", // required
|
|
46
46
|
* };
|
|
@@ -31,10 +31,10 @@ 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 = {
|
|
34
|
+
* const input = { // TagResourceRequest
|
|
35
35
|
* ResourceArn: "STRING_VALUE", // required
|
|
36
|
-
* Tags: [ // required
|
|
37
|
-
* {
|
|
36
|
+
* Tags: [ // TagList // required
|
|
37
|
+
* { // Tag
|
|
38
38
|
* Key: "STRING_VALUE", // required
|
|
39
39
|
* Value: "STRING_VALUE", // required
|
|
40
40
|
* },
|
|
@@ -32,9 +32,9 @@ 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 = {
|
|
35
|
+
* const input = { // UntagResourceRequest
|
|
36
36
|
* ResourceArn: "STRING_VALUE", // required
|
|
37
|
-
* TagKeys: [ // required
|
|
37
|
+
* TagKeys: [ // TagKeyList // required
|
|
38
38
|
* "STRING_VALUE",
|
|
39
39
|
* ],
|
|
40
40
|
* };
|
|
@@ -29,7 +29,7 @@ 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 = {
|
|
32
|
+
* const input = { // UpdateFirewallDeleteProtectionRequest
|
|
33
33
|
* UpdateToken: "STRING_VALUE",
|
|
34
34
|
* FirewallArn: "STRING_VALUE",
|
|
35
35
|
* FirewallName: "STRING_VALUE",
|
|
@@ -27,7 +27,7 @@ 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 = {
|
|
30
|
+
* const input = { // UpdateFirewallDescriptionRequest
|
|
31
31
|
* UpdateToken: "STRING_VALUE",
|
|
32
32
|
* FirewallArn: "STRING_VALUE",
|
|
33
33
|
* FirewallName: "STRING_VALUE",
|
|
@@ -26,11 +26,11 @@ 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 = {
|
|
29
|
+
* const input = { // UpdateFirewallEncryptionConfigurationRequest
|
|
30
30
|
* UpdateToken: "STRING_VALUE",
|
|
31
31
|
* FirewallArn: "STRING_VALUE",
|
|
32
32
|
* FirewallName: "STRING_VALUE",
|
|
33
|
-
* EncryptionConfiguration: {
|
|
33
|
+
* EncryptionConfiguration: { // EncryptionConfiguration
|
|
34
34
|
* KeyId: "STRING_VALUE",
|
|
35
35
|
* Type: "CUSTOMER_KMS" || "AWS_OWNED_KMS_KEY", // required
|
|
36
36
|
* },
|
|
@@ -28,7 +28,7 @@ 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 = {
|
|
31
|
+
* const input = { // UpdateFirewallPolicyChangeProtectionRequest
|
|
32
32
|
* UpdateToken: "STRING_VALUE",
|
|
33
33
|
* FirewallArn: "STRING_VALUE",
|
|
34
34
|
* FirewallName: "STRING_VALUE",
|
|
@@ -26,30 +26,30 @@ 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 = {
|
|
29
|
+
* const input = { // UpdateFirewallPolicyRequest
|
|
30
30
|
* UpdateToken: "STRING_VALUE", // required
|
|
31
31
|
* FirewallPolicyArn: "STRING_VALUE",
|
|
32
32
|
* FirewallPolicyName: "STRING_VALUE",
|
|
33
|
-
* FirewallPolicy: {
|
|
34
|
-
* StatelessRuleGroupReferences: [
|
|
35
|
-
* {
|
|
33
|
+
* FirewallPolicy: { // FirewallPolicy
|
|
34
|
+
* StatelessRuleGroupReferences: [ // StatelessRuleGroupReferences
|
|
35
|
+
* { // StatelessRuleGroupReference
|
|
36
36
|
* ResourceArn: "STRING_VALUE", // required
|
|
37
37
|
* Priority: Number("int"), // required
|
|
38
38
|
* },
|
|
39
39
|
* ],
|
|
40
|
-
* StatelessDefaultActions: [ // required
|
|
40
|
+
* StatelessDefaultActions: [ // StatelessActions // required
|
|
41
41
|
* "STRING_VALUE",
|
|
42
42
|
* ],
|
|
43
43
|
* StatelessFragmentDefaultActions: [ // required
|
|
44
44
|
* "STRING_VALUE",
|
|
45
45
|
* ],
|
|
46
|
-
* StatelessCustomActions: [
|
|
47
|
-
* {
|
|
46
|
+
* StatelessCustomActions: [ // CustomActions
|
|
47
|
+
* { // CustomAction
|
|
48
48
|
* ActionName: "STRING_VALUE", // required
|
|
49
|
-
* ActionDefinition: {
|
|
50
|
-
* PublishMetricAction: {
|
|
51
|
-
* Dimensions: [ // required
|
|
52
|
-
* {
|
|
49
|
+
* ActionDefinition: { // ActionDefinition
|
|
50
|
+
* PublishMetricAction: { // PublishMetricAction
|
|
51
|
+
* Dimensions: [ // Dimensions // required
|
|
52
|
+
* { // Dimension
|
|
53
53
|
* Value: "STRING_VALUE", // required
|
|
54
54
|
* },
|
|
55
55
|
* ],
|
|
@@ -57,26 +57,26 @@ export interface UpdateFirewallPolicyCommandOutput extends UpdateFirewallPolicyR
|
|
|
57
57
|
* },
|
|
58
58
|
* },
|
|
59
59
|
* ],
|
|
60
|
-
* StatefulRuleGroupReferences: [
|
|
61
|
-
* {
|
|
60
|
+
* StatefulRuleGroupReferences: [ // StatefulRuleGroupReferences
|
|
61
|
+
* { // StatefulRuleGroupReference
|
|
62
62
|
* ResourceArn: "STRING_VALUE", // required
|
|
63
63
|
* Priority: Number("int"),
|
|
64
|
-
* Override: {
|
|
64
|
+
* Override: { // StatefulRuleGroupOverride
|
|
65
65
|
* Action: "DROP_TO_ALERT",
|
|
66
66
|
* },
|
|
67
67
|
* },
|
|
68
68
|
* ],
|
|
69
|
-
* StatefulDefaultActions: [
|
|
69
|
+
* StatefulDefaultActions: [ // StatefulActions
|
|
70
70
|
* "STRING_VALUE",
|
|
71
71
|
* ],
|
|
72
|
-
* StatefulEngineOptions: {
|
|
72
|
+
* StatefulEngineOptions: { // StatefulEngineOptions
|
|
73
73
|
* RuleOrder: "DEFAULT_ACTION_ORDER" || "STRICT_ORDER",
|
|
74
74
|
* StreamExceptionPolicy: "DROP" || "CONTINUE",
|
|
75
75
|
* },
|
|
76
76
|
* },
|
|
77
77
|
* Description: "STRING_VALUE",
|
|
78
78
|
* DryRun: true || false,
|
|
79
|
-
* EncryptionConfiguration: {
|
|
79
|
+
* EncryptionConfiguration: { // EncryptionConfiguration
|
|
80
80
|
* KeyId: "STRING_VALUE",
|
|
81
81
|
* Type: "CUSTOMER_KMS" || "AWS_OWNED_KMS_KEY", // required
|
|
82
82
|
* },
|
|
@@ -51,15 +51,15 @@ 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 = {
|
|
54
|
+
* const input = { // UpdateLoggingConfigurationRequest
|
|
55
55
|
* FirewallArn: "STRING_VALUE",
|
|
56
56
|
* FirewallName: "STRING_VALUE",
|
|
57
|
-
* LoggingConfiguration: {
|
|
58
|
-
* LogDestinationConfigs: [ // required
|
|
59
|
-
* {
|
|
57
|
+
* LoggingConfiguration: { // LoggingConfiguration
|
|
58
|
+
* LogDestinationConfigs: [ // LogDestinationConfigs // required
|
|
59
|
+
* { // LogDestinationConfig
|
|
60
60
|
* LogType: "ALERT" || "FLOW", // required
|
|
61
61
|
* LogDestinationType: "S3" || "CloudWatchLogs" || "KinesisDataFirehose", // required
|
|
62
|
-
* LogDestination: { // required
|
|
62
|
+
* LogDestination: { // LogDestinationMap // required
|
|
63
63
|
* "<keys>": "STRING_VALUE",
|
|
64
64
|
* },
|
|
65
65
|
* },
|
|
@@ -31,49 +31,49 @@ 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 = {
|
|
34
|
+
* const input = { // UpdateRuleGroupRequest
|
|
35
35
|
* UpdateToken: "STRING_VALUE", // required
|
|
36
36
|
* RuleGroupArn: "STRING_VALUE",
|
|
37
37
|
* RuleGroupName: "STRING_VALUE",
|
|
38
|
-
* RuleGroup: {
|
|
39
|
-
* RuleVariables: {
|
|
40
|
-
* IPSets: {
|
|
41
|
-
* "<keys>": {
|
|
42
|
-
* Definition: [ // required
|
|
38
|
+
* RuleGroup: { // RuleGroup
|
|
39
|
+
* RuleVariables: { // RuleVariables
|
|
40
|
+
* IPSets: { // IPSets
|
|
41
|
+
* "<keys>": { // IPSet
|
|
42
|
+
* Definition: [ // VariableDefinitionList // required
|
|
43
43
|
* "STRING_VALUE",
|
|
44
44
|
* ],
|
|
45
45
|
* },
|
|
46
46
|
* },
|
|
47
|
-
* PortSets: {
|
|
48
|
-
* "<keys>": {
|
|
47
|
+
* PortSets: { // PortSets
|
|
48
|
+
* "<keys>": { // PortSet
|
|
49
49
|
* Definition: [
|
|
50
50
|
* "STRING_VALUE",
|
|
51
51
|
* ],
|
|
52
52
|
* },
|
|
53
53
|
* },
|
|
54
54
|
* },
|
|
55
|
-
* ReferenceSets: {
|
|
56
|
-
* IPSetReferences: {
|
|
57
|
-
* "<keys>": {
|
|
55
|
+
* ReferenceSets: { // ReferenceSets
|
|
56
|
+
* IPSetReferences: { // IPSetReferenceMap
|
|
57
|
+
* "<keys>": { // IPSetReference
|
|
58
58
|
* ReferenceArn: "STRING_VALUE",
|
|
59
59
|
* },
|
|
60
60
|
* },
|
|
61
61
|
* },
|
|
62
|
-
* RulesSource: {
|
|
62
|
+
* RulesSource: { // RulesSource
|
|
63
63
|
* RulesString: "STRING_VALUE",
|
|
64
|
-
* RulesSourceList: {
|
|
65
|
-
* Targets: [ // required
|
|
64
|
+
* RulesSourceList: { // RulesSourceList
|
|
65
|
+
* Targets: [ // RuleTargets // required
|
|
66
66
|
* "STRING_VALUE",
|
|
67
67
|
* ],
|
|
68
|
-
* TargetTypes: [ // required
|
|
68
|
+
* TargetTypes: [ // TargetTypes // required
|
|
69
69
|
* "TLS_SNI" || "HTTP_HOST",
|
|
70
70
|
* ],
|
|
71
71
|
* GeneratedRulesType: "ALLOWLIST" || "DENYLIST", // required
|
|
72
72
|
* },
|
|
73
|
-
* StatefulRules: [
|
|
74
|
-
* {
|
|
73
|
+
* StatefulRules: [ // StatefulRules
|
|
74
|
+
* { // StatefulRule
|
|
75
75
|
* Action: "PASS" || "DROP" || "ALERT" || "REJECT", // required
|
|
76
|
-
* Header: {
|
|
76
|
+
* Header: { // Header
|
|
77
77
|
* Protocol: "IP" || "TCP" || "UDP" || "ICMP" || "HTTP" || "FTP" || "TLS" || "SMB" || "DNS" || "DCERPC" || "SSH" || "SMTP" || "IMAP" || "MSN" || "KRB5" || "IKEV2" || "TFTP" || "NTP" || "DHCP", // required
|
|
78
78
|
* Source: "STRING_VALUE", // required
|
|
79
79
|
* SourcePort: "STRING_VALUE", // required
|
|
@@ -81,23 +81,23 @@ export interface UpdateRuleGroupCommandOutput extends UpdateRuleGroupResponse, _
|
|
|
81
81
|
* Destination: "STRING_VALUE", // required
|
|
82
82
|
* DestinationPort: "STRING_VALUE", // required
|
|
83
83
|
* },
|
|
84
|
-
* RuleOptions: [ // required
|
|
85
|
-
* {
|
|
84
|
+
* RuleOptions: [ // RuleOptions // required
|
|
85
|
+
* { // RuleOption
|
|
86
86
|
* Keyword: "STRING_VALUE", // required
|
|
87
|
-
* Settings: [
|
|
87
|
+
* Settings: [ // Settings
|
|
88
88
|
* "STRING_VALUE",
|
|
89
89
|
* ],
|
|
90
90
|
* },
|
|
91
91
|
* ],
|
|
92
92
|
* },
|
|
93
93
|
* ],
|
|
94
|
-
* StatelessRulesAndCustomActions: {
|
|
95
|
-
* StatelessRules: [ // required
|
|
96
|
-
* {
|
|
97
|
-
* RuleDefinition: {
|
|
98
|
-
* MatchAttributes: {
|
|
99
|
-
* Sources: [
|
|
100
|
-
* {
|
|
94
|
+
* StatelessRulesAndCustomActions: { // StatelessRulesAndCustomActions
|
|
95
|
+
* StatelessRules: [ // StatelessRules // required
|
|
96
|
+
* { // StatelessRule
|
|
97
|
+
* RuleDefinition: { // RuleDefinition
|
|
98
|
+
* MatchAttributes: { // MatchAttributes
|
|
99
|
+
* Sources: [ // Addresses
|
|
100
|
+
* { // Address
|
|
101
101
|
* AddressDefinition: "STRING_VALUE", // required
|
|
102
102
|
* },
|
|
103
103
|
* ],
|
|
@@ -106,8 +106,8 @@ export interface UpdateRuleGroupCommandOutput extends UpdateRuleGroupResponse, _
|
|
|
106
106
|
* AddressDefinition: "STRING_VALUE", // required
|
|
107
107
|
* },
|
|
108
108
|
* ],
|
|
109
|
-
* SourcePorts: [
|
|
110
|
-
* {
|
|
109
|
+
* SourcePorts: [ // PortRanges
|
|
110
|
+
* { // PortRange
|
|
111
111
|
* FromPort: Number("int"), // required
|
|
112
112
|
* ToPort: Number("int"), // required
|
|
113
113
|
* },
|
|
@@ -118,12 +118,12 @@ export interface UpdateRuleGroupCommandOutput extends UpdateRuleGroupResponse, _
|
|
|
118
118
|
* ToPort: Number("int"), // required
|
|
119
119
|
* },
|
|
120
120
|
* ],
|
|
121
|
-
* Protocols: [
|
|
121
|
+
* Protocols: [ // ProtocolNumbers
|
|
122
122
|
* Number("int"),
|
|
123
123
|
* ],
|
|
124
|
-
* TCPFlags: [
|
|
125
|
-
* {
|
|
126
|
-
* Flags: [ // required
|
|
124
|
+
* TCPFlags: [ // TCPFlags
|
|
125
|
+
* { // TCPFlagField
|
|
126
|
+
* Flags: [ // Flags // required
|
|
127
127
|
* "FIN" || "SYN" || "RST" || "PSH" || "ACK" || "URG" || "ECE" || "CWR",
|
|
128
128
|
* ],
|
|
129
129
|
* Masks: [
|
|
@@ -132,20 +132,20 @@ export interface UpdateRuleGroupCommandOutput extends UpdateRuleGroupResponse, _
|
|
|
132
132
|
* },
|
|
133
133
|
* ],
|
|
134
134
|
* },
|
|
135
|
-
* Actions: [ // required
|
|
135
|
+
* Actions: [ // StatelessActions // required
|
|
136
136
|
* "STRING_VALUE",
|
|
137
137
|
* ],
|
|
138
138
|
* },
|
|
139
139
|
* Priority: Number("int"), // required
|
|
140
140
|
* },
|
|
141
141
|
* ],
|
|
142
|
-
* CustomActions: [
|
|
143
|
-
* {
|
|
142
|
+
* CustomActions: [ // CustomActions
|
|
143
|
+
* { // CustomAction
|
|
144
144
|
* ActionName: "STRING_VALUE", // required
|
|
145
|
-
* ActionDefinition: {
|
|
146
|
-
* PublishMetricAction: {
|
|
147
|
-
* Dimensions: [ // required
|
|
148
|
-
* {
|
|
145
|
+
* ActionDefinition: { // ActionDefinition
|
|
146
|
+
* PublishMetricAction: { // PublishMetricAction
|
|
147
|
+
* Dimensions: [ // Dimensions // required
|
|
148
|
+
* { // Dimension
|
|
149
149
|
* Value: "STRING_VALUE", // required
|
|
150
150
|
* },
|
|
151
151
|
* ],
|
|
@@ -155,7 +155,7 @@ export interface UpdateRuleGroupCommandOutput extends UpdateRuleGroupResponse, _
|
|
|
155
155
|
* ],
|
|
156
156
|
* },
|
|
157
157
|
* },
|
|
158
|
-
* StatefulRuleOptions: {
|
|
158
|
+
* StatefulRuleOptions: { // StatefulRuleOptions
|
|
159
159
|
* RuleOrder: "DEFAULT_ACTION_ORDER" || "STRICT_ORDER",
|
|
160
160
|
* },
|
|
161
161
|
* },
|
|
@@ -163,11 +163,11 @@ export interface UpdateRuleGroupCommandOutput extends UpdateRuleGroupResponse, _
|
|
|
163
163
|
* Type: "STATELESS" || "STATEFUL",
|
|
164
164
|
* Description: "STRING_VALUE",
|
|
165
165
|
* DryRun: true || false,
|
|
166
|
-
* EncryptionConfiguration: {
|
|
166
|
+
* EncryptionConfiguration: { // EncryptionConfiguration
|
|
167
167
|
* KeyId: "STRING_VALUE",
|
|
168
168
|
* Type: "CUSTOMER_KMS" || "AWS_OWNED_KMS_KEY", // required
|
|
169
169
|
* },
|
|
170
|
-
* SourceMetadata: {
|
|
170
|
+
* SourceMetadata: { // SourceMetadata
|
|
171
171
|
* SourceArn: "STRING_VALUE",
|
|
172
172
|
* SourceUpdateToken: "STRING_VALUE",
|
|
173
173
|
* },
|
|
@@ -26,7 +26,7 @@ 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 = {
|
|
29
|
+
* const input = { // UpdateSubnetChangeProtectionRequest
|
|
30
30
|
* UpdateToken: "STRING_VALUE",
|
|
31
31
|
* FirewallArn: "STRING_VALUE",
|
|
32
32
|
* FirewallName: "STRING_VALUE",
|
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.301.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.
|
|
24
|
+
"@aws-sdk/client-sts": "3.301.0",
|
|
25
25
|
"@aws-sdk/config-resolver": "3.300.0",
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.301.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",
|