@aws-sdk/client-network-firewall 3.1101.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 (28) hide show
  1. package/README.md +7 -0
  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 +8 -0
  9. package/dist-types/NetworkFirewallClient.d.ts +3 -2
  10. package/dist-types/commands/CreateFirewallCommand.d.ts +55 -0
  11. package/dist-types/commands/CreateVpcEndpointAssociationCommand.d.ts +1 -0
  12. package/dist-types/commands/DeleteFirewallCommand.d.ts +32 -0
  13. package/dist-types/commands/DeleteVpcEndpointAssociationCommand.d.ts +1 -0
  14. package/dist-types/commands/DescribeFirewallCommand.d.ts +32 -0
  15. package/dist-types/commands/DescribeVpcEndpointAssociationCommand.d.ts +1 -0
  16. package/dist-types/commands/UpdateProxySettingsCommand.d.ts +127 -0
  17. package/dist-types/commands/index.d.ts +1 -0
  18. package/dist-types/models/enums.d.ts +27 -12
  19. package/dist-types/models/models_0.d.ts +194 -17
  20. package/dist-types/schemas/schemas_0.d.ts +7 -0
  21. package/dist-types/ts3.4/NetworkFirewall.d.ts +18 -0
  22. package/dist-types/ts3.4/NetworkFirewallClient.d.ts +6 -0
  23. package/dist-types/ts3.4/commands/UpdateProxySettingsCommand.d.ts +39 -0
  24. package/dist-types/ts3.4/commands/index.d.ts +1 -0
  25. package/dist-types/ts3.4/models/enums.d.ts +14 -5
  26. package/dist-types/ts3.4/models/models_0.d.ts +43 -4
  27. package/dist-types/ts3.4/schemas/schemas_0.d.ts +7 -0
  28. package/package.json +3 -3
@@ -1,4 +1,4 @@
1
- import type { AttachmentStatus, ConfigurationSyncState, ContainerAssociationStatus, ContainerMonitoringType, EnabledAnalysisType, EncryptionType, FirewallStatusValue, FlowOperationStatus, FlowOperationType, GeneratedRulesType, IdentifiedType, IPAddressType, ListenerPropertyType, LogDestinationType, LogType, OverrideAction, PerObjectSyncStatus, ProxyModifyState, ProxyRulePhaseAction, ProxyState, ResourceManagedStatus, ResourceManagedType, ResourceStatus, RevocationCheckAction, RuleGroupRequestPhase, RuleGroupType, RuleOrder, StatefulAction, StatefulRuleDirection, StatefulRuleProtocol, StreamExceptionPolicy, SubscriptionStatus, SummaryRuleOption, TargetType, TCPFlag, TlsInterceptMode, TransitGatewayAttachmentStatus } from "./enums";
1
+ import type { AttachmentStatus, ConfigurationSyncState, ContainerAssociationStatus, ContainerMonitoringType, EnabledAnalysisType, EncryptionType, FirewallStatusValue, FlowOperationStatus, FlowOperationType, GeneratedRulesType, IdentifiedType, IPAddressType, ListenerPropertyType, LogDestinationType, LogType, NatGatewayAttachmentStatus, OverrideAction, PerObjectSyncStatus, ProxyModifyState, ProxyRulePhaseAction, ProxyState, ResourceManagedStatus, ResourceManagedType, ResourceStatus, RevocationCheckAction, RuleGroupRequestPhase, RuleGroupType, RuleOrder, StatefulAction, StatefulRuleDirection, StatefulRuleProtocol, StreamExceptionPolicy, SubscriptionStatus, SummaryRuleOption, TargetType, TCPFlag, TlsInterceptMode, TransitGatewayAttachmentStatus } from "./enums";
2
2
  /**
3
3
  * @public
4
4
  */
@@ -510,6 +510,11 @@ export interface Attachment {
510
510
  * @public
511
511
  */
512
512
  StatusMessage?: string | undefined;
513
+ /**
514
+ * <p>The DNS name that resolves to the firewall endpoint in the subnet. This is populated for proxy mode firewalls, where clients direct traffic to the firewall's proxy using this name. </p>
515
+ * @public
516
+ */
517
+ DnsName?: string | undefined;
513
518
  }
514
519
  /**
515
520
  * <p>The status of the firewall endpoint defined by a <code>VpcEndpointAssociation</code>. </p>
@@ -1006,6 +1011,61 @@ export interface EncryptionConfiguration {
1006
1011
  */
1007
1012
  Type: EncryptionType | undefined;
1008
1013
  }
