@aws-sdk/client-network-firewall 3.1100.0 → 3.1102.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 (34) hide show
  1. package/README.md +9 -2
  2. package/dist-cjs/index.js +88 -16
  3. package/dist-es/NetworkFirewall.js +2 -0
  4. package/dist-es/commands/UpdateProxySettingsCommand.js +4 -0
  5. package/dist-es/commands/index.js +1 -0
  6. package/dist-es/models/enums.js +11 -4
  7. package/dist-es/schemas/schemas_0.js +63 -11
  8. package/dist-types/NetworkFirewall.d.ts +10 -2
  9. package/dist-types/NetworkFirewallClient.d.ts +5 -4
  10. package/dist-types/commands/CreateContainerAssociationCommand.d.ts +2 -3
  11. package/dist-types/commands/CreateFirewallCommand.d.ts +55 -0
  12. package/dist-types/commands/CreateVpcEndpointAssociationCommand.d.ts +1 -0
  13. package/dist-types/commands/DeleteContainerAssociationCommand.d.ts +3 -1
  14. package/dist-types/commands/DeleteFirewallCommand.d.ts +32 -0
  15. package/dist-types/commands/DeleteVpcEndpointAssociationCommand.d.ts +1 -0
  16. package/dist-types/commands/DescribeContainerAssociationCommand.d.ts +1 -1
  17. package/dist-types/commands/DescribeFirewallCommand.d.ts +32 -0
  18. package/dist-types/commands/DescribeVpcEndpointAssociationCommand.d.ts +1 -0
  19. package/dist-types/commands/ListContainerAssociationsCommand.d.ts +2 -1
  20. package/dist-types/commands/UpdateContainerAssociationCommand.d.ts +2 -1
  21. package/dist-types/commands/UpdateProxySettingsCommand.d.ts +127 -0
  22. package/dist-types/commands/index.d.ts +1 -0
  23. package/dist-types/index.d.ts +2 -2
  24. package/dist-types/models/enums.d.ts +27 -12
  25. package/dist-types/models/models_0.d.ts +343 -61
  26. package/dist-types/schemas/schemas_0.d.ts +7 -0
  27. package/dist-types/ts3.4/NetworkFirewall.d.ts +18 -0
  28. package/dist-types/ts3.4/NetworkFirewallClient.d.ts +6 -0
  29. package/dist-types/ts3.4/commands/UpdateProxySettingsCommand.d.ts +39 -0
  30. package/dist-types/ts3.4/commands/index.d.ts +1 -0
  31. package/dist-types/ts3.4/models/enums.d.ts +14 -5
  32. package/dist-types/ts3.4/models/models_0.d.ts +43 -4
  33. package/dist-types/ts3.4/schemas/schemas_0.d.ts +7 -0
  34. package/package.json +3 -3
@@ -181,6 +181,8 @@ export declare var ListVpcEndpointAssociationsResponse$: StaticStructureSchema;
181
181
  export declare var LogDestinationConfig$: StaticStructureSchema;
182
182
  export declare var LoggingConfiguration$: StaticStructureSchema;
183
183
  export declare var MatchAttributes$: StaticStructureSchema;
184
+ export declare var NatGatewayAttachment$: StaticStructureSchema;
185
+ export declare var NatGatewayMapping$: StaticStructureSchema;
184
186
  export declare var PerObjectStatus$: StaticStructureSchema;
185
187
  export declare var PolicyVariables$: StaticStructureSchema;
186
188
  export declare var PortRange$: StaticStructureSchema;
@@ -200,6 +202,7 @@ export declare var ProxyRuleGroupPriority$: StaticStructureSchema;
200
202
  export declare var ProxyRuleGroupPriorityResult$: StaticStructureSchema;
201
203
  export declare var ProxyRulePriority$: StaticStructureSchema;
202
204
  export declare var ProxyRulesByRequestPhase$: StaticStructureSchema;
205
+ export declare var ProxySettings$: StaticStructureSchema;
203
206
  export declare var PublishMetricAction$: StaticStructureSchema;
204
207
  export declare var PutResourcePolicyRequest$: StaticStructureSchema;
