@aws-sdk/client-network-firewall 3.75.0 → 3.79.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.
Files changed (40) hide show
  1. package/CHANGELOG.md +28 -0
  2. package/README.md +7 -7
  3. package/dist-cjs/NetworkFirewall.js +15 -0
  4. package/dist-cjs/commands/UpdateFirewallEncryptionConfigurationCommand.js +36 -0
  5. package/dist-cjs/commands/index.js +1 -0
  6. package/dist-cjs/models/models_0.js +26 -3
  7. package/dist-cjs/pagination/ListFirewallPoliciesPaginator.js +2 -1
  8. package/dist-cjs/pagination/ListFirewallsPaginator.js +2 -1
  9. package/dist-cjs/pagination/ListRuleGroupsPaginator.js +2 -1
  10. package/dist-cjs/pagination/ListTagsForResourcePaginator.js +2 -1
  11. package/dist-cjs/protocols/Aws_json1_0.js +125 -2
  12. package/dist-es/NetworkFirewall.js +15 -0
  13. package/dist-es/commands/UpdateFirewallEncryptionConfigurationCommand.js +39 -0
  14. package/dist-es/commands/index.js +1 -0
  15. package/dist-es/models/models_0.js +17 -0
  16. package/dist-es/pagination/ListFirewallPoliciesPaginator.js +3 -2
  17. package/dist-es/pagination/ListFirewallsPaginator.js +3 -2
  18. package/dist-es/pagination/ListRuleGroupsPaginator.js +3 -2
  19. package/dist-es/pagination/ListTagsForResourcePaginator.js +3 -2
  20. package/dist-es/protocols/Aws_json1_0.js +136 -6
  21. package/dist-types/NetworkFirewall.d.ts +27 -20
  22. package/dist-types/NetworkFirewallClient.d.ts +10 -9
  23. package/dist-types/commands/AssociateSubnetsCommand.d.ts +1 -1
  24. package/dist-types/commands/CreateFirewallCommand.d.ts +3 -3
  25. package/dist-types/commands/CreateFirewallPolicyCommand.d.ts +1 -1
  26. package/dist-types/commands/ListTagsForResourceCommand.d.ts +2 -2
  27. package/dist-types/commands/PutResourcePolicyCommand.d.ts +2 -2
  28. package/dist-types/commands/TagResourceCommand.d.ts +2 -2
  29. package/dist-types/commands/UntagResourceCommand.d.ts +2 -2
  30. package/dist-types/commands/UpdateFirewallEncryptionConfigurationCommand.d.ts +35 -0
  31. package/dist-types/commands/index.d.ts +1 -0
  32. package/dist-types/models/models_0.d.ts +131 -24
  33. package/dist-types/protocols/Aws_json1_0.d.ts +3 -0
  34. package/dist-types/ts3.4/NetworkFirewall.d.ts +5 -0
  35. package/dist-types/ts3.4/NetworkFirewallClient.d.ts +3 -2
  36. package/dist-types/ts3.4/commands/UpdateFirewallEncryptionConfigurationCommand.d.ts +17 -0
  37. package/dist-types/ts3.4/commands/index.d.ts +1 -0
  38. package/dist-types/ts3.4/models/models_0.d.ts +59 -0
  39. package/dist-types/ts3.4/protocols/Aws_json1_0.d.ts +3 -0
  40. 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;
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,8 @@ export interface FirewallPolicyResponse {
431
452
  ConsumedStatefulRuleCapacity?: number;
432
453
 
433
454
  NumberOfAssociations?: number;
455
+
456
+ EncryptionConfiguration?: EncryptionConfiguration;
434
457
  }
