@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,152 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { UpdateProxyRequest, UpdateProxyResponse } 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 UpdateProxyCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface UpdateProxyCommandInput extends UpdateProxyRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link UpdateProxyCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface UpdateProxyCommandOutput extends UpdateProxyResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const UpdateProxyCommand_base: {
|
|
25
|
+
new (input: UpdateProxyCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateProxyCommandInput, UpdateProxyCommandOutput, NetworkFirewallClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: UpdateProxyCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateProxyCommandInput, UpdateProxyCommandOutput, NetworkFirewallClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Updates the properties of the specified proxy.</p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { NetworkFirewallClient, UpdateProxyCommand } from "@aws-sdk/client-network-firewall"; // ES Modules import
|
|
35
|
+
* // const { NetworkFirewallClient, UpdateProxyCommand } = 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 = { // UpdateProxyRequest
|
|
40
|
+
* NatGatewayId: "STRING_VALUE", // required
|
|
41
|
+
* ProxyName: "STRING_VALUE",
|
|
42
|
+
* ProxyArn: "STRING_VALUE",
|
|
43
|
+
* ListenerPropertiesToAdd: [ // ListenerPropertiesRequest
|
|
44
|
+
* { // ListenerPropertyRequest
|
|
45
|
+
* Port: Number("int"), // required
|
|
46
|
+
* Type: "HTTP" || "HTTPS", // required
|
|
47
|
+
* },
|
|
48
|
+
* ],
|
|
49
|
+
* ListenerPropertiesToRemove: [
|
|
50
|
+
* {
|
|
51
|
+
* Port: Number("int"), // required
|
|
52
|
+
* Type: "HTTP" || "HTTPS", // required
|
|
53
|
+
* },
|
|
54
|
+
* ],
|
|
55
|
+
* TlsInterceptProperties: { // TlsInterceptPropertiesRequest
|
|
56
|
+
* PcaArn: "STRING_VALUE",
|
|
57
|
+
* TlsInterceptMode: "ENABLED" || "DISABLED",
|
|
58
|
+
* },
|
|
59
|
+
* UpdateToken: "STRING_VALUE", // required
|
|
60
|
+
* };
|
|
61
|
+
* const command = new UpdateProxyCommand(input);
|
|
62
|
+
* const response = await client.send(command);
|
|
63
|
+
* // { // UpdateProxyResponse
|
|
64
|
+
* // Proxy: { // Proxy
|
|
65
|
+
* // CreateTime: new Date("TIMESTAMP"),
|
|
66
|
+
* // DeleteTime: new Date("TIMESTAMP"),
|
|
67
|
+
* // UpdateTime: new Date("TIMESTAMP"),
|
|
68
|
+
* // FailureCode: "STRING_VALUE",
|
|
69
|
+
* // FailureMessage: "STRING_VALUE",
|
|
70
|
+
* // ProxyState: "ATTACHING" || "ATTACHED" || "DETACHING" || "DETACHED" || "ATTACH_FAILED" || "DETACH_FAILED",
|
|
71
|
+
* // ProxyModifyState: "MODIFYING" || "COMPLETED" || "FAILED",
|
|
72
|
+
* // NatGatewayId: "STRING_VALUE",
|
|
73
|
+
* // ProxyConfigurationName: "STRING_VALUE",
|
|
74
|
+
* // ProxyConfigurationArn: "STRING_VALUE",
|
|
75
|
+
* // ProxyName: "STRING_VALUE",
|
|
76
|
+
* // ProxyArn: "STRING_VALUE",
|
|
77
|
+
* // ListenerProperties: [ // ListenerProperties
|
|
78
|
+
* // { // ListenerProperty
|
|
79
|
+
* // Port: Number("int"),
|
|
80
|
+
* // Type: "HTTP" || "HTTPS",
|
|
81
|
+
* // },
|
|
82
|
+
* // ],
|
|
83
|
+
* // TlsInterceptProperties: { // TlsInterceptProperties
|
|
84
|
+
* // PcaArn: "STRING_VALUE",
|
|
85
|
+
* // TlsInterceptMode: "ENABLED" || "DISABLED",
|
|
86
|
+
* // },
|
|
87
|
+
* // Tags: [ // TagList
|
|
88
|
+
* // { // Tag
|
|
89
|
+
* // Key: "STRING_VALUE", // required
|
|
90
|
+
* // Value: "STRING_VALUE", // required
|
|
91
|
+
* // },
|
|
92
|
+
* // ],
|
|
93
|
+
* // },
|
|
94
|
+
* // UpdateToken: "STRING_VALUE",
|
|
95
|
+
* // };
|
|
96
|
+
*
|
|
97
|
+
* ```
|
|
98
|
+
*
|
|
99
|
+
* @param UpdateProxyCommandInput - {@link UpdateProxyCommandInput}
|
|
100
|
+
* @returns {@link UpdateProxyCommandOutput}
|
|
101
|
+
* @see {@link UpdateProxyCommandInput} for command's `input` shape.
|
|
102
|
+
* @see {@link UpdateProxyCommandOutput} for command's `response` shape.
|
|
103
|
+
* @see {@link NetworkFirewallClientResolvedConfig | config} for NetworkFirewallClient's `config` shape.
|
|
104
|
+
*
|
|
105
|
+
* @throws {@link InternalServerError} (server fault)
|
|
106
|
+
* <p>Your request is valid, but Network Firewall couldn't perform the operation because of a
|
|
107
|
+
* system problem. Retry your request. </p>
|
|
108
|
+
*
|
|
109
|
+
* @throws {@link InvalidRequestException} (client fault)
|
|
110
|
+
* <p>The operation failed because of a problem with your request. Examples include: </p>
|
|
111
|
+
* <ul>
|
|
112
|
+
* <li>
|
|
113
|
+
* <p>You specified an unsupported parameter name or value.</p>
|
|
114
|
+
* </li>
|
|
115
|
+
* <li>
|
|
116
|
+
* <p>You tried to update a property with a value that isn't among the available
|
|
117
|
+
* types.</p>
|
|
118
|
+
* </li>
|
|
119
|
+
* <li>
|
|
120
|
+
* <p>Your request references an ARN that is malformed, or corresponds to a resource
|
|
121
|
+
* that isn't valid in the context of the request.</p>
|
|
122
|
+
* </li>
|
|
123
|
+
* </ul>
|
|
124
|
+
*
|
|
125
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
126
|
+
* <p>Unable to locate a resource using the parameters that you provided.</p>
|
|
127
|
+
*
|
|
128
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
129
|
+
* <p>Unable to process the request due to throttling limitations.</p>
|
|
130
|
+
*
|
|
131
|
+
* @throws {@link UnsupportedOperationException} (client fault)
|
|
132
|
+
* <p>The operation you requested isn't supported by Network Firewall. </p>
|
|
133
|
+
*
|
|
134
|
+
* @throws {@link NetworkFirewallServiceException}
|
|
135
|
+
* <p>Base exception class for all service exceptions from NetworkFirewall service.</p>
|
|
136
|
+
*
|
|
137
|
+
*
|
|
138
|
+
* @public
|
|
139
|
+
*/
|
|
140
|
+
export declare class UpdateProxyCommand extends UpdateProxyCommand_base {
|
|
141
|
+
/** @internal type navigation helper, not in runtime. */
|
|
142
|
+
protected static __types: {
|
|
143
|
+
api: {
|
|
144
|
+
input: UpdateProxyRequest;
|
|
145
|
+
output: UpdateProxyResponse;
|
|
146
|
+
};
|
|
147
|
+
sdk: {
|
|
148
|
+
input: UpdateProxyCommandInput;
|
|
149
|
+
output: UpdateProxyCommandOutput;
|
|
150
|
+
};
|
|
151
|
+
};
|
|
152
|
+
}
|
|
@@ -0,0 +1,133 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { UpdateProxyConfigurationRequest, UpdateProxyConfigurationResponse } 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 UpdateProxyConfigurationCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface UpdateProxyConfigurationCommandInput extends UpdateProxyConfigurationRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link UpdateProxyConfigurationCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface UpdateProxyConfigurationCommandOutput extends UpdateProxyConfigurationResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const UpdateProxyConfigurationCommand_base: {
|
|
25
|
+
new (input: UpdateProxyConfigurationCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateProxyConfigurationCommandInput, UpdateProxyConfigurationCommandOutput, NetworkFirewallClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: UpdateProxyConfigurationCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateProxyConfigurationCommandInput, UpdateProxyConfigurationCommandOutput, NetworkFirewallClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Updates the properties of the specified proxy configuration.</p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { NetworkFirewallClient, UpdateProxyConfigurationCommand } from "@aws-sdk/client-network-firewall"; // ES Modules import
|
|
35
|
+
* // const { NetworkFirewallClient, UpdateProxyConfigurationCommand } = 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 = { // UpdateProxyConfigurationRequest
|
|
40
|
+
* ProxyConfigurationName: "STRING_VALUE",
|
|
41
|
+
* ProxyConfigurationArn: "STRING_VALUE",
|
|
42
|
+
* DefaultRulePhaseActions: { // ProxyConfigDefaultRulePhaseActionsRequest
|
|
43
|
+
* PreDNS: "ALLOW" || "DENY" || "ALERT",
|
|
44
|
+
* PreREQUEST: "ALLOW" || "DENY" || "ALERT",
|
|
45
|
+
* PostRESPONSE: "ALLOW" || "DENY" || "ALERT",
|
|
46
|
+
* },
|
|
47
|
+
* UpdateToken: "STRING_VALUE", // required
|
|
48
|
+
* };
|
|
49
|
+
* const command = new UpdateProxyConfigurationCommand(input);
|
|
50
|
+
* const response = await client.send(command);
|
|
51
|
+
* // { // UpdateProxyConfigurationResponse
|
|
52
|
+
* // ProxyConfiguration: { // ProxyConfiguration
|
|
53
|
+
* // ProxyConfigurationName: "STRING_VALUE",
|
|
54
|
+
* // ProxyConfigurationArn: "STRING_VALUE",
|
|
55
|
+
* // Description: "STRING_VALUE",
|
|
56
|
+
* // CreateTime: new Date("TIMESTAMP"),
|
|
57
|
+
* // DeleteTime: new Date("TIMESTAMP"),
|
|
58
|
+
* // RuleGroups: [ // ProxyConfigRuleGroupSet
|
|
59
|
+
* // { // ProxyConfigRuleGroup
|
|
60
|
+
* // ProxyRuleGroupName: "STRING_VALUE",
|
|
61
|
+
* // ProxyRuleGroupArn: "STRING_VALUE",
|
|
62
|
+
* // Type: "STRING_VALUE",
|
|
63
|
+
* // Priority: Number("int"),
|
|
64
|
+
* // },
|
|
65
|
+
* // ],
|
|
66
|
+
* // DefaultRulePhaseActions: { // ProxyConfigDefaultRulePhaseActionsRequest
|
|
67
|
+
* // PreDNS: "ALLOW" || "DENY" || "ALERT",
|
|
68
|
+
* // PreREQUEST: "ALLOW" || "DENY" || "ALERT",
|
|
69
|
+
* // PostRESPONSE: "ALLOW" || "DENY" || "ALERT",
|
|
70
|
+
* // },
|
|
71
|
+
* // Tags: [ // TagList
|
|
72
|
+
* // { // Tag
|
|
73
|
+
* // Key: "STRING_VALUE", // required
|
|
74
|
+
* // Value: "STRING_VALUE", // required
|
|
75
|
+
* // },
|
|
76
|
+
* // ],
|
|
77
|
+
* // },
|
|
78
|
+
* // UpdateToken: "STRING_VALUE",
|
|
79
|
+
* // };
|
|
80
|
+
*
|
|
81
|
+
* ```
|
|
82
|
+
*
|
|
83
|
+
* @param UpdateProxyConfigurationCommandInput - {@link UpdateProxyConfigurationCommandInput}
|
|
84
|
+
* @returns {@link UpdateProxyConfigurationCommandOutput}
|
|
85
|
+
* @see {@link UpdateProxyConfigurationCommandInput} for command's `input` shape.
|
|
86
|
+
* @see {@link UpdateProxyConfigurationCommandOutput} 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 InvalidRequestException} (client fault)
|
|
94
|
+
* <p>The operation failed because of a problem with your request. Examples include: </p>
|
|
95
|
+
* <ul>
|
|
96
|
+
* <li>
|
|
97
|
+
* <p>You specified an unsupported parameter name or value.</p>
|
|
98
|
+
* </li>
|
|
99
|
+
* <li>
|
|
100
|
+
* <p>You tried to update a property with a value that isn't among the available
|
|
101
|
+
* types.</p>
|
|
102
|
+
* </li>
|
|
103
|
+
* <li>
|
|
104
|
+
* <p>Your request references an ARN that is malformed, or corresponds to a resource
|
|
105
|
+
* that isn't valid in the context of the request.</p>
|
|
106
|
+
* </li>
|
|
107
|
+
* </ul>
|
|
108
|
+
*
|
|
109
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
110
|
+
* <p>Unable to locate a resource using the parameters that you provided.</p>
|
|
111
|
+
*
|
|
112
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
113
|
+
* <p>Unable to process the request due to throttling limitations.</p>
|
|
114
|
+
*
|
|
115
|
+
* @throws {@link NetworkFirewallServiceException}
|
|
116
|
+
* <p>Base exception class for all service exceptions from NetworkFirewall service.</p>
|
|
117
|
+
*
|
|
118
|
+
*
|
|
119
|
+
* @public
|
|
120
|
+
*/
|
|
121
|
+
export declare class UpdateProxyConfigurationCommand extends UpdateProxyConfigurationCommand_base {
|
|
122
|
+
/** @internal type navigation helper, not in runtime. */
|
|
123
|
+
protected static __types: {
|
|
124
|
+
api: {
|
|
125
|
+
input: UpdateProxyConfigurationRequest;
|
|
126
|
+
output: UpdateProxyConfigurationResponse;
|
|
127
|
+
};
|
|
128
|
+
sdk: {
|
|
129
|
+
input: UpdateProxyConfigurationCommandInput;
|
|
130
|
+
output: UpdateProxyConfigurationCommandOutput;
|
|
131
|
+
};
|
|
132
|
+
};
|
|
133
|
+
}
|
|
@@ -0,0 +1,146 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { UpdateProxyRuleRequest, UpdateProxyRuleResponse } 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 UpdateProxyRuleCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface UpdateProxyRuleCommandInput extends UpdateProxyRuleRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link UpdateProxyRuleCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface UpdateProxyRuleCommandOutput extends UpdateProxyRuleResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const UpdateProxyRuleCommand_base: {
|
|
25
|
+
new (input: UpdateProxyRuleCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateProxyRuleCommandInput, UpdateProxyRuleCommandOutput, NetworkFirewallClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: UpdateProxyRuleCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateProxyRuleCommandInput, UpdateProxyRuleCommandOutput, NetworkFirewallClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Updates the properties of the specified proxy rule.</p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { NetworkFirewallClient, UpdateProxyRuleCommand } from "@aws-sdk/client-network-firewall"; // ES Modules import
|
|
35
|
+
* // const { NetworkFirewallClient, UpdateProxyRuleCommand } = 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 = { // UpdateProxyRuleRequest
|
|
40
|
+
* ProxyRuleGroupName: "STRING_VALUE",
|
|
41
|
+
* ProxyRuleGroupArn: "STRING_VALUE",
|
|
42
|
+
* ProxyRuleName: "STRING_VALUE", // required
|
|
43
|
+
* Description: "STRING_VALUE",
|
|
44
|
+
* Action: "ALLOW" || "DENY" || "ALERT",
|
|
45
|
+
* AddConditions: [ // ProxyRuleConditionList
|
|
46
|
+
* { // ProxyRuleCondition
|
|
47
|
+
* ConditionOperator: "STRING_VALUE",
|
|
48
|
+
* ConditionKey: "STRING_VALUE",
|
|
49
|
+
* ConditionValues: [ // ProxyConditionValueList
|
|
50
|
+
* "STRING_VALUE",
|
|
51
|
+
* ],
|
|
52
|
+
* },
|
|
53
|
+
* ],
|
|
54
|
+
* RemoveConditions: [
|
|
55
|
+
* {
|
|
56
|
+
* ConditionOperator: "STRING_VALUE",
|
|
57
|
+
* ConditionKey: "STRING_VALUE",
|
|
58
|
+
* ConditionValues: [
|
|
59
|
+
* "STRING_VALUE",
|
|
60
|
+
* ],
|
|
61
|
+
* },
|
|
62
|
+
* ],
|
|
63
|
+
* UpdateToken: "STRING_VALUE", // required
|
|
64
|
+
* };
|
|
65
|
+
* const command = new UpdateProxyRuleCommand(input);
|
|
66
|
+
* const response = await client.send(command);
|
|
67
|
+
* // { // UpdateProxyRuleResponse
|
|
68
|
+
* // ProxyRule: { // ProxyRule
|
|
69
|
+
* // ProxyRuleName: "STRING_VALUE",
|
|
70
|
+
* // Description: "STRING_VALUE",
|
|
71
|
+
* // Action: "ALLOW" || "DENY" || "ALERT",
|
|
72
|
+
* // Conditions: [ // ProxyRuleConditionList
|
|
73
|
+
* // { // ProxyRuleCondition
|
|
74
|
+
* // ConditionOperator: "STRING_VALUE",
|
|
75
|
+
* // ConditionKey: "STRING_VALUE",
|
|
76
|
+
* // ConditionValues: [ // ProxyConditionValueList
|
|
77
|
+
* // "STRING_VALUE",
|
|
78
|
+
* // ],
|
|
79
|
+
* // },
|
|
80
|
+
* // ],
|
|
81
|
+
* // },
|
|
82
|
+
* // RemovedConditions: [
|
|
83
|
+
* // {
|
|
84
|
+
* // ConditionOperator: "STRING_VALUE",
|
|
85
|
+
* // ConditionKey: "STRING_VALUE",
|
|
86
|
+
* // ConditionValues: [
|
|
87
|
+
* // "STRING_VALUE",
|
|
88
|
+
* // ],
|
|
89
|
+
* // },
|
|
90
|
+
* // ],
|
|
91
|
+
* // UpdateToken: "STRING_VALUE",
|
|
92
|
+
* // };
|
|
93
|
+
*
|
|
94
|
+
* ```
|
|
95
|
+
*
|
|
96
|
+
* @param UpdateProxyRuleCommandInput - {@link UpdateProxyRuleCommandInput}
|
|
97
|
+
* @returns {@link UpdateProxyRuleCommandOutput}
|
|
98
|
+
* @see {@link UpdateProxyRuleCommandInput} for command's `input` shape.
|
|
99
|
+
* @see {@link UpdateProxyRuleCommandOutput} for command's `response` shape.
|
|
100
|
+
* @see {@link NetworkFirewallClientResolvedConfig | config} for NetworkFirewallClient's `config` shape.
|
|
101
|
+
*
|
|
102
|
+
* @throws {@link InternalServerError} (server fault)
|
|
103
|
+
* <p>Your request is valid, but Network Firewall couldn't perform the operation because of a
|
|
104
|
+
* system problem. Retry your request. </p>
|
|
105
|
+
*
|
|
106
|
+
* @throws {@link InvalidRequestException} (client fault)
|
|
107
|
+
* <p>The operation failed because of a problem with your request. Examples include: </p>
|
|
108
|
+
* <ul>
|
|
109
|
+
* <li>
|
|
110
|
+
* <p>You specified an unsupported parameter name or value.</p>
|
|
111
|
+
* </li>
|
|
112
|
+
* <li>
|
|
113
|
+
* <p>You tried to update a property with a value that isn't among the available
|
|
114
|
+
* types.</p>
|
|
115
|
+
* </li>
|
|
116
|
+
* <li>
|
|
117
|
+
* <p>Your request references an ARN that is malformed, or corresponds to a resource
|
|
118
|
+
* that isn't valid in the context of the request.</p>
|
|
119
|
+
* </li>
|
|
120
|
+
* </ul>
|
|
121
|
+
*
|
|
122
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
123
|
+
* <p>Unable to locate a resource using the parameters that you provided.</p>
|
|
124
|
+
*
|
|
125
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
126
|
+
* <p>Unable to process the request due to throttling limitations.</p>
|
|
127
|
+
*
|
|
128
|
+
* @throws {@link NetworkFirewallServiceException}
|
|
129
|
+
* <p>Base exception class for all service exceptions from NetworkFirewall service.</p>
|
|
130
|
+
*
|
|
131
|
+
*
|
|
132
|
+
* @public
|
|
133
|
+
*/
|
|
134
|
+
export declare class UpdateProxyRuleCommand extends UpdateProxyRuleCommand_base {
|
|
135
|
+
/** @internal type navigation helper, not in runtime. */
|
|
136
|
+
protected static __types: {
|
|
137
|
+
api: {
|
|
138
|
+
input: UpdateProxyRuleRequest;
|
|
139
|
+
output: UpdateProxyRuleResponse;
|
|
140
|
+
};
|
|
141
|
+
sdk: {
|
|
142
|
+
input: UpdateProxyRuleCommandInput;
|
|
143
|
+
output: UpdateProxyRuleCommandOutput;
|
|
144
|
+
};
|
|
145
|
+
};
|
|
146
|
+
}
|
|
@@ -0,0 +1,114 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { UpdateProxyRuleGroupPrioritiesRequest, UpdateProxyRuleGroupPrioritiesResponse } 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 UpdateProxyRuleGroupPrioritiesCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface UpdateProxyRuleGroupPrioritiesCommandInput extends UpdateProxyRuleGroupPrioritiesRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link UpdateProxyRuleGroupPrioritiesCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface UpdateProxyRuleGroupPrioritiesCommandOutput extends UpdateProxyRuleGroupPrioritiesResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const UpdateProxyRuleGroupPrioritiesCommand_base: {
|
|
25
|
+
new (input: UpdateProxyRuleGroupPrioritiesCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateProxyRuleGroupPrioritiesCommandInput, UpdateProxyRuleGroupPrioritiesCommandOutput, NetworkFirewallClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: UpdateProxyRuleGroupPrioritiesCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateProxyRuleGroupPrioritiesCommandInput, UpdateProxyRuleGroupPrioritiesCommandOutput, NetworkFirewallClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Updates proxy rule group priorities within a proxy configuration.</p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { NetworkFirewallClient, UpdateProxyRuleGroupPrioritiesCommand } from "@aws-sdk/client-network-firewall"; // ES Modules import
|
|
35
|
+
* // const { NetworkFirewallClient, UpdateProxyRuleGroupPrioritiesCommand } = 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 = { // UpdateProxyRuleGroupPrioritiesRequest
|
|
40
|
+
* ProxyConfigurationName: "STRING_VALUE",
|
|
41
|
+
* ProxyConfigurationArn: "STRING_VALUE",
|
|
42
|
+
* RuleGroups: [ // ProxyRuleGroupPriorityList // required
|
|
43
|
+
* { // ProxyRuleGroupPriority
|
|
44
|
+
* ProxyRuleGroupName: "STRING_VALUE",
|
|
45
|
+
* NewPosition: Number("int"),
|
|
46
|
+
* },
|
|
47
|
+
* ],
|
|
48
|
+
* UpdateToken: "STRING_VALUE", // required
|
|
49
|
+
* };
|
|
50
|
+
* const command = new UpdateProxyRuleGroupPrioritiesCommand(input);
|
|
51
|
+
* const response = await client.send(command);
|
|
52
|
+
* // { // UpdateProxyRuleGroupPrioritiesResponse
|
|
53
|
+
* // ProxyRuleGroups: [ // ProxyRuleGroupPriorityResultList
|
|
54
|
+
* // { // ProxyRuleGroupPriorityResult
|
|
55
|
+
* // ProxyRuleGroupName: "STRING_VALUE",
|
|
56
|
+
* // Priority: Number("int"),
|
|
57
|
+
* // },
|
|
58
|
+
* // ],
|
|
59
|
+
* // UpdateToken: "STRING_VALUE",
|
|
60
|
+
* // };
|
|
61
|
+
*
|
|
62
|
+
* ```
|
|
63
|
+
*
|
|
64
|
+
* @param UpdateProxyRuleGroupPrioritiesCommandInput - {@link UpdateProxyRuleGroupPrioritiesCommandInput}
|
|
65
|
+
* @returns {@link UpdateProxyRuleGroupPrioritiesCommandOutput}
|
|
66
|
+
* @see {@link UpdateProxyRuleGroupPrioritiesCommandInput} for command's `input` shape.
|
|
67
|
+
* @see {@link UpdateProxyRuleGroupPrioritiesCommandOutput} for command's `response` shape.
|
|
68
|
+
* @see {@link NetworkFirewallClientResolvedConfig | config} for NetworkFirewallClient's `config` shape.
|
|
69
|
+
*
|
|
70
|
+
* @throws {@link InternalServerError} (server fault)
|
|
71
|
+
* <p>Your request is valid, but Network Firewall couldn't perform the operation because of a
|
|
72
|
+
* system problem. Retry your request. </p>
|
|
73
|
+
*
|
|
74
|
+
* @throws {@link InvalidRequestException} (client fault)
|
|
75
|
+
* <p>The operation failed because of a problem with your request. Examples include: </p>
|
|
76
|
+
* <ul>
|
|
77
|
+
* <li>
|
|
78
|
+
* <p>You specified an unsupported parameter name or value.</p>
|
|
79
|
+
* </li>
|
|
80
|
+
* <li>
|
|
81
|
+
* <p>You tried to update a property with a value that isn't among the available
|
|
82
|
+
* types.</p>
|
|
83
|
+
* </li>
|
|
84
|
+
* <li>
|
|
85
|
+
* <p>Your request references an ARN that is malformed, or corresponds to a resource
|
|
86
|
+
* that isn't valid in the context of the request.</p>
|
|
87
|
+
* </li>
|
|
88
|
+
* </ul>
|
|
89
|
+
*
|
|
90
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
91
|
+
* <p>Unable to locate a resource using the parameters that you provided.</p>
|
|
92
|
+
*
|
|
93
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
94
|
+
* <p>Unable to process the request due to throttling limitations.</p>
|
|
95
|
+
*
|
|
96
|
+
* @throws {@link NetworkFirewallServiceException}
|
|
97
|
+
* <p>Base exception class for all service exceptions from NetworkFirewall service.</p>
|
|
98
|
+
*
|
|
99
|
+
*
|
|
100
|
+
* @public
|
|
101
|
+
*/
|
|
102
|
+
export declare class UpdateProxyRuleGroupPrioritiesCommand extends UpdateProxyRuleGroupPrioritiesCommand_base {
|
|
103
|
+
/** @internal type navigation helper, not in runtime. */
|
|
104
|
+
protected static __types: {
|
|
105
|
+
api: {
|
|
106
|
+
input: UpdateProxyRuleGroupPrioritiesRequest;
|
|
107
|
+
output: UpdateProxyRuleGroupPrioritiesResponse;
|
|
108
|
+
};
|
|
109
|
+
sdk: {
|
|
110
|
+
input: UpdateProxyRuleGroupPrioritiesCommandInput;
|
|
111
|
+
output: UpdateProxyRuleGroupPrioritiesCommandOutput;
|
|
112
|
+
};
|
|
113
|
+
};
|
|
114
|
+
}
|
|
@@ -0,0 +1,118 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { UpdateProxyRulePrioritiesRequest, UpdateProxyRulePrioritiesResponse } 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 UpdateProxyRulePrioritiesCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface UpdateProxyRulePrioritiesCommandInput extends UpdateProxyRulePrioritiesRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link UpdateProxyRulePrioritiesCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface UpdateProxyRulePrioritiesCommandOutput extends UpdateProxyRulePrioritiesResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const UpdateProxyRulePrioritiesCommand_base: {
|
|
25
|
+
new (input: UpdateProxyRulePrioritiesCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateProxyRulePrioritiesCommandInput, UpdateProxyRulePrioritiesCommandOutput, NetworkFirewallClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: UpdateProxyRulePrioritiesCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateProxyRulePrioritiesCommandInput, UpdateProxyRulePrioritiesCommandOutput, NetworkFirewallClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Updates proxy rule priorities within a proxy rule group.</p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { NetworkFirewallClient, UpdateProxyRulePrioritiesCommand } from "@aws-sdk/client-network-firewall"; // ES Modules import
|
|
35
|
+
* // const { NetworkFirewallClient, UpdateProxyRulePrioritiesCommand } = 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 = { // UpdateProxyRulePrioritiesRequest
|
|
40
|
+
* ProxyRuleGroupName: "STRING_VALUE",
|
|
41
|
+
* ProxyRuleGroupArn: "STRING_VALUE",
|
|
42
|
+
* RuleGroupRequestPhase: "PRE_DNS" || "PRE_REQ" || "POST_RES", // required
|
|
43
|
+
* Rules: [ // ProxyRulePriorityList // required
|
|
44
|
+
* { // ProxyRulePriority
|
|
45
|
+
* ProxyRuleName: "STRING_VALUE",
|
|
46
|
+
* NewPosition: Number("int"),
|
|
47
|
+
* },
|
|
48
|
+
* ],
|
|
49
|
+
* UpdateToken: "STRING_VALUE", // required
|
|
50
|
+
* };
|
|
51
|
+
* const command = new UpdateProxyRulePrioritiesCommand(input);
|
|
52
|
+
* const response = await client.send(command);
|
|
53
|
+
* // { // UpdateProxyRulePrioritiesResponse
|
|
54
|
+
* // ProxyRuleGroupName: "STRING_VALUE",
|
|
55
|
+
* // ProxyRuleGroupArn: "STRING_VALUE",
|
|
56
|
+
* // RuleGroupRequestPhase: "PRE_DNS" || "PRE_REQ" || "POST_RES",
|
|
57
|
+
* // Rules: [ // ProxyRulePriorityList
|
|
58
|
+
* // { // ProxyRulePriority
|
|
59
|
+
* // ProxyRuleName: "STRING_VALUE",
|
|
60
|
+
* // NewPosition: Number("int"),
|
|
61
|
+
* // },
|
|
62
|
+
* // ],
|
|
63
|
+
* // UpdateToken: "STRING_VALUE",
|
|
64
|
+
* // };
|
|
65
|
+
*
|
|
66
|
+
* ```
|
|
67
|
+
*
|
|
68
|
+
* @param UpdateProxyRulePrioritiesCommandInput - {@link UpdateProxyRulePrioritiesCommandInput}
|
|
69
|
+
* @returns {@link UpdateProxyRulePrioritiesCommandOutput}
|
|
70
|
+
* @see {@link UpdateProxyRulePrioritiesCommandInput} for command's `input` shape.
|
|
71
|
+
* @see {@link UpdateProxyRulePrioritiesCommandOutput} for command's `response` shape.
|
|
72
|
+
* @see {@link NetworkFirewallClientResolvedConfig | config} for NetworkFirewallClient's `config` shape.
|
|
73
|
+
*
|
|
74
|
+
* @throws {@link InternalServerError} (server fault)
|
|
75
|
+
* <p>Your request is valid, but Network Firewall couldn't perform the operation because of a
|
|
76
|
+
* system problem. Retry your request. </p>
|
|
77
|
+
*
|
|
78
|
+
* @throws {@link InvalidRequestException} (client fault)
|
|
79
|
+
* <p>The operation failed because of a problem with your request. Examples include: </p>
|
|
80
|
+
* <ul>
|
|
81
|
+
* <li>
|
|
82
|
+
* <p>You specified an unsupported parameter name or value.</p>
|
|
83
|
+
* </li>
|
|
84
|
+
* <li>
|
|
85
|
+
* <p>You tried to update a property with a value that isn't among the available
|
|
86
|
+
* types.</p>
|
|
87
|
+
* </li>
|
|
88
|
+
* <li>
|
|
89
|
+
* <p>Your request references an ARN that is malformed, or corresponds to a resource
|
|
90
|
+
* that isn't valid in the context of the request.</p>
|
|
91
|
+
* </li>
|
|
92
|
+
* </ul>
|
|
93
|
+
*
|
|
94
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
95
|
+
* <p>Unable to locate a resource using the parameters that you provided.</p>
|
|
96
|
+
*
|
|
97
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
98
|
+
* <p>Unable to process the request due to throttling limitations.</p>
|
|
99
|
+
*
|
|
100
|
+
* @throws {@link NetworkFirewallServiceException}
|
|
101
|
+
* <p>Base exception class for all service exceptions from NetworkFirewall service.</p>
|
|
102
|
+
*
|
|
103
|
+
*
|
|
104
|
+
* @public
|
|
105
|
+
*/
|
|
106
|
+
export declare class UpdateProxyRulePrioritiesCommand extends UpdateProxyRulePrioritiesCommand_base {
|
|
107
|
+
/** @internal type navigation helper, not in runtime. */
|
|
108
|
+
protected static __types: {
|
|
109
|
+
api: {
|
|
110
|
+
input: UpdateProxyRulePrioritiesRequest;
|
|
111
|
+
output: UpdateProxyRulePrioritiesResponse;
|
|
112
|
+
};
|
|
113
|
+
sdk: {
|
|
114
|
+
input: UpdateProxyRulePrioritiesCommandInput;
|
|
115
|
+
output: UpdateProxyRulePrioritiesCommandOutput;
|
|
116
|
+
};
|
|
117
|
+
};
|
|
118
|
+
}
|