@aws-sdk/client-network-firewall 3.76.0 → 3.80.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/CHANGELOG.md +31 -0
- package/README.md +7 -7
- package/dist-cjs/NetworkFirewall.js +15 -0
- package/dist-cjs/commands/UpdateFirewallEncryptionConfigurationCommand.js +36 -0
- package/dist-cjs/commands/index.js +1 -0
- package/dist-cjs/models/models_0.js +37 -3
- package/dist-cjs/pagination/ListFirewallPoliciesPaginator.js +2 -1
- package/dist-cjs/pagination/ListFirewallsPaginator.js +2 -1
- package/dist-cjs/pagination/ListRuleGroupsPaginator.js +2 -1
- package/dist-cjs/pagination/ListTagsForResourcePaginator.js +2 -1
- package/dist-cjs/protocols/Aws_json1_0.js +161 -2
- package/dist-es/NetworkFirewall.js +15 -0
- package/dist-es/commands/UpdateFirewallEncryptionConfigurationCommand.js +39 -0
- package/dist-es/commands/index.js +1 -0
- package/dist-es/models/models_0.js +26 -0
- package/dist-es/pagination/ListFirewallPoliciesPaginator.js +3 -2
- package/dist-es/pagination/ListFirewallsPaginator.js +3 -2
- package/dist-es/pagination/ListRuleGroupsPaginator.js +3 -2
- package/dist-es/pagination/ListTagsForResourcePaginator.js +3 -2
- package/dist-es/protocols/Aws_json1_0.js +169 -10
- package/dist-types/NetworkFirewall.d.ts +27 -20
- package/dist-types/NetworkFirewallClient.d.ts +10 -9
- package/dist-types/commands/AssociateSubnetsCommand.d.ts +1 -1
- package/dist-types/commands/CreateFirewallCommand.d.ts +3 -3
- package/dist-types/commands/CreateFirewallPolicyCommand.d.ts +1 -1
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +2 -2
- package/dist-types/commands/PutResourcePolicyCommand.d.ts +2 -2
- package/dist-types/commands/TagResourceCommand.d.ts +2 -2
- package/dist-types/commands/UntagResourceCommand.d.ts +2 -2
- package/dist-types/commands/UpdateFirewallEncryptionConfigurationCommand.d.ts +35 -0
- package/dist-types/commands/index.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +193 -24
- package/dist-types/protocols/Aws_json1_0.d.ts +3 -0
- package/dist-types/ts3.4/NetworkFirewall.d.ts +5 -0
- package/dist-types/ts3.4/NetworkFirewallClient.d.ts +3 -2
- package/dist-types/ts3.4/commands/UpdateFirewallEncryptionConfigurationCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +92 -0
- package/dist-types/ts3.4/protocols/Aws_json1_0.d.ts +3 -0
- package/package.json +25 -25
|
@@ -180,6 +180,21 @@ export declare enum ConfigurationSyncState {
|
|
|
180
180
|
IN_SYNC = "IN_SYNC",
|
|
181
181
|
PENDING = "PENDING"
|
|
182
182
|
}
|
|
183
|
+
export declare enum EncryptionType {
|
|
184
|
+
AWS_OWNED_KMS_KEY = "AWS_OWNED_KMS_KEY",
|
|
185
|
+
CUSTOMER_KMS = "CUSTOMER_KMS"
|
|
186
|
+
}
|
|
187
|
+
|
|
188
|
+
export interface EncryptionConfiguration {
|
|
189
|
+
|
|
190
|
+
KeyId?: string;
|
|
191
|
+
|
|
192
|
+
Type: EncryptionType | string | undefined;
|
|
193
|
+
}
|
|
194
|
+
export declare namespace EncryptionConfiguration {
|
|
195
|
+
|
|
196
|
+
const filterSensitiveLog: (obj: EncryptionConfiguration) => any;
|
|
197
|
+
}
|
|
183
198
|
|
|
184
199
|
export interface Tag {
|
|
185
200
|
|
|
@@ -210,6 +225,8 @@ export interface CreateFirewallRequest {
|
|
|
210
225
|
Description?: string;
|
|
211
226
|
|
|
212
227
|
Tags?: Tag[];
|
|
228
|
+
|
|
229
|
+
EncryptionConfiguration?: EncryptionConfiguration;
|
|
213
230
|
}
|
|
214
231
|
export declare namespace CreateFirewallRequest {
|
|
215
232
|
|
|
@@ -239,6 +256,8 @@ export interface Firewall {
|
|
|
239
256
|
FirewallId: string | undefined;
|
|
240
257
|
|
|
241
258
|
Tags?: Tag[];
|
|
259
|
+
|
|
260
|
+
EncryptionConfiguration?: EncryptionConfiguration;
|
|
242
261
|
}
|
|
243
262
|
export declare namespace Firewall {
|
|
244
263
|
|
|
@@ -402,6 +421,8 @@ export interface CreateFirewallPolicyRequest {
|
|
|
402
421
|
Tags?: Tag[];
|
|
403
422
|
|
|
404
423
|
DryRun?: boolean;
|
|
424
|
+
|
|
425
|
+
EncryptionConfiguration?: EncryptionConfiguration;
|
|
405
426
|
}
|
|
406
427
|
export declare namespace CreateFirewallPolicyRequest {
|
|
407
428
|
|
|
@@ -431,6 +452,10 @@ export interface FirewallPolicyResponse {
|
|
|
431
452
|
ConsumedStatefulRuleCapacity?: number;
|
|
432
453
|
|
|
433
454
|
NumberOfAssociations?: number;
|
|
455
|
+
|
|
456
|
+
EncryptionConfiguration?: EncryptionConfiguration;
|
|
457
|
+
|
|
458
|
+
LastModifiedTime?: Date;
|
|
434
459
|
}
|
|
435
460
|
export declare namespace FirewallPolicyResponse {
|
|
436
461
|
|
|
@@ -694,6 +719,17 @@ export declare namespace RuleGroup {
|
|
|
694
719
|
|
|
695
720
|
const filterSensitiveLog: (obj: RuleGroup) => any;
|
|
696
721
|
}
|
|
722
|
+
|
|
723
|
+
export interface SourceMetadata {
|
|
724
|
+
|
|
725
|
+
SourceArn?: string;
|
|
726
|
+
|
|
727
|
+
SourceUpdateToken?: string;
|
|
728
|
+
}
|
|
729
|
+
export declare namespace SourceMetadata {
|
|
730
|
+
|
|
731
|
+
const filterSensitiveLog: (obj: SourceMetadata) => any;
|
|
732
|
+
}
|
|
697
733
|
export declare enum RuleGroupType {
|
|
698
734
|
STATEFUL = "STATEFUL",
|
|
699
735
|
STATELESS = "STATELESS"
|
|
@@ -715,6 +751,10 @@ export interface CreateRuleGroupRequest {
|
|
|
715
751
|
Tags?: Tag[];
|
|
716
752
|
|
|
717
753
|
DryRun?: boolean;
|
|
754
|
+
|
|
755
|
+
EncryptionConfiguration?: EncryptionConfiguration;
|
|
756
|
+
|
|
757
|
+
SourceMetadata?: SourceMetadata;
|
|
718
758
|
}
|
|
719
759
|
export declare namespace CreateRuleGroupRequest {
|
|
720
760
|
|
|
@@ -742,6 +782,14 @@ export interface RuleGroupResponse {
|
|
|
742
782
|
ConsumedCapacity?: number;
|
|
743
783
|
|
|
744
784
|
NumberOfAssociations?: number;
|
|
785
|
+
|
|
786
|
+
EncryptionConfiguration?: EncryptionConfiguration;
|
|
787
|
+
|
|
788
|
+
SourceMetadata?: SourceMetadata;
|
|
789
|
+
|
|
790
|
+
SnsTopic?: string;
|
|
791
|
+
|
|
792
|
+
LastModifiedTime?: Date;
|
|
745
793
|
}
|
|
746
794
|
export declare namespace RuleGroupResponse {
|
|
747
795
|
|
|
@@ -1007,6 +1055,8 @@ export interface DescribeRuleGroupMetadataResponse {
|
|
|
1007
1055
|
Capacity?: number;
|
|
1008
1056
|
|
|
1009
1057
|
StatefulRuleOptions?: StatefulRuleOptions;
|
|
1058
|
+
|
|
1059
|
+
LastModifiedTime?: Date;
|
|
1010
1060
|
}
|
|
1011
1061
|
export declare namespace DescribeRuleGroupMetadataResponse {
|
|
1012
1062
|
|
|
@@ -1104,6 +1154,10 @@ export declare namespace ListFirewallsResponse {
|
|
|
1104
1154
|
|
|
1105
1155
|
const filterSensitiveLog: (obj: ListFirewallsResponse) => any;
|
|
1106
1156
|
}
|
|
1157
|
+
export declare enum ResourceManagedType {
|
|
1158
|
+
AWS_MANAGED_DOMAIN_LISTS = "AWS_MANAGED_DOMAIN_LISTS",
|
|
1159
|
+
AWS_MANAGED_THREAT_SIGNATURES = "AWS_MANAGED_THREAT_SIGNATURES"
|
|
1160
|
+
}
|
|
1107
1161
|
export declare enum ResourceManagedStatus {
|
|
1108
1162
|
ACCOUNT = "ACCOUNT",
|
|
1109
1163
|
MANAGED = "MANAGED"
|
|
@@ -1115,6 +1169,10 @@ export interface ListRuleGroupsRequest {
|
|
|
1115
1169
|
MaxResults?: number;
|
|
1116
1170
|
|
|
1117
1171
|
Scope?: ResourceManagedStatus | string;
|
|
1172
|
+
|
|
1173
|
+
ManagedType?: ResourceManagedType | string;
|
|
1174
|
+
|
|
1175
|
+
Type?: RuleGroupType | string;
|
|
1118
1176
|
}
|
|
1119
1177
|
export declare namespace ListRuleGroupsRequest {
|
|
1120
1178
|
|
|
@@ -1283,6 +1341,34 @@ export declare namespace UpdateFirewallDescriptionResponse {
|
|
|
1283
1341
|
|
|
1284
1342
|
const filterSensitiveLog: (obj: UpdateFirewallDescriptionResponse) => any;
|
|
1285
1343
|
}
|
|
1344
|
+
export interface UpdateFirewallEncryptionConfigurationRequest {
|
|
1345
|
+
|
|
1346
|
+
UpdateToken?: string;
|
|
1347
|
+
|
|
1348
|
+
FirewallArn?: string;
|
|
1349
|
+
|
|
1350
|
+
FirewallName?: string;
|
|
1351
|
+
|
|
1352
|
+
EncryptionConfiguration?: EncryptionConfiguration;
|
|
1353
|
+
}
|
|
1354
|
+
export declare namespace UpdateFirewallEncryptionConfigurationRequest {
|
|
1355
|
+
|
|
1356
|
+
const filterSensitiveLog: (obj: UpdateFirewallEncryptionConfigurationRequest) => any;
|
|
1357
|
+
}
|
|
1358
|
+
export interface UpdateFirewallEncryptionConfigurationResponse {
|
|
1359
|
+
|
|
1360
|
+
FirewallArn?: string;
|
|
1361
|
+
|
|
1362
|
+
FirewallName?: string;
|
|
1363
|
+
|
|
1364
|
+
UpdateToken?: string;
|
|
1365
|
+
|
|
1366
|
+
EncryptionConfiguration?: EncryptionConfiguration;
|
|
1367
|
+
}
|
|
1368
|
+
export declare namespace UpdateFirewallEncryptionConfigurationResponse {
|
|
1369
|
+
|
|
1370
|
+
const filterSensitiveLog: (obj: UpdateFirewallEncryptionConfigurationResponse) => any;
|
|
1371
|
+
}
|
|
1286
1372
|
export interface UpdateFirewallPolicyRequest {
|
|
1287
1373
|
|
|
1288
1374
|
UpdateToken: string | undefined;
|
|
@@ -1296,6 +1382,8 @@ export interface UpdateFirewallPolicyRequest {
|
|
|
1296
1382
|
Description?: string;
|
|
1297
1383
|
|
|
1298
1384
|
DryRun?: boolean;
|
|
1385
|
+
|
|
1386
|
+
EncryptionConfiguration?: EncryptionConfiguration;
|
|
1299
1387
|
}
|
|
1300
1388
|
export declare namespace UpdateFirewallPolicyRequest {
|
|
1301
1389
|
|
|
@@ -1380,6 +1468,10 @@ export interface UpdateRuleGroupRequest {
|
|
|
1380
1468
|
Description?: string;
|
|
1381
1469
|
|
|
1382
1470
|
DryRun?: boolean;
|
|
1471
|
+
|
|
1472
|
+
EncryptionConfiguration?: EncryptionConfiguration;
|
|
1473
|
+
|
|
1474
|
+
SourceMetadata?: SourceMetadata;
|
|
1383
1475
|
}
|
|
1384
1476
|
export declare namespace UpdateRuleGroupRequest {
|
|
1385
1477
|
|
|
@@ -25,6 +25,7 @@ import { TagResourceCommandInput, TagResourceCommandOutput } from "../commands/T
|
|
|
25
25
|
import { UntagResourceCommandInput, UntagResourceCommandOutput } from "../commands/UntagResourceCommand";
|
|
26
26
|
import { UpdateFirewallDeleteProtectionCommandInput, UpdateFirewallDeleteProtectionCommandOutput } from "../commands/UpdateFirewallDeleteProtectionCommand";
|
|
27
27
|
import { UpdateFirewallDescriptionCommandInput, UpdateFirewallDescriptionCommandOutput } from "../commands/UpdateFirewallDescriptionCommand";
|
|
28
|
+
import { UpdateFirewallEncryptionConfigurationCommandInput, UpdateFirewallEncryptionConfigurationCommandOutput } from "../commands/UpdateFirewallEncryptionConfigurationCommand";
|
|
28
29
|
import { UpdateFirewallPolicyChangeProtectionCommandInput, UpdateFirewallPolicyChangeProtectionCommandOutput } from "../commands/UpdateFirewallPolicyChangeProtectionCommand";
|
|
29
30
|
import { UpdateFirewallPolicyCommandInput, UpdateFirewallPolicyCommandOutput } from "../commands/UpdateFirewallPolicyCommand";
|
|
30
31
|
import { UpdateLoggingConfigurationCommandInput, UpdateLoggingConfigurationCommandOutput } from "../commands/UpdateLoggingConfigurationCommand";
|
|
@@ -55,6 +56,7 @@ export declare const serializeAws_json1_0TagResourceCommand: (input: TagResource
|
|
|
55
56
|
export declare const serializeAws_json1_0UntagResourceCommand: (input: UntagResourceCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
56
57
|
export declare const serializeAws_json1_0UpdateFirewallDeleteProtectionCommand: (input: UpdateFirewallDeleteProtectionCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
57
58
|
export declare const serializeAws_json1_0UpdateFirewallDescriptionCommand: (input: UpdateFirewallDescriptionCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
59
|
+
export declare const serializeAws_json1_0UpdateFirewallEncryptionConfigurationCommand: (input: UpdateFirewallEncryptionConfigurationCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
58
60
|
export declare const serializeAws_json1_0UpdateFirewallPolicyCommand: (input: UpdateFirewallPolicyCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
59
61
|
export declare const serializeAws_json1_0UpdateFirewallPolicyChangeProtectionCommand: (input: UpdateFirewallPolicyChangeProtectionCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
60
62
|
export declare const serializeAws_json1_0UpdateLoggingConfigurationCommand: (input: UpdateLoggingConfigurationCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
@@ -85,6 +87,7 @@ export declare const deserializeAws_json1_0TagResourceCommand: (output: __HttpRe
|
|
|
85
87
|
export declare const deserializeAws_json1_0UntagResourceCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UntagResourceCommandOutput>;
|
|
86
88
|
export declare const deserializeAws_json1_0UpdateFirewallDeleteProtectionCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UpdateFirewallDeleteProtectionCommandOutput>;
|
|
87
89
|
export declare const deserializeAws_json1_0UpdateFirewallDescriptionCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UpdateFirewallDescriptionCommandOutput>;
|
|
90
|
+
export declare const deserializeAws_json1_0UpdateFirewallEncryptionConfigurationCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UpdateFirewallEncryptionConfigurationCommandOutput>;
|
|
88
91
|
export declare const deserializeAws_json1_0UpdateFirewallPolicyCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UpdateFirewallPolicyCommandOutput>;
|
|
89
92
|
export declare const deserializeAws_json1_0UpdateFirewallPolicyChangeProtectionCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UpdateFirewallPolicyChangeProtectionCommandOutput>;
|
|
90
93
|
export declare const deserializeAws_json1_0UpdateLoggingConfigurationCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UpdateLoggingConfigurationCommandOutput>;
|
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.80.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",
|
|
@@ -18,34 +18,34 @@
|
|
|
18
18
|
"dependencies": {
|
|
19
19
|
"@aws-crypto/sha256-browser": "2.0.0",
|
|
20
20
|
"@aws-crypto/sha256-js": "2.0.0",
|
|
21
|
-
"@aws-sdk/client-sts": "3.
|
|
22
|
-
"@aws-sdk/config-resolver": "3.
|
|
23
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
24
|
-
"@aws-sdk/fetch-http-handler": "3.
|
|
25
|
-
"@aws-sdk/hash-node": "3.
|
|
26
|
-
"@aws-sdk/invalid-dependency": "3.
|
|
27
|
-
"@aws-sdk/middleware-content-length": "3.
|
|
28
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
29
|
-
"@aws-sdk/middleware-logger": "3.
|
|
30
|
-
"@aws-sdk/middleware-retry": "3.
|
|
31
|
-
"@aws-sdk/middleware-serde": "3.
|
|
32
|
-
"@aws-sdk/middleware-signing": "3.
|
|
33
|
-
"@aws-sdk/middleware-stack": "3.
|
|
34
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
35
|
-
"@aws-sdk/node-config-provider": "3.
|
|
36
|
-
"@aws-sdk/node-http-handler": "3.
|
|
37
|
-
"@aws-sdk/protocol-http": "3.
|
|
38
|
-
"@aws-sdk/smithy-client": "3.
|
|
39
|
-
"@aws-sdk/types": "3.
|
|
40
|
-
"@aws-sdk/url-parser": "3.
|
|
21
|
+
"@aws-sdk/client-sts": "3.80.0",
|
|
22
|
+
"@aws-sdk/config-resolver": "3.80.0",
|
|
23
|
+
"@aws-sdk/credential-provider-node": "3.80.0",
|
|
24
|
+
"@aws-sdk/fetch-http-handler": "3.78.0",
|
|
25
|
+
"@aws-sdk/hash-node": "3.78.0",
|
|
26
|
+
"@aws-sdk/invalid-dependency": "3.78.0",
|
|
27
|
+
"@aws-sdk/middleware-content-length": "3.78.0",
|
|
28
|
+
"@aws-sdk/middleware-host-header": "3.78.0",
|
|
29
|
+
"@aws-sdk/middleware-logger": "3.78.0",
|
|
30
|
+
"@aws-sdk/middleware-retry": "3.80.0",
|
|
31
|
+
"@aws-sdk/middleware-serde": "3.78.0",
|
|
32
|
+
"@aws-sdk/middleware-signing": "3.78.0",
|
|
33
|
+
"@aws-sdk/middleware-stack": "3.78.0",
|
|
34
|
+
"@aws-sdk/middleware-user-agent": "3.78.0",
|
|
35
|
+
"@aws-sdk/node-config-provider": "3.80.0",
|
|
36
|
+
"@aws-sdk/node-http-handler": "3.78.0",
|
|
37
|
+
"@aws-sdk/protocol-http": "3.78.0",
|
|
38
|
+
"@aws-sdk/smithy-client": "3.78.0",
|
|
39
|
+
"@aws-sdk/types": "3.78.0",
|
|
40
|
+
"@aws-sdk/url-parser": "3.78.0",
|
|
41
41
|
"@aws-sdk/util-base64-browser": "3.58.0",
|
|
42
42
|
"@aws-sdk/util-base64-node": "3.55.0",
|
|
43
43
|
"@aws-sdk/util-body-length-browser": "3.55.0",
|
|
44
44
|
"@aws-sdk/util-body-length-node": "3.55.0",
|
|
45
|
-
"@aws-sdk/util-defaults-mode-browser": "3.
|
|
46
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
47
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
48
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
45
|
+
"@aws-sdk/util-defaults-mode-browser": "3.78.0",
|
|
46
|
+
"@aws-sdk/util-defaults-mode-node": "3.80.0",
|
|
47
|
+
"@aws-sdk/util-user-agent-browser": "3.78.0",
|
|
48
|
+
"@aws-sdk/util-user-agent-node": "3.80.0",
|
|
49
49
|
"@aws-sdk/util-utf8-browser": "3.55.0",
|
|
50
50
|
"@aws-sdk/util-utf8-node": "3.55.0",
|
|
51
51
|
"tslib": "^2.3.1"
|