1014
+ /**
1015
+ * <p>A NAT gateway that a proxy mode firewall uses to proxy traffic. This is used in <a>CreateFirewall</a> when <code>NoSourcePreservation</code> is <code>TRUE</code>. </p>
1016
+ * @public
1017
+ */
1018
+ export interface NatGatewayMapping {
1019
+ /**
1020
+ * <p>A unique identifier for the NAT gateway to use with proxy resources.</p>
1021
+ * @public
1022
+ */
1023
+ NatGatewayId: string | undefined;
1024
+ }
1025
+ /**
1026
+ * <p>Open port for taking HTTP or HTTPS traffic. </p>
1027
+ * @public
1028
+ */
1029
+ export interface ListenerProperty {
1030
+ /**
1031
+ * <p>Port for processing traffic.</p>
1032
+ * @public
1033
+ */
1034
+ Port?: number | undefined;
1035
+ /**
1036
+ * <p>Selection of HTTP or HTTPS traffic.</p>
1037
+ * @public
1038
+ */
1039
+ Type?: ListenerPropertyType | undefined;
1040
+ }
1041
+ /**
1042
+ * <p>The listener configuration for a proxy mode firewall. This specifies the ports and protocols on which the firewall's proxy listens for traffic. </p>
1043
+ * @public
1044
+ */
1045
+ export interface ProxySettings {
1046
+ /**
1047
+ * <p>Listener properties for HTTP and HTTPS traffic. </p>
1048
+ * @public
1049
+ */
1050
+ ListenerProperties: ListenerProperty[] | undefined;
1051
+ }
1052
+ /**
1053
+ * <p>The VPC and subnets for a proxy mode firewall endpoint. This is used in <a>CreateFirewall</a> when <code>NoSourcePreservation</code> is <code>TRUE</code>, to specify where Network Firewall creates the firewall endpoint. </p>
1054
+ * <p>This differs from <a>VpcEndpointAssociation</a>, which defines additional secondary endpoints for a firewall in other VPCs. </p>
1055
+ * @public
1056
+ */
1057
+ export interface VpcEndpoint {
1058
+ /**
1059
+ * <p>The unique identifier of the VPC where Network Firewall creates the proxy mode firewall endpoint. </p>
1060
+ * @public
1061
+ */
1062
+ VpcId: string | undefined;
1063
+ /**
1064
+ * <p>The subnets in which Network Firewall creates the firewall endpoint for a proxy mode firewall. Each subnet must belong to a different Availability Zone in the VPC. </p>
1065
+ * @public
1066
+ */
1067
+ SubnetMappings: SubnetMapping[] | undefined;
1068
+ }
1009
1069
  /**
1010
1070
  * @public
1011
1071
  */
@@ -1097,6 +1157,31 @@ export interface CreateFirewallRequest {
1097
1157
  * @public
1098
1158
  */
1099
1159
  AvailabilityZoneChangeProtection?: boolean | undefined;
1160
+ /**
1161
+ * <p>The NAT gateways that the firewall uses to proxy traffic when <code>NoSourcePreservation</code> is <code>TRUE</code>. Network Firewall attaches the firewall to each NAT gateway that you specify, so that egress traffic is proxied through the NAT gateway. </p>
1162
+ * @public
1163
+ */
1164
+ NatGatewayMappings?: NatGatewayMapping[] | undefined;
1165
+ /**
1166
+ * <p>The listener configuration for a proxy mode firewall, used when <code>NoSourcePreservation</code> is <code>TRUE</code>. This specifies the ports and protocols on which the firewall's proxy listens for traffic. </p>
1167
+ * @public
1168
+ */
1169
+ ProxySettings?: ProxySettings | undefined;
1170
+ /**
1171
+ * <p>Optional. Indicates whether the firewall operates in proxy mode, in which the source IP address of the traffic is not preserved. When set to <code>TRUE</code>, the firewall proxies traffic through a NAT gateway and the traffic reaching the destination uses the NAT gateway's IP address as the source. </p>
1172
+ * <p>When you set this to <code>TRUE</code>, you must specify <code>NatGatewayMappings</code> and <code>VpcEndpoint</code> instead of a top-level <code>VpcId</code> and <code>SubnetMappings</code>. </p>
1173
+ * <p>You can't change this setting after you create the firewall. </p>
1174
+ * <p>Default value: <code>FALSE</code>
1175
+ * </p>
1176
+ * @public
1177
+ */
1178
+ NoSourcePreservation?: boolean | undefined;
1179
+ /**
1180
+ * <p>The VPC and subnets for the firewall endpoint, used when <code>NoSourcePreservation</code> is <code>TRUE</code>. Network Firewall creates the firewall endpoint in the subnets that you specify here. </p>
1181
+ * <p>For proxy mode firewalls, provide the firewall's VPC and endpoint subnets through this parameter instead of the top-level <code>VpcId</code> and <code>SubnetMappings</code>. </p>
1182
+ * @public
1183
+ */
1184
+ VpcEndpoint?: VpcEndpoint | undefined;
1100
1185
  }
