@aws-sdk/client-network-firewall 3.816.0 → 3.819.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 (49) hide show
  1. package/README.md +50 -2
  2. package/dist-cjs/index.js +198 -3
  3. package/dist-cjs/runtimeConfig.js +4 -1
  4. package/dist-es/NetworkFirewall.js +10 -0
  5. package/dist-es/commands/CreateVpcEndpointAssociationCommand.js +22 -0
  6. package/dist-es/commands/DeleteVpcEndpointAssociationCommand.js +22 -0
  7. package/dist-es/commands/DescribeFirewallMetadataCommand.js +22 -0
  8. package/dist-es/commands/DescribeVpcEndpointAssociationCommand.js +22 -0
  9. package/dist-es/commands/ListVpcEndpointAssociationsCommand.js +22 -0
  10. package/dist-es/commands/index.js +5 -0
  11. package/dist-es/pagination/ListVpcEndpointAssociationsPaginator.js +4 -0
  12. package/dist-es/pagination/index.js +1 -0
  13. package/dist-es/protocols/Aws_json1_0.js +99 -0
  14. package/dist-es/runtimeConfig.js +4 -1
  15. package/dist-types/NetworkFirewall.d.ts +50 -5
  16. package/dist-types/NetworkFirewallClient.d.ts +20 -7
  17. package/dist-types/commands/CreateFirewallCommand.d.ts +1 -0
  18. package/dist-types/commands/CreateVpcEndpointAssociationCommand.d.ts +150 -0
  19. package/dist-types/commands/DeleteFirewallCommand.d.ts +1 -0
  20. package/dist-types/commands/DeleteVpcEndpointAssociationCommand.d.ts +137 -0
  21. package/dist-types/commands/DescribeFirewallCommand.d.ts +1 -0
  22. package/dist-types/commands/DescribeFirewallMetadataCommand.d.ts +107 -0
  23. package/dist-types/commands/DescribeFlowOperationCommand.d.ts +4 -0
  24. package/dist-types/commands/DescribeVpcEndpointAssociationCommand.d.ts +127 -0
  25. package/dist-types/commands/ListFlowOperationResultsCommand.d.ts +4 -0
  26. package/dist-types/commands/ListFlowOperationsCommand.d.ts +2 -0
  27. package/dist-types/commands/ListVpcEndpointAssociationsCommand.d.ts +105 -0
  28. package/dist-types/commands/PutResourcePolicyCommand.d.ts +5 -4
  29. package/dist-types/commands/StartFlowCaptureCommand.d.ts +2 -0
  30. package/dist-types/commands/StartFlowFlushCommand.d.ts +2 -0
  31. package/dist-types/commands/index.d.ts +5 -0
  32. package/dist-types/index.d.ts +13 -5
  33. package/dist-types/models/models_0.d.ts +467 -43
  34. package/dist-types/pagination/ListVpcEndpointAssociationsPaginator.d.ts +7 -0
  35. package/dist-types/pagination/index.d.ts +1 -0
  36. package/dist-types/protocols/Aws_json1_0.d.ts +45 -0
  37. package/dist-types/ts3.4/NetworkFirewall.d.ts +87 -0
  38. package/dist-types/ts3.4/NetworkFirewallClient.d.ts +30 -0
  39. package/dist-types/ts3.4/commands/CreateVpcEndpointAssociationCommand.d.ts +51 -0
  40. package/dist-types/ts3.4/commands/DeleteVpcEndpointAssociationCommand.d.ts +51 -0
  41. package/dist-types/ts3.4/commands/DescribeFirewallMetadataCommand.d.ts +51 -0
  42. package/dist-types/ts3.4/commands/DescribeVpcEndpointAssociationCommand.d.ts +51 -0
  43. package/dist-types/ts3.4/commands/ListVpcEndpointAssociationsCommand.d.ts +51 -0
  44. package/dist-types/ts3.4/commands/index.d.ts +5 -0
  45. package/dist-types/ts3.4/models/models_0.d.ts +83 -0
  46. package/dist-types/ts3.4/pagination/ListVpcEndpointAssociationsPaginator.d.ts +11 -0
  47. package/dist-types/ts3.4/pagination/index.d.ts +1 -0
  48. package/dist-types/ts3.4/protocols/Aws_json1_0.d.ts +60 -0
  49. package/package.json +2 -2