435
458
  export declare namespace FirewallPolicyResponse {
436
459
 
@@ -715,6 +738,8 @@ export interface CreateRuleGroupRequest {
715
738
  Tags?: Tag[];
716
739
 
717
740
  DryRun?: boolean;
741
+
742
+ EncryptionConfiguration?: EncryptionConfiguration;
718
743
  }
719
744
  export declare namespace CreateRuleGroupRequest {
720
745
 
@@ -742,6 +767,8 @@ export interface RuleGroupResponse {
742
767
  ConsumedCapacity?: number;
743
768
 
744
769
  NumberOfAssociations?: number;
770
+
771
+ EncryptionConfiguration?: EncryptionConfiguration;
745
772
  }
746
773
  export declare namespace RuleGroupResponse {
747
774
 
@@ -1283,6 +1310,34 @@ export declare namespace UpdateFirewallDescriptionResponse {
1283
1310
 
1284
1311
  const filterSensitiveLog: (obj: UpdateFirewallDescriptionResponse) => any;
1285
1312
  }
1313
+ export interface UpdateFirewallEncryptionConfigurationRequest {
1314
+
1315
+ UpdateToken?: string;
1316
+
1317
+ FirewallArn?: string;
1318
+
1319
+ FirewallName?: string;
1320
+
1321
+ EncryptionConfiguration?: EncryptionConfiguration;
1322
+ }
1323
+ export declare namespace UpdateFirewallEncryptionConfigurationRequest {
1324
+
1325
+ const filterSensitiveLog: (obj: UpdateFirewallEncryptionConfigurationRequest) => any;
1326
+ }
1327
+ export interface UpdateFirewallEncryptionConfigurationResponse {
1328
+
1329
+ FirewallArn?: string;
1330
+
1331
+ FirewallName?: string;
1332
+
1333
+ UpdateToken?: string;
1334
+
1335
+ EncryptionConfiguration?: EncryptionConfiguration;
1336
+ }
1337
+ export declare namespace UpdateFirewallEncryptionConfigurationResponse {
1338
+
1339
+ const filterSensitiveLog: (obj: UpdateFirewallEncryptionConfigurationResponse) => any;
1340
+ }
1286
1341
  export interface UpdateFirewallPolicyRequest {
1287
1342
 
1288
1343
  UpdateToken: string | undefined;
@@ -1296,6 +1351,8 @@ export interface UpdateFirewallPolicyRequest {
1296
1351
  Description?: string;
1297
1352
 
1298
1353
  DryRun?: boolean;
1354
+
1355
+ EncryptionConfiguration?: EncryptionConfiguration;
1299
1356
  }
1300
1357
  export declare namespace UpdateFirewallPolicyRequest {
1301
1358
 
@@ -1380,6 +1437,8 @@ export interface UpdateRuleGroupRequest {
1380
1437
  Description?: string;
1381
1438
 
1382
1439
  DryRun?: boolean;
1440
+
1441
+ EncryptionConfiguration?: EncryptionConfiguration;
1383
1442
  }
1384
1443
  export declare namespace UpdateRuleGroupRequest {
1385
1444
 
@@ -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.75.0",
4
+ "version": "3.79.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.75.0",
22
- "@aws-sdk/config-resolver": "3.75.0",
23
- "@aws-sdk/credential-provider-node": "3.75.0",
24
- "@aws-sdk/fetch-http-handler": "3.58.0",
25
- "@aws-sdk/hash-node": "3.55.0",
26
- "@aws-sdk/invalid-dependency": "3.55.0",
27
- "@aws-sdk/middleware-content-length": "3.58.0",
28
- "@aws-sdk/middleware-host-header": "3.58.0",
29
- "@aws-sdk/middleware-logger": "3.55.0",
30
- "@aws-sdk/middleware-retry": "3.75.0",
31
- "@aws-sdk/middleware-serde": "3.55.0",
32
- "@aws-sdk/middleware-signing": "3.58.0",
33
- "@aws-sdk/middleware-stack": "3.55.0",
34
- "@aws-sdk/middleware-user-agent": "3.58.0",
35
- "@aws-sdk/node-config-provider": "3.75.0",
36
- "@aws-sdk/node-http-handler": "3.74.0",
37
- "@aws-sdk/protocol-http": "3.58.0",
38
- "@aws-sdk/smithy-client": "3.72.0",
39
- "@aws-sdk/types": "3.55.0",
40
- "@aws-sdk/url-parser": "3.55.0",
21
+ "@aws-sdk/client-sts": "3.79.0",
22
+ "@aws-sdk/config-resolver": "3.79.0",
23
+ "@aws-sdk/credential-provider-node": "3.79.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.79.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.79.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.72.0",
46
- "@aws-sdk/util-defaults-mode-node": "3.75.0",
47
- "@aws-sdk/util-user-agent-browser": "3.58.0",
48
- "@aws-sdk/util-user-agent-node": "3.75.0",
45
+ "@aws-sdk/util-defaults-mode-browser": "3.78.0",
46
+ "@aws-sdk/util-defaults-mode-node": "3.79.0",
47
+ "@aws-sdk/util-user-agent-browser": "3.78.0",
48
+ "@aws-sdk/util-user-agent-node": "3.79.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"