1101
1186
  /**
1102
1187
  * <p>A firewall defines the behavior of a firewall, the main VPC where the firewall is used, the Availability Zones where the firewall can be used, and one subnet to use for a firewall endpoint within each of the Availability Zones. The Availability Zones are defined implicitly in the subnet specifications.</p>
@@ -1208,6 +1293,26 @@ export interface Firewall {
1208
1293
  * @public
1209
1294
  */
1210
1295
  AvailabilityZoneChangeProtection?: boolean | undefined;
1296
+ /**
1297
+ * <p>The NAT gateways that the firewall uses to proxy traffic. This is set for proxy mode firewalls, where <code>NoSourcePreservation</code> is <code>TRUE</code>. </p>
1298
+ * @public
1299
+ */
1300
+ NatGatewayMappings?: NatGatewayMapping[] | undefined;
1301
+ /**
1302
+ * <p>The listener configuration for the firewall's proxy. This is set for proxy mode firewalls, where <code>NoSourcePreservation</code> is <code>TRUE</code>. </p>
1303
+ * @public
1304
+ */
1305
+ ProxySettings?: ProxySettings | undefined;
1306
+ /**
1307
+ * <p>Indicates whether the firewall operates in proxy mode, in which the source IP address of the traffic is not preserved. When this value is <code>TRUE</code>, the firewall proxies traffic through a NAT gateway and uses the NAT gateway's IP address as the source for traffic reaching the destination. </p>
1308
+ * @public
1309
+ */
1310
+ NoSourcePreservation?: boolean | undefined;
1311
+ /**
1312
+ * <p>The VPC and subnets for the firewall endpoint. This is set for proxy mode firewalls, where <code>NoSourcePreservation</code> is <code>TRUE</code>. </p>
1313
+ * @public
1314
+ */
1315
+ VpcEndpoint?: VpcEndpoint | undefined;
1211
1316
  }
1212
1317
  /**
1213
1318
  * <p>Provides configuration status for a single policy or rule group that is used for a firewall endpoint. Network Firewall
@@ -1228,6 +1333,33 @@ export interface PerObjectStatus {
1228
1333
  */
1229
1334
  UpdateToken?: string | undefined;
1230
1335
  }
1336
+ /**
1337
+ * <p>The definition and status of the attachment between a proxy mode firewall and a NAT gateway that proxies its traffic. </p>
1338
+ * @public
1339
+ */
1340
+ export interface NatGatewayAttachment {
1341
+ /**
1342
+ * <p>A unique identifier for the NAT gateway to use with proxy resources.</p>
1343
+ * @public
1344
+ */
1345
+ NatGatewayId: string | undefined;
1346
+ /**
1347
+ * <p>The current status of the NAT gateway attachment. </p>
1348
+ * <p>When this value is <code>READY</code>, the attachment is available to proxy traffic. Otherwise, this value reflects its state, for example <code>CREATING</code> or <code>DELETING</code>.</p>
1349
+ * @public
1350
+ */
1351
+ Status: NatGatewayAttachmentStatus | undefined;
1352
+ /**
1353
+ * <p>If Network Firewall encounters an issue with the NAT gateway attachment, it populates this with an explanation of the problem. </p>
1354
+ * @public
1355
+ */
1356
+ StatusMessage?: string | undefined;
1357
+ /**
1358
+ * <p>The DNS name that resolves to the firewall's proxy for traffic sent through this NAT gateway attachment. </p>
1359
+ * @public
1360
+ */
1361
+ DnsName?: string | undefined;
1362
+ }
1231
1363
  /**
1232
1364
  * <p>The status of the firewall endpoint and firewall policy configuration for a single VPC subnet.
1233
1365
  * This is part of the <a>FirewallStatus</a>. </p>
@@ -1263,6 +1395,11 @@ export interface SyncState {
1263
1395
  * @public
1264
1396
  */
1265
1397
  Config?: Record<string, PerObjectStatus> | undefined;
1398
+ /**
1399
+ * <p>The status of the NAT gateway attachments for a proxy mode firewall in the Availability Zone. This reflects the attachment of the firewall to each NAT gateway that proxies its traffic. </p>
1400
+ * @public
1401
+ */
1402
+ NatGatewayAttachments?: NatGatewayAttachment[] | undefined;
1266
1403
  }
