@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.
Files changed (97) hide show
  1. package/README.md +183 -7
  2. package/dist-cjs/index.js +1000 -42
  3. package/dist-es/NetworkFirewall.js +44 -0
  4. package/dist-es/commands/AttachRuleGroupsToProxyConfigurationCommand.js +16 -0
  5. package/dist-es/commands/CreateProxyCommand.js +16 -0
  6. package/dist-es/commands/CreateProxyConfigurationCommand.js +16 -0
  7. package/dist-es/commands/CreateProxyRuleGroupCommand.js +16 -0
  8. package/dist-es/commands/CreateProxyRulesCommand.js +16 -0
  9. package/dist-es/commands/DeleteProxyCommand.js +16 -0
  10. package/dist-es/commands/DeleteProxyConfigurationCommand.js +16 -0
  11. package/dist-es/commands/DeleteProxyRuleGroupCommand.js +16 -0
  12. package/dist-es/commands/DeleteProxyRulesCommand.js +16 -0
  13. package/dist-es/commands/DescribeProxyCommand.js +16 -0
  14. package/dist-es/commands/DescribeProxyConfigurationCommand.js +16 -0
  15. package/dist-es/commands/DescribeProxyRuleCommand.js +16 -0
  16. package/dist-es/commands/DescribeProxyRuleGroupCommand.js +16 -0
  17. package/dist-es/commands/DetachRuleGroupsFromProxyConfigurationCommand.js +16 -0
  18. package/dist-es/commands/ListProxiesCommand.js +16 -0
  19. package/dist-es/commands/ListProxyConfigurationsCommand.js +16 -0
  20. package/dist-es/commands/ListProxyRuleGroupsCommand.js +16 -0
  21. package/dist-es/commands/UpdateProxyCommand.js +16 -0
  22. package/dist-es/commands/UpdateProxyConfigurationCommand.js +16 -0
  23. package/dist-es/commands/UpdateProxyRuleCommand.js +16 -0
  24. package/dist-es/commands/UpdateProxyRuleGroupPrioritiesCommand.js +16 -0
  25. package/dist-es/commands/UpdateProxyRulePrioritiesCommand.js +16 -0
  26. package/dist-es/commands/index.js +22 -0
  27. package/dist-es/models/enums.js +31 -0
  28. package/dist-es/pagination/ListProxiesPaginator.js +4 -0
  29. package/dist-es/pagination/ListProxyConfigurationsPaginator.js +4 -0
  30. package/dist-es/pagination/ListProxyRuleGroupsPaginator.js +4 -0
  31. package/dist-es/pagination/index.js +3 -0
  32. package/dist-es/schemas/schemas_0.js +649 -42
  33. package/dist-types/NetworkFirewall.d.ts +162 -0
  34. package/dist-types/NetworkFirewallClient.d.ts +24 -2
  35. package/dist-types/commands/AttachRuleGroupsToProxyConfigurationCommand.d.ts +136 -0
  36. package/dist-types/commands/CreateProxyCommand.d.ts +159 -0
  37. package/dist-types/commands/CreateProxyConfigurationCommand.d.ts +151 -0
  38. package/dist-types/commands/CreateProxyRuleGroupCommand.d.ts +225 -0
  39. package/dist-types/commands/CreateProxyRulesCommand.d.ts +216 -0
  40. package/dist-types/commands/DeleteProxyCommand.d.ts +108 -0
  41. package/dist-types/commands/DeleteProxyConfigurationCommand.d.ts +102 -0
  42. package/dist-types/commands/DeleteProxyRuleGroupCommand.d.ts +102 -0
  43. package/dist-types/commands/DeleteProxyRulesCommand.d.ts +167 -0
  44. package/dist-types/commands/DescribeProxyCommand.d.ts +133 -0
  45. package/dist-types/commands/DescribeProxyConfigurationCommand.d.ts +127 -0
  46. package/dist-types/commands/DescribeProxyRuleCommand.d.ts +116 -0
  47. package/dist-types/commands/DescribeProxyRuleGroupCommand.d.ts +164 -0
  48. package/dist-types/commands/DetachRuleGroupsFromProxyConfigurationCommand.d.ts +136 -0
  49. package/dist-types/commands/ListProxiesCommand.d.ts +106 -0
  50. package/dist-types/commands/ListProxyConfigurationsCommand.d.ts +109 -0
  51. package/dist-types/commands/ListProxyRuleGroupsCommand.d.ts +109 -0
  52. package/dist-types/commands/UpdateProxyCommand.d.ts +152 -0
  53. package/dist-types/commands/UpdateProxyConfigurationCommand.d.ts +133 -0
  54. package/dist-types/commands/UpdateProxyRuleCommand.d.ts +146 -0
  55. package/dist-types/commands/UpdateProxyRuleGroupPrioritiesCommand.d.ts +114 -0
  56. package/dist-types/commands/UpdateProxyRulePrioritiesCommand.d.ts +118 -0
  57. package/dist-types/commands/index.d.ts +22 -0
  58. package/dist-types/models/enums.d.ts +79 -0
  59. package/dist-types/models/models_0.d.ts +1834 -264
  60. package/dist-types/pagination/ListProxiesPaginator.d.ts +7 -0
  61. package/dist-types/pagination/ListProxyConfigurationsPaginator.d.ts +7 -0
  62. package/dist-types/pagination/ListProxyRuleGroupsPaginator.d.ts +7 -0
  63. package/dist-types/pagination/index.d.ts +3 -0
  64. package/dist-types/schemas/schemas_0.d.ts +104 -0
  65. package/dist-types/ts3.4/NetworkFirewall.d.ts +394 -0
  66. package/dist-types/ts3.4/NetworkFirewallClient.d.ts +132 -0
  67. package/dist-types/ts3.4/commands/AttachRuleGroupsToProxyConfigurationCommand.d.ts +51 -0
  68. package/dist-types/ts3.4/commands/CreateProxyCommand.d.ts +47 -0
  69. package/dist-types/ts3.4/commands/CreateProxyConfigurationCommand.d.ts +51 -0
  70. package/dist-types/ts3.4/commands/CreateProxyRuleGroupCommand.d.ts +51 -0
  71. package/dist-types/ts3.4/commands/CreateProxyRulesCommand.d.ts +50 -0
  72. package/dist-types/ts3.4/commands/DeleteProxyCommand.d.ts +47 -0
  73. package/dist-types/ts3.4/commands/DeleteProxyConfigurationCommand.d.ts +51 -0
  74. package/dist-types/ts3.4/commands/DeleteProxyRuleGroupCommand.d.ts +51 -0
  75. package/dist-types/ts3.4/commands/DeleteProxyRulesCommand.d.ts +50 -0
  76. package/dist-types/ts3.4/commands/DescribeProxyCommand.d.ts +50 -0
  77. package/dist-types/ts3.4/commands/DescribeProxyConfigurationCommand.d.ts +51 -0
  78. package/dist-types/ts3.4/commands/DescribeProxyRuleCommand.d.ts +51 -0
  79. package/dist-types/ts3.4/commands/DescribeProxyRuleGroupCommand.d.ts +51 -0
  80. package/dist-types/ts3.4/commands/DetachRuleGroupsFromProxyConfigurationCommand.d.ts +51 -0
  81. package/dist-types/ts3.4/commands/ListProxiesCommand.d.ts +47 -0
  82. package/dist-types/ts3.4/commands/ListProxyConfigurationsCommand.d.ts +51 -0
  83. package/dist-types/ts3.4/commands/ListProxyRuleGroupsCommand.d.ts +51 -0
  84. package/dist-types/ts3.4/commands/UpdateProxyCommand.d.ts +47 -0
  85. package/dist-types/ts3.4/commands/UpdateProxyConfigurationCommand.d.ts +51 -0
  86. package/dist-types/ts3.4/commands/UpdateProxyRuleCommand.d.ts +50 -0
  87. package/dist-types/ts3.4/commands/UpdateProxyRuleGroupPrioritiesCommand.d.ts +51 -0
  88. package/dist-types/ts3.4/commands/UpdateProxyRulePrioritiesCommand.d.ts +51 -0
  89. package/dist-types/ts3.4/commands/index.d.ts +22 -0
  90. package/dist-types/ts3.4/models/enums.d.ts +42 -0
  91. package/dist-types/ts3.4/models/models_0.d.ts +372 -4
  92. package/dist-types/ts3.4/pagination/ListProxiesPaginator.d.ts +11 -0
  93. package/dist-types/ts3.4/pagination/ListProxyConfigurationsPaginator.d.ts +11 -0
  94. package/dist-types/ts3.4/pagination/ListProxyRuleGroupsPaginator.d.ts +11 -0
  95. package/dist-types/ts3.4/pagination/index.d.ts +3 -0
  96. package/dist-types/ts3.4/schemas/schemas_0.d.ts +104 -0
  97. package/package.json +5 -5
