@aws-sdk/client-network-firewall 3.1168.0 → 3.1170.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 (119) hide show
  1. package/README.md +16 -142
  2. package/dist-cjs/index.js +265 -806
  3. package/dist-es/NetworkFirewall.js +8 -46
  4. package/dist-es/commands/ListContextStoresCommand.js +4 -0
  5. package/dist-es/commands/ListResourcesInContextStoreCommand.js +4 -0
  6. package/dist-es/commands/index.js +2 -20
  7. package/dist-es/models/enums.js +49 -27
  8. package/dist-es/pagination/ListContextStoresPaginator.js +4 -0
  9. package/dist-es/pagination/ListResourcesInContextStorePaginator.js +4 -0
  10. package/dist-es/pagination/index.js +2 -3
  11. package/dist-es/schemas/schemas_0.js +185 -590
  12. package/dist-types/NetworkFirewall.d.ts +23 -162
  13. package/dist-types/NetworkFirewallClient.d.ts +4 -22
  14. package/dist-types/commands/AssociateSubnetsCommand.d.ts +12 -0
  15. package/dist-types/commands/CreateFirewallCommand.d.ts +31 -8
  16. package/dist-types/commands/CreateFirewallPolicyV2Command.d.ts +14 -0
  17. package/dist-types/commands/CreateRuleGroupCommand.d.ts +21 -0
  18. package/dist-types/commands/CreateTLSInspectionConfigurationCommand.d.ts +8 -0
  19. package/dist-types/commands/DeleteFirewallCommand.d.ts +20 -4
  20. package/dist-types/commands/DeleteProxyCommand.d.ts +1 -1
  21. package/dist-types/commands/DescribeFirewallCommand.d.ts +18 -4
  22. package/dist-types/commands/DescribeFirewallPolicyV2Command.d.ts +14 -0
  23. package/dist-types/commands/DescribeRuleGroupCommand.d.ts +21 -0
  24. package/dist-types/commands/DescribeTLSInspectionConfigurationCommand.d.ts +8 -0
  25. package/dist-types/commands/DisassociateSubnetsCommand.d.ts +1 -0
  26. package/dist-types/commands/ListContextStoresCommand.d.ts +105 -0
  27. package/dist-types/commands/ListResourcesInContextStoreCommand.d.ts +116 -0
  28. package/dist-types/commands/UpdateFirewallPolicyV2Command.d.ts +14 -0
  29. package/dist-types/commands/UpdateProxySettingsCommand.d.ts +6 -1
  30. package/dist-types/commands/UpdateRuleGroupCommand.d.ts +21 -0
  31. package/dist-types/commands/UpdateTLSInspectionConfigurationCommand.d.ts +8 -0
  32. package/dist-types/commands/index.d.ts +2 -20
  33. package/dist-types/models/enums.d.ts +121 -67
  34. package/dist-types/models/models_0.d.ts +504 -1492
  35. package/dist-types/pagination/ListContextStoresPaginator.d.ts +7 -0
  36. package/dist-types/pagination/ListResourcesInContextStorePaginator.d.ts +7 -0
  37. package/dist-types/pagination/index.d.ts +2 -3
  38. package/dist-types/schemas/schemas_0.d.ts +13 -80
  39. package/dist-types/ts3.4/NetworkFirewall.d.ts +40 -350
  40. package/dist-types/ts3.4/NetworkFirewallClient.d.ts +11 -110
  41. package/dist-types/ts3.4/commands/ListContextStoresCommand.d.ts +39 -0
  42. package/dist-types/ts3.4/commands/ListResourcesInContextStoreCommand.d.ts +42 -0
  43. package/dist-types/ts3.4/commands/index.d.ts +2 -20
  44. package/dist-types/ts3.4/models/enums.d.ts +61 -33
  45. package/dist-types/ts3.4/models/models_0.d.ts +72 -322
  46. package/dist-types/ts3.4/pagination/ListContextStoresPaginator.d.ts +11 -0
  47. package/dist-types/ts3.4/pagination/ListResourcesInContextStorePaginator.d.ts +11 -0
  48. package/dist-types/ts3.4/pagination/index.d.ts +2 -3
  49. package/dist-types/ts3.4/schemas/schemas_0.d.ts +13 -80
  50. package/package.json +1 -1
  51. package/dist-es/commands/AttachRuleGroupsToProxyConfigurationCommand.js +0 -4
  52. package/dist-es/commands/CreateProxyCommand.js +0 -4
  53. package/dist-es/commands/CreateProxyConfigurationCommand.js +0 -4
  54. package/dist-es/commands/CreateProxyRuleGroupCommand.js +0 -4
  55. package/dist-es/commands/CreateProxyRulesCommand.js +0 -4
  56. package/dist-es/commands/DeleteProxyConfigurationCommand.js +0 -4
  57. package/dist-es/commands/DeleteProxyRuleGroupCommand.js +0 -4
  58. package/dist-es/commands/DeleteProxyRulesCommand.js +0 -4
  59. package/dist-es/commands/DescribeProxyConfigurationCommand.js +0 -4
  60. package/dist-es/commands/DescribeProxyRuleCommand.js +0 -4
  61. package/dist-es/commands/DescribeProxyRuleGroupCommand.js +0 -4
  62. package/dist-es/commands/DetachRuleGroupsFromProxyConfigurationCommand.js +0 -4
  63. package/dist-es/commands/ListProxiesCommand.js +0 -4
  64. package/dist-es/commands/ListProxyConfigurationsCommand.js +0 -4
  65. package/dist-es/commands/ListProxyRuleGroupsCommand.js +0 -4
  66. package/dist-es/commands/UpdateProxyCommand.js +0 -4
  67. package/dist-es/commands/UpdateProxyConfigurationCommand.js +0 -4
  68. package/dist-es/commands/UpdateProxyRuleCommand.js +0 -4
  69. package/dist-es/commands/UpdateProxyRuleGroupPrioritiesCommand.js +0 -4
  70. package/dist-es/commands/UpdateProxyRulePrioritiesCommand.js +0 -4
  71. package/dist-es/pagination/ListProxiesPaginator.js +0 -4
  72. package/dist-es/pagination/ListProxyConfigurationsPaginator.js +0 -4
  73. package/dist-es/pagination/ListProxyRuleGroupsPaginator.js +0 -4
  74. package/dist-types/commands/AttachRuleGroupsToProxyConfigurationCommand.d.ts +0 -133
  75. package/dist-types/commands/CreateProxyCommand.d.ts +0 -156
  76. package/dist-types/commands/CreateProxyConfigurationCommand.d.ts +0 -148
  77. package/dist-types/commands/CreateProxyRuleGroupCommand.d.ts +0 -222
  78. package/dist-types/commands/CreateProxyRulesCommand.d.ts +0 -213
  79. package/dist-types/commands/DeleteProxyConfigurationCommand.d.ts +0 -99
  80. package/dist-types/commands/DeleteProxyRuleGroupCommand.d.ts +0 -99
  81. package/dist-types/commands/DeleteProxyRulesCommand.d.ts +0 -164
  82. package/dist-types/commands/DescribeProxyConfigurationCommand.d.ts +0 -124
  83. package/dist-types/commands/DescribeProxyRuleCommand.d.ts +0 -113
  84. package/dist-types/commands/DescribeProxyRuleGroupCommand.d.ts +0 -161
  85. package/dist-types/commands/DetachRuleGroupsFromProxyConfigurationCommand.d.ts +0 -133
  86. package/dist-types/commands/ListProxiesCommand.d.ts +0 -103
  87. package/dist-types/commands/ListProxyConfigurationsCommand.d.ts +0 -106
  88. package/dist-types/commands/ListProxyRuleGroupsCommand.d.ts +0 -106
  89. package/dist-types/commands/UpdateProxyCommand.d.ts +0 -149
  90. package/dist-types/commands/UpdateProxyConfigurationCommand.d.ts +0 -130
  91. package/dist-types/commands/UpdateProxyRuleCommand.d.ts +0 -143
  92. package/dist-types/commands/UpdateProxyRuleGroupPrioritiesCommand.d.ts +0 -111
  93. package/dist-types/commands/UpdateProxyRulePrioritiesCommand.d.ts +0 -115
  94. package/dist-types/pagination/ListProxiesPaginator.d.ts +0 -7
  95. package/dist-types/pagination/ListProxyConfigurationsPaginator.d.ts +0 -7
  96. package/dist-types/pagination/ListProxyRuleGroupsPaginator.d.ts +0 -7
  97. package/dist-types/ts3.4/commands/AttachRuleGroupsToProxyConfigurationCommand.d.ts +0 -42
  98. package/dist-types/ts3.4/commands/CreateProxyCommand.d.ts +0 -38
  99. package/dist-types/ts3.4/commands/CreateProxyConfigurationCommand.d.ts +0 -42
  100. package/dist-types/ts3.4/commands/CreateProxyRuleGroupCommand.d.ts +0 -39
  101. package/dist-types/ts3.4/commands/CreateProxyRulesCommand.d.ts +0 -38
  102. package/dist-types/ts3.4/commands/DeleteProxyConfigurationCommand.d.ts +0 -42
  103. package/dist-types/ts3.4/commands/DeleteProxyRuleGroupCommand.d.ts +0 -39
  104. package/dist-types/ts3.4/commands/DeleteProxyRulesCommand.d.ts +0 -38
  105. package/dist-types/ts3.4/commands/DescribeProxyConfigurationCommand.d.ts +0 -42
  106. package/dist-types/ts3.4/commands/DescribeProxyRuleCommand.d.ts +0 -39
  107. package/dist-types/ts3.4/commands/DescribeProxyRuleGroupCommand.d.ts +0 -39
  108. package/dist-types/ts3.4/commands/DetachRuleGroupsFromProxyConfigurationCommand.d.ts +0 -42
  109. package/dist-types/ts3.4/commands/ListProxiesCommand.d.ts +0 -38
  110. package/dist-types/ts3.4/commands/ListProxyConfigurationsCommand.d.ts +0 -42
  111. package/dist-types/ts3.4/commands/ListProxyRuleGroupsCommand.d.ts +0 -39
  112. package/dist-types/ts3.4/commands/UpdateProxyCommand.d.ts +0 -38
  113. package/dist-types/ts3.4/commands/UpdateProxyConfigurationCommand.d.ts +0 -42
  114. package/dist-types/ts3.4/commands/UpdateProxyRuleCommand.d.ts +0 -38
  115. package/dist-types/ts3.4/commands/UpdateProxyRuleGroupPrioritiesCommand.d.ts +0 -42
  116. package/dist-types/ts3.4/commands/UpdateProxyRulePrioritiesCommand.d.ts +0 -42
  117. package/dist-types/ts3.4/pagination/ListProxiesPaginator.d.ts +0 -8
  118. package/dist-types/ts3.4/pagination/ListProxyConfigurationsPaginator.d.ts +0 -11
  119. package/dist-types/ts3.4/pagination/ListProxyRuleGroupsPaginator.d.ts +0 -11
