@aws-sdk/client-network-firewall 3.1154.0 → 3.1155.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 (42) hide show
  1. package/README.md +2 -2
  2. package/dist-cjs/index.js +117 -24
  3. package/dist-es/NetworkFirewall.js +5 -1
  4. package/dist-es/index.js +1 -0
  5. package/dist-es/models/enums.js +16 -0
  6. package/dist-es/schemas/schemas_0.js +49 -21
  7. package/dist-es/waiters/index.js +1 -0
  8. package/dist-es/waiters/waitForFirewallPolicyActive.js +40 -0
  9. package/dist-types/NetworkFirewall.d.ts +10 -3
  10. package/dist-types/NetworkFirewallClient.d.ts +4 -3
  11. package/dist-types/commands/CreateFirewallPolicyCommand.d.ts +28 -1
  12. package/dist-types/commands/CreateRuleGroupCommand.d.ts +2 -2
  13. package/dist-types/commands/CreateTLSInspectionConfigurationCommand.d.ts +1 -1
  14. package/dist-types/commands/DeleteFirewallPolicyCommand.d.ts +9 -1
  15. package/dist-types/commands/DeleteRuleGroupCommand.d.ts +1 -1
  16. package/dist-types/commands/DeleteTLSInspectionConfigurationCommand.d.ts +1 -1
  17. package/dist-types/commands/DescribeFirewallPolicyCommand.d.ts +24 -1
  18. package/dist-types/commands/DescribeFlowOperationCommand.d.ts +2 -0
  19. package/dist-types/commands/DescribeRuleGroupCommand.d.ts +2 -2
  20. package/dist-types/commands/DescribeTLSInspectionConfigurationCommand.d.ts +1 -1
  21. package/dist-types/commands/ListFlowOperationResultsCommand.d.ts +2 -0
  22. package/dist-types/commands/ListFlowOperationsCommand.d.ts +1 -0
  23. package/dist-types/commands/StartFlowCaptureCommand.d.ts +1 -0
  24. package/dist-types/commands/StartFlowFlushCommand.d.ts +1 -0
  25. package/dist-types/commands/UpdateContainerAssociationCommand.d.ts +3 -0
  26. package/dist-types/commands/UpdateFirewallPolicyCommand.d.ts +28 -1
  27. package/dist-types/commands/UpdateRuleGroupCommand.d.ts +2 -2
  28. package/dist-types/commands/UpdateTLSInspectionConfigurationCommand.d.ts +1 -1
  29. package/dist-types/index.d.ts +3 -2
  30. package/dist-types/models/enums.d.ts +40 -0
  31. package/dist-types/models/models_0.d.ts +293 -16
  32. package/dist-types/schemas/schemas_0.d.ts +2 -0
  33. package/dist-types/ts3.4/NetworkFirewall.d.ts +11 -0
  34. package/dist-types/ts3.4/index.d.ts +1 -0
  35. package/dist-types/ts3.4/models/enums.d.ts +22 -0
  36. package/dist-types/ts3.4/models/models_0.d.ts +25 -0
  37. package/dist-types/ts3.4/schemas/schemas_0.d.ts +2 -0
  38. package/dist-types/ts3.4/waiters/index.d.ts +1 -0
  39. package/dist-types/ts3.4/waiters/waitForFirewallPolicyActive.d.ts +15 -0
  40. package/dist-types/waiters/index.d.ts +1 -0
  41. package/dist-types/waiters/waitForFirewallPolicyActive.d.ts +15 -0
  42. package/package.json +5 -5