1267
1404
  /**
1268
1405
  * <p>Contains information about the synchronization state of a transit gateway attachment, including its current status and any error messages. Network Firewall uses this to track the state of your transit gateway configuration changes.</p>
@@ -1945,22 +2082,6 @@ export interface CreateProxyRequest {
1945
2082
  */
1946
2083
  Tags?: Tag[] | undefined;
1947
2084
  }
1948
- /**
1949
- * <p>Open port for taking HTTP or HTTPS traffic. </p>
1950
- * @public
1951
- */
1952
- export interface ListenerProperty {
1953
- /**
1954
- * <p>Port for processing traffic.</p>
1955
- * @public
1956
- */
1957
- Port?: number | undefined;
1958
- /**
1959
- * <p>Selection of HTTP or HTTPS traffic.</p>
1960
- * @public
1961
- */
1962
- Type?: ListenerPropertyType | undefined;
1963
- }
1964
2085
  /**
1965
2086
  * <p>TLS decryption on traffic to filter on attributes in the HTTP header. </p>
1966
2087
  * @public
@@ -7332,6 +7453,62 @@ export interface UpdateProxyRulePrioritiesResponse {
7332
7453
  */
7333
7454
  UpdateToken?: string | undefined;
7334
7455
  }
7456
+ /**
7457
+ * @public
7458
+ */
7459
+ export interface UpdateProxySettingsRequest {
7460
+ /**
7461
+ * <p>The Amazon Resource Name (ARN) of the firewall.</p>
7462
+ * <p>You must specify the ARN or the name, and you can specify both. </p>
7463
+ * @public
7464
+ */
7465
+ FirewallArn?: string | undefined;
7466
+ /**
7467
+ * <p>The descriptive name of the firewall. You can't change the name of a firewall after you create it.</p>
7468
+ * <p>You must specify the ARN or the name, and you can specify both. </p>
7469
+ * @public
7470
+ */
7471
+ FirewallName?: string | undefined;
7472
+ /**
7473
+ * <p>An optional token that you can use for optimistic locking. Network Firewall returns a token to your requests that access the firewall. The token marks the state of the firewall resource at the time of the request. </p>
7474
+ * <p>To make an unconditional change to the firewall, omit the token in your update request. Without the token, Network Firewall performs your updates regardless of whether the firewall has changed since you last retrieved it.</p>
7475
+ * <p>To make a conditional change to the firewall, provide the token in your update request. Network Firewall uses the token to ensure that the firewall hasn't changed since you last retrieved it. If it has changed, the operation fails with an <code>InvalidTokenException</code>. If this happens, retrieve the firewall again to get a current copy of it with a new token. Reapply your changes as needed, then try the operation again using the new token. </p>
7476
+ * @public
7477
+ */
7478
+ UpdateToken?: string | undefined;
7479
+ /**
7480
+ * <p>The proxy listener configuration to set on the firewall. This specifies the ports and protocols on which the firewall's proxy listens for traffic. </p>
7481
+ * @public
7482
+ */
7483
+ ProxySettings?: ProxySettings | undefined;
7484
+ }
7485
+ /**
7486
+ * @public
7487
+ */
7488
+ export interface UpdateProxySettingsResponse {
7489
+ /**
7490
+ * <p>The Amazon Resource Name (ARN) of the firewall.</p>
7491
+ * @public
7492
+ */
7493
+ FirewallArn?: string | undefined;
7494
+ /**
7495
+ * <p>The descriptive name of the firewall. You can't change the name of a firewall after you create it.</p>
7496
+ * @public
7497
+ */
7498
+ FirewallName?: string | undefined;
7499
+ /**
7500
+ * <p>An optional token that you can use for optimistic locking. Network Firewall returns a token to your requests that access the firewall. The token marks the state of the firewall resource at the time of the request. </p>
7501
+ * <p>To make an unconditional change to the firewall, omit the token in your update request. Without the token, Network Firewall performs your updates regardless of whether the firewall has changed since you last retrieved it.</p>
7502
+ * <p>To make a conditional change to the firewall, provide the token in your update request. Network Firewall uses the token to ensure that the firewall hasn't changed since you last retrieved it. If it has changed, the operation fails with an <code>InvalidTokenException</code>. If this happens, retrieve the firewall again to get a current copy of it with a new token. Reapply your changes as needed, then try the operation again using the new token. </p>
7503
+ * @public
7504
+ */
7505
+ UpdateToken?: string | undefined;
7506
+ /**
7507
+ * <p>The updated proxy listener configuration on the firewall. </p>
7508
+ * @public
7509
+ */
7510
+ ProxySettings?: ProxySettings | undefined;
7511
+ }
7335
7512
  /**
7336
7513
  * @public
7337
7514
  */
@@ -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.1101.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",