@aws-sdk/client-network-firewall 3.936.0 → 3.940.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 +183 -7
- package/dist-cjs/index.js +1000 -42
- package/dist-es/NetworkFirewall.js +44 -0
- package/dist-es/commands/AttachRuleGroupsToProxyConfigurationCommand.js +16 -0
- package/dist-es/commands/CreateProxyCommand.js +16 -0
- package/dist-es/commands/CreateProxyConfigurationCommand.js +16 -0
- package/dist-es/commands/CreateProxyRuleGroupCommand.js +16 -0
- package/dist-es/commands/CreateProxyRulesCommand.js +16 -0
- package/dist-es/commands/DeleteProxyCommand.js +16 -0
- package/dist-es/commands/DeleteProxyConfigurationCommand.js +16 -0
- package/dist-es/commands/DeleteProxyRuleGroupCommand.js +16 -0
- package/dist-es/commands/DeleteProxyRulesCommand.js +16 -0
- package/dist-es/commands/DescribeProxyCommand.js +16 -0
- package/dist-es/commands/DescribeProxyConfigurationCommand.js +16 -0
- package/dist-es/commands/DescribeProxyRuleCommand.js +16 -0
- package/dist-es/commands/DescribeProxyRuleGroupCommand.js +16 -0
- package/dist-es/commands/DetachRuleGroupsFromProxyConfigurationCommand.js +16 -0
- package/dist-es/commands/ListProxiesCommand.js +16 -0
- package/dist-es/commands/ListProxyConfigurationsCommand.js +16 -0
- package/dist-es/commands/ListProxyRuleGroupsCommand.js +16 -0
- package/dist-es/commands/UpdateProxyCommand.js +16 -0
- package/dist-es/commands/UpdateProxyConfigurationCommand.js +16 -0
- package/dist-es/commands/UpdateProxyRuleCommand.js +16 -0
- package/dist-es/commands/UpdateProxyRuleGroupPrioritiesCommand.js +16 -0
- package/dist-es/commands/UpdateProxyRulePrioritiesCommand.js +16 -0
- package/dist-es/commands/index.js +22 -0
- package/dist-es/models/enums.js +31 -0
- package/dist-es/pagination/ListProxiesPaginator.js +4 -0
- package/dist-es/pagination/ListProxyConfigurationsPaginator.js +4 -0
- package/dist-es/pagination/ListProxyRuleGroupsPaginator.js +4 -0
- package/dist-es/pagination/index.js +3 -0
- package/dist-es/schemas/schemas_0.js +649 -42
- package/dist-types/NetworkFirewall.d.ts +162 -0
- package/dist-types/NetworkFirewallClient.d.ts +24 -2
- package/dist-types/commands/AttachRuleGroupsToProxyConfigurationCommand.d.ts +136 -0
- package/dist-types/commands/CreateProxyCommand.d.ts +159 -0
- package/dist-types/commands/CreateProxyConfigurationCommand.d.ts +151 -0
- package/dist-types/commands/CreateProxyRuleGroupCommand.d.ts +225 -0
- package/dist-types/commands/CreateProxyRulesCommand.d.ts +216 -0
- package/dist-types/commands/DeleteProxyCommand.d.ts +108 -0
- package/dist-types/commands/DeleteProxyConfigurationCommand.d.ts +102 -0
- package/dist-types/commands/DeleteProxyRuleGroupCommand.d.ts +102 -0
- package/dist-types/commands/DeleteProxyRulesCommand.d.ts +167 -0
- package/dist-types/commands/DescribeProxyCommand.d.ts +133 -0
- package/dist-types/commands/DescribeProxyConfigurationCommand.d.ts +127 -0
- package/dist-types/commands/DescribeProxyRuleCommand.d.ts +116 -0
- package/dist-types/commands/DescribeProxyRuleGroupCommand.d.ts +164 -0
- package/dist-types/commands/DetachRuleGroupsFromProxyConfigurationCommand.d.ts +136 -0
- package/dist-types/commands/ListProxiesCommand.d.ts +106 -0
- package/dist-types/commands/ListProxyConfigurationsCommand.d.ts +109 -0
- package/dist-types/commands/ListProxyRuleGroupsCommand.d.ts +109 -0
- package/dist-types/commands/UpdateProxyCommand.d.ts +152 -0
- package/dist-types/commands/UpdateProxyConfigurationCommand.d.ts +133 -0
- package/dist-types/commands/UpdateProxyRuleCommand.d.ts +146 -0
- package/dist-types/commands/UpdateProxyRuleGroupPrioritiesCommand.d.ts +114 -0
- package/dist-types/commands/UpdateProxyRulePrioritiesCommand.d.ts +118 -0
- package/dist-types/commands/index.d.ts +22 -0
- package/dist-types/models/enums.d.ts +79 -0
- package/dist-types/models/models_0.d.ts +1834 -264
- package/dist-types/pagination/ListProxiesPaginator.d.ts +7 -0
- package/dist-types/pagination/ListProxyConfigurationsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListProxyRuleGroupsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +3 -0
- package/dist-types/schemas/schemas_0.d.ts +104 -0
- package/dist-types/ts3.4/NetworkFirewall.d.ts +394 -0
- package/dist-types/ts3.4/NetworkFirewallClient.d.ts +132 -0
- package/dist-types/ts3.4/commands/AttachRuleGroupsToProxyConfigurationCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/CreateProxyCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/CreateProxyConfigurationCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/CreateProxyRuleGroupCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/CreateProxyRulesCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/DeleteProxyCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/DeleteProxyConfigurationCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DeleteProxyRuleGroupCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DeleteProxyRulesCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/DescribeProxyCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/DescribeProxyConfigurationCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DescribeProxyRuleCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DescribeProxyRuleGroupCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DetachRuleGroupsFromProxyConfigurationCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListProxiesCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/ListProxyConfigurationsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListProxyRuleGroupsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/UpdateProxyCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/UpdateProxyConfigurationCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/UpdateProxyRuleCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/UpdateProxyRuleGroupPrioritiesCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/UpdateProxyRulePrioritiesCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/index.d.ts +22 -0
- package/dist-types/ts3.4/models/enums.d.ts +42 -0
- package/dist-types/ts3.4/models/models_0.d.ts +372 -4
- package/dist-types/ts3.4/pagination/ListProxiesPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListProxyConfigurationsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListProxyRuleGroupsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +3 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +104 -0
- package/package.json +5 -5
|
@@ -0,0 +1,216 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { CreateProxyRulesRequest, CreateProxyRulesResponse } 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 CreateProxyRulesCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface CreateProxyRulesCommandInput extends CreateProxyRulesRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link CreateProxyRulesCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface CreateProxyRulesCommandOutput extends CreateProxyRulesResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const CreateProxyRulesCommand_base: {
|
|
25
|
+
new (input: CreateProxyRulesCommandInput): import("@smithy/smithy-client").CommandImpl<CreateProxyRulesCommandInput, CreateProxyRulesCommandOutput, NetworkFirewallClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: CreateProxyRulesCommandInput): import("@smithy/smithy-client").CommandImpl<CreateProxyRulesCommandInput, CreateProxyRulesCommandOutput, NetworkFirewallClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Creates Network Firewall <a>ProxyRule</a> resources. </p>
|
|
31
|
+
* <p>Attaches new proxy rule(s) to an existing proxy rule group. </p>
|
|
32
|
+
* <p>To retrieve information about individual proxy rules, use <a>DescribeProxyRuleGroup</a> and <a>DescribeProxyRule</a>.</p>
|
|
33
|
+
* @example
|
|
34
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
35
|
+
* ```javascript
|
|
36
|
+
* import { NetworkFirewallClient, CreateProxyRulesCommand } from "@aws-sdk/client-network-firewall"; // ES Modules import
|
|
37
|
+
* // const { NetworkFirewallClient, CreateProxyRulesCommand } = require("@aws-sdk/client-network-firewall"); // CommonJS import
|
|
38
|
+
* // import type { NetworkFirewallClientConfig } from "@aws-sdk/client-network-firewall";
|
|
39
|
+
* const config = {}; // type is NetworkFirewallClientConfig
|
|
40
|
+
* const client = new NetworkFirewallClient(config);
|
|
41
|
+
* const input = { // CreateProxyRulesRequest
|
|
42
|
+
* ProxyRuleGroupArn: "STRING_VALUE",
|
|
43
|
+
* ProxyRuleGroupName: "STRING_VALUE",
|
|
44
|
+
* Rules: { // CreateProxyRulesByRequestPhase
|
|
45
|
+
* PreDNS: [ // CreateProxyRuleList
|
|
46
|
+
* { // CreateProxyRule
|
|
47
|
+
* ProxyRuleName: "STRING_VALUE",
|
|
48
|
+
* Description: "STRING_VALUE",
|
|
49
|
+
* Action: "ALLOW" || "DENY" || "ALERT",
|
|
50
|
+
* Conditions: [ // ProxyRuleConditionList
|
|
51
|
+
* { // ProxyRuleCondition
|
|
52
|
+
* ConditionOperator: "STRING_VALUE",
|
|
53
|
+
* ConditionKey: "STRING_VALUE",
|
|
54
|
+
* ConditionValues: [ // ProxyConditionValueList
|
|
55
|
+
* "STRING_VALUE",
|
|
56
|
+
* ],
|
|
57
|
+
* },
|
|
58
|
+
* ],
|
|
59
|
+
* InsertPosition: Number("int"),
|
|
60
|
+
* },
|
|
61
|
+
* ],
|
|
62
|
+
* PreREQUEST: [
|
|
63
|
+
* {
|
|
64
|
+
* ProxyRuleName: "STRING_VALUE",
|
|
65
|
+
* Description: "STRING_VALUE",
|
|
66
|
+
* Action: "ALLOW" || "DENY" || "ALERT",
|
|
67
|
+
* Conditions: [
|
|
68
|
+
* {
|
|
69
|
+
* ConditionOperator: "STRING_VALUE",
|
|
70
|
+
* ConditionKey: "STRING_VALUE",
|
|
71
|
+
* ConditionValues: [
|
|
72
|
+
* "STRING_VALUE",
|
|
73
|
+
* ],
|
|
74
|
+
* },
|
|
75
|
+
* ],
|
|
76
|
+
* InsertPosition: Number("int"),
|
|
77
|
+
* },
|
|
78
|
+
* ],
|
|
79
|
+
* PostRESPONSE: [
|
|
80
|
+
* {
|
|
81
|
+
* ProxyRuleName: "STRING_VALUE",
|
|
82
|
+
* Description: "STRING_VALUE",
|
|
83
|
+
* Action: "ALLOW" || "DENY" || "ALERT",
|
|
84
|
+
* Conditions: [
|
|
85
|
+
* {
|
|
86
|
+
* ConditionOperator: "STRING_VALUE",
|
|
87
|
+
* ConditionKey: "STRING_VALUE",
|
|
88
|
+
* ConditionValues: [
|
|
89
|
+
* "STRING_VALUE",
|
|
90
|
+
* ],
|
|
91
|
+
* },
|
|
92
|
+
* ],
|
|
93
|
+
* InsertPosition: Number("int"),
|
|
94
|
+
* },
|
|
95
|
+
* ],
|
|
96
|
+
* },
|
|
97
|
+
* };
|
|
98
|
+
* const command = new CreateProxyRulesCommand(input);
|
|
99
|
+
* const response = await client.send(command);
|
|
100
|
+
* // { // CreateProxyRulesResponse
|
|
101
|
+
* // ProxyRuleGroup: { // ProxyRuleGroup
|
|
102
|
+
* // ProxyRuleGroupName: "STRING_VALUE",
|
|
103
|
+
* // ProxyRuleGroupArn: "STRING_VALUE",
|
|
104
|
+
* // CreateTime: new Date("TIMESTAMP"),
|
|
105
|
+
* // DeleteTime: new Date("TIMESTAMP"),
|
|
106
|
+
* // Rules: { // ProxyRulesByRequestPhase
|
|
107
|
+
* // PreDNS: [ // ProxyRuleList
|
|
108
|
+
* // { // ProxyRule
|
|
109
|
+
* // ProxyRuleName: "STRING_VALUE",
|
|
110
|
+
* // Description: "STRING_VALUE",
|
|
111
|
+
* // Action: "ALLOW" || "DENY" || "ALERT",
|
|
112
|
+
* // Conditions: [ // ProxyRuleConditionList
|
|
113
|
+
* // { // ProxyRuleCondition
|
|
114
|
+
* // ConditionOperator: "STRING_VALUE",
|
|
115
|
+
* // ConditionKey: "STRING_VALUE",
|
|
116
|
+
* // ConditionValues: [ // ProxyConditionValueList
|
|
117
|
+
* // "STRING_VALUE",
|
|
118
|
+
* // ],
|
|
119
|
+
* // },
|
|
120
|
+
* // ],
|
|
121
|
+
* // },
|
|
122
|
+
* // ],
|
|
123
|
+
* // PreREQUEST: [
|
|
124
|
+
* // {
|
|
125
|
+
* // ProxyRuleName: "STRING_VALUE",
|
|
126
|
+
* // Description: "STRING_VALUE",
|
|
127
|
+
* // Action: "ALLOW" || "DENY" || "ALERT",
|
|
128
|
+
* // Conditions: [
|
|
129
|
+
* // {
|
|
130
|
+
* // ConditionOperator: "STRING_VALUE",
|
|
131
|
+
* // ConditionKey: "STRING_VALUE",
|
|
132
|
+
* // ConditionValues: [
|
|
133
|
+
* // "STRING_VALUE",
|
|
134
|
+
* // ],
|
|
135
|
+
* // },
|
|
136
|
+
* // ],
|
|
137
|
+
* // },
|
|
138
|
+
* // ],
|
|
139
|
+
* // PostRESPONSE: [
|
|
140
|
+
* // {
|
|
141
|
+
* // ProxyRuleName: "STRING_VALUE",
|
|
142
|
+
* // Description: "STRING_VALUE",
|
|
143
|
+
* // Action: "ALLOW" || "DENY" || "ALERT",
|
|
144
|
+
* // Conditions: [
|
|
145
|
+
* // {
|
|
146
|
+
* // ConditionOperator: "STRING_VALUE",
|
|
147
|
+
* // ConditionKey: "STRING_VALUE",
|
|
148
|
+
* // ConditionValues: [
|
|
149
|
+
* // "STRING_VALUE",
|
|
150
|
+
* // ],
|
|
151
|
+
* // },
|
|
152
|
+
* // ],
|
|
153
|
+
* // },
|
|
154
|
+
* // ],
|
|
155
|
+
* // },
|
|
156
|
+
* // Description: "STRING_VALUE",
|
|
157
|
+
* // Tags: [ // TagList
|
|
158
|
+
* // { // Tag
|
|
159
|
+
* // Key: "STRING_VALUE", // required
|
|
160
|
+
* // Value: "STRING_VALUE", // required
|
|
161
|
+
* // },
|
|
162
|
+
* // ],
|
|
163
|
+
* // },
|
|
164
|
+
* // UpdateToken: "STRING_VALUE",
|
|
165
|
+
* // };
|
|
166
|
+
*
|
|
167
|
+
* ```
|
|
168
|
+
*
|
|
169
|
+
* @param CreateProxyRulesCommandInput - {@link CreateProxyRulesCommandInput}
|
|
170
|
+
* @returns {@link CreateProxyRulesCommandOutput}
|
|
171
|
+
* @see {@link CreateProxyRulesCommandInput} for command's `input` shape.
|
|
172
|
+
* @see {@link CreateProxyRulesCommandOutput} for command's `response` shape.
|
|
173
|
+
* @see {@link NetworkFirewallClientResolvedConfig | config} for NetworkFirewallClient's `config` shape.
|
|
174
|
+
*
|
|
175
|
+
* @throws {@link InternalServerError} (server fault)
|
|
176
|
+
* <p>Your request is valid, but Network Firewall couldn't perform the operation because of a
|
|
177
|
+
* system problem. Retry your request. </p>
|
|
178
|
+
*
|
|
179
|
+
* @throws {@link InvalidRequestException} (client fault)
|
|
180
|
+
* <p>The operation failed because of a problem with your request. Examples include: </p>
|
|
181
|
+
* <ul>
|
|
182
|
+
* <li>
|
|
183
|
+
* <p>You specified an unsupported parameter name or value.</p>
|
|
184
|
+
* </li>
|
|
185
|
+
* <li>
|
|
186
|
+
* <p>You tried to update a property with a value that isn't among the available
|
|
187
|
+
* types.</p>
|
|
188
|
+
* </li>
|
|
189
|
+
* <li>
|
|
190
|
+
* <p>Your request references an ARN that is malformed, or corresponds to a resource
|
|
191
|
+
* that isn't valid in the context of the request.</p>
|
|
192
|
+
* </li>
|
|
193
|
+
* </ul>
|
|
194
|
+
*
|
|
195
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
196
|
+
* <p>Unable to process the request due to throttling limitations.</p>
|
|
197
|
+
*
|
|
198
|
+
* @throws {@link NetworkFirewallServiceException}
|
|
199
|
+
* <p>Base exception class for all service exceptions from NetworkFirewall service.</p>
|
|
200
|
+
*
|
|
201
|
+
*
|
|
202
|
+
* @public
|
|
203
|
+
*/
|
|
204
|
+
export declare class CreateProxyRulesCommand extends CreateProxyRulesCommand_base {
|
|
205
|
+
/** @internal type navigation helper, not in runtime. */
|
|
206
|
+
protected static __types: {
|
|
207
|
+
api: {
|
|
208
|
+
input: CreateProxyRulesRequest;
|
|
209
|
+
output: CreateProxyRulesResponse;
|
|
210
|
+
};
|
|
211
|
+
sdk: {
|
|
212
|
+
input: CreateProxyRulesCommandInput;
|
|
213
|
+
output: CreateProxyRulesCommandOutput;
|
|
214
|
+
};
|
|
215
|
+
};
|
|
216
|
+
}
|
|
@@ -0,0 +1,108 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { DeleteProxyRequest, DeleteProxyResponse } 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 DeleteProxyCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface DeleteProxyCommandInput extends DeleteProxyRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link DeleteProxyCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface DeleteProxyCommandOutput extends DeleteProxyResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const DeleteProxyCommand_base: {
|
|
25
|
+
new (input: DeleteProxyCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteProxyCommandInput, DeleteProxyCommandOutput, NetworkFirewallClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: DeleteProxyCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteProxyCommandInput, DeleteProxyCommandOutput, NetworkFirewallClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Deletes the specified <a>Proxy</a>. </p>
|
|
31
|
+
* <p>Detaches a Proxy configuration from a NAT Gateway. </p>
|
|
32
|
+
* @example
|
|
33
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
34
|
+
* ```javascript
|
|
35
|
+
* import { NetworkFirewallClient, DeleteProxyCommand } from "@aws-sdk/client-network-firewall"; // ES Modules import
|
|
36
|
+
* // const { NetworkFirewallClient, DeleteProxyCommand } = require("@aws-sdk/client-network-firewall"); // CommonJS import
|
|
37
|
+
* // import type { NetworkFirewallClientConfig } from "@aws-sdk/client-network-firewall";
|
|
38
|
+
* const config = {}; // type is NetworkFirewallClientConfig
|
|
39
|
+
* const client = new NetworkFirewallClient(config);
|
|
40
|
+
* const input = { // DeleteProxyRequest
|
|
41
|
+
* NatGatewayId: "STRING_VALUE", // required
|
|
42
|
+
* ProxyName: "STRING_VALUE",
|
|
43
|
+
* ProxyArn: "STRING_VALUE",
|
|
44
|
+
* };
|
|
45
|
+
* const command = new DeleteProxyCommand(input);
|
|
46
|
+
* const response = await client.send(command);
|
|
47
|
+
* // { // DeleteProxyResponse
|
|
48
|
+
* // NatGatewayId: "STRING_VALUE",
|
|
49
|
+
* // ProxyName: "STRING_VALUE",
|
|
50
|
+
* // ProxyArn: "STRING_VALUE",
|
|
51
|
+
* // };
|
|
52
|
+
*
|
|
53
|
+
* ```
|
|
54
|
+
*
|
|
55
|
+
* @param DeleteProxyCommandInput - {@link DeleteProxyCommandInput}
|
|
56
|
+
* @returns {@link DeleteProxyCommandOutput}
|
|
57
|
+
* @see {@link DeleteProxyCommandInput} for command's `input` shape.
|
|
58
|
+
* @see {@link DeleteProxyCommandOutput} for command's `response` shape.
|
|
59
|
+
* @see {@link NetworkFirewallClientResolvedConfig | config} for NetworkFirewallClient's `config` shape.
|
|
60
|
+
*
|
|
61
|
+
* @throws {@link InternalServerError} (server fault)
|
|
62
|
+
* <p>Your request is valid, but Network Firewall couldn't perform the operation because of a
|
|
63
|
+
* system problem. Retry your request. </p>
|
|
64
|
+
*
|
|
65
|
+
* @throws {@link InvalidRequestException} (client fault)
|
|
66
|
+
* <p>The operation failed because of a problem with your request. Examples include: </p>
|
|
67
|
+
* <ul>
|
|
68
|
+
* <li>
|
|
69
|
+
* <p>You specified an unsupported parameter name or value.</p>
|
|
70
|
+
* </li>
|
|
71
|
+
* <li>
|
|
72
|
+
* <p>You tried to update a property with a value that isn't among the available
|
|
73
|
+
* types.</p>
|
|
74
|
+
* </li>
|
|
75
|
+
* <li>
|
|
76
|
+
* <p>Your request references an ARN that is malformed, or corresponds to a resource
|
|
77
|
+
* that isn't valid in the context of the request.</p>
|
|
78
|
+
* </li>
|
|
79
|
+
* </ul>
|
|
80
|
+
*
|
|
81
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
82
|
+
* <p>Unable to locate a resource using the parameters that you provided.</p>
|
|
83
|
+
*
|
|
84
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
85
|
+
* <p>Unable to process the request due to throttling limitations.</p>
|
|
86
|
+
*
|
|
87
|
+
* @throws {@link UnsupportedOperationException} (client fault)
|
|
88
|
+
* <p>The operation you requested isn't supported by Network Firewall. </p>
|
|
89
|
+
*
|
|
90
|
+
* @throws {@link NetworkFirewallServiceException}
|
|
91
|
+
* <p>Base exception class for all service exceptions from NetworkFirewall service.</p>
|
|
92
|
+
*
|
|
93
|
+
*
|
|
94
|
+
* @public
|
|
95
|
+
*/
|
|
96
|
+
export declare class DeleteProxyCommand extends DeleteProxyCommand_base {
|
|
97
|
+
/** @internal type navigation helper, not in runtime. */
|
|
98
|
+
protected static __types: {
|
|
99
|
+
api: {
|
|
100
|
+
input: DeleteProxyRequest;
|
|
101
|
+
output: DeleteProxyResponse;
|
|
102
|
+
};
|
|
103
|
+
sdk: {
|
|
104
|
+
input: DeleteProxyCommandInput;
|
|
105
|
+
output: DeleteProxyCommandOutput;
|
|
106
|
+
};
|
|
107
|
+
};
|
|
108
|
+
}
|
|
@@ -0,0 +1,102 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { DeleteProxyConfigurationRequest, DeleteProxyConfigurationResponse } 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 DeleteProxyConfigurationCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface DeleteProxyConfigurationCommandInput extends DeleteProxyConfigurationRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link DeleteProxyConfigurationCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface DeleteProxyConfigurationCommandOutput extends DeleteProxyConfigurationResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const DeleteProxyConfigurationCommand_base: {
|
|
25
|
+
new (input: DeleteProxyConfigurationCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteProxyConfigurationCommandInput, DeleteProxyConfigurationCommandOutput, NetworkFirewallClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (...[input]: [] | [DeleteProxyConfigurationCommandInput]): import("@smithy/smithy-client").CommandImpl<DeleteProxyConfigurationCommandInput, DeleteProxyConfigurationCommandOutput, NetworkFirewallClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Deletes the specified <a>ProxyConfiguration</a>. </p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { NetworkFirewallClient, DeleteProxyConfigurationCommand } from "@aws-sdk/client-network-firewall"; // ES Modules import
|
|
35
|
+
* // const { NetworkFirewallClient, DeleteProxyConfigurationCommand } = require("@aws-sdk/client-network-firewall"); // CommonJS import
|
|
36
|
+
* // import type { NetworkFirewallClientConfig } from "@aws-sdk/client-network-firewall";
|
|
37
|
+
* const config = {}; // type is NetworkFirewallClientConfig
|
|
38
|
+
* const client = new NetworkFirewallClient(config);
|
|
39
|
+
* const input = { // DeleteProxyConfigurationRequest
|
|
40
|
+
* ProxyConfigurationName: "STRING_VALUE",
|
|
41
|
+
* ProxyConfigurationArn: "STRING_VALUE",
|
|
42
|
+
* };
|
|
43
|
+
* const command = new DeleteProxyConfigurationCommand(input);
|
|
44
|
+
* const response = await client.send(command);
|
|
45
|
+
* // { // DeleteProxyConfigurationResponse
|
|
46
|
+
* // ProxyConfigurationName: "STRING_VALUE",
|
|
47
|
+
* // ProxyConfigurationArn: "STRING_VALUE",
|
|
48
|
+
* // };
|
|
49
|
+
*
|
|
50
|
+
* ```
|
|
51
|
+
*
|
|
52
|
+
* @param DeleteProxyConfigurationCommandInput - {@link DeleteProxyConfigurationCommandInput}
|
|
53
|
+
* @returns {@link DeleteProxyConfigurationCommandOutput}
|
|
54
|
+
* @see {@link DeleteProxyConfigurationCommandInput} for command's `input` shape.
|
|
55
|
+
* @see {@link DeleteProxyConfigurationCommandOutput} for command's `response` shape.
|
|
56
|
+
* @see {@link NetworkFirewallClientResolvedConfig | config} for NetworkFirewallClient's `config` shape.
|
|
57
|
+
*
|
|
58
|
+
* @throws {@link InternalServerError} (server fault)
|
|
59
|
+
* <p>Your request is valid, but Network Firewall couldn't perform the operation because of a
|
|
60
|
+
* system problem. Retry your request. </p>
|
|
61
|
+
*
|
|
62
|
+
* @throws {@link InvalidRequestException} (client fault)
|
|
63
|
+
* <p>The operation failed because of a problem with your request. Examples include: </p>
|
|
64
|
+
* <ul>
|
|
65
|
+
* <li>
|
|
66
|
+
* <p>You specified an unsupported parameter name or value.</p>
|
|
67
|
+
* </li>
|
|
68
|
+
* <li>
|
|
69
|
+
* <p>You tried to update a property with a value that isn't among the available
|
|
70
|
+
* types.</p>
|
|
71
|
+
* </li>
|
|
72
|
+
* <li>
|
|
73
|
+
* <p>Your request references an ARN that is malformed, or corresponds to a resource
|
|
74
|
+
* that isn't valid in the context of the request.</p>
|
|
75
|
+
* </li>
|
|
76
|
+
* </ul>
|
|
77
|
+
*
|
|
78
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
79
|
+
* <p>Unable to locate a resource using the parameters that you provided.</p>
|
|
80
|
+
*
|
|
81
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
82
|
+
* <p>Unable to process the request due to throttling limitations.</p>
|
|
83
|
+
*
|
|
84
|
+
* @throws {@link NetworkFirewallServiceException}
|
|
85
|
+
* <p>Base exception class for all service exceptions from NetworkFirewall service.</p>
|
|
86
|
+
*
|
|
87
|
+
*
|
|
88
|
+
* @public
|
|
89
|
+
*/
|
|
90
|
+
export declare class DeleteProxyConfigurationCommand extends DeleteProxyConfigurationCommand_base {
|
|
91
|
+
/** @internal type navigation helper, not in runtime. */
|
|
92
|
+
protected static __types: {
|
|
93
|
+
api: {
|
|
94
|
+
input: DeleteProxyConfigurationRequest;
|
|
95
|
+
output: DeleteProxyConfigurationResponse;
|
|
96
|
+
};
|
|
97
|
+
sdk: {
|
|
98
|
+
input: DeleteProxyConfigurationCommandInput;
|
|
99
|
+
output: DeleteProxyConfigurationCommandOutput;
|
|
100
|
+
};
|
|
101
|
+
};
|
|
102
|
+
}
|
|
@@ -0,0 +1,102 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { DeleteProxyRuleGroupRequest, DeleteProxyRuleGroupResponse } 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 DeleteProxyRuleGroupCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface DeleteProxyRuleGroupCommandInput extends DeleteProxyRuleGroupRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link DeleteProxyRuleGroupCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface DeleteProxyRuleGroupCommandOutput extends DeleteProxyRuleGroupResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const DeleteProxyRuleGroupCommand_base: {
|
|
25
|
+
new (input: DeleteProxyRuleGroupCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteProxyRuleGroupCommandInput, DeleteProxyRuleGroupCommandOutput, NetworkFirewallClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (...[input]: [] | [DeleteProxyRuleGroupCommandInput]): import("@smithy/smithy-client").CommandImpl<DeleteProxyRuleGroupCommandInput, DeleteProxyRuleGroupCommandOutput, NetworkFirewallClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Deletes the specified <a>ProxyRuleGroup</a>. </p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { NetworkFirewallClient, DeleteProxyRuleGroupCommand } from "@aws-sdk/client-network-firewall"; // ES Modules import
|
|
35
|
+
* // const { NetworkFirewallClient, DeleteProxyRuleGroupCommand } = require("@aws-sdk/client-network-firewall"); // CommonJS import
|
|
36
|
+
* // import type { NetworkFirewallClientConfig } from "@aws-sdk/client-network-firewall";
|
|
37
|
+
* const config = {}; // type is NetworkFirewallClientConfig
|
|
38
|
+
* const client = new NetworkFirewallClient(config);
|
|
39
|
+
* const input = { // DeleteProxyRuleGroupRequest
|
|
40
|
+
* ProxyRuleGroupName: "STRING_VALUE",
|
|
41
|
+
* ProxyRuleGroupArn: "STRING_VALUE",
|
|
42
|
+
* };
|
|
43
|
+
* const command = new DeleteProxyRuleGroupCommand(input);
|
|
44
|
+
* const response = await client.send(command);
|
|
45
|
+
* // { // DeleteProxyRuleGroupResponse
|
|
46
|
+
* // ProxyRuleGroupName: "STRING_VALUE",
|
|
47
|
+
* // ProxyRuleGroupArn: "STRING_VALUE",
|
|
48
|
+
* // };
|
|
49
|
+
*
|
|
50
|
+
* ```
|
|
51
|
+
*
|
|
52
|
+
* @param DeleteProxyRuleGroupCommandInput - {@link DeleteProxyRuleGroupCommandInput}
|
|
53
|
+
* @returns {@link DeleteProxyRuleGroupCommandOutput}
|
|
54
|
+
* @see {@link DeleteProxyRuleGroupCommandInput} for command's `input` shape.
|
|
55
|
+
* @see {@link DeleteProxyRuleGroupCommandOutput} for command's `response` shape.
|
|
56
|
+
* @see {@link NetworkFirewallClientResolvedConfig | config} for NetworkFirewallClient's `config` shape.
|
|
57
|
+
*
|
|
58
|
+
* @throws {@link InternalServerError} (server fault)
|
|
59
|
+
* <p>Your request is valid, but Network Firewall couldn't perform the operation because of a
|
|
60
|
+
* system problem. Retry your request. </p>
|
|
61
|
+
*
|
|
62
|
+
* @throws {@link InvalidRequestException} (client fault)
|
|
63
|
+
* <p>The operation failed because of a problem with your request. Examples include: </p>
|
|
64
|
+
* <ul>
|
|
65
|
+
* <li>
|
|
66
|
+
* <p>You specified an unsupported parameter name or value.</p>
|
|
67
|
+
* </li>
|
|
68
|
+
* <li>
|
|
69
|
+
* <p>You tried to update a property with a value that isn't among the available
|
|
70
|
+
* types.</p>
|
|
71
|
+
* </li>
|
|
72
|
+
* <li>
|
|
73
|
+
* <p>Your request references an ARN that is malformed, or corresponds to a resource
|
|
74
|
+
* that isn't valid in the context of the request.</p>
|
|
75
|
+
* </li>
|
|
76
|
+
* </ul>
|
|
77
|
+
*
|
|
78
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
79
|
+
* <p>Unable to locate a resource using the parameters that you provided.</p>
|
|
80
|
+
*
|
|
81
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
82
|
+
* <p>Unable to process the request due to throttling limitations.</p>
|
|
83
|
+
*
|
|
84
|
+
* @throws {@link NetworkFirewallServiceException}
|
|
85
|
+
* <p>Base exception class for all service exceptions from NetworkFirewall service.</p>
|
|
86
|
+
*
|
|
87
|
+
*
|
|
88
|
+
* @public
|
|
89
|
+
*/
|
|
90
|
+
export declare class DeleteProxyRuleGroupCommand extends DeleteProxyRuleGroupCommand_base {
|
|
91
|
+
/** @internal type navigation helper, not in runtime. */
|
|
92
|
+
protected static __types: {
|
|
93
|
+
api: {
|
|
94
|
+
input: DeleteProxyRuleGroupRequest;
|
|
95
|
+
output: DeleteProxyRuleGroupResponse;
|
|
96
|
+
};
|
|
97
|
+
sdk: {
|
|
98
|
+
input: DeleteProxyRuleGroupCommandInput;
|
|
99
|
+
output: DeleteProxyRuleGroupCommandOutput;
|
|
100
|
+
};
|
|
101
|
+
};
|
|
102
|
+
}
|