@@ -0,0 +1,105 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { ListVpcEndpointAssociationsRequest, ListVpcEndpointAssociationsResponse } from "../models/models_0";
4
+ import { NetworkFirewallClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../NetworkFirewallClient";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link ListVpcEndpointAssociationsCommand}.
14
+ */
15
+ export interface ListVpcEndpointAssociationsCommandInput extends ListVpcEndpointAssociationsRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link ListVpcEndpointAssociationsCommand}.
21
+ */
22
+ export interface ListVpcEndpointAssociationsCommandOutput extends ListVpcEndpointAssociationsResponse, __MetadataBearer {
23
+ }
24
+ declare const ListVpcEndpointAssociationsCommand_base: {
25
+ new (input: ListVpcEndpointAssociationsCommandInput): import("@smithy/smithy-client").CommandImpl<ListVpcEndpointAssociationsCommandInput, ListVpcEndpointAssociationsCommandOutput, NetworkFirewallClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (...[input]: [] | [ListVpcEndpointAssociationsCommandInput]): import("@smithy/smithy-client").CommandImpl<ListVpcEndpointAssociationsCommandInput, ListVpcEndpointAssociationsCommandOutput, NetworkFirewallClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Retrieves the metadata for the VPC endpoint associations that you have defined. If you specify a fireawll,
31
+ * this returns only the endpoint associations for that firewall. </p>
32
+ * <p>Depending on your setting for max results and the number of associations, a single call
33
+ * might not return the full list. </p>
34
+ * @example
35
+ * Use a bare-bones client and the command you need to make an API call.
36
+ * ```javascript
37
+ * import { NetworkFirewallClient, ListVpcEndpointAssociationsCommand } from "@aws-sdk/client-network-firewall"; // ES Modules import
38
+ * // const { NetworkFirewallClient, ListVpcEndpointAssociationsCommand } = require("@aws-sdk/client-network-firewall"); // CommonJS import
39
+ * const client = new NetworkFirewallClient(config);
40
+ * const input = { // ListVpcEndpointAssociationsRequest
41
+ * NextToken: "STRING_VALUE",
42
+ * MaxResults: Number("int"),
43
+ * FirewallArn: "STRING_VALUE",
44
+ * };
45
+ * const command = new ListVpcEndpointAssociationsCommand(input);
46
+ * const response = await client.send(command);
47
+ * // { // ListVpcEndpointAssociationsResponse
48
+ * // NextToken: "STRING_VALUE",
49
+ * // VpcEndpointAssociations: [ // VpcEndpointAssociations
50
+ * // { // VpcEndpointAssociationMetadata
51
+ * // VpcEndpointAssociationArn: "STRING_VALUE",
52
+ * // },
53
+ * // ],
54
+ * // };
55
+ *
56
+ * ```
57
+ *
58
+ * @param ListVpcEndpointAssociationsCommandInput - {@link ListVpcEndpointAssociationsCommandInput}
59
+ * @returns {@link ListVpcEndpointAssociationsCommandOutput}
60
+ * @see {@link ListVpcEndpointAssociationsCommandInput} for command's `input` shape.
61
+ * @see {@link ListVpcEndpointAssociationsCommandOutput} for command's `response` shape.
62
+ * @see {@link NetworkFirewallClientResolvedConfig | config} for NetworkFirewallClient's `config` shape.
63
+ *
64
+ * @throws {@link InternalServerError} (server fault)
65
+ * <p>Your request is valid, but Network Firewall couldn't perform the operation because of a
66
+ * system problem. Retry your request. </p>
67
+ *
68
+ * @throws {@link InvalidRequestException} (client fault)
69
+ * <p>The operation failed because of a problem with your request. Examples include: </p>
70
+ * <ul>
71
+ * <li>
72
+ * <p>You specified an unsupported parameter name or value.</p>
73
+ * </li>
74
+ * <li>
75
+ * <p>You tried to update a property with a value that isn't among the available
76
+ * types.</p>
77
+ * </li>
78
+ * <li>
79
+ * <p>Your request references an ARN that is malformed, or corresponds to a resource
80
+ * that isn't valid in the context of the request.</p>
81
+ * </li>
82
+ * </ul>
83
+ *
84
+ * @throws {@link ThrottlingException} (client fault)
85
+ * <p>Unable to process the request due to throttling limitations.</p>
86
+ *
87
+ * @throws {@link NetworkFirewallServiceException}
88
+ * <p>Base exception class for all service exceptions from NetworkFirewall service.</p>
89
+ *
90
+ *
91
+ * @public
92
+ */
93
+ export declare class ListVpcEndpointAssociationsCommand extends ListVpcEndpointAssociationsCommand_base {
94
+ /** @internal type navigation helper, not in runtime. */
95
+ protected static __types: {
96
+ api: {
97
+ input: ListVpcEndpointAssociationsRequest;
98
+ output: ListVpcEndpointAssociationsResponse;
99
+ };
100
+ sdk: {
101
+ input: ListVpcEndpointAssociationsCommandInput;
102
+ output: ListVpcEndpointAssociationsCommandOutput;
103
+ };
104
+ };
105
+ }
@@ -27,10 +27,11 @@ declare const PutResourcePolicyCommand_base: {
27
27
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
28
  };
29
29
  /**
30
- * <p>Creates or updates an IAM policy for your rule group or firewall policy. Use this to share rule groups and firewall policies between accounts. This operation works in conjunction with the Amazon Web Services Resource Access Manager (RAM) service
31
- * to manage resource sharing for Network Firewall. </p>
32
- * <p>Use this operation to create or update a resource policy for your rule group or firewall policy. In the policy, you specify the accounts that you want to share the resource with and the operations that you want the accounts to be able to perform. </p>
33
- * <p>When you add an account in the resource policy, you then run the following Resource Access Manager (RAM) operations to access and accept the shared rule group or firewall policy. </p>
30
+ * <p>Creates or updates an IAM policy for your rule group, firewall policy, or firewall. Use this to share these resources between accounts. This operation works in conjunction with the Amazon Web Services Resource Access Manager (RAM) service to manage resource sharing for Network Firewall. </p>
31
+ * <p>For information about using sharing with Network Firewall resources, see
32
+ * <a href="https://docs.aws.amazon.com/network-firewall/latest/developerguide/sharing.html">Sharing Network Firewall resources</a> in the <i>Network Firewall Developer Guide</i>.</p>
33
+ * <p>Use this operation to create or update a resource policy for your Network Firewall rule group, firewall policy, or firewall. In the resource policy, you specify the accounts that you want to share the Network Firewall resource with and the operations that you want the accounts to be able to perform. </p>
34
+ * <p>When you add an account in the resource policy, you then run the following Resource Access Manager (RAM) operations to access and accept the shared resource. </p>
34
35
  * <ul>
35
36
  * <li>
36
37
  * <p>
@@ -45,6 +45,8 @@ declare const StartFlowCaptureCommand_base: {
45
45
  * const input = { // StartFlowCaptureRequest
46
46
  * FirewallArn: "STRING_VALUE", // required
47
47
  * AvailabilityZone: "STRING_VALUE",
48
+ * VpcEndpointAssociationArn: "STRING_VALUE",
49
+ * VpcEndpointId: "STRING_VALUE",
48
50
  * MinimumFlowAgeInSeconds: Number("int"),
49
51
  * FlowFilters: [ // FlowFilters // required
50
52
  * { // FlowFilter
@@ -44,6 +44,8 @@ declare const StartFlowFlushCommand_base: {
44
44
  * const input = { // StartFlowFlushRequest
45
45
  * FirewallArn: "STRING_VALUE", // required
46
46
  * AvailabilityZone: "STRING_VALUE",
47
+ * VpcEndpointAssociationArn: "STRING_VALUE",
48
+ * VpcEndpointId: "STRING_VALUE",
47
49
  * MinimumFlowAgeInSeconds: Number("int"),
48
50
  * FlowFilters: [ // FlowFilters // required
49
51
  * { // FlowFilter
@@ -4,12 +4,15 @@ export * from "./CreateFirewallCommand";
4
4
  export * from "./CreateFirewallPolicyCommand";
5
5
  export * from "./CreateRuleGroupCommand";
6
6
  export * from "./CreateTLSInspectionConfigurationCommand";
7
+ export * from "./CreateVpcEndpointAssociationCommand";
7
8
  export * from "./DeleteFirewallCommand";
8
9
  export * from "./DeleteFirewallPolicyCommand";
9
10
  export * from "./DeleteResourcePolicyCommand";
10
11
  export * from "./DeleteRuleGroupCommand";
11
12
  export * from "./DeleteTLSInspectionConfigurationCommand";
13
+ export * from "./DeleteVpcEndpointAssociationCommand";
12
14
  export * from "./DescribeFirewallCommand";
15
+ export * from "./DescribeFirewallMetadataCommand";
13
16
  export * from "./DescribeFirewallPolicyCommand";
14
17
  export * from "./DescribeFlowOperationCommand";
15
18
  export * from "./DescribeLoggingConfigurationCommand";
@@ -17,6 +20,7 @@ export * from "./DescribeResourcePolicyCommand";
17
20
  export * from "./DescribeRuleGroupCommand";
18
21
  export * from "./DescribeRuleGroupMetadataCommand";
19
22
  export * from "./DescribeTLSInspectionConfigurationCommand";
23
+ export * from "./DescribeVpcEndpointAssociationCommand";
20
24
  export * from "./DisassociateSubnetsCommand";
21
25
  export * from "./GetAnalysisReportResultsCommand";
22
26
  export * from "./ListAnalysisReportsCommand";
@@ -27,6 +31,7 @@ export * from "./ListFlowOperationsCommand";
27
31
  export * from "./ListRuleGroupsCommand";
28
32
  export * from "./ListTLSInspectionConfigurationsCommand";
29
33
  export * from "./ListTagsForResourceCommand";
34
+ export * from "./ListVpcEndpointAssociationsCommand";
30
35
  export * from "./PutResourcePolicyCommand";
31
36
  export * from "./StartAnalysisReportCommand";
32
37
  export * from "./StartFlowCaptureCommand";
@@ -61,12 +61,17 @@
61
61
  * subnet for the sole use of Network Firewall. </p>
62
62
  * </li>
63
63
  * <li>
64
- * <p>In Network Firewall, create stateless and stateful rule groups,
64
+ * <p>In Network Firewall, define the firewall behavior as follows: </p>
65
+ * <ol>
66
+ * <li>
67
+ * <p>Create stateless and stateful rule groups,
65
68
  * to define the components of the network traffic filtering behavior that you want your firewall to have. </p>
66
- * </li>
67
- * <li>
68
- * <p>In Network Firewall, create a firewall policy that uses your rule groups and
69
- * specifies additional default traffic filtering behavior. </p>
69
+ * </li>
70
+ * <li>
71
+ * <p>Create a firewall policy that uses your rule groups and
72
+ * specifies additional default traffic filtering behavior. </p>
73
+ * </li>
74
+ * </ol>
70
75
  * </li>
71
76
  * <li>
72
77
  * <p>In Network Firewall, create a firewall and specify your new firewall policy and
@@ -78,6 +83,9 @@
78
83
  * endpoints.</p>
79
84
  * </li>
80
85
  * </ol>
86
+ * <p>After your firewall is established, you can add firewall endpoints for new Availability Zones by following the prior steps for the Amazon VPC setup and
87
+ * firewall subnet definitions. You can also add endpoints to Availability Zones that you're using in the firewall, either for the same VPC
88
+ * or for another VPC, by following the prior steps for the Amazon VPC setup, and defining the new VPC subnets as VPC endpoint associations. </p>
81
89
  *
82
90
  * @packageDocumentation
83
91
  */