@@ -3,8 +3,10 @@ import {
3
3
  ConfigurationSyncState,
4
4
  ContainerAssociationStatus,
5
5
  ContainerMonitoringType,
6
+ DNSExpiryExceptionPolicy,
6
7
  EnabledAnalysisType,
7
8
  EncryptionType,
9
+ FirewallPolicyErrorCode,
8
10
  FirewallStatusValue,
9
11
  FlowOperationStatus,
10
12
  FlowOperationType,
@@ -24,6 +26,7 @@ import {
24
26
  ResourceManagedType,
25
27
  ResourceStatus,
26
28
  RevocationCheckAction,
29
+ Route53ResolvedIPValidationAction,
27
30
  RuleGroupRequestPhase,
28
31
  RuleGroupType,
29
32
  RuleOrder,
@@ -326,6 +329,13 @@ export interface IPSet {
326
329
  export interface PolicyVariables {
327
330
  RuleVariables?: Record<string, IPSet> | undefined;
328
331
  }
332
+ export interface Route53ResolvedIPValidation {
333
+ Action: Route53ResolvedIPValidationAction | undefined;
334
+ DNSFirewallRuleGroupId: string | undefined;
335
+ DNSExpiryExceptionPolicy: DNSExpiryExceptionPolicy | undefined;
336
+ BypassDestinationValidationIPRanges?: Address[] | undefined;
337
+ SourceIPRanges?: Address[] | undefined;
338
+ }
329
339
  export interface FlowTimeouts {
330
340
  TcpIdleTimeoutSeconds?: number | undefined;
331
341
  }
@@ -362,6 +372,7 @@ export interface FirewallPolicy {
362
372
  TLSInspectionConfigurationArn?: string | undefined;
363
373
  PolicyVariables?: PolicyVariables | undefined;
364
374
  EnableTLSSessionHolding?: boolean | undefined;
375
+ Route53ResolvedIPValidation?: Route53ResolvedIPValidation | undefined;
365
376
  }
366
377
  export interface CreateFirewallPolicyRequest {
367
378
  FirewallPolicyName: string | undefined;
@@ -371,18 +382,25 @@ export interface CreateFirewallPolicyRequest {
371
382
  DryRun?: boolean | undefined;
372
383
  EncryptionConfiguration?: EncryptionConfiguration | undefined;
373
384
  }
385
+ export interface FirewallPolicyError {
386
+ Code: FirewallPolicyErrorCode | undefined;
387
+ Message: string | undefined;
388
+ ResourceId?: string | undefined;
389
+ }
374
390
  export interface FirewallPolicyResponse {
375
391
  FirewallPolicyName: string | undefined;
376
392
  FirewallPolicyArn: string | undefined;
377
393
  FirewallPolicyId: string | undefined;
378
394
  Description?: string | undefined;
379
395
  FirewallPolicyStatus?: ResourceStatus | undefined;
396
+ StatusMessage?: string | undefined;
380
397
  Tags?: Tag[] | undefined;
381
398
  ConsumedStatelessRuleCapacity?: number | undefined;
382
399
  ConsumedStatefulRuleCapacity?: number | undefined;
383
400
  ConsumedStatefulDomainCapacity?: number | undefined;
384
401
  NumberOfAssociations?: number | undefined;
385
402
  EncryptionConfiguration?: EncryptionConfiguration | undefined;
403
+ Errors?: FirewallPolicyError[] | undefined;
386
404
  LastModifiedTime?: Date | undefined;
387
405
  }
388
406
  export interface CreateFirewallPolicyResponse {
@@ -826,6 +844,7 @@ export interface DescribeFirewallPolicyResponse {
826
844
  export interface DescribeFlowOperationRequest {
827
845
  FirewallArn: string | undefined;
828
846
  AvailabilityZone?: string | undefined;
847
+ AvailabilityZoneId?: string | undefined;
829
848
  VpcEndpointAssociationArn?: string | undefined;
830
849
  VpcEndpointId?: string | undefined;
831
850
  FlowOperationId: string | undefined;
@@ -844,6 +863,7 @@ export interface FlowOperation {
844
863
  export interface DescribeFlowOperationResponse {
845
864
  FirewallArn?: string | undefined;
846
865
  AvailabilityZone?: string | undefined;
866
+ AvailabilityZoneId?: string | undefined;
847
867
  VpcEndpointAssociationArn?: string | undefined;
848
868
  VpcEndpointId?: string | undefined;
849
869
  FlowOperationId?: string | undefined;
@@ -1107,12 +1127,14 @@ export interface ListFlowOperationResultsRequest {
1107
1127
  NextToken?: string | undefined;
1108
1128
  MaxResults?: number | undefined;
1109
1129
  AvailabilityZone?: string | undefined;
1130
+ AvailabilityZoneId?: string | undefined;
1110
1131
  VpcEndpointId?: string | undefined;
1111
1132
  VpcEndpointAssociationArn?: string | undefined;
1112
1133
  }
1113
1134
  export interface ListFlowOperationResultsResponse {
1114
1135
  FirewallArn?: string | undefined;
1115
1136
  AvailabilityZone?: string | undefined;
1137
+ AvailabilityZoneId?: string | undefined;
1116
1138
  VpcEndpointAssociationArn?: string | undefined;
1117
1139
  VpcEndpointId?: string | undefined;
1118
1140
  FlowOperationId?: string | undefined;
@@ -1125,6 +1147,7 @@ export interface ListFlowOperationResultsResponse {
1125
1147
  export interface ListFlowOperationsRequest {
1126
1148
  FirewallArn: string | undefined;
1127
1149
  AvailabilityZone?: string | undefined;
1150
+ AvailabilityZoneId?: string | undefined;
1128
1151
  VpcEndpointAssociationArn?: string | undefined;
1129
1152
  VpcEndpointId?: string | undefined;
1130
1153
  FlowOperationType?: FlowOperationType | undefined;
@@ -1244,6 +1267,7 @@ export interface StartAnalysisReportResponse {
1244
1267
  export interface StartFlowCaptureRequest {
1245
1268
  FirewallArn: string | undefined;
1246
1269
  AvailabilityZone?: string | undefined;
1270
+ AvailabilityZoneId?: string | undefined;
1247
1271
  VpcEndpointAssociationArn?: string | undefined;
1248
1272
  VpcEndpointId?: string | undefined;
1249
1273
  MinimumFlowAgeInSeconds?: number | undefined;
@@ -1257,6 +1281,7 @@ export interface StartFlowCaptureResponse {
1257
1281
  export interface StartFlowFlushRequest {
1258
1282
  FirewallArn: string | undefined;
1259
1283
  AvailabilityZone?: string | undefined;
1284
+ AvailabilityZoneId?: string | undefined;
1260
1285
  VpcEndpointAssociationArn?: string | undefined;
1261
1286
  VpcEndpointId?: string | undefined;
1262
1287
  MinimumFlowAgeInSeconds?: number | undefined;
@@ -130,6 +130,7 @@ export declare var EncryptionConfiguration$: StaticStructureSchema;
130
130
  export declare var Firewall$: StaticStructureSchema;
131
131
  export declare var FirewallMetadata$: StaticStructureSchema;
132
132
  export declare var FirewallPolicy$: StaticStructureSchema;
133
+ export declare var FirewallPolicyError$: StaticStructureSchema;
133
134
  export declare var FirewallPolicyMetadata$: StaticStructureSchema;
134
135
  export declare var FirewallPolicyResponse$: StaticStructureSchema;
135
136
  export declare var FirewallStatus$: StaticStructureSchema;
@@ -204,6 +205,7 @@ export declare var PutResourcePolicyResponse$: StaticStructureSchema;
204
205
  export declare var ReferenceSets$: StaticStructureSchema;
205
206
  export declare var RejectNetworkFirewallTransitGatewayAttachmentRequest$: StaticStructureSchema;
206
207
  export declare var RejectNetworkFirewallTransitGatewayAttachmentResponse$: StaticStructureSchema;
208
+ export declare var Route53ResolvedIPValidation$: StaticStructureSchema;
207
209
  export declare var RuleDefinition$: StaticStructureSchema;
208
210
  export declare var RuleGroup$: StaticStructureSchema;
209
211
  export declare var RuleGroupMetadata$: StaticStructureSchema;
@@ -0,0 +1 @@
1
+ export * from "./waitForFirewallPolicyActive";
@@ -0,0 +1,15 @@
1
+ import { WaiterConfiguration, WaiterResult } from "@smithy/core/client";
2
+ import {
3
+ DescribeFirewallPolicyCommandInput,
4
+ DescribeFirewallPolicyCommandOutput,
5
+ } from "../commands/DescribeFirewallPolicyCommand";
6
+ import { NetworkFirewallServiceException } from "../models/NetworkFirewallServiceException";
7
+ import { NetworkFirewallClient } from "../NetworkFirewallClient";
8
+ export declare const waitForFirewallPolicyActive: (
9
+ params: WaiterConfiguration<NetworkFirewallClient>,
10
+ input: DescribeFirewallPolicyCommandInput,
11
+ ) => Promise<WaiterResult<DescribeFirewallPolicyCommandOutput | NetworkFirewallServiceException>>;
12
+ export declare const waitUntilFirewallPolicyActive: (
13
+ params: WaiterConfiguration<NetworkFirewallClient>,
14
+ input: DescribeFirewallPolicyCommandInput,
15
+ ) => Promise<WaiterResult<DescribeFirewallPolicyCommandOutput>>;
@@ -0,0 +1 @@
1
+ export * from "./waitForFirewallPolicyActive";
@@ -0,0 +1,15 @@
1
+ import { type WaiterConfiguration, type WaiterResult } from "@smithy/core/client";
2
+ import { type DescribeFirewallPolicyCommandInput, type DescribeFirewallPolicyCommandOutput } from "../commands/DescribeFirewallPolicyCommand";
3
+ import type { NetworkFirewallServiceException } from "../models/NetworkFirewallServiceException";
4
+ import type { NetworkFirewallClient } from "../NetworkFirewallClient";
5
+ /**
6
+ *
7
+ * @deprecated Use waitUntilFirewallPolicyActive instead. waitForFirewallPolicyActive does not throw error in non-success cases.
8
+ */
9
+ export declare const waitForFirewallPolicyActive: (params: WaiterConfiguration<NetworkFirewallClient>, input: DescribeFirewallPolicyCommandInput) => Promise<WaiterResult<DescribeFirewallPolicyCommandOutput | NetworkFirewallServiceException>>;
10
+ /**
11
+ *
12
+ * @param params - Waiter configuration options.
13
+ * @param input - The input to DescribeFirewallPolicyCommand for polling.
14
+ */
15
+ export declare const waitUntilFirewallPolicyActive: (params: WaiterConfiguration<NetworkFirewallClient>, input: DescribeFirewallPolicyCommandInput) => Promise<WaiterResult<DescribeFirewallPolicyCommandOutput>>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-network-firewall",
3
- "version": "3.1154.0",
3
+ "version": "3.1155.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,10 +46,10 @@
46
46
  "test:index": "tsc -p tsconfig.test.json && node ./test/index-objects.spec.mjs"
47
47
  },
48
48
  "dependencies": {
49
- "@aws-sdk/core": "^3.978.4",
50
- "@aws-sdk/credential-provider-node": "^3.972.87",
51
- "@aws-sdk/types": "^3.974.6",
52
- "@smithy/core": "^3.36.0",
49
+ "@aws-sdk/core": "^3.978.5",
50
+ "@aws-sdk/credential-provider-node": "^3.972.88",
51
+ "@aws-sdk/types": "^3.975.0",
52
+ "@smithy/core": "^3.36.1",
53
53
  "@smithy/fetch-http-handler": "^5.8.0",
54
54
  "@smithy/node-http-handler": "^4.12.1",
55
55
  "@smithy/types": "^4.19.0",