205
208
  export declare var PutResourcePolicyResponse$: StaticStructureSchema;
@@ -279,12 +282,15 @@ export declare var UpdateProxyRulePrioritiesRequest$: StaticStructureSchema;
279
282
  export declare var UpdateProxyRulePrioritiesResponse$: StaticStructureSchema;
280
283
  export declare var UpdateProxyRuleRequest$: StaticStructureSchema;
281
284
  export declare var UpdateProxyRuleResponse$: StaticStructureSchema;
285
+ export declare var UpdateProxySettingsRequest$: StaticStructureSchema;
286
+ export declare var UpdateProxySettingsResponse$: StaticStructureSchema;
282
287
  export declare var UpdateRuleGroupRequest$: StaticStructureSchema;
283
288
  export declare var UpdateRuleGroupResponse$: StaticStructureSchema;
284
289
  export declare var UpdateSubnetChangeProtectionRequest$: StaticStructureSchema;
285
290
  export declare var UpdateSubnetChangeProtectionResponse$: StaticStructureSchema;
286
291
  export declare var UpdateTLSInspectionConfigurationRequest$: StaticStructureSchema;
287
292
  export declare var UpdateTLSInspectionConfigurationResponse$: StaticStructureSchema;
293
+ export declare var VpcEndpoint$: StaticStructureSchema;
288
294
  export declare var VpcEndpointAssociation$: StaticStructureSchema;
289
295
  export declare var VpcEndpointAssociationMetadata$: StaticStructureSchema;
290
296
  export declare var VpcEndpointAssociationStatus$: StaticStructureSchema;
@@ -369,6 +375,7 @@ export declare var UpdateProxyConfiguration$: StaticOperationSchema;
369
375
  export declare var UpdateProxyRule$: StaticOperationSchema;
370
376
  export declare var UpdateProxyRuleGroupPriorities$: StaticOperationSchema;
371
377
  export declare var UpdateProxyRulePriorities$: StaticOperationSchema;
378
+ export declare var UpdateProxySettings$: StaticOperationSchema;
372
379
  export declare var UpdateRuleGroup$: StaticOperationSchema;
373
380
  export declare var UpdateSubnetChangeProtection$: StaticOperationSchema;
374
381
  export declare var UpdateTLSInspectionConfiguration$: StaticOperationSchema;
@@ -312,6 +312,10 @@ import {
312
312
  UpdateProxyRulePrioritiesCommandInput,
313
313
  UpdateProxyRulePrioritiesCommandOutput,
314
314
  } from "./commands/UpdateProxyRulePrioritiesCommand";