@@ -1,156 +0,0 @@
1
- import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
- import type { CreateProxyRequest, CreateProxyResponse } from "../models/models_0";
3
- /**
4
- * @public
5
- */
6
- export type { __MetadataBearer };
7
- /**
8
- * @public
9
- *
10
- * The input for {@link CreateProxyCommand}.
11
- */
12
- export interface CreateProxyCommandInput extends CreateProxyRequest {
13
- }
14
- /**
15
- * @public
16
- *
17
- * The output of {@link CreateProxyCommand}.
18
- */
19
- export interface CreateProxyCommandOutput extends CreateProxyResponse, __MetadataBearer {
20
- }
21
- declare const CreateProxyCommand_base: {
22
- new (input: CreateProxyCommandInput): import("@smithy/core/client").CommandImpl<CreateProxyCommandInput, CreateProxyCommandOutput, import("..").NetworkFirewallClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
- new (input: CreateProxyCommandInput): import("@smithy/core/client").CommandImpl<CreateProxyCommandInput, CreateProxyCommandOutput, import("..").NetworkFirewallClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
- getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
25
- };
26
- /**
27
- * <p>Creates an Network Firewall <a>Proxy</a>
28
- * </p>
29
- * <p>Attaches a Proxy configuration to a NAT Gateway. </p>
30
- * <p>To manage a proxy's tags, use the standard Amazon Web Services resource tagging operations, <a>ListTagsForResource</a>, <a>TagResource</a>, and <a>UntagResource</a>.</p>
31
- * <p>To retrieve information about proxies, use <a>ListProxies</a> and <a>DescribeProxy</a>.</p>
32
- * @example
33
- * Use a bare-bones client and the command you need to make an API call.
34
- * ```javascript
35
- * import { NetworkFirewallClient, CreateProxyCommand } from "@aws-sdk/client-network-firewall"; // ES Modules import
36
- * // const { NetworkFirewallClient, CreateProxyCommand } = 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 = { // CreateProxyRequest
41
- * ProxyName: "STRING_VALUE", // required
42
- * NatGatewayId: "STRING_VALUE", // required
43
- * ProxyConfigurationName: "STRING_VALUE",
44
- * ProxyConfigurationArn: "STRING_VALUE",
45
- * ListenerProperties: [ // ListenerPropertiesRequest
46
- * { // ListenerPropertyRequest
47
- * Port: Number("int"), // required
48
- * Type: "HTTP" || "HTTPS", // required
49
- * },
50
- * ],
51
- * TlsInterceptProperties: { // TlsInterceptPropertiesRequest
52
- * PcaArn: "STRING_VALUE",
53
- * TlsInterceptMode: "ENABLED" || "DISABLED",
54
- * },
55
- * Tags: [ // TagList
56
- * { // Tag
57
- * Key: "STRING_VALUE", // required
58
- * Value: "STRING_VALUE", // required
59
- * },
60
- * ],
61
- * };
62
- * const command = new CreateProxyCommand(input);
63
- * const response = await client.send(command);
64
- * // { // CreateProxyResponse
65
- * // Proxy: { // Proxy
66
- * // CreateTime: new Date("TIMESTAMP"),
67
- * // DeleteTime: new Date("TIMESTAMP"),
68
- * // UpdateTime: new Date("TIMESTAMP"),
69
- * // FailureCode: "STRING_VALUE",
70
- * // FailureMessage: "STRING_VALUE",
71
- * // ProxyState: "ATTACHING" || "ATTACHED" || "DETACHING" || "DETACHED" || "ATTACH_FAILED" || "DETACH_FAILED",
72
- * // ProxyModifyState: "MODIFYING" || "COMPLETED" || "FAILED",
73
- * // NatGatewayId: "STRING_VALUE",
74
- * // ProxyConfigurationName: "STRING_VALUE",
75
- * // ProxyConfigurationArn: "STRING_VALUE",
76
- * // ProxyName: "STRING_VALUE",
77
- * // ProxyArn: "STRING_VALUE",
78
- * // ListenerProperties: [ // ListenerProperties
79
- * // { // ListenerProperty
80
- * // Port: Number("int"),
81
- * // Type: "HTTP" || "HTTPS",
82
- * // },
83
- * // ],
84
- * // TlsInterceptProperties: { // TlsInterceptProperties
85
- * // PcaArn: "STRING_VALUE",
86
- * // TlsInterceptMode: "ENABLED" || "DISABLED",
87
- * // },
88
- * // Tags: [ // TagList
89
- * // { // Tag
90
- * // Key: "STRING_VALUE", // required
91
- * // Value: "STRING_VALUE", // required
92
- * // },
93
- * // ],
94
- * // },
95
- * // UpdateToken: "STRING_VALUE",
96
- * // };
97
- *
98
- * ```
99
- *
100
- * @param CreateProxyCommandInput - {@link CreateProxyCommandInput}
101
- * @returns {@link CreateProxyCommandOutput}
102
- * @see {@link CreateProxyCommandInput} for command's `input` shape.
103
- * @see {@link CreateProxyCommandOutput} for command's `response` shape.
104
- * @see {@link NetworkFirewallClientResolvedConfig | config} for NetworkFirewallClient's `config` shape.
105
- *
106
- * @throws {@link InternalServerError} (server fault)
107
- * <p>Your request is valid, but Network Firewall couldn't perform the operation because of a
108
- * system problem. Retry your request. </p>
109
- *
110
- * @throws {@link InvalidRequestException} (client fault)
111
- * <p>The operation failed because of a problem with your request. Examples include: </p>
112
- * <ul>
113
- * <li>
114
- * <p>You specified an unsupported parameter name or value.</p>
115
- * </li>
116
- * <li>
117
- * <p>You tried to update a property with a value that isn't among the available
118
- * types.</p>
119
- * </li>
120
- * <li>
121
- * <p>Your request references an ARN that is malformed, or corresponds to a resource
122
- * that isn't valid in the context of the request.</p>
123
- * </li>
124
- * </ul>
125
- *
126
- * @throws {@link LimitExceededException} (client fault)
127
- * <p>Unable to perform the operation because doing so would violate a limit setting. </p>
128
- *
129
- * @throws {@link ResourceNotFoundException} (client fault)
130
- * <p>Unable to locate a resource using the parameters that you provided.</p>
131
- *
132
- * @throws {@link ThrottlingException} (client fault)
133
- * <p>Unable to process the request due to throttling limitations.</p>
134
- *
135
- * @throws {@link UnsupportedOperationException} (client fault)
136
- * <p>The operation you requested isn't supported by Network Firewall. </p>
137
- *
138
- * @throws {@link NetworkFirewallServiceException}
139
- * <p>Base exception class for all service exceptions from NetworkFirewall service.</p>
140
- *
141
- *
142
- * @public
143
- */
144
- export declare class CreateProxyCommand extends CreateProxyCommand_base {
145
- /** @internal type navigation helper, not in runtime. */
146
- protected static __types: {
147
- api: {
148
- input: CreateProxyRequest;
149
- output: CreateProxyResponse;
150
- };
151
- sdk: {
152
- input: CreateProxyCommandInput;
153
- output: CreateProxyCommandOutput;
154
- };
155
- };
156
- }
@@ -1,148 +0,0 @@
1
- import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
- import type { CreateProxyConfigurationRequest, CreateProxyConfigurationResponse } from "../models/models_0";
3
- /**
4
- * @public
5
- */
6
- export type { __MetadataBearer };
7
- /**
8
- * @public
9
- *
10
- * The input for {@link CreateProxyConfigurationCommand}.
11
- */
12
- export interface CreateProxyConfigurationCommandInput extends CreateProxyConfigurationRequest {
13
- }
14
- /**
15
- * @public
16
- *
17
- * The output of {@link CreateProxyConfigurationCommand}.
18
- */
19
- export interface CreateProxyConfigurationCommandOutput extends CreateProxyConfigurationResponse, __MetadataBearer {
20
- }
21
- declare const CreateProxyConfigurationCommand_base: {
22
- new (input: CreateProxyConfigurationCommandInput): import("@smithy/core/client").CommandImpl<CreateProxyConfigurationCommandInput, CreateProxyConfigurationCommandOutput, import("..").NetworkFirewallClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
- new (input: CreateProxyConfigurationCommandInput): import("@smithy/core/client").CommandImpl<CreateProxyConfigurationCommandInput, CreateProxyConfigurationCommandOutput, import("..").NetworkFirewallClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
- getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
25
- };
26
- /**
27
- * <p>Creates an Network Firewall <a>ProxyConfiguration</a>
28
- * </p>
29
- * <p>A Proxy Configuration defines the monitoring and protection behavior for a Proxy. The details of the behavior are defined in the rule groups that you add to your configuration. </p>
30
- * <p>To manage a proxy configuration's tags, use the standard Amazon Web Services resource tagging operations, <a>ListTagsForResource</a>, <a>TagResource</a>, and <a>UntagResource</a>.</p>
31
- * <p>To retrieve information about proxies, use <a>ListProxyConfigurations</a> and <a>DescribeProxyConfiguration</a>.</p>
32
- * @example
33
- * Use a bare-bones client and the command you need to make an API call.
34
- * ```javascript
35
- * import { NetworkFirewallClient, CreateProxyConfigurationCommand } from "@aws-sdk/client-network-firewall"; // ES Modules import
36
- * // const { NetworkFirewallClient, CreateProxyConfigurationCommand } = 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 = { // CreateProxyConfigurationRequest
41
- * ProxyConfigurationName: "STRING_VALUE", // required
42
- * Description: "STRING_VALUE",
43
- * RuleGroupNames: [ // ResourceNameList
44
- * "STRING_VALUE",
45
- * ],
46
- * RuleGroupArns: [ // ResourceArnList
47
- * "STRING_VALUE",
48
- * ],
49
- * DefaultRulePhaseActions: { // ProxyConfigDefaultRulePhaseActionsRequest
50
- * PreDNS: "ALLOW" || "DENY" || "ALERT",
51
- * PreREQUEST: "ALLOW" || "DENY" || "ALERT",
52
- * PostRESPONSE: "ALLOW" || "DENY" || "ALERT",
53
- * },
54
- * Tags: [ // TagList
55
- * { // Tag
56
- * Key: "STRING_VALUE", // required
57
- * Value: "STRING_VALUE", // required
58
- * },
59
- * ],
60
- * };
61
- * const command = new CreateProxyConfigurationCommand(input);
62
- * const response = await client.send(command);
63
- * // { // CreateProxyConfigurationResponse
64
- * // ProxyConfiguration: { // ProxyConfiguration
65
- * // ProxyConfigurationName: "STRING_VALUE",
66
- * // ProxyConfigurationArn: "STRING_VALUE",
67
- * // Description: "STRING_VALUE",
68
- * // CreateTime: new Date("TIMESTAMP"),
69
- * // DeleteTime: new Date("TIMESTAMP"),
70
- * // RuleGroups: [ // ProxyConfigRuleGroupSet
71
- * // { // ProxyConfigRuleGroup
72
- * // ProxyRuleGroupName: "STRING_VALUE",
73
- * // ProxyRuleGroupArn: "STRING_VALUE",
74
- * // Type: "STRING_VALUE",
75
- * // Priority: Number("int"),
76
- * // },
77
- * // ],
78
- * // DefaultRulePhaseActions: { // ProxyConfigDefaultRulePhaseActionsRequest
79
- * // PreDNS: "ALLOW" || "DENY" || "ALERT",
80
- * // PreREQUEST: "ALLOW" || "DENY" || "ALERT",
81
- * // PostRESPONSE: "ALLOW" || "DENY" || "ALERT",
82
- * // },
83
- * // Tags: [ // TagList
84
- * // { // Tag
85
- * // Key: "STRING_VALUE", // required
86
- * // Value: "STRING_VALUE", // required
87
- * // },
88
- * // ],
89
- * // },
90
- * // UpdateToken: "STRING_VALUE",
91
- * // };
92
- *
93
- * ```
94
- *
95
- * @param CreateProxyConfigurationCommandInput - {@link CreateProxyConfigurationCommandInput}
96
- * @returns {@link CreateProxyConfigurationCommandOutput}
97
- * @see {@link CreateProxyConfigurationCommandInput} for command's `input` shape.
98
- * @see {@link CreateProxyConfigurationCommandOutput} for command's `response` shape.
99
- * @see {@link NetworkFirewallClientResolvedConfig | config} for NetworkFirewallClient's `config` shape.
100
- *
101
- * @throws {@link InternalServerError} (server fault)
102
- * <p>Your request is valid, but Network Firewall couldn't perform the operation because of a
103
- * system problem. Retry your request. </p>
104
- *
105
- * @throws {@link InvalidRequestException} (client fault)
106
- * <p>The operation failed because of a problem with your request. Examples include: </p>
107
- * <ul>
108
- * <li>
109
- * <p>You specified an unsupported parameter name or value.</p>
110
- * </li>
111
- * <li>
112
- * <p>You tried to update a property with a value that isn't among the available
113
- * types.</p>
114
- * </li>
115
- * <li>
116
- * <p>Your request references an ARN that is malformed, or corresponds to a resource
117
- * that isn't valid in the context of the request.</p>
118
- * </li>
119
- * </ul>
120
- *
121
- * @throws {@link LimitExceededException} (client fault)
122
- * <p>Unable to perform the operation because doing so would violate a limit setting. </p>
123
- *
124
- * @throws {@link ResourceNotFoundException} (client fault)
125
- * <p>Unable to locate a resource using the parameters that you provided.</p>
126
- *
127
- * @throws {@link ThrottlingException} (client fault)
128
- * <p>Unable to process the request due to throttling limitations.</p>
129
- *
130
- * @throws {@link NetworkFirewallServiceException}
131
- * <p>Base exception class for all service exceptions from NetworkFirewall service.</p>
132
- *
133
- *
134
- * @public
135
- */
136
- export declare class CreateProxyConfigurationCommand extends CreateProxyConfigurationCommand_base {
137
- /** @internal type navigation helper, not in runtime. */
138
- protected static __types: {
139
- api: {
140
- input: CreateProxyConfigurationRequest;
141
- output: CreateProxyConfigurationResponse;
142
- };
143
- sdk: {
144
- input: CreateProxyConfigurationCommandInput;
145
- output: CreateProxyConfigurationCommandOutput;
146
- };
147
- };
148
- }
@@ -1,222 +0,0 @@
1
- import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
- import type { CreateProxyRuleGroupRequest, CreateProxyRuleGroupResponse } from "../models/models_0";
3
- /**
4
- * @public
5
- */
6
- export type { __MetadataBearer };
7
- /**
8
- * @public
9
- *
10
- * The input for {@link CreateProxyRuleGroupCommand}.
11
- */
12
- export interface CreateProxyRuleGroupCommandInput extends CreateProxyRuleGroupRequest {
13
- }
14
- /**
15
- * @public
16
- *
17
- * The output of {@link CreateProxyRuleGroupCommand}.
18
- */
19
- export interface CreateProxyRuleGroupCommandOutput extends CreateProxyRuleGroupResponse, __MetadataBearer {
20
- }
21
- declare const CreateProxyRuleGroupCommand_base: {
22
- new (input: CreateProxyRuleGroupCommandInput): import("@smithy/core/client").CommandImpl<CreateProxyRuleGroupCommandInput, CreateProxyRuleGroupCommandOutput, import("..").NetworkFirewallClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
- new (input: CreateProxyRuleGroupCommandInput): import("@smithy/core/client").CommandImpl<CreateProxyRuleGroupCommandInput, CreateProxyRuleGroupCommandOutput, import("..").NetworkFirewallClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
- getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
25
- };
26
- /**
27
- * <p>Creates an Network Firewall <a>ProxyRuleGroup</a>
28
- * </p>
29
- * <p>Collections of related proxy filtering rules. Rule groups help you manage and reuse sets of rules across multiple proxy configurations. </p>
30
- * <p>To manage a proxy rule group's tags, use the standard Amazon Web Services resource tagging operations, <a>ListTagsForResource</a>, <a>TagResource</a>, and <a>UntagResource</a>.</p>
31
- * <p>To retrieve information about proxy rule groups, use <a>ListProxyRuleGroups</a> and <a>DescribeProxyRuleGroup</a>.</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, CreateProxyRuleGroupCommand } from "@aws-sdk/client-network-firewall"; // ES Modules import
37
- * // const { NetworkFirewallClient, CreateProxyRuleGroupCommand } = 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 = { // CreateProxyRuleGroupRequest
42
- * ProxyRuleGroupName: "STRING_VALUE", // required
43
- * Description: "STRING_VALUE",
44
- * Rules: { // ProxyRulesByRequestPhase
45
- * PreDNS: [ // ProxyRuleList
46
- * { // ProxyRule
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
- * },
60
- * ],
61
- * PreREQUEST: [
62
- * {
63
- * ProxyRuleName: "STRING_VALUE",
64
- * Description: "STRING_VALUE",
65
- * Action: "ALLOW" || "DENY" || "ALERT",
66
- * Conditions: [
67
- * {
68
- * ConditionOperator: "STRING_VALUE",
69
- * ConditionKey: "STRING_VALUE",
70
- * ConditionValues: [
71
- * "STRING_VALUE",
72
- * ],
73
- * },
74
- * ],
75
- * },
76
- * ],
77
- * PostRESPONSE: [
78
- * {
79
- * ProxyRuleName: "STRING_VALUE",
80
- * Description: "STRING_VALUE",
81
- * Action: "ALLOW" || "DENY" || "ALERT",
82
- * Conditions: [
83
- * {
84
- * ConditionOperator: "STRING_VALUE",
85
- * ConditionKey: "STRING_VALUE",
86
- * ConditionValues: [
87
- * "STRING_VALUE",
88
- * ],
89
- * },
90
- * ],
91
- * },
92
- * ],
93
- * },
94
- * Tags: [ // TagList
95
- * { // Tag
96
- * Key: "STRING_VALUE", // required
97
- * Value: "STRING_VALUE", // required
98
- * },
99
- * ],
100
- * };
101
- * const command = new CreateProxyRuleGroupCommand(input);
102
- * const response = await client.send(command);
103
- * // { // CreateProxyRuleGroupResponse
104
- * // ProxyRuleGroup: { // ProxyRuleGroup
105
- * // ProxyRuleGroupName: "STRING_VALUE",
106
- * // ProxyRuleGroupArn: "STRING_VALUE",
107
- * // CreateTime: new Date("TIMESTAMP"),
108
- * // DeleteTime: new Date("TIMESTAMP"),
109
- * // Rules: { // ProxyRulesByRequestPhase
110
- * // PreDNS: [ // ProxyRuleList
111
- * // { // ProxyRule
112
- * // ProxyRuleName: "STRING_VALUE",
113
- * // Description: "STRING_VALUE",
114
- * // Action: "ALLOW" || "DENY" || "ALERT",
115
- * // Conditions: [ // ProxyRuleConditionList
116
- * // { // ProxyRuleCondition
117
- * // ConditionOperator: "STRING_VALUE",
118
- * // ConditionKey: "STRING_VALUE",
119
- * // ConditionValues: [ // ProxyConditionValueList
120
- * // "STRING_VALUE",
121
- * // ],
122
- * // },
123
- * // ],
124
- * // },
125
- * // ],
126
- * // PreREQUEST: [
127
- * // {
128
- * // ProxyRuleName: "STRING_VALUE",
129
- * // Description: "STRING_VALUE",
130
- * // Action: "ALLOW" || "DENY" || "ALERT",
131
- * // Conditions: [
132
- * // {
133
- * // ConditionOperator: "STRING_VALUE",
134
- * // ConditionKey: "STRING_VALUE",
135
- * // ConditionValues: [
136
- * // "STRING_VALUE",
137
- * // ],
138
- * // },
139
- * // ],
140
- * // },
141
- * // ],
142
- * // PostRESPONSE: [
143
- * // {
144
- * // ProxyRuleName: "STRING_VALUE",
145
- * // Description: "STRING_VALUE",
146
- * // Action: "ALLOW" || "DENY" || "ALERT",
147
- * // Conditions: [
148
- * // {
149
- * // ConditionOperator: "STRING_VALUE",
150
- * // ConditionKey: "STRING_VALUE",
151
- * // ConditionValues: [
152
- * // "STRING_VALUE",
153
- * // ],
154
- * // },
155
- * // ],
156
- * // },
157
- * // ],
158
- * // },
159
- * // Description: "STRING_VALUE",
160
- * // Tags: [ // TagList
161
- * // { // Tag
162
- * // Key: "STRING_VALUE", // required
163
- * // Value: "STRING_VALUE", // required
164
- * // },
165
- * // ],
166
- * // },
167
- * // UpdateToken: "STRING_VALUE",
168
- * // };
169
- *
170
- * ```
171
- *
172
- * @param CreateProxyRuleGroupCommandInput - {@link CreateProxyRuleGroupCommandInput}
173
- * @returns {@link CreateProxyRuleGroupCommandOutput}
174
- * @see {@link CreateProxyRuleGroupCommandInput} for command's `input` shape.
175
- * @see {@link CreateProxyRuleGroupCommandOutput} for command's `response` shape.
176
- * @see {@link NetworkFirewallClientResolvedConfig | config} for NetworkFirewallClient's `config` shape.
177
- *
178
- * @throws {@link InternalServerError} (server fault)
179
- * <p>Your request is valid, but Network Firewall couldn't perform the operation because of a
180
- * system problem. Retry your request. </p>
181
- *
182
- * @throws {@link InvalidRequestException} (client fault)
183
- * <p>The operation failed because of a problem with your request. Examples include: </p>
184
- * <ul>
185
- * <li>
186
- * <p>You specified an unsupported parameter name or value.</p>
187
- * </li>
188
- * <li>
189
- * <p>You tried to update a property with a value that isn't among the available
190
- * types.</p>
191
- * </li>
192
- * <li>
193
- * <p>Your request references an ARN that is malformed, or corresponds to a resource
194
- * that isn't valid in the context of the request.</p>
195
- * </li>
196
- * </ul>
197
- *
198
- * @throws {@link LimitExceededException} (client fault)
199
- * <p>Unable to perform the operation because doing so would violate a limit setting. </p>
200
- *
201
- * @throws {@link ThrottlingException} (client fault)
202
- * <p>Unable to process the request due to throttling limitations.</p>
203
- *
204
- * @throws {@link NetworkFirewallServiceException}
205
- * <p>Base exception class for all service exceptions from NetworkFirewall service.</p>
206
- *
207
- *
208
- * @public
209
- */
210
- export declare class CreateProxyRuleGroupCommand extends CreateProxyRuleGroupCommand_base {
211
- /** @internal type navigation helper, not in runtime. */
212
- protected static __types: {
213
- api: {
214
- input: CreateProxyRuleGroupRequest;
215
- output: CreateProxyRuleGroupResponse;
216
- };
217
- sdk: {
218
- input: CreateProxyRuleGroupCommandInput;
219
- output: CreateProxyRuleGroupCommandOutput;
220
- };
221
- };
222
- }