@@ -0,0 +1,167 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { DeleteProxyRulesRequest, DeleteProxyRulesResponse } 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 DeleteProxyRulesCommand}.
14
+ */
15
+ export interface DeleteProxyRulesCommandInput extends DeleteProxyRulesRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link DeleteProxyRulesCommand}.
21
+ */
22
+ export interface DeleteProxyRulesCommandOutput extends DeleteProxyRulesResponse, __MetadataBearer {
23
+ }
24
+ declare const DeleteProxyRulesCommand_base: {
25
+ new (input: DeleteProxyRulesCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteProxyRulesCommandInput, DeleteProxyRulesCommandOutput, NetworkFirewallClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: DeleteProxyRulesCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteProxyRulesCommandInput, DeleteProxyRulesCommandOutput, NetworkFirewallClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Deletes the specified <a>ProxyRule</a>(s). currently attached to a <a>ProxyRuleGroup</a>
31
+ * </p>
32
+ * @example
33
+ * Use a bare-bones client and the command you need to make an API call.
34
+ * ```javascript
35
+ * import { NetworkFirewallClient, DeleteProxyRulesCommand } from "@aws-sdk/client-network-firewall"; // ES Modules import
36
+ * // const { NetworkFirewallClient, DeleteProxyRulesCommand } = 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 = { // DeleteProxyRulesRequest
41
+ * ProxyRuleGroupArn: "STRING_VALUE",
42
+ * ProxyRuleGroupName: "STRING_VALUE",
43
+ * Rules: [ // ResourceNameList // required
44
+ * "STRING_VALUE",
45
+ * ],
46
+ * };
47
+ * const command = new DeleteProxyRulesCommand(input);
48
+ * const response = await client.send(command);
49
+ * // { // DeleteProxyRulesResponse
50
+ * // ProxyRuleGroup: { // ProxyRuleGroup
51
+ * // ProxyRuleGroupName: "STRING_VALUE",
52
+ * // ProxyRuleGroupArn: "STRING_VALUE",
53
+ * // CreateTime: new Date("TIMESTAMP"),
54
+ * // DeleteTime: new Date("TIMESTAMP"),
55
+ * // Rules: { // ProxyRulesByRequestPhase
56
+ * // PreDNS: [ // ProxyRuleList
57
+ * // { // ProxyRule
58
+ * // ProxyRuleName: "STRING_VALUE",
59
+ * // Description: "STRING_VALUE",
60
+ * // Action: "ALLOW" || "DENY" || "ALERT",
61
+ * // Conditions: [ // ProxyRuleConditionList
62
+ * // { // ProxyRuleCondition
63
+ * // ConditionOperator: "STRING_VALUE",
64
+ * // ConditionKey: "STRING_VALUE",
65
+ * // ConditionValues: [ // ProxyConditionValueList
66
+ * // "STRING_VALUE",
67
+ * // ],
68
+ * // },
69
+ * // ],
70
+ * // },
71
+ * // ],
72
+ * // PreREQUEST: [
73
+ * // {
74
+ * // ProxyRuleName: "STRING_VALUE",
75
+ * // Description: "STRING_VALUE",
76
+ * // Action: "ALLOW" || "DENY" || "ALERT",
77
+ * // Conditions: [
78
+ * // {
79
+ * // ConditionOperator: "STRING_VALUE",
80
+ * // ConditionKey: "STRING_VALUE",
81
+ * // ConditionValues: [
82
+ * // "STRING_VALUE",
83
+ * // ],
84
+ * // },
85
+ * // ],
86
+ * // },
87
+ * // ],
88
+ * // PostRESPONSE: [
89
+ * // {
90
+ * // ProxyRuleName: "STRING_VALUE",
91
+ * // Description: "STRING_VALUE",
92
+ * // Action: "ALLOW" || "DENY" || "ALERT",
93
+ * // Conditions: [
94
+ * // {
95
+ * // ConditionOperator: "STRING_VALUE",
96
+ * // ConditionKey: "STRING_VALUE",
97
+ * // ConditionValues: [
98
+ * // "STRING_VALUE",
99
+ * // ],
100
+ * // },
101
+ * // ],
102
+ * // },
103
+ * // ],
104
+ * // },
105
+ * // Description: "STRING_VALUE",
106
+ * // Tags: [ // TagList
107
+ * // { // Tag
108
+ * // Key: "STRING_VALUE", // required
109
+ * // Value: "STRING_VALUE", // required
110
+ * // },
111
+ * // ],
112
+ * // },
113
+ * // };
114
+ *
115
+ * ```
116
+ *
117
+ * @param DeleteProxyRulesCommandInput - {@link DeleteProxyRulesCommandInput}
118
+ * @returns {@link DeleteProxyRulesCommandOutput}
119
+ * @see {@link DeleteProxyRulesCommandInput} for command's `input` shape.
120
+ * @see {@link DeleteProxyRulesCommandOutput} for command's `response` shape.
121
+ * @see {@link NetworkFirewallClientResolvedConfig | config} for NetworkFirewallClient's `config` shape.
122
+ *
123
+ * @throws {@link InternalServerError} (server fault)
124
+ * <p>Your request is valid, but Network Firewall couldn't perform the operation because of a
125
+ * system problem. Retry your request. </p>
126
+ *
127
+ * @throws {@link InvalidRequestException} (client fault)
128
+ * <p>The operation failed because of a problem with your request. Examples include: </p>
129
+ * <ul>
130
+ * <li>
131
+ * <p>You specified an unsupported parameter name or value.</p>
132
+ * </li>
133
+ * <li>
134
+ * <p>You tried to update a property with a value that isn't among the available
135
+ * types.</p>
136
+ * </li>
137
+ * <li>
138
+ * <p>Your request references an ARN that is malformed, or corresponds to a resource
139
+ * that isn't valid in the context of the request.</p>
140
+ * </li>
141
+ * </ul>
142
+ *
143
+ * @throws {@link ResourceNotFoundException} (client fault)
144
+ * <p>Unable to locate a resource using the parameters that you provided.</p>
145
+ *
146
+ * @throws {@link ThrottlingException} (client fault)
147
+ * <p>Unable to process the request due to throttling limitations.</p>
148
+ *
149
+ * @throws {@link NetworkFirewallServiceException}
150
+ * <p>Base exception class for all service exceptions from NetworkFirewall service.</p>
151
+ *
152
+ *
153
+ * @public
154
+ */
155
+ export declare class DeleteProxyRulesCommand extends DeleteProxyRulesCommand_base {
156
+ /** @internal type navigation helper, not in runtime. */
157
+ protected static __types: {
158
+ api: {
159
+ input: DeleteProxyRulesRequest;
160
+ output: DeleteProxyRulesResponse;
161
+ };
162
+ sdk: {
163
+ input: DeleteProxyRulesCommandInput;
164
+ output: DeleteProxyRulesCommandOutput;
165
+ };
166
+ };
167
+ }
@@ -0,0 +1,133 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { DescribeProxyRequest, DescribeProxyResponse } 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 DescribeProxyCommand}.
14
+ */
15
+ export interface DescribeProxyCommandInput extends DescribeProxyRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link DescribeProxyCommand}.
21
+ */
22
+ export interface DescribeProxyCommandOutput extends DescribeProxyResponse, __MetadataBearer {
23
+ }
24
+ declare const DescribeProxyCommand_base: {
25
+ new (input: DescribeProxyCommandInput): import("@smithy/smithy-client").CommandImpl<DescribeProxyCommandInput, DescribeProxyCommandOutput, NetworkFirewallClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (...[input]: [] | [DescribeProxyCommandInput]): import("@smithy/smithy-client").CommandImpl<DescribeProxyCommandInput, DescribeProxyCommandOutput, NetworkFirewallClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Returns the data objects for 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, DescribeProxyCommand } from "@aws-sdk/client-network-firewall"; // ES Modules import
35
+ * // const { NetworkFirewallClient, DescribeProxyCommand } = 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 = { // DescribeProxyRequest
40
+ * ProxyName: "STRING_VALUE",
41
+ * ProxyArn: "STRING_VALUE",
42
+ * };
43
+ * const command = new DescribeProxyCommand(input);
44
+ * const response = await client.send(command);
45
+ * // { // DescribeProxyResponse
46
+ * // Proxy: { // DescribeProxyResource
47
+ * // ProxyName: "STRING_VALUE",
48
+ * // ProxyArn: "STRING_VALUE",
49
+ * // ProxyConfigurationName: "STRING_VALUE",
50
+ * // ProxyConfigurationArn: "STRING_VALUE",
51
+ * // NatGatewayId: "STRING_VALUE",
52
+ * // ProxyState: "ATTACHING" || "ATTACHED" || "DETACHING" || "DETACHED" || "ATTACH_FAILED" || "DETACH_FAILED",
53
+ * // ProxyModifyState: "MODIFYING" || "COMPLETED" || "FAILED",
54
+ * // ListenerProperties: [ // ListenerProperties
55
+ * // { // ListenerProperty
56
+ * // Port: Number("int"),
57
+ * // Type: "HTTP" || "HTTPS",
58
+ * // },
59
+ * // ],
60
+ * // TlsInterceptProperties: { // TlsInterceptProperties
61
+ * // PcaArn: "STRING_VALUE",
62
+ * // TlsInterceptMode: "ENABLED" || "DISABLED",
63
+ * // },
64
+ * // VpcEndpointServiceName: "STRING_VALUE",
65
+ * // PrivateDNSName: "STRING_VALUE",
66
+ * // CreateTime: new Date("TIMESTAMP"),
67
+ * // DeleteTime: new Date("TIMESTAMP"),
68
+ * // UpdateTime: new Date("TIMESTAMP"),
69
+ * // FailureCode: "STRING_VALUE",
70
+ * // FailureMessage: "STRING_VALUE",
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 DescribeProxyCommandInput - {@link DescribeProxyCommandInput}
84
+ * @returns {@link DescribeProxyCommandOutput}
85
+ * @see {@link DescribeProxyCommandInput} for command's `input` shape.
86
+ * @see {@link DescribeProxyCommandOutput} 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 DescribeProxyCommand extends DescribeProxyCommand_base {
122
+ /** @internal type navigation helper, not in runtime. */
123
+ protected static __types: {
124
+ api: {
125
+ input: DescribeProxyRequest;
126
+ output: DescribeProxyResponse;
127
+ };
128
+ sdk: {
129
+ input: DescribeProxyCommandInput;
130
+ output: DescribeProxyCommandOutput;
131
+ };
132
+ };
133
+ }
@@ -0,0 +1,127 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { DescribeProxyConfigurationRequest, DescribeProxyConfigurationResponse } 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 DescribeProxyConfigurationCommand}.
14
+ */
15
+ export interface DescribeProxyConfigurationCommandInput extends DescribeProxyConfigurationRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link DescribeProxyConfigurationCommand}.
21
+ */
22
+ export interface DescribeProxyConfigurationCommandOutput extends DescribeProxyConfigurationResponse, __MetadataBearer {
23
+ }
24
+ declare const DescribeProxyConfigurationCommand_base: {
25
+ new (input: DescribeProxyConfigurationCommandInput): import("@smithy/smithy-client").CommandImpl<DescribeProxyConfigurationCommandInput, DescribeProxyConfigurationCommandOutput, NetworkFirewallClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (...[input]: [] | [DescribeProxyConfigurationCommandInput]): import("@smithy/smithy-client").CommandImpl<DescribeProxyConfigurationCommandInput, DescribeProxyConfigurationCommandOutput, NetworkFirewallClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Returns the data objects for 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, DescribeProxyConfigurationCommand } from "@aws-sdk/client-network-firewall"; // ES Modules import
35
+ * // const { NetworkFirewallClient, DescribeProxyConfigurationCommand } = 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 = { // DescribeProxyConfigurationRequest
40
+ * ProxyConfigurationName: "STRING_VALUE",
41
+ * ProxyConfigurationArn: "STRING_VALUE",
42
+ * };
43
+ * const command = new DescribeProxyConfigurationCommand(input);
44
+ * const response = await client.send(command);
45
+ * // { // DescribeProxyConfigurationResponse
46
+ * // ProxyConfiguration: { // ProxyConfiguration
47
+ * // ProxyConfigurationName: "STRING_VALUE",
48
+ * // ProxyConfigurationArn: "STRING_VALUE",
49
+ * // Description: "STRING_VALUE",
50
+ * // CreateTime: new Date("TIMESTAMP"),
51
+ * // DeleteTime: new Date("TIMESTAMP"),
52
+ * // RuleGroups: [ // ProxyConfigRuleGroupSet
53
+ * // { // ProxyConfigRuleGroup
54
+ * // ProxyRuleGroupName: "STRING_VALUE",
55
+ * // ProxyRuleGroupArn: "STRING_VALUE",
56
+ * // Type: "STRING_VALUE",
57
+ * // Priority: Number("int"),
58
+ * // },
59
+ * // ],
60
+ * // DefaultRulePhaseActions: { // ProxyConfigDefaultRulePhaseActionsRequest
61
+ * // PreDNS: "ALLOW" || "DENY" || "ALERT",
62
+ * // PreREQUEST: "ALLOW" || "DENY" || "ALERT",
63
+ * // PostRESPONSE: "ALLOW" || "DENY" || "ALERT",
64
+ * // },
65
+ * // Tags: [ // TagList
66
+ * // { // Tag
67
+ * // Key: "STRING_VALUE", // required
68
+ * // Value: "STRING_VALUE", // required
69
+ * // },
70
+ * // ],
71
+ * // },
72
+ * // UpdateToken: "STRING_VALUE",
73
+ * // };
74
+ *
75
+ * ```
76
+ *
77
+ * @param DescribeProxyConfigurationCommandInput - {@link DescribeProxyConfigurationCommandInput}
78
+ * @returns {@link DescribeProxyConfigurationCommandOutput}
79
+ * @see {@link DescribeProxyConfigurationCommandInput} for command's `input` shape.
80
+ * @see {@link DescribeProxyConfigurationCommandOutput} 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 DescribeProxyConfigurationCommand extends DescribeProxyConfigurationCommand_base {
116
+ /** @internal type navigation helper, not in runtime. */
117
+ protected static __types: {
118
+ api: {
119
+ input: DescribeProxyConfigurationRequest;
120
+ output: DescribeProxyConfigurationResponse;
121
+ };
122
+ sdk: {
123
+ input: DescribeProxyConfigurationCommandInput;
124
+ output: DescribeProxyConfigurationCommandOutput;
125
+ };
126
+ };
127
+ }
@@ -0,0 +1,116 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { DescribeProxyRuleRequest, DescribeProxyRuleResponse } 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 DescribeProxyRuleCommand}.
14
+ */
15
+ export interface DescribeProxyRuleCommandInput extends DescribeProxyRuleRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link DescribeProxyRuleCommand}.
21
+ */
22
+ export interface DescribeProxyRuleCommandOutput extends DescribeProxyRuleResponse, __MetadataBearer {
23
+ }
24
+ declare const DescribeProxyRuleCommand_base: {
25
+ new (input: DescribeProxyRuleCommandInput): import("@smithy/smithy-client").CommandImpl<DescribeProxyRuleCommandInput, DescribeProxyRuleCommandOutput, NetworkFirewallClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: DescribeProxyRuleCommandInput): import("@smithy/smithy-client").CommandImpl<DescribeProxyRuleCommandInput, DescribeProxyRuleCommandOutput, NetworkFirewallClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Returns the data objects for the specified proxy configuration for the specified 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, DescribeProxyRuleCommand } from "@aws-sdk/client-network-firewall"; // ES Modules import
35
+ * // const { NetworkFirewallClient, DescribeProxyRuleCommand } = 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 = { // DescribeProxyRuleRequest
40
+ * ProxyRuleName: "STRING_VALUE", // required
41
+ * ProxyRuleGroupName: "STRING_VALUE",
42
+ * ProxyRuleGroupArn: "STRING_VALUE",
43
+ * };
44
+ * const command = new DescribeProxyRuleCommand(input);
45
+ * const response = await client.send(command);
46
+ * // { // DescribeProxyRuleResponse
47
+ * // ProxyRule: { // ProxyRule
48
+ * // ProxyRuleName: "STRING_VALUE",
49
+ * // Description: "STRING_VALUE",
50
+ * // Action: "ALLOW" || "DENY" || "ALERT",
51
+ * // Conditions: [ // ProxyRuleConditionList
52
+ * // { // ProxyRuleCondition
53
+ * // ConditionOperator: "STRING_VALUE",
54
+ * // ConditionKey: "STRING_VALUE",
55
+ * // ConditionValues: [ // ProxyConditionValueList
56
+ * // "STRING_VALUE",
57
+ * // ],
58
+ * // },
59
+ * // ],
60
+ * // },
61
+ * // UpdateToken: "STRING_VALUE",
62
+ * // };
63
+ *
64
+ * ```
65
+ *
66
+ * @param DescribeProxyRuleCommandInput - {@link DescribeProxyRuleCommandInput}
67
+ * @returns {@link DescribeProxyRuleCommandOutput}
68
+ * @see {@link DescribeProxyRuleCommandInput} for command's `input` shape.
69
+ * @see {@link DescribeProxyRuleCommandOutput} for command's `response` shape.
70
+ * @see {@link NetworkFirewallClientResolvedConfig | config} for NetworkFirewallClient's `config` shape.
71
+ *
72
+ * @throws {@link InternalServerError} (server fault)
73
+ * <p>Your request is valid, but Network Firewall couldn't perform the operation because of a
74
+ * system problem. Retry your request. </p>
75
+ *
76
+ * @throws {@link InvalidRequestException} (client fault)
77
+ * <p>The operation failed because of a problem with your request. Examples include: </p>
78
+ * <ul>
79
+ * <li>
80
+ * <p>You specified an unsupported parameter name or value.</p>
81
+ * </li>
82
+ * <li>
83
+ * <p>You tried to update a property with a value that isn't among the available
84
+ * types.</p>
85
+ * </li>
86
+ * <li>
87
+ * <p>Your request references an ARN that is malformed, or corresponds to a resource
88
+ * that isn't valid in the context of the request.</p>
89
+ * </li>
90
+ * </ul>
91
+ *
92
+ * @throws {@link ResourceNotFoundException} (client fault)
93
+ * <p>Unable to locate a resource using the parameters that you provided.</p>
94
+ *
95
+ * @throws {@link ThrottlingException} (client fault)
96
+ * <p>Unable to process the request due to throttling limitations.</p>
97
+ *
98
+ * @throws {@link NetworkFirewallServiceException}
99
+ * <p>Base exception class for all service exceptions from NetworkFirewall service.</p>
100
+ *
101
+ *
102
+ * @public
103
+ */
104
+ export declare class DescribeProxyRuleCommand extends DescribeProxyRuleCommand_base {
105
+ /** @internal type navigation helper, not in runtime. */
106
+ protected static __types: {
107
+ api: {
108
+ input: DescribeProxyRuleRequest;
109
+ output: DescribeProxyRuleResponse;
110
+ };
111
+ sdk: {
112
+ input: DescribeProxyRuleCommandInput;
113
+ output: DescribeProxyRuleCommandOutput;
114
+ };
115
+ };
116
+ }