@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.
- package/README.md +50 -2
- package/dist-cjs/index.js +198 -3
- package/dist-cjs/runtimeConfig.js +4 -1
- package/dist-es/NetworkFirewall.js +10 -0
- package/dist-es/commands/CreateVpcEndpointAssociationCommand.js +22 -0
- package/dist-es/commands/DeleteVpcEndpointAssociationCommand.js +22 -0
- package/dist-es/commands/DescribeFirewallMetadataCommand.js +22 -0
- package/dist-es/commands/DescribeVpcEndpointAssociationCommand.js +22 -0
- package/dist-es/commands/ListVpcEndpointAssociationsCommand.js +22 -0
- package/dist-es/commands/index.js +5 -0
- package/dist-es/pagination/ListVpcEndpointAssociationsPaginator.js +4 -0
- package/dist-es/pagination/index.js +1 -0
- package/dist-es/protocols/Aws_json1_0.js +99 -0
- package/dist-es/runtimeConfig.js +4 -1
- package/dist-types/NetworkFirewall.d.ts +50 -5
- package/dist-types/NetworkFirewallClient.d.ts +20 -7
- package/dist-types/commands/CreateFirewallCommand.d.ts +1 -0
- package/dist-types/commands/CreateVpcEndpointAssociationCommand.d.ts +150 -0
- package/dist-types/commands/DeleteFirewallCommand.d.ts +1 -0
- package/dist-types/commands/DeleteVpcEndpointAssociationCommand.d.ts +137 -0
- package/dist-types/commands/DescribeFirewallCommand.d.ts +1 -0
- package/dist-types/commands/DescribeFirewallMetadataCommand.d.ts +107 -0
- package/dist-types/commands/DescribeFlowOperationCommand.d.ts +4 -0
- package/dist-types/commands/DescribeVpcEndpointAssociationCommand.d.ts +127 -0
- package/dist-types/commands/ListFlowOperationResultsCommand.d.ts +4 -0
- package/dist-types/commands/ListFlowOperationsCommand.d.ts +2 -0
- package/dist-types/commands/ListVpcEndpointAssociationsCommand.d.ts +105 -0
- package/dist-types/commands/PutResourcePolicyCommand.d.ts +5 -4
- package/dist-types/commands/StartFlowCaptureCommand.d.ts +2 -0
- package/dist-types/commands/StartFlowFlushCommand.d.ts +2 -0
- package/dist-types/commands/index.d.ts +5 -0
- package/dist-types/index.d.ts +13 -5
- package/dist-types/models/models_0.d.ts +467 -43
- package/dist-types/pagination/ListVpcEndpointAssociationsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +1 -0
- package/dist-types/protocols/Aws_json1_0.d.ts +45 -0
- package/dist-types/ts3.4/NetworkFirewall.d.ts +87 -0
- package/dist-types/ts3.4/NetworkFirewallClient.d.ts +30 -0
- package/dist-types/ts3.4/commands/CreateVpcEndpointAssociationCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DeleteVpcEndpointAssociationCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DescribeFirewallMetadataCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DescribeVpcEndpointAssociationCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListVpcEndpointAssociationsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/index.d.ts +5 -0
- package/dist-types/ts3.4/models/models_0.d.ts +83 -0
- package/dist-types/ts3.4/pagination/ListVpcEndpointAssociationsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +1 -0
- package/dist-types/ts3.4/protocols/Aws_json1_0.d.ts +60 -0
- package/package.json +2 -2
|
@@ -0,0 +1,150 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { CreateVpcEndpointAssociationRequest, CreateVpcEndpointAssociationResponse } 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 CreateVpcEndpointAssociationCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface CreateVpcEndpointAssociationCommandInput extends CreateVpcEndpointAssociationRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link CreateVpcEndpointAssociationCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface CreateVpcEndpointAssociationCommandOutput extends CreateVpcEndpointAssociationResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const CreateVpcEndpointAssociationCommand_base: {
|
|
25
|
+
new (input: CreateVpcEndpointAssociationCommandInput): import("@smithy/smithy-client").CommandImpl<CreateVpcEndpointAssociationCommandInput, CreateVpcEndpointAssociationCommandOutput, NetworkFirewallClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: CreateVpcEndpointAssociationCommandInput): import("@smithy/smithy-client").CommandImpl<CreateVpcEndpointAssociationCommandInput, CreateVpcEndpointAssociationCommandOutput, NetworkFirewallClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Creates a firewall endpoint for an Network Firewall firewall. This type of firewall endpoint is independent of the firewall endpoints that you specify in the <code>Firewall</code> itself, and you define it in addition to those endpoints after the firewall has been created. You can define a VPC endpoint association using a different VPC than the one you used in the firewall specifications. </p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { NetworkFirewallClient, CreateVpcEndpointAssociationCommand } from "@aws-sdk/client-network-firewall"; // ES Modules import
|
|
35
|
+
* // const { NetworkFirewallClient, CreateVpcEndpointAssociationCommand } = require("@aws-sdk/client-network-firewall"); // CommonJS import
|
|
36
|
+
* const client = new NetworkFirewallClient(config);
|
|
37
|
+
* const input = { // CreateVpcEndpointAssociationRequest
|
|
38
|
+
* FirewallArn: "STRING_VALUE", // required
|
|
39
|
+
* VpcId: "STRING_VALUE", // required
|
|
40
|
+
* SubnetMapping: { // SubnetMapping
|
|
41
|
+
* SubnetId: "STRING_VALUE", // required
|
|
42
|
+
* IPAddressType: "DUALSTACK" || "IPV4" || "IPV6",
|
|
43
|
+
* },
|
|
44
|
+
* Description: "STRING_VALUE",
|
|
45
|
+
* Tags: [ // TagList
|
|
46
|
+
* { // Tag
|
|
47
|
+
* Key: "STRING_VALUE", // required
|
|
48
|
+
* Value: "STRING_VALUE", // required
|
|
49
|
+
* },
|
|
50
|
+
* ],
|
|
51
|
+
* };
|
|
52
|
+
* const command = new CreateVpcEndpointAssociationCommand(input);
|
|
53
|
+
* const response = await client.send(command);
|
|
54
|
+
* // { // CreateVpcEndpointAssociationResponse
|
|
55
|
+
* // VpcEndpointAssociation: { // VpcEndpointAssociation
|
|
56
|
+
* // VpcEndpointAssociationId: "STRING_VALUE",
|
|
57
|
+
* // VpcEndpointAssociationArn: "STRING_VALUE", // required
|
|
58
|
+
* // FirewallArn: "STRING_VALUE", // required
|
|
59
|
+
* // VpcId: "STRING_VALUE", // required
|
|
60
|
+
* // SubnetMapping: { // SubnetMapping
|
|
61
|
+
* // SubnetId: "STRING_VALUE", // required
|
|
62
|
+
* // IPAddressType: "DUALSTACK" || "IPV4" || "IPV6",
|
|
63
|
+
* // },
|
|
64
|
+
* // Description: "STRING_VALUE",
|
|
65
|
+
* // Tags: [ // TagList
|
|
66
|
+
* // { // Tag
|
|
67
|
+
* // Key: "STRING_VALUE", // required
|
|
68
|
+
* // Value: "STRING_VALUE", // required
|
|
69
|
+
* // },
|
|
70
|
+
* // ],
|
|
71
|
+
* // },
|
|
72
|
+
* // VpcEndpointAssociationStatus: { // VpcEndpointAssociationStatus
|
|
73
|
+
* // Status: "PROVISIONING" || "DELETING" || "READY", // required
|
|
74
|
+
* // AssociationSyncState: { // AssociationSyncState
|
|
75
|
+
* // "<keys>": { // AZSyncState
|
|
76
|
+
* // Attachment: { // Attachment
|
|
77
|
+
* // SubnetId: "STRING_VALUE",
|
|
78
|
+
* // EndpointId: "STRING_VALUE",
|
|
79
|
+
* // Status: "CREATING" || "DELETING" || "FAILED" || "ERROR" || "SCALING" || "READY",
|
|
80
|
+
* // StatusMessage: "STRING_VALUE",
|
|
81
|
+
* // },
|
|
82
|
+
* // },
|
|
83
|
+
* // },
|
|
84
|
+
* // },
|
|
85
|
+
* // };
|
|
86
|
+
*
|
|
87
|
+
* ```
|
|
88
|
+
*
|
|
89
|
+
* @param CreateVpcEndpointAssociationCommandInput - {@link CreateVpcEndpointAssociationCommandInput}
|
|
90
|
+
* @returns {@link CreateVpcEndpointAssociationCommandOutput}
|
|
91
|
+
* @see {@link CreateVpcEndpointAssociationCommandInput} for command's `input` shape.
|
|
92
|
+
* @see {@link CreateVpcEndpointAssociationCommandOutput} for command's `response` shape.
|
|
93
|
+
* @see {@link NetworkFirewallClientResolvedConfig | config} for NetworkFirewallClient's `config` shape.
|
|
94
|
+
*
|
|
95
|
+
* @throws {@link InsufficientCapacityException} (server fault)
|
|
96
|
+
* <p>Amazon Web Services doesn't currently have enough available capacity to fulfill your request. Try your
|
|
97
|
+
* request later. </p>
|
|
98
|
+
*
|
|
99
|
+
* @throws {@link InternalServerError} (server fault)
|
|
100
|
+
* <p>Your request is valid, but Network Firewall couldn't perform the operation because of a
|
|
101
|
+
* system problem. Retry your request. </p>
|
|
102
|
+
*
|
|
103
|
+
* @throws {@link InvalidOperationException} (client fault)
|
|
104
|
+
* <p>The operation failed because it's not valid. For example, you might have tried to delete
|
|
105
|
+
* a rule group or firewall policy that's in use.</p>
|
|
106
|
+
*
|
|
107
|
+
* @throws {@link InvalidRequestException} (client fault)
|
|
108
|
+
* <p>The operation failed because of a problem with your request. Examples include: </p>
|
|
109
|
+
* <ul>
|
|
110
|
+
* <li>
|
|
111
|
+
* <p>You specified an unsupported parameter name or value.</p>
|
|
112
|
+
* </li>
|
|
113
|
+
* <li>
|
|
114
|
+
* <p>You tried to update a property with a value that isn't among the available
|
|
115
|
+
* types.</p>
|
|
116
|
+
* </li>
|
|
117
|
+
* <li>
|
|
118
|
+
* <p>Your request references an ARN that is malformed, or corresponds to a resource
|
|
119
|
+
* that isn't valid in the context of the request.</p>
|
|
120
|
+
* </li>
|
|
121
|
+
* </ul>
|
|
122
|
+
*
|
|
123
|
+
* @throws {@link LimitExceededException} (client fault)
|
|
124
|
+
* <p>Unable to perform the operation because doing so would violate a limit setting. </p>
|
|
125
|
+
*
|
|
126
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
127
|
+
* <p>Unable to locate a resource using the parameters that you provided.</p>
|
|
128
|
+
*
|
|
129
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
130
|
+
* <p>Unable to process the request due to throttling limitations.</p>
|
|
131
|
+
*
|
|
132
|
+
* @throws {@link NetworkFirewallServiceException}
|
|
133
|
+
* <p>Base exception class for all service exceptions from NetworkFirewall service.</p>
|
|
134
|
+
*
|
|
135
|
+
*
|
|
136
|
+
* @public
|
|
137
|
+
*/
|
|
138
|
+
export declare class CreateVpcEndpointAssociationCommand extends CreateVpcEndpointAssociationCommand_base {
|
|
139
|
+
/** @internal type navigation helper, not in runtime. */
|
|
140
|
+
protected static __types: {
|
|
141
|
+
api: {
|
|
142
|
+
input: CreateVpcEndpointAssociationRequest;
|
|
143
|
+
output: CreateVpcEndpointAssociationResponse;
|
|
144
|
+
};
|
|
145
|
+
sdk: {
|
|
146
|
+
input: CreateVpcEndpointAssociationCommandInput;
|
|
147
|
+
output: CreateVpcEndpointAssociationCommandOutput;
|
|
148
|
+
};
|
|
149
|
+
};
|
|
150
|
+
}
|
|
@@ -77,6 +77,7 @@ declare const DeleteFirewallCommand_base: {
|
|
|
77
77
|
* // KeyId: "STRING_VALUE",
|
|
78
78
|
* // Type: "CUSTOMER_KMS" || "AWS_OWNED_KMS_KEY", // required
|
|
79
79
|
* // },
|
|
80
|
+
* // NumberOfAssociations: Number("int"),
|
|
80
81
|
* // EnabledAnalysisTypes: [ // EnabledAnalysisTypes
|
|
81
82
|
* // "TLS_SNI" || "HTTP_HOST",
|
|
82
83
|
* // ],
|
|
@@ -0,0 +1,137 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { DeleteVpcEndpointAssociationRequest, DeleteVpcEndpointAssociationResponse } 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 DeleteVpcEndpointAssociationCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface DeleteVpcEndpointAssociationCommandInput extends DeleteVpcEndpointAssociationRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link DeleteVpcEndpointAssociationCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface DeleteVpcEndpointAssociationCommandOutput extends DeleteVpcEndpointAssociationResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const DeleteVpcEndpointAssociationCommand_base: {
|
|
25
|
+
new (input: DeleteVpcEndpointAssociationCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteVpcEndpointAssociationCommandInput, DeleteVpcEndpointAssociationCommandOutput, NetworkFirewallClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: DeleteVpcEndpointAssociationCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteVpcEndpointAssociationCommandInput, DeleteVpcEndpointAssociationCommandOutput, NetworkFirewallClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Deletes the specified <a>VpcEndpointAssociation</a>.</p>
|
|
31
|
+
* <p>You can check whether an endpoint association is
|
|
32
|
+
* in use by reviewing the route tables for the Availability Zones where you have the endpoint subnet mapping.
|
|
33
|
+
* You can retrieve the subnet mapping by calling <a>DescribeVpcEndpointAssociation</a>.
|
|
34
|
+
* You define and update the route tables through Amazon VPC. As needed, update the route tables for the
|
|
35
|
+
* Availability Zone to remove the firewall endpoint for the association. When the route tables no longer use the firewall endpoint,
|
|
36
|
+
* you can remove the endpoint association safely.</p>
|
|
37
|
+
* @example
|
|
38
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
39
|
+
* ```javascript
|
|
40
|
+
* import { NetworkFirewallClient, DeleteVpcEndpointAssociationCommand } from "@aws-sdk/client-network-firewall"; // ES Modules import
|
|
41
|
+
* // const { NetworkFirewallClient, DeleteVpcEndpointAssociationCommand } = require("@aws-sdk/client-network-firewall"); // CommonJS import
|
|
42
|
+
* const client = new NetworkFirewallClient(config);
|
|
43
|
+
* const input = { // DeleteVpcEndpointAssociationRequest
|
|
44
|
+
* VpcEndpointAssociationArn: "STRING_VALUE", // required
|
|
45
|
+
* };
|
|
46
|
+
* const command = new DeleteVpcEndpointAssociationCommand(input);
|
|
47
|
+
* const response = await client.send(command);
|
|
48
|
+
* // { // DeleteVpcEndpointAssociationResponse
|
|
49
|
+
* // VpcEndpointAssociation: { // VpcEndpointAssociation
|
|
50
|
+
* // VpcEndpointAssociationId: "STRING_VALUE",
|
|
51
|
+
* // VpcEndpointAssociationArn: "STRING_VALUE", // required
|
|
52
|
+
* // FirewallArn: "STRING_VALUE", // required
|
|
53
|
+
* // VpcId: "STRING_VALUE", // required
|
|
54
|
+
* // SubnetMapping: { // SubnetMapping
|
|
55
|
+
* // SubnetId: "STRING_VALUE", // required
|
|
56
|
+
* // IPAddressType: "DUALSTACK" || "IPV4" || "IPV6",
|
|
57
|
+
* // },
|
|
58
|
+
* // Description: "STRING_VALUE",
|
|
59
|
+
* // Tags: [ // TagList
|
|
60
|
+
* // { // Tag
|
|
61
|
+
* // Key: "STRING_VALUE", // required
|
|
62
|
+
* // Value: "STRING_VALUE", // required
|
|
63
|
+
* // },
|
|
64
|
+
* // ],
|
|
65
|
+
* // },
|
|
66
|
+
* // VpcEndpointAssociationStatus: { // VpcEndpointAssociationStatus
|
|
67
|
+
* // Status: "PROVISIONING" || "DELETING" || "READY", // required
|
|
68
|
+
* // AssociationSyncState: { // AssociationSyncState
|
|
69
|
+
* // "<keys>": { // AZSyncState
|
|
70
|
+
* // Attachment: { // Attachment
|
|
71
|
+
* // SubnetId: "STRING_VALUE",
|
|
72
|
+
* // EndpointId: "STRING_VALUE",
|
|
73
|
+
* // Status: "CREATING" || "DELETING" || "FAILED" || "ERROR" || "SCALING" || "READY",
|
|
74
|
+
* // StatusMessage: "STRING_VALUE",
|
|
75
|
+
* // },
|
|
76
|
+
* // },
|
|
77
|
+
* // },
|
|
78
|
+
* // },
|
|
79
|
+
* // };
|
|
80
|
+
*
|
|
81
|
+
* ```
|
|
82
|
+
*
|
|
83
|
+
* @param DeleteVpcEndpointAssociationCommandInput - {@link DeleteVpcEndpointAssociationCommandInput}
|
|
84
|
+
* @returns {@link DeleteVpcEndpointAssociationCommandOutput}
|
|
85
|
+
* @see {@link DeleteVpcEndpointAssociationCommandInput} for command's `input` shape.
|
|
86
|
+
* @see {@link DeleteVpcEndpointAssociationCommandOutput} for command's `response` shape.
|
|
87
|
+
* @see {@link NetworkFirewallClientResolvedConfig | config} for NetworkFirewallClient's `config` shape.
|
|
88
|
+
*
|
|
89
|
+
* @throws {@link InternalServerError} (server fault)
|
|
90
|
+
* <p>Your request is valid, but Network Firewall couldn't perform the operation because of a
|
|
91
|
+
* system problem. Retry your request. </p>
|
|
92
|
+
*
|
|
93
|
+
* @throws {@link InvalidOperationException} (client fault)
|
|
94
|
+
* <p>The operation failed because it's not valid. For example, you might have tried to delete
|
|
95
|
+
* a rule group or firewall policy that's in use.</p>
|
|
96
|
+
*
|
|
97
|
+
* @throws {@link InvalidRequestException} (client fault)
|
|
98
|
+
* <p>The operation failed because of a problem with your request. Examples include: </p>
|
|
99
|
+
* <ul>
|
|
100
|
+
* <li>
|
|
101
|
+
* <p>You specified an unsupported parameter name or value.</p>
|
|
102
|
+
* </li>
|
|
103
|
+
* <li>
|
|
104
|
+
* <p>You tried to update a property with a value that isn't among the available
|
|
105
|
+
* types.</p>
|
|
106
|
+
* </li>
|
|
107
|
+
* <li>
|
|
108
|
+
* <p>Your request references an ARN that is malformed, or corresponds to a resource
|
|
109
|
+
* that isn't valid in the context of the request.</p>
|
|
110
|
+
* </li>
|
|
111
|
+
* </ul>
|
|
112
|
+
*
|
|
113
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
114
|
+
* <p>Unable to locate a resource using the parameters that you provided.</p>
|
|
115
|
+
*
|
|
116
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
117
|
+
* <p>Unable to process the request due to throttling limitations.</p>
|
|
118
|
+
*
|
|
119
|
+
* @throws {@link NetworkFirewallServiceException}
|
|
120
|
+
* <p>Base exception class for all service exceptions from NetworkFirewall service.</p>
|
|
121
|
+
*
|
|
122
|
+
*
|
|
123
|
+
* @public
|
|
124
|
+
*/
|
|
125
|
+
export declare class DeleteVpcEndpointAssociationCommand extends DeleteVpcEndpointAssociationCommand_base {
|
|
126
|
+
/** @internal type navigation helper, not in runtime. */
|
|
127
|
+
protected static __types: {
|
|
128
|
+
api: {
|
|
129
|
+
input: DeleteVpcEndpointAssociationRequest;
|
|
130
|
+
output: DeleteVpcEndpointAssociationResponse;
|
|
131
|
+
};
|
|
132
|
+
sdk: {
|
|
133
|
+
input: DeleteVpcEndpointAssociationCommandInput;
|
|
134
|
+
output: DeleteVpcEndpointAssociationCommandOutput;
|
|
135
|
+
};
|
|
136
|
+
};
|
|
137
|
+
}
|
|
@@ -68,6 +68,7 @@ declare const DescribeFirewallCommand_base: {
|
|
|
68
68
|
* // KeyId: "STRING_VALUE",
|
|
69
69
|
* // Type: "CUSTOMER_KMS" || "AWS_OWNED_KMS_KEY", // required
|
|
70
70
|
* // },
|
|
71
|
+
* // NumberOfAssociations: Number("int"),
|
|
71
72
|
* // EnabledAnalysisTypes: [ // EnabledAnalysisTypes
|
|
72
73
|
* // "TLS_SNI" || "HTTP_HOST",
|
|
73
74
|
* // ],
|
|
@@ -0,0 +1,107 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { DescribeFirewallMetadataRequest, DescribeFirewallMetadataResponse } 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 DescribeFirewallMetadataCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface DescribeFirewallMetadataCommandInput extends DescribeFirewallMetadataRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link DescribeFirewallMetadataCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface DescribeFirewallMetadataCommandOutput extends DescribeFirewallMetadataResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const DescribeFirewallMetadataCommand_base: {
|
|
25
|
+
new (input: DescribeFirewallMetadataCommandInput): import("@smithy/smithy-client").CommandImpl<DescribeFirewallMetadataCommandInput, DescribeFirewallMetadataCommandOutput, NetworkFirewallClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (...[input]: [] | [DescribeFirewallMetadataCommandInput]): import("@smithy/smithy-client").CommandImpl<DescribeFirewallMetadataCommandInput, DescribeFirewallMetadataCommandOutput, NetworkFirewallClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Returns the high-level information about a firewall, including the Availability Zones where the Firewall is
|
|
31
|
+
* currently in use. </p>
|
|
32
|
+
* @example
|
|
33
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
34
|
+
* ```javascript
|
|
35
|
+
* import { NetworkFirewallClient, DescribeFirewallMetadataCommand } from "@aws-sdk/client-network-firewall"; // ES Modules import
|
|
36
|
+
* // const { NetworkFirewallClient, DescribeFirewallMetadataCommand } = require("@aws-sdk/client-network-firewall"); // CommonJS import
|
|
37
|
+
* const client = new NetworkFirewallClient(config);
|
|
38
|
+
* const input = { // DescribeFirewallMetadataRequest
|
|
39
|
+
* FirewallArn: "STRING_VALUE",
|
|
40
|
+
* };
|
|
41
|
+
* const command = new DescribeFirewallMetadataCommand(input);
|
|
42
|
+
* const response = await client.send(command);
|
|
43
|
+
* // { // DescribeFirewallMetadataResponse
|
|
44
|
+
* // FirewallArn: "STRING_VALUE",
|
|
45
|
+
* // FirewallPolicyArn: "STRING_VALUE",
|
|
46
|
+
* // Description: "STRING_VALUE",
|
|
47
|
+
* // Status: "PROVISIONING" || "DELETING" || "READY",
|
|
48
|
+
* // SupportedAvailabilityZones: { // SupportedAvailabilityZones
|
|
49
|
+
* // "<keys>": { // AvailabilityZoneMetadata
|
|
50
|
+
* // IPAddressType: "DUALSTACK" || "IPV4" || "IPV6",
|
|
51
|
+
* // },
|
|
52
|
+
* // },
|
|
53
|
+
* // };
|
|
54
|
+
*
|
|
55
|
+
* ```
|
|
56
|
+
*
|
|
57
|
+
* @param DescribeFirewallMetadataCommandInput - {@link DescribeFirewallMetadataCommandInput}
|
|
58
|
+
* @returns {@link DescribeFirewallMetadataCommandOutput}
|
|
59
|
+
* @see {@link DescribeFirewallMetadataCommandInput} for command's `input` shape.
|
|
60
|
+
* @see {@link DescribeFirewallMetadataCommandOutput} for command's `response` shape.
|
|
61
|
+
* @see {@link NetworkFirewallClientResolvedConfig | config} for NetworkFirewallClient's `config` shape.
|
|
62
|
+
*
|
|
63
|
+
* @throws {@link InternalServerError} (server fault)
|
|
64
|
+
* <p>Your request is valid, but Network Firewall couldn't perform the operation because of a
|
|
65
|
+
* system problem. Retry your request. </p>
|
|
66
|
+
*
|
|
67
|
+
* @throws {@link InvalidRequestException} (client fault)
|
|
68
|
+
* <p>The operation failed because of a problem with your request. Examples include: </p>
|
|
69
|
+
* <ul>
|
|
70
|
+
* <li>
|
|
71
|
+
* <p>You specified an unsupported parameter name or value.</p>
|
|
72
|
+
* </li>
|
|
73
|
+
* <li>
|
|
74
|
+
* <p>You tried to update a property with a value that isn't among the available
|
|
75
|
+
* types.</p>
|
|
76
|
+
* </li>
|
|
77
|
+
* <li>
|
|
78
|
+
* <p>Your request references an ARN that is malformed, or corresponds to a resource
|
|
79
|
+
* that isn't valid in the context of the request.</p>
|
|
80
|
+
* </li>
|
|
81
|
+
* </ul>
|
|
82
|
+
*
|
|
83
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
84
|
+
* <p>Unable to locate a resource using the parameters that you provided.</p>
|
|
85
|
+
*
|
|
86
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
87
|
+
* <p>Unable to process the request due to throttling limitations.</p>
|
|
88
|
+
*
|
|
89
|
+
* @throws {@link NetworkFirewallServiceException}
|
|
90
|
+
* <p>Base exception class for all service exceptions from NetworkFirewall service.</p>
|
|
91
|
+
*
|
|
92
|
+
*
|
|
93
|
+
* @public
|
|
94
|
+
*/
|
|
95
|
+
export declare class DescribeFirewallMetadataCommand extends DescribeFirewallMetadataCommand_base {
|
|
96
|
+
/** @internal type navigation helper, not in runtime. */
|
|
97
|
+
protected static __types: {
|
|
98
|
+
api: {
|
|
99
|
+
input: DescribeFirewallMetadataRequest;
|
|
100
|
+
output: DescribeFirewallMetadataResponse;
|
|
101
|
+
};
|
|
102
|
+
sdk: {
|
|
103
|
+
input: DescribeFirewallMetadataCommandInput;
|
|
104
|
+
output: DescribeFirewallMetadataCommandOutput;
|
|
105
|
+
};
|
|
106
|
+
};
|
|
107
|
+
}
|
|
@@ -37,6 +37,8 @@ declare const DescribeFlowOperationCommand_base: {
|
|
|
37
37
|
* const input = { // DescribeFlowOperationRequest
|
|
38
38
|
* FirewallArn: "STRING_VALUE", // required
|
|
39
39
|
* AvailabilityZone: "STRING_VALUE",
|
|
40
|
+
* VpcEndpointAssociationArn: "STRING_VALUE",
|
|
41
|
+
* VpcEndpointId: "STRING_VALUE",
|
|
40
42
|
* FlowOperationId: "STRING_VALUE", // required
|
|
41
43
|
* };
|
|
42
44
|
* const command = new DescribeFlowOperationCommand(input);
|
|
@@ -44,6 +46,8 @@ declare const DescribeFlowOperationCommand_base: {
|
|
|
44
46
|
* // { // DescribeFlowOperationResponse
|
|
45
47
|
* // FirewallArn: "STRING_VALUE",
|
|
46
48
|
* // AvailabilityZone: "STRING_VALUE",
|
|
49
|
+
* // VpcEndpointAssociationArn: "STRING_VALUE",
|
|
50
|
+
* // VpcEndpointId: "STRING_VALUE",
|
|
47
51
|
* // FlowOperationId: "STRING_VALUE",
|
|
48
52
|
* // FlowOperationType: "FLOW_FLUSH" || "FLOW_CAPTURE",
|
|
49
53
|
* // FlowOperationStatus: "COMPLETED" || "IN_PROGRESS" || "FAILED" || "COMPLETED_WITH_ERRORS",
|
|
@@ -0,0 +1,127 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { DescribeVpcEndpointAssociationRequest, DescribeVpcEndpointAssociationResponse } 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 DescribeVpcEndpointAssociationCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface DescribeVpcEndpointAssociationCommandInput extends DescribeVpcEndpointAssociationRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link DescribeVpcEndpointAssociationCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface DescribeVpcEndpointAssociationCommandOutput extends DescribeVpcEndpointAssociationResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const DescribeVpcEndpointAssociationCommand_base: {
|
|
25
|
+
new (input: DescribeVpcEndpointAssociationCommandInput): import("@smithy/smithy-client").CommandImpl<DescribeVpcEndpointAssociationCommandInput, DescribeVpcEndpointAssociationCommandOutput, NetworkFirewallClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: DescribeVpcEndpointAssociationCommandInput): import("@smithy/smithy-client").CommandImpl<DescribeVpcEndpointAssociationCommandInput, DescribeVpcEndpointAssociationCommandOutput, NetworkFirewallClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Returns the data object for the specified VPC endpoint association. </p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { NetworkFirewallClient, DescribeVpcEndpointAssociationCommand } from "@aws-sdk/client-network-firewall"; // ES Modules import
|
|
35
|
+
* // const { NetworkFirewallClient, DescribeVpcEndpointAssociationCommand } = require("@aws-sdk/client-network-firewall"); // CommonJS import
|
|
36
|
+
* const client = new NetworkFirewallClient(config);
|
|
37
|
+
* const input = { // DescribeVpcEndpointAssociationRequest
|
|
38
|
+
* VpcEndpointAssociationArn: "STRING_VALUE", // required
|
|
39
|
+
* };
|
|
40
|
+
* const command = new DescribeVpcEndpointAssociationCommand(input);
|
|
41
|
+
* const response = await client.send(command);
|
|
42
|
+
* // { // DescribeVpcEndpointAssociationResponse
|
|
43
|
+
* // VpcEndpointAssociation: { // VpcEndpointAssociation
|
|
44
|
+
* // VpcEndpointAssociationId: "STRING_VALUE",
|
|
45
|
+
* // VpcEndpointAssociationArn: "STRING_VALUE", // required
|
|
46
|
+
* // FirewallArn: "STRING_VALUE", // required
|
|
47
|
+
* // VpcId: "STRING_VALUE", // required
|
|
48
|
+
* // SubnetMapping: { // SubnetMapping
|
|
49
|
+
* // SubnetId: "STRING_VALUE", // required
|
|
50
|
+
* // IPAddressType: "DUALSTACK" || "IPV4" || "IPV6",
|
|
51
|
+
* // },
|
|
52
|
+
* // Description: "STRING_VALUE",
|
|
53
|
+
* // Tags: [ // TagList
|
|
54
|
+
* // { // Tag
|
|
55
|
+
* // Key: "STRING_VALUE", // required
|
|
56
|
+
* // Value: "STRING_VALUE", // required
|
|
57
|
+
* // },
|
|
58
|
+
* // ],
|
|
59
|
+
* // },
|
|
60
|
+
* // VpcEndpointAssociationStatus: { // VpcEndpointAssociationStatus
|
|
61
|
+
* // Status: "PROVISIONING" || "DELETING" || "READY", // required
|
|
62
|
+
* // AssociationSyncState: { // AssociationSyncState
|
|
63
|
+
* // "<keys>": { // AZSyncState
|
|
64
|
+
* // Attachment: { // Attachment
|
|
65
|
+
* // SubnetId: "STRING_VALUE",
|
|
66
|
+
* // EndpointId: "STRING_VALUE",
|
|
67
|
+
* // Status: "CREATING" || "DELETING" || "FAILED" || "ERROR" || "SCALING" || "READY",
|
|
68
|
+
* // StatusMessage: "STRING_VALUE",
|
|
69
|
+
* // },
|
|
70
|
+
* // },
|
|
71
|
+
* // },
|
|
72
|
+
* // },
|
|
73
|
+
* // };
|
|
74
|
+
*
|
|
75
|
+
* ```
|
|
76
|
+
*
|
|
77
|
+
* @param DescribeVpcEndpointAssociationCommandInput - {@link DescribeVpcEndpointAssociationCommandInput}
|
|
78
|
+
* @returns {@link DescribeVpcEndpointAssociationCommandOutput}
|
|
79
|
+
* @see {@link DescribeVpcEndpointAssociationCommandInput} for command's `input` shape.
|
|
80
|
+
* @see {@link DescribeVpcEndpointAssociationCommandOutput} for command's `response` shape.
|
|
81
|
+
* @see {@link NetworkFirewallClientResolvedConfig | config} for NetworkFirewallClient's `config` shape.
|
|
82
|
+
*
|
|
83
|
+
* @throws {@link InternalServerError} (server fault)
|
|
84
|
+
* <p>Your request is valid, but Network Firewall couldn't perform the operation because of a
|
|
85
|
+
* system problem. Retry your request. </p>
|
|
86
|
+
*
|
|
87
|
+
* @throws {@link InvalidRequestException} (client fault)
|
|
88
|
+
* <p>The operation failed because of a problem with your request. Examples include: </p>
|
|
89
|
+
* <ul>
|
|
90
|
+
* <li>
|
|
91
|
+
* <p>You specified an unsupported parameter name or value.</p>
|
|
92
|
+
* </li>
|
|
93
|
+
* <li>
|
|
94
|
+
* <p>You tried to update a property with a value that isn't among the available
|
|
95
|
+
* types.</p>
|
|
96
|
+
* </li>
|
|
97
|
+
* <li>
|
|
98
|
+
* <p>Your request references an ARN that is malformed, or corresponds to a resource
|
|
99
|
+
* that isn't valid in the context of the request.</p>
|
|
100
|
+
* </li>
|
|
101
|
+
* </ul>
|
|
102
|
+
*
|
|
103
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
104
|
+
* <p>Unable to locate a resource using the parameters that you provided.</p>
|
|
105
|
+
*
|
|
106
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
107
|
+
* <p>Unable to process the request due to throttling limitations.</p>
|
|
108
|
+
*
|
|
109
|
+
* @throws {@link NetworkFirewallServiceException}
|
|
110
|
+
* <p>Base exception class for all service exceptions from NetworkFirewall service.</p>
|
|
111
|
+
*
|
|
112
|
+
*
|
|
113
|
+
* @public
|
|
114
|
+
*/
|
|
115
|
+
export declare class DescribeVpcEndpointAssociationCommand extends DescribeVpcEndpointAssociationCommand_base {
|
|
116
|
+
/** @internal type navigation helper, not in runtime. */
|
|
117
|
+
protected static __types: {
|
|
118
|
+
api: {
|
|
119
|
+
input: DescribeVpcEndpointAssociationRequest;
|
|
120
|
+
output: DescribeVpcEndpointAssociationResponse;
|
|
121
|
+
};
|
|
122
|
+
sdk: {
|
|
123
|
+
input: DescribeVpcEndpointAssociationCommandInput;
|
|
124
|
+
output: DescribeVpcEndpointAssociationCommandOutput;
|
|
125
|
+
};
|
|
126
|
+
};
|
|
127
|
+
}
|
|
@@ -43,12 +43,16 @@ declare const ListFlowOperationResultsCommand_base: {
|
|
|
43
43
|
* NextToken: "STRING_VALUE",
|
|
44
44
|
* MaxResults: Number("int"),
|
|
45
45
|
* AvailabilityZone: "STRING_VALUE",
|
|
46
|
+
* VpcEndpointId: "STRING_VALUE",
|
|
47
|
+
* VpcEndpointAssociationArn: "STRING_VALUE",
|
|
46
48
|
* };
|
|
47
49
|
* const command = new ListFlowOperationResultsCommand(input);
|
|
48
50
|
* const response = await client.send(command);
|
|
49
51
|
* // { // ListFlowOperationResultsResponse
|
|
50
52
|
* // FirewallArn: "STRING_VALUE",
|
|
51
53
|
* // AvailabilityZone: "STRING_VALUE",
|
|
54
|
+
* // VpcEndpointAssociationArn: "STRING_VALUE",
|
|
55
|
+
* // VpcEndpointId: "STRING_VALUE",
|
|
52
56
|
* // FlowOperationId: "STRING_VALUE",
|
|
53
57
|
* // FlowOperationStatus: "COMPLETED" || "IN_PROGRESS" || "FAILED" || "COMPLETED_WITH_ERRORS",
|
|
54
58
|
* // StatusMessage: "STRING_VALUE",
|
|
@@ -41,6 +41,8 @@ declare const ListFlowOperationsCommand_base: {
|
|
|
41
41
|
* const input = { // ListFlowOperationsRequest
|
|
42
42
|
* FirewallArn: "STRING_VALUE", // required
|
|
43
43
|
* AvailabilityZone: "STRING_VALUE",
|
|
44
|
+
* VpcEndpointAssociationArn: "STRING_VALUE",
|
|
45
|
+
* VpcEndpointId: "STRING_VALUE",
|
|
44
46
|
* FlowOperationType: "FLOW_FLUSH" || "FLOW_CAPTURE",
|
|
45
47
|
* NextToken: "STRING_VALUE",
|
|
46
48
|
* MaxResults: Number("int"),
|