315
+ import {
316
+ UpdateProxySettingsCommandInput,
317
+ UpdateProxySettingsCommandOutput,
318
+ } from "./commands/UpdateProxySettingsCommand";
315
319
  import {
316
320
  UpdateRuleGroupCommandInput,
317
321
  UpdateRuleGroupCommandOutput,
@@ -1412,6 +1416,20 @@ export interface NetworkFirewall {
1412
1416
  options: __HttpHandlerOptions,
1413
1417
  cb: (err: any, data?: UpdateProxyRulePrioritiesCommandOutput) => void,
1414
1418
  ): void;
1419
+ updateProxySettings(): Promise<UpdateProxySettingsCommandOutput>;
1420
+ updateProxySettings(
1421
+ args: UpdateProxySettingsCommandInput,
1422
+ options?: __HttpHandlerOptions,
1423
+ ): Promise<UpdateProxySettingsCommandOutput>;
1424
+ updateProxySettings(
1425
+ args: UpdateProxySettingsCommandInput,
1426
+ cb: (err: any, data?: UpdateProxySettingsCommandOutput) => void,
1427
+ ): void;
1428
+ updateProxySettings(
1429
+ args: UpdateProxySettingsCommandInput,
1430
+ options: __HttpHandlerOptions,
1431
+ cb: (err: any, data?: UpdateProxySettingsCommandOutput) => void,
1432
+ ): void;
1415
1433
  updateRuleGroup(
1416
1434
  args: UpdateRuleGroupCommandInput,
1417
1435
  options?: __HttpHandlerOptions,
@@ -342,6 +342,10 @@ import {
342
342
  UpdateProxyRulePrioritiesCommandInput,
343
343
  UpdateProxyRulePrioritiesCommandOutput,
344
344
  } from "./commands/UpdateProxyRulePrioritiesCommand";
345
+ import {
346
+ UpdateProxySettingsCommandInput,
347
+ UpdateProxySettingsCommandOutput,
348
+ } from "./commands/UpdateProxySettingsCommand";
345
349
  import {
346
350
  UpdateRuleGroupCommandInput,
347
351
  UpdateRuleGroupCommandOutput,
@@ -443,6 +447,7 @@ export type ServiceInputTypes =
443
447
  | UpdateProxyRuleCommandInput
444
448
  | UpdateProxyRuleGroupPrioritiesCommandInput
445
449
  | UpdateProxyRulePrioritiesCommandInput
450
+ | UpdateProxySettingsCommandInput
446
451
  | UpdateRuleGroupCommandInput
447
452
  | UpdateSubnetChangeProtectionCommandInput
448
453
  | UpdateTLSInspectionConfigurationCommandInput;
@@ -528,6 +533,7 @@ export type ServiceOutputTypes =
528
533
  | UpdateProxyRuleCommandOutput
529
534
  | UpdateProxyRuleGroupPrioritiesCommandOutput
530
535
  | UpdateProxyRulePrioritiesCommandOutput
536
+ | UpdateProxySettingsCommandOutput
531
537
  | UpdateRuleGroupCommandOutput
532
538
  | UpdateSubnetChangeProtectionCommandOutput
533
539
  | UpdateTLSInspectionConfigurationCommandOutput;
@@ -0,0 +1,39 @@
1
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
+ import { UpdateProxySettingsRequest, UpdateProxySettingsResponse } from "../models/models_0";
3
+ export { __MetadataBearer };
4
+ export interface UpdateProxySettingsCommandInput extends UpdateProxySettingsRequest {}
5
+ export interface UpdateProxySettingsCommandOutput
6
+ extends UpdateProxySettingsResponse, __MetadataBearer {}
7
+ declare const UpdateProxySettingsCommand_base: {
8
+ new (
9
+ input: UpdateProxySettingsCommandInput,
10
+ ): import("@smithy/core/client").CommandImpl<
11
+ UpdateProxySettingsCommandInput,
12
+ UpdateProxySettingsCommandOutput,
13
+ import("..").NetworkFirewallClientResolvedConfig,
14
+ import("..").ServiceInputTypes,
15
+ import("..").ServiceOutputTypes
16
+ >;
17
+ new (
18
+ ...[input]: [] | [UpdateProxySettingsCommandInput]
19
+ ): import("@smithy/core/client").CommandImpl<
20
+ UpdateProxySettingsCommandInput,
21
+ UpdateProxySettingsCommandOutput,
22
+ import("..").NetworkFirewallClientResolvedConfig,
23
+ import("..").ServiceInputTypes,
24
+ import("..").ServiceOutputTypes
25
+ >;
26
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
27
+ };
28
+ export declare class UpdateProxySettingsCommand extends UpdateProxySettingsCommand_base {
29
+ protected static __types: {
30
+ api: {
31
+ input: UpdateProxySettingsRequest;
32
+ output: UpdateProxySettingsResponse;
33
+ };
34
+ sdk: {
35
+ input: UpdateProxySettingsCommandInput;
36
+ output: UpdateProxySettingsCommandOutput;
37
+ };
38
+ };
39
+ }
@@ -79,6 +79,7 @@ export * from "./UpdateProxyConfigurationCommand";
79
79
  export * from "./UpdateProxyRuleCommand";
80
80
  export * from "./UpdateProxyRuleGroupPrioritiesCommand";
81
81
  export * from "./UpdateProxyRulePrioritiesCommand";
82
+ export * from "./UpdateProxySettingsCommand";
82
83
  export * from "./UpdateRuleGroupCommand";
83
84
  export * from "./UpdateSubnetChangeProtectionCommand";
84
85
  export * from "./UpdateTLSInspectionConfigurationCommand";
@@ -75,6 +75,11 @@ export declare const EncryptionType: {
75
75
  readonly CUSTOMER_KMS: "CUSTOMER_KMS";
76
76
  };
77
77
  export type EncryptionType = (typeof EncryptionType)[keyof typeof EncryptionType];
78
+ export declare const ListenerPropertyType: {
79
+ readonly HTTP: "HTTP";
80
+ readonly HTTPS: "HTTPS";
81
+ };
82
+ export type ListenerPropertyType = (typeof ListenerPropertyType)[keyof typeof ListenerPropertyType];
78
83
  export declare const FirewallStatusValue: {
79
84
  readonly DELETING: "DELETING";
80
85
  readonly PROVISIONING: "PROVISIONING";
@@ -89,6 +94,15 @@ export declare const PerObjectSyncStatus: {
89
94
  readonly PENDING: "PENDING";
90
95
  };
91
96
  export type PerObjectSyncStatus = (typeof PerObjectSyncStatus)[keyof typeof PerObjectSyncStatus];
97
+ export declare const NatGatewayAttachmentStatus: {
98
+ readonly CREATING: "CREATING";
99
+ readonly DELETING: "DELETING";
100
+ readonly FAILED: "FAILED";
101
+ readonly READY: "READY";
102
+ readonly UPDATING: "UPDATING";
103
+ };
104
+ export type NatGatewayAttachmentStatus =
105
+ (typeof NatGatewayAttachmentStatus)[keyof typeof NatGatewayAttachmentStatus];
92
106
  export declare const RuleOrder: {
93
107
  readonly DEFAULT_ACTION_ORDER: "DEFAULT_ACTION_ORDER";
94
108
  readonly STRICT_ORDER: "STRICT_ORDER";
@@ -111,11 +125,6 @@ export declare const ResourceStatus: {
111
125
  readonly ERROR: "ERROR";
112
126
  };
113
127
  export type ResourceStatus = (typeof ResourceStatus)[keyof typeof ResourceStatus];
114
- export declare const ListenerPropertyType: {
115
- readonly HTTP: "HTTP";
116
- readonly HTTPS: "HTTPS";
117
- };
118
- export type ListenerPropertyType = (typeof ListenerPropertyType)[keyof typeof ListenerPropertyType];
119
128
  export declare const TlsInterceptMode: {
120
129
  readonly DISABLED: "DISABLED";
121
130
  readonly ENABLED: "ENABLED";
@@ -14,6 +14,7 @@ import {
14
14
  ListenerPropertyType,
15
15
  LogDestinationType,
16
16
  LogType,
17
+ NatGatewayAttachmentStatus,
17
18
  OverrideAction,
18
19
  PerObjectSyncStatus,
19
20
  ProxyModifyState,
@@ -129,6 +130,7 @@ export interface Attachment {
129
130
  EndpointId?: string | undefined;
130
131
  Status?: AttachmentStatus | undefined;
131
132
  StatusMessage?: string | undefined;
133
+ DnsName?: string | undefined;
132
134
  }
133
135
  export interface AZSyncState {
134
136
  Attachment?: Attachment | undefined;
@@ -229,6 +231,20 @@ export interface EncryptionConfiguration {
229
231
  KeyId?: string | undefined;
230
232
  Type: EncryptionType | undefined;
231
233
  }
234
+ export interface NatGatewayMapping {
235
+ NatGatewayId: string | undefined;
236
+ }
237
+ export interface ListenerProperty {
238
+ Port?: number | undefined;
239
+ Type?: ListenerPropertyType | undefined;
240
+ }
241
+ export interface ProxySettings {
242
+ ListenerProperties: ListenerProperty[] | undefined;
243
+ }
244
+ export interface VpcEndpoint {
245
+ VpcId: string | undefined;
246
+ SubnetMappings: SubnetMapping[] | undefined;
247
+ }
232
248
  export interface CreateFirewallRequest {
233
249
  FirewallName: string | undefined;
234
250
  FirewallPolicyArn: string | undefined;
@@ -244,6 +260,10 @@ export interface CreateFirewallRequest {
244
260
  TransitGatewayId?: string | undefined;
245
261
  AvailabilityZoneMappings?: AvailabilityZoneMapping[] | undefined;
246
262
  AvailabilityZoneChangeProtection?: boolean | undefined;
263
+ NatGatewayMappings?: NatGatewayMapping[] | undefined;
264
+ ProxySettings?: ProxySettings | undefined;
265
+ NoSourcePreservation?: boolean | undefined;
266
+ VpcEndpoint?: VpcEndpoint | undefined;
247
267
  }
248
268
  export interface Firewall {
249
269
  FirewallName?: string | undefined;
@@ -264,14 +284,25 @@ export interface Firewall {
264
284
  TransitGatewayOwnerAccountId?: string | undefined;
265
285
  AvailabilityZoneMappings?: AvailabilityZoneMapping[] | undefined;
266
286
  AvailabilityZoneChangeProtection?: boolean | undefined;
287
+ NatGatewayMappings?: NatGatewayMapping[] | undefined;
288
+ ProxySettings?: ProxySettings | undefined;
289
+ NoSourcePreservation?: boolean | undefined;
290
+ VpcEndpoint?: VpcEndpoint | undefined;
267
291
  }
268
292
  export interface PerObjectStatus {
269
293
  SyncStatus?: PerObjectSyncStatus | undefined;
270
294
  UpdateToken?: string | undefined;
271
295
  }
296
+ export interface NatGatewayAttachment {
297
+ NatGatewayId: string | undefined;
298
+ Status: NatGatewayAttachmentStatus | undefined;
299
+ StatusMessage?: string | undefined;
300
+ DnsName?: string | undefined;
301
+ }
272
302
  export interface SyncState {
273
303
  Attachment?: Attachment | undefined;
274
304
  Config?: Record<string, PerObjectStatus> | undefined;
305
+ NatGatewayAttachments?: NatGatewayAttachment[] | undefined;
275
306
  }
276
307
  export interface TransitGatewayAttachmentSyncState {
277
308
  AttachmentId?: string | undefined;
@@ -375,10 +406,6 @@ export interface CreateProxyRequest {
375
406
  TlsInterceptProperties: TlsInterceptPropertiesRequest | undefined;
376
407
  Tags?: Tag[] | undefined;
377
408
  }
378
- export interface ListenerProperty {
379
- Port?: number | undefined;
380
- Type?: ListenerPropertyType | undefined;
381
- }
382
409
  export interface TlsInterceptProperties {
383
410
  PcaArn?: string | undefined;
384
411
  TlsInterceptMode?: TlsInterceptMode | undefined;
@@ -1440,6 +1467,18 @@ export interface UpdateProxyRulePrioritiesResponse {
1440
1467
  Rules?: ProxyRulePriority[] | undefined;
1441
1468
  UpdateToken?: string | undefined;
1442
1469
  }
1470
+ export interface UpdateProxySettingsRequest {
1471
+ FirewallArn?: string | undefined;
1472
+ FirewallName?: string | undefined;
1473
+ UpdateToken?: string | undefined;
1474
+ ProxySettings?: ProxySettings | undefined;
1475
+ }
1476
+ export interface UpdateProxySettingsResponse {
1477
+ FirewallArn?: string | undefined;
1478
+ FirewallName?: string | undefined;
1479
+ UpdateToken?: string | undefined;
1480
+ ProxySettings?: ProxySettings | undefined;
1481
+ }
1443
1482
  export interface UpdateRuleGroupRequest {
1444
1483
  UpdateToken: string | undefined;
1445
1484
  RuleGroupArn?: string | undefined;
@@ -176,6 +176,8 @@ export declare var ListVpcEndpointAssociationsResponse$: StaticStructureSchema;
176
176
  export declare var LogDestinationConfig$: StaticStructureSchema;
177
177
  export declare var LoggingConfiguration$: StaticStructureSchema;
178
178
  export declare var MatchAttributes$: StaticStructureSchema;
179
+ export declare var NatGatewayAttachment$: StaticStructureSchema;
180
+ export declare var NatGatewayMapping$: StaticStructureSchema;
179
181
  export declare var PerObjectStatus$: StaticStructureSchema;
180
182
  export declare var PolicyVariables$: StaticStructureSchema;
181
183
  export declare var PortRange$: StaticStructureSchema;
@@ -195,6 +197,7 @@ export declare var ProxyRuleGroupPriority$: StaticStructureSchema;
195
197
  export declare var ProxyRuleGroupPriorityResult$: StaticStructureSchema;
196
198
  export declare var ProxyRulePriority$: StaticStructureSchema;
197
199
  export declare var ProxyRulesByRequestPhase$: StaticStructureSchema;
200
+ export declare var ProxySettings$: StaticStructureSchema;
198
201
  export declare var PublishMetricAction$: StaticStructureSchema;
199
202
  export declare var PutResourcePolicyRequest$: StaticStructureSchema;
200
203
  export declare var PutResourcePolicyResponse$: StaticStructureSchema;
@@ -274,12 +277,15 @@ export declare var UpdateProxyRulePrioritiesRequest$: StaticStructureSchema;
274
277
  export declare var UpdateProxyRulePrioritiesResponse$: StaticStructureSchema;
275
278
  export declare var UpdateProxyRuleRequest$: StaticStructureSchema;
276
279
  export declare var UpdateProxyRuleResponse$: StaticStructureSchema;
280
+ export declare var UpdateProxySettingsRequest$: StaticStructureSchema;
281
+ export declare var UpdateProxySettingsResponse$: StaticStructureSchema;
277
282
  export declare var UpdateRuleGroupRequest$: StaticStructureSchema;
278
283
  export declare var UpdateRuleGroupResponse$: StaticStructureSchema;
279
284
  export declare var UpdateSubnetChangeProtectionRequest$: StaticStructureSchema;
280
285
  export declare var UpdateSubnetChangeProtectionResponse$: StaticStructureSchema;
281
286
  export declare var UpdateTLSInspectionConfigurationRequest$: StaticStructureSchema;
282
287
  export declare var UpdateTLSInspectionConfigurationResponse$: StaticStructureSchema;
288
+ export declare var VpcEndpoint$: StaticStructureSchema;
283
289
  export declare var VpcEndpointAssociation$: StaticStructureSchema;
284
290
  export declare var VpcEndpointAssociationMetadata$: StaticStructureSchema;
285
291
  export declare var VpcEndpointAssociationStatus$: StaticStructureSchema;
@@ -364,6 +370,7 @@ export declare var UpdateProxyConfiguration$: StaticOperationSchema;
364
370
  export declare var UpdateProxyRule$: StaticOperationSchema;
365
371
  export declare var UpdateProxyRuleGroupPriorities$: StaticOperationSchema;
366
372
  export declare var UpdateProxyRulePriorities$: StaticOperationSchema;
373
+ export declare var UpdateProxySettings$: StaticOperationSchema;
367
374
  export declare var UpdateRuleGroup$: StaticOperationSchema;
368
375
  export declare var UpdateSubnetChangeProtection$: StaticOperationSchema;
369
376
  export declare var UpdateTLSInspectionConfiguration$: StaticOperationSchema;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-network-firewall",
3
- "version": "3.1100.0",
3
+ "version": "3.1102.0",
4
4
  "description": "AWS SDK for JavaScript Network Firewall Client for Node.js, Browser and React Native",
5
5
  "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-network-firewall",
6
6
  "license": "Apache-2.0",
@@ -46,8 +46,8 @@
46
46
  "test:index": "tsc --noEmit ./test/index-types.ts && node ./test/index-objects.spec.mjs"
47
47
  },
48
48
  "dependencies": {
49
- "@aws-sdk/core": "^3.977.4",
50
- "@aws-sdk/credential-provider-node": "^3.972.76",
49
+ "@aws-sdk/core": "^3.977.5",
50
+ "@aws-sdk/credential-provider-node": "^3.972.77",
51
51
  "@aws-sdk/types": "^3.974.2",
52
52
  "@smithy/core": "^3.31.1",
53
53
  "@smithy/fetch-http-handler": "^5.6.13",