@aws-sdk/client-network-firewall 3.1169.0 → 3.1171.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 (43) hide show
  1. package/README.md +21 -7
  2. package/dist-cjs/index.js +184 -51
  3. package/dist-es/NetworkFirewall.js +8 -0
  4. package/dist-es/commands/ListContextStoresCommand.js +4 -0
  5. package/dist-es/commands/ListResourcesInContextStoreCommand.js +4 -0
  6. package/dist-es/commands/index.js +2 -0
  7. package/dist-es/models/enums.js +19 -0
  8. package/dist-es/pagination/ListContextStoresPaginator.js +4 -0
  9. package/dist-es/pagination/ListResourcesInContextStorePaginator.js +4 -0
  10. package/dist-es/pagination/index.js +2 -0
  11. package/dist-es/schemas/schemas_0.js +133 -50
  12. package/dist-types/NetworkFirewall.d.ts +29 -0
  13. package/dist-types/NetworkFirewallClient.d.ts +4 -2
  14. package/dist-types/commands/CreateFirewallCommand.d.ts +6 -0
  15. package/dist-types/commands/CreateFirewallPolicyV2Command.d.ts +14 -0
  16. package/dist-types/commands/CreateRuleGroupCommand.d.ts +21 -0
  17. package/dist-types/commands/DeleteFirewallCommand.d.ts +6 -0
  18. package/dist-types/commands/DescribeFirewallCommand.d.ts +6 -0
  19. package/dist-types/commands/DescribeFirewallPolicyV2Command.d.ts +14 -0
  20. package/dist-types/commands/DescribeRuleGroupCommand.d.ts +21 -0
  21. package/dist-types/commands/ListContextStoresCommand.d.ts +105 -0
  22. package/dist-types/commands/ListResourcesInContextStoreCommand.d.ts +116 -0
  23. package/dist-types/commands/UpdateFirewallPolicyV2Command.d.ts +14 -0
  24. package/dist-types/commands/UpdateRuleGroupCommand.d.ts +21 -0
  25. package/dist-types/commands/index.d.ts +2 -0
  26. package/dist-types/models/enums.d.ts +43 -0
  27. package/dist-types/models/models_0.d.ts +257 -1
  28. package/dist-types/pagination/ListContextStoresPaginator.d.ts +7 -0
  29. package/dist-types/pagination/ListResourcesInContextStorePaginator.d.ts +7 -0
  30. package/dist-types/pagination/index.d.ts +2 -0
  31. package/dist-types/schemas/schemas_0.d.ts +11 -0
  32. package/dist-types/ts3.4/NetworkFirewall.d.ts +49 -0
  33. package/dist-types/ts3.4/NetworkFirewallClient.d.ts +12 -0
  34. package/dist-types/ts3.4/commands/ListContextStoresCommand.d.ts +39 -0
  35. package/dist-types/ts3.4/commands/ListResourcesInContextStoreCommand.d.ts +42 -0
  36. package/dist-types/ts3.4/commands/index.d.ts +2 -0
  37. package/dist-types/ts3.4/models/enums.d.ts +23 -0
  38. package/dist-types/ts3.4/models/models_0.d.ts +47 -0
  39. package/dist-types/ts3.4/pagination/ListContextStoresPaginator.d.ts +11 -0
  40. package/dist-types/ts3.4/pagination/ListResourcesInContextStorePaginator.d.ts +11 -0
  41. package/dist-types/ts3.4/pagination/index.d.ts +2 -0
  42. package/dist-types/ts3.4/schemas/schemas_0.d.ts +11 -0
  43. package/package.json +1 -1
@@ -4,6 +4,8 @@ import {
4
4
  ConfigurationSyncState,
5
5
  ContainerAssociationStatus,
6
6
  ContainerMonitoringType,
7
+ ContextStoreSyncStatus,
8
+ ContextType,
7
9
  DecryptionAction,
8
10
  DNSExpiryExceptionPolicy,
9
11
  EnabledAnalysisType,
@@ -31,6 +33,7 @@ import {
31
33
  ResourceManagedStatus,
32
34
  ResourceManagedType,
33
35
  ResourceStatus,
36
+ ResourceType,
34
37
  RevocationCheckAction,
35
38
  Route53ResolvedIPValidationAction,
36
39
  RuleGroupType,
@@ -189,6 +192,21 @@ export interface ContainerMonitoringConfiguration {
189
192
  ClusterArn: string | undefined;
190
193
  AttributeFilters?: ContainerAttribute[] | undefined;
191
194
  }
195
+ export interface ContextFilters {
196
+ Region?: string | undefined;
197
+ ResourceType?: ResourceType | undefined;
198
+ }
199
+ export interface ContextSet {
200
+ Definition: string[] | undefined;
201
+ }
202
+ export interface ContextStore {
203
+ ContextStoreId: string | undefined;
204
+ ContextStoreOwnerAccountId: string | undefined;
205
+ }
206
+ export interface ContextStoreSyncState {
207
+ SyncStatus?: ContextStoreSyncStatus | undefined;
208
+ StatusMessage?: string | undefined;
209
+ }
192
210
  export interface Tag {
193
211
  Key: string | undefined;
194
212
  Value: string | undefined;
@@ -269,6 +287,8 @@ export interface Firewall {
269
287
  NatGatewayCreateMappings?: NatGatewayCreateMapping[] | undefined;
270
288
  ProxySettings?: ProxySettings | undefined;
271
289
  VpcEndpoint?: VpcEndpoint | undefined;
290
+ ContextStoreId?: string | undefined;
291
+ ContextStoreOwnerAccountId?: string | undefined;
272
292
  TransparentFilteringNatScope?: TransparentFilteringNatScope | undefined;
273
293
  }
274
294
  export interface PerObjectStatus {
@@ -297,6 +317,7 @@ export interface FirewallStatus {
297
317
  SyncStates?: Record<string, SyncState> | undefined;
298
318
  CapacityUsageSummary?: CapacityUsageSummary | undefined;
299
319
  TransitGatewayAttachmentSyncState?: TransitGatewayAttachmentSyncState | undefined;
320
+ ContextStoreSyncState?: ContextStoreSyncState | undefined;
300
321
  }
301
322
  export interface CreateFirewallResponse {
302
323
  Firewall?: Firewall | undefined;
@@ -431,6 +452,7 @@ export interface PortSet {
431
452
  export interface RuleVariables {
432
453
  IPSets?: Record<string, IPSet> | undefined;
433
454
  PortSets?: Record<string, PortSet> | undefined;
455
+ ContextSets?: Record<string, ContextSet> | undefined;
434
456
  }
435
457
  export interface FirewallRuleGroup {
436
458
  RulesSource: FirewallRulesSource | undefined;
@@ -1043,6 +1065,14 @@ export interface ListContainerAssociationsResponse {
1043
1065
  ContainerAssociations?: ContainerAssociationSummary[] | undefined;
1044
1066
  NextToken?: string | undefined;
1045
1067
  }
1068
+ export interface ListContextStoresRequest {
1069
+ NextToken?: string | undefined;
1070
+ MaxResults?: number | undefined;
1071
+ }
1072
+ export interface ListContextStoresResponse {
1073
+ NextToken?: string | undefined;
1074
+ ContextStores: ContextStore[] | undefined;
1075
+ }
1046
1076
  export interface ListFirewallPoliciesRequest {
1047
1077
  NextToken?: string | undefined;
1048
1078
  MaxResults?: number | undefined;
@@ -1105,6 +1135,23 @@ export interface ListFlowOperationsResponse {
1105
1135
  FlowOperations?: FlowOperationMetadata[] | undefined;
1106
1136
  NextToken?: string | undefined;
1107
1137
  }
1138
+ export interface ListResourcesInContextStoreRequest {
1139
+ ContextStoreId: string | undefined;
1140
+ Filters?: ContextFilters | undefined;
1141
+ MaxResults?: number | undefined;
1142
+ NextToken?: string | undefined;
1143
+ }
1144
+ export interface ResourceContext {
1145
+ ContextType?: ContextType | undefined;
1146
+ Region?: string | undefined;
1147
+ AvailabilityZone?: string | undefined;
1148
+ AttachmentType?: string | undefined;
1149
+ PublicId: string | undefined;
1150
+ }
1151
+ export interface ListResourcesInContextStoreResponse {
1152
+ ResourceContexts: ResourceContext[] | undefined;
1153
+ NextToken?: string | undefined;
1154
+ }
1108
1155
  export interface ListRuleGroupsRequest {
1109
1156
  NextToken?: string | undefined;
1110
1157
  MaxResults?: number | undefined;
@@ -0,0 +1,11 @@
1
+ import { Paginator } from "@smithy/types";
2
+ import {
3
+ ListContextStoresCommandInput,
4
+ ListContextStoresCommandOutput,
5
+ } from "../commands/ListContextStoresCommand";
6
+ import { NetworkFirewallPaginationConfiguration } from "./Interfaces";
7
+ export declare const paginateListContextStores: (
8
+ config: NetworkFirewallPaginationConfiguration,
9
+ input: ListContextStoresCommandInput,
10
+ ...rest: any[]
11
+ ) => Paginator<ListContextStoresCommandOutput>;
@@ -0,0 +1,11 @@
1
+ import { Paginator } from "@smithy/types";
2
+ import {
3
+ ListResourcesInContextStoreCommandInput,
4
+ ListResourcesInContextStoreCommandOutput,
5
+ } from "../commands/ListResourcesInContextStoreCommand";
6
+ import { NetworkFirewallPaginationConfiguration } from "./Interfaces";
7
+ export declare const paginateListResourcesInContextStore: (
8
+ config: NetworkFirewallPaginationConfiguration,
9
+ input: ListResourcesInContextStoreCommandInput,
10
+ ...rest: any[]
11
+ ) => Paginator<ListResourcesInContextStoreCommandOutput>;
@@ -2,11 +2,13 @@ export * from "./Interfaces";
2
2
  export * from "./GetAnalysisReportResultsPaginator";
3
3
  export * from "./ListAnalysisReportsPaginator";
4
4
  export * from "./ListContainerAssociationsPaginator";
5
+ export * from "./ListContextStoresPaginator";
5
6
  export * from "./ListFirewallPoliciesPaginator";
6
7
  export * from "./ListFirewallPoliciesV2Paginator";
7
8
  export * from "./ListFirewallsPaginator";
8
9
  export * from "./ListFlowOperationResultsPaginator";
9
10
  export * from "./ListFlowOperationsPaginator";
11
+ export * from "./ListResourcesInContextStorePaginator";
10
12
  export * from "./ListRuleGroupsPaginator";
11
13
  export * from "./ListTagsForResourcePaginator";
12
14
  export * from "./ListTLSInspectionConfigurationsPaginator";
@@ -37,6 +37,10 @@ export declare var CIDRSummary$: StaticStructureSchema;
37
37
  export declare var ContainerAssociationSummary$: StaticStructureSchema;
38
38
  export declare var ContainerAttribute$: StaticStructureSchema;
39
39
  export declare var ContainerMonitoringConfiguration$: StaticStructureSchema;
40
+ export declare var ContextFilters$: StaticStructureSchema;
41
+ export declare var ContextSet$: StaticStructureSchema;
42
+ export declare var ContextStore$: StaticStructureSchema;
43
+ export declare var ContextStoreSyncState$: StaticStructureSchema;
40
44
  export declare var CreateContainerAssociationRequest$: StaticStructureSchema;
41
45
  export declare var CreateContainerAssociationResponse$: StaticStructureSchema;
42
46
  export declare var CreateFirewallPolicyRequest$: StaticStructureSchema;
@@ -142,6 +146,8 @@ export declare var ListAnalysisReportsRequest$: StaticStructureSchema;
142
146
  export declare var ListAnalysisReportsResponse$: StaticStructureSchema;
143
147
  export declare var ListContainerAssociationsRequest$: StaticStructureSchema;
144
148
  export declare var ListContainerAssociationsResponse$: StaticStructureSchema;
149
+ export declare var ListContextStoresRequest$: StaticStructureSchema;
150
+ export declare var ListContextStoresResponse$: StaticStructureSchema;
145
151
  export declare var ListenerProperty$: StaticStructureSchema;
146
152
  export declare var ListFirewallPoliciesRequest$: StaticStructureSchema;
147
153
  export declare var ListFirewallPoliciesResponse$: StaticStructureSchema;
@@ -153,6 +159,8 @@ export declare var ListFlowOperationResultsRequest$: StaticStructureSchema;
153
159
  export declare var ListFlowOperationResultsResponse$: StaticStructureSchema;
154
160
  export declare var ListFlowOperationsRequest$: StaticStructureSchema;
155
161
  export declare var ListFlowOperationsResponse$: StaticStructureSchema;
162
+ export declare var ListResourcesInContextStoreRequest$: StaticStructureSchema;
163
+ export declare var ListResourcesInContextStoreResponse$: StaticStructureSchema;
156
164
  export declare var ListRuleGroupsRequest$: StaticStructureSchema;
157
165
  export declare var ListRuleGroupsResponse$: StaticStructureSchema;
158
166
  export declare var ListTagsForResourceRequest$: StaticStructureSchema;
@@ -177,6 +185,7 @@ export declare var PutResourcePolicyResponse$: StaticStructureSchema;
177
185
  export declare var ReferenceSets$: StaticStructureSchema;
178
186
  export declare var RejectNetworkFirewallTransitGatewayAttachmentRequest$: StaticStructureSchema;
179
187
  export declare var RejectNetworkFirewallTransitGatewayAttachmentResponse$: StaticStructureSchema;
188
+ export declare var ResourceContext$: StaticStructureSchema;
180
189
  export declare var Route53ResolvedIPValidation$: StaticStructureSchema;
181
190
  export declare var RuleDefinition$: StaticStructureSchema;
182
191
  export declare var RuleGroup$: StaticStructureSchema;
@@ -296,11 +305,13 @@ export declare var DisassociateSubnets$: StaticOperationSchema;
296
305
  export declare var GetAnalysisReportResults$: StaticOperationSchema;
297
306
  export declare var ListAnalysisReports$: StaticOperationSchema;
298
307
  export declare var ListContainerAssociations$: StaticOperationSchema;
308
+ export declare var ListContextStores$: StaticOperationSchema;
299
309
  export declare var ListFirewallPolicies$: StaticOperationSchema;
300
310
  export declare var ListFirewallPoliciesV2$: StaticOperationSchema;
301
311
  export declare var ListFirewalls$: StaticOperationSchema;
302
312
  export declare var ListFlowOperationResults$: StaticOperationSchema;
303
313
  export declare var ListFlowOperations$: StaticOperationSchema;
314
+ export declare var ListResourcesInContextStore$: StaticOperationSchema;
304
315
  export declare var ListRuleGroups$: StaticOperationSchema;
305
316
  export declare var ListTagsForResource$: StaticOperationSchema;
306
317
  export declare var ListTLSInspectionConfigurations$: StaticOperationSchema;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-network-firewall",
3
- "version": "3.1169.0",
3
+ "version": "3.1171.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",