@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,124 +0,0 @@
1
- import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
- import type { DescribeProxyConfigurationRequest, DescribeProxyConfigurationResponse } from "../models/models_0";
3
- /**
4
- * @public
5
- */
6
- export type { __MetadataBearer };
7
- /**
8
- * @public
9
- *
10
- * The input for {@link DescribeProxyConfigurationCommand}.
11
- */
12
- export interface DescribeProxyConfigurationCommandInput extends DescribeProxyConfigurationRequest {
13
- }
14
- /**
15
- * @public
16
- *
17
- * The output of {@link DescribeProxyConfigurationCommand}.
18
- */
19
- export interface DescribeProxyConfigurationCommandOutput extends DescribeProxyConfigurationResponse, __MetadataBearer {
20
- }
21
- declare const DescribeProxyConfigurationCommand_base: {
22
- new (input: DescribeProxyConfigurationCommandInput): import("@smithy/core/client").CommandImpl<DescribeProxyConfigurationCommandInput, DescribeProxyConfigurationCommandOutput, import("..").NetworkFirewallClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
- new (...[input]: [] | [DescribeProxyConfigurationCommandInput]): import("@smithy/core/client").CommandImpl<DescribeProxyConfigurationCommandInput, DescribeProxyConfigurationCommandOutput, import("..").NetworkFirewallClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
- getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
25
- };
26
- /**
27
- * <p>Returns the data objects for the specified proxy configuration. </p>
28
- * @example
29
- * Use a bare-bones client and the command you need to make an API call.
30
- * ```javascript
31
- * import { NetworkFirewallClient, DescribeProxyConfigurationCommand } from "@aws-sdk/client-network-firewall"; // ES Modules import
32
- * // const { NetworkFirewallClient, DescribeProxyConfigurationCommand } = require("@aws-sdk/client-network-firewall"); // CommonJS import
33
- * // import type { NetworkFirewallClientConfig } from "@aws-sdk/client-network-firewall";
34
- * const config = {}; // type is NetworkFirewallClientConfig
35
- * const client = new NetworkFirewallClient(config);
36
- * const input = { // DescribeProxyConfigurationRequest
37
- * ProxyConfigurationName: "STRING_VALUE",
38
- * ProxyConfigurationArn: "STRING_VALUE",
39
- * };
40
- * const command = new DescribeProxyConfigurationCommand(input);
41
- * const response = await client.send(command);
42
- * // { // DescribeProxyConfigurationResponse
43
- * // ProxyConfiguration: { // ProxyConfiguration
44
- * // ProxyConfigurationName: "STRING_VALUE",
45
- * // ProxyConfigurationArn: "STRING_VALUE",
46
- * // Description: "STRING_VALUE",
47
- * // CreateTime: new Date("TIMESTAMP"),
48
- * // DeleteTime: new Date("TIMESTAMP"),
49
- * // RuleGroups: [ // ProxyConfigRuleGroupSet
50
- * // { // ProxyConfigRuleGroup
51
- * // ProxyRuleGroupName: "STRING_VALUE",
52
- * // ProxyRuleGroupArn: "STRING_VALUE",
53
- * // Type: "STRING_VALUE",
54
- * // Priority: Number("int"),
55
- * // },
56
- * // ],
57
- * // DefaultRulePhaseActions: { // ProxyConfigDefaultRulePhaseActionsRequest
58
- * // PreDNS: "ALLOW" || "DENY" || "ALERT",
59
- * // PreREQUEST: "ALLOW" || "DENY" || "ALERT",
60
- * // PostRESPONSE: "ALLOW" || "DENY" || "ALERT",
61
- * // },
62
- * // Tags: [ // TagList
63
- * // { // Tag
64
- * // Key: "STRING_VALUE", // required
65
- * // Value: "STRING_VALUE", // required
66
- * // },
67
- * // ],
68
- * // },
69
- * // UpdateToken: "STRING_VALUE",
70
- * // };
71
- *
72
- * ```
73
- *
74
- * @param DescribeProxyConfigurationCommandInput - {@link DescribeProxyConfigurationCommandInput}
75
- * @returns {@link DescribeProxyConfigurationCommandOutput}
76
- * @see {@link DescribeProxyConfigurationCommandInput} for command's `input` shape.
77
- * @see {@link DescribeProxyConfigurationCommandOutput} for command's `response` shape.
78
- * @see {@link NetworkFirewallClientResolvedConfig | config} for NetworkFirewallClient's `config` shape.
79
- *
80
- * @throws {@link InternalServerError} (server fault)
81
- * <p>Your request is valid, but Network Firewall couldn't perform the operation because of a
82
- * system problem. Retry your request. </p>
83
- *
84
- * @throws {@link InvalidRequestException} (client fault)
85
- * <p>The operation failed because of a problem with your request. Examples include: </p>
86
- * <ul>
87
- * <li>
88
- * <p>You specified an unsupported parameter name or value.</p>
89
- * </li>
90
- * <li>
91
- * <p>You tried to update a property with a value that isn't among the available
92
- * types.</p>
93
- * </li>
94
- * <li>
95
- * <p>Your request references an ARN that is malformed, or corresponds to a resource
96
- * that isn't valid in the context of the request.</p>
97
- * </li>
98
- * </ul>
99
- *
100
- * @throws {@link ResourceNotFoundException} (client fault)
101
- * <p>Unable to locate a resource using the parameters that you provided.</p>
102
- *
103
- * @throws {@link ThrottlingException} (client fault)
104
- * <p>Unable to process the request due to throttling limitations.</p>
105
- *
106
- * @throws {@link NetworkFirewallServiceException}
107
- * <p>Base exception class for all service exceptions from NetworkFirewall service.</p>
108
- *
109
- *
110
- * @public
111
- */
112
- export declare class DescribeProxyConfigurationCommand extends DescribeProxyConfigurationCommand_base {
113
- /** @internal type navigation helper, not in runtime. */
114
- protected static __types: {
115
- api: {
116
- input: DescribeProxyConfigurationRequest;
117
- output: DescribeProxyConfigurationResponse;
118
- };
119
- sdk: {
120
- input: DescribeProxyConfigurationCommandInput;
121
- output: DescribeProxyConfigurationCommandOutput;
122
- };
123
- };
124
- }
@@ -1,113 +0,0 @@
1
- import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
- import type { DescribeProxyRuleRequest, DescribeProxyRuleResponse } from "../models/models_0";
3
- /**
4
- * @public
5
- */
6
- export type { __MetadataBearer };
7
- /**
8
- * @public
9
- *
10
- * The input for {@link DescribeProxyRuleCommand}.
11
- */
12
- export interface DescribeProxyRuleCommandInput extends DescribeProxyRuleRequest {
13
- }
14
- /**
15
- * @public
16
- *
17
- * The output of {@link DescribeProxyRuleCommand}.
18
- */
19
- export interface DescribeProxyRuleCommandOutput extends DescribeProxyRuleResponse, __MetadataBearer {
20
- }
21
- declare const DescribeProxyRuleCommand_base: {
22
- new (input: DescribeProxyRuleCommandInput): import("@smithy/core/client").CommandImpl<DescribeProxyRuleCommandInput, DescribeProxyRuleCommandOutput, import("..").NetworkFirewallClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
- new (input: DescribeProxyRuleCommandInput): import("@smithy/core/client").CommandImpl<DescribeProxyRuleCommandInput, DescribeProxyRuleCommandOutput, import("..").NetworkFirewallClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
- getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
25
- };
26
- /**
27
- * <p>Returns the data objects for the specified proxy configuration for the specified proxy rule group.</p>
28
- * @example
29
- * Use a bare-bones client and the command you need to make an API call.
30
- * ```javascript
31
- * import { NetworkFirewallClient, DescribeProxyRuleCommand } from "@aws-sdk/client-network-firewall"; // ES Modules import
32
- * // const { NetworkFirewallClient, DescribeProxyRuleCommand } = require("@aws-sdk/client-network-firewall"); // CommonJS import
33
- * // import type { NetworkFirewallClientConfig } from "@aws-sdk/client-network-firewall";
34
- * const config = {}; // type is NetworkFirewallClientConfig
35
- * const client = new NetworkFirewallClient(config);
36
- * const input = { // DescribeProxyRuleRequest
37
- * ProxyRuleName: "STRING_VALUE", // required
38
- * ProxyRuleGroupName: "STRING_VALUE",
39
- * ProxyRuleGroupArn: "STRING_VALUE",
40
- * };
41
- * const command = new DescribeProxyRuleCommand(input);
42
- * const response = await client.send(command);
43
- * // { // DescribeProxyRuleResponse
44
- * // ProxyRule: { // ProxyRule
45
- * // ProxyRuleName: "STRING_VALUE",
46
- * // Description: "STRING_VALUE",
47
- * // Action: "ALLOW" || "DENY" || "ALERT",
48
- * // Conditions: [ // ProxyRuleConditionList
49
- * // { // ProxyRuleCondition
50
- * // ConditionOperator: "STRING_VALUE",
51
- * // ConditionKey: "STRING_VALUE",
52
- * // ConditionValues: [ // ProxyConditionValueList
53
- * // "STRING_VALUE",
54
- * // ],
55
- * // },
56
- * // ],
57
- * // },
58
- * // UpdateToken: "STRING_VALUE",
59
- * // };
60
- *
61
- * ```
62
- *
63
- * @param DescribeProxyRuleCommandInput - {@link DescribeProxyRuleCommandInput}
64
- * @returns {@link DescribeProxyRuleCommandOutput}
65
- * @see {@link DescribeProxyRuleCommandInput} for command's `input` shape.
66
- * @see {@link DescribeProxyRuleCommandOutput} for command's `response` shape.
67
- * @see {@link NetworkFirewallClientResolvedConfig | config} for NetworkFirewallClient's `config` shape.
68
- *
69
- * @throws {@link InternalServerError} (server fault)
70
- * <p>Your request is valid, but Network Firewall couldn't perform the operation because of a
71
- * system problem. Retry your request. </p>
72
- *
73
- * @throws {@link InvalidRequestException} (client fault)
74
- * <p>The operation failed because of a problem with your request. Examples include: </p>
75
- * <ul>
76
- * <li>
77
- * <p>You specified an unsupported parameter name or value.</p>
78
- * </li>
79
- * <li>
80
- * <p>You tried to update a property with a value that isn't among the available
81
- * types.</p>
82
- * </li>
83
- * <li>
84
- * <p>Your request references an ARN that is malformed, or corresponds to a resource
85
- * that isn't valid in the context of the request.</p>
86
- * </li>
87
- * </ul>
88
- *
89
- * @throws {@link ResourceNotFoundException} (client fault)
90
- * <p>Unable to locate a resource using the parameters that you provided.</p>
91
- *
92
- * @throws {@link ThrottlingException} (client fault)
93
- * <p>Unable to process the request due to throttling limitations.</p>
94
- *
95
- * @throws {@link NetworkFirewallServiceException}
96
- * <p>Base exception class for all service exceptions from NetworkFirewall service.</p>
97
- *
98
- *
99
- * @public
100
- */
101
- export declare class DescribeProxyRuleCommand extends DescribeProxyRuleCommand_base {
102
- /** @internal type navigation helper, not in runtime. */
103
- protected static __types: {
104
- api: {
105
- input: DescribeProxyRuleRequest;
106
- output: DescribeProxyRuleResponse;
107
- };
108
- sdk: {
109
- input: DescribeProxyRuleCommandInput;
110
- output: DescribeProxyRuleCommandOutput;
111
- };
112
- };
113
- }
@@ -1,161 +0,0 @@
1
- import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
- import type { DescribeProxyRuleGroupRequest, DescribeProxyRuleGroupResponse } from "../models/models_0";
3
- /**
4
- * @public
5
- */
6
- export type { __MetadataBearer };
7
- /**
8
- * @public
9
- *
10
- * The input for {@link DescribeProxyRuleGroupCommand}.
11
- */
12
- export interface DescribeProxyRuleGroupCommandInput extends DescribeProxyRuleGroupRequest {
13
- }
14
- /**
15
- * @public
16
- *
17
- * The output of {@link DescribeProxyRuleGroupCommand}.
18
- */
19
- export interface DescribeProxyRuleGroupCommandOutput extends DescribeProxyRuleGroupResponse, __MetadataBearer {
20
- }
21
- declare const DescribeProxyRuleGroupCommand_base: {
22
- new (input: DescribeProxyRuleGroupCommandInput): import("@smithy/core/client").CommandImpl<DescribeProxyRuleGroupCommandInput, DescribeProxyRuleGroupCommandOutput, import("..").NetworkFirewallClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
- new (...[input]: [] | [DescribeProxyRuleGroupCommandInput]): import("@smithy/core/client").CommandImpl<DescribeProxyRuleGroupCommandInput, DescribeProxyRuleGroupCommandOutput, import("..").NetworkFirewallClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
- getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
25
- };
26
- /**
27
- * <p>Returns the data objects for the specified proxy rule group. </p>
28
- * @example
29
- * Use a bare-bones client and the command you need to make an API call.
30
- * ```javascript
31
- * import { NetworkFirewallClient, DescribeProxyRuleGroupCommand } from "@aws-sdk/client-network-firewall"; // ES Modules import
32
- * // const { NetworkFirewallClient, DescribeProxyRuleGroupCommand } = require("@aws-sdk/client-network-firewall"); // CommonJS import
33
- * // import type { NetworkFirewallClientConfig } from "@aws-sdk/client-network-firewall";
34
- * const config = {}; // type is NetworkFirewallClientConfig
35
- * const client = new NetworkFirewallClient(config);
36
- * const input = { // DescribeProxyRuleGroupRequest
37
- * ProxyRuleGroupName: "STRING_VALUE",
38
- * ProxyRuleGroupArn: "STRING_VALUE",
39
- * };
40
- * const command = new DescribeProxyRuleGroupCommand(input);
41
- * const response = await client.send(command);
42
- * // { // DescribeProxyRuleGroupResponse
43
- * // ProxyRuleGroup: { // ProxyRuleGroup
44
- * // ProxyRuleGroupName: "STRING_VALUE",
45
- * // ProxyRuleGroupArn: "STRING_VALUE",
46
- * // CreateTime: new Date("TIMESTAMP"),
47
- * // DeleteTime: new Date("TIMESTAMP"),
48
- * // Rules: { // ProxyRulesByRequestPhase
49
- * // PreDNS: [ // ProxyRuleList
50
- * // { // ProxyRule
51
- * // ProxyRuleName: "STRING_VALUE",
52
- * // Description: "STRING_VALUE",
53
- * // Action: "ALLOW" || "DENY" || "ALERT",
54
- * // Conditions: [ // ProxyRuleConditionList
55
- * // { // ProxyRuleCondition
56
- * // ConditionOperator: "STRING_VALUE",
57
- * // ConditionKey: "STRING_VALUE",
58
- * // ConditionValues: [ // ProxyConditionValueList
59
- * // "STRING_VALUE",
60
- * // ],
61
- * // },
62
- * // ],
63
- * // },
64
- * // ],
65
- * // PreREQUEST: [
66
- * // {
67
- * // ProxyRuleName: "STRING_VALUE",
68
- * // Description: "STRING_VALUE",
69
- * // Action: "ALLOW" || "DENY" || "ALERT",
70
- * // Conditions: [
71
- * // {
72
- * // ConditionOperator: "STRING_VALUE",
73
- * // ConditionKey: "STRING_VALUE",
74
- * // ConditionValues: [
75
- * // "STRING_VALUE",
76
- * // ],
77
- * // },
78
- * // ],
79
- * // },
80
- * // ],
81
- * // PostRESPONSE: [
82
- * // {
83
- * // ProxyRuleName: "STRING_VALUE",
84
- * // Description: "STRING_VALUE",
85
- * // Action: "ALLOW" || "DENY" || "ALERT",
86
- * // Conditions: [
87
- * // {
88
- * // ConditionOperator: "STRING_VALUE",
89
- * // ConditionKey: "STRING_VALUE",
90
- * // ConditionValues: [
91
- * // "STRING_VALUE",
92
- * // ],
93
- * // },
94
- * // ],
95
- * // },
96
- * // ],
97
- * // },
98
- * // Description: "STRING_VALUE",
99
- * // Tags: [ // TagList
100
- * // { // Tag
101
- * // Key: "STRING_VALUE", // required
102
- * // Value: "STRING_VALUE", // required
103
- * // },
104
- * // ],
105
- * // },
106
- * // UpdateToken: "STRING_VALUE",
107
- * // };
108
- *
109
- * ```
110
- *
111
- * @param DescribeProxyRuleGroupCommandInput - {@link DescribeProxyRuleGroupCommandInput}
112
- * @returns {@link DescribeProxyRuleGroupCommandOutput}
113
- * @see {@link DescribeProxyRuleGroupCommandInput} for command's `input` shape.
114
- * @see {@link DescribeProxyRuleGroupCommandOutput} for command's `response` shape.
115
- * @see {@link NetworkFirewallClientResolvedConfig | config} for NetworkFirewallClient's `config` shape.
116
- *
117
- * @throws {@link InternalServerError} (server fault)
118
- * <p>Your request is valid, but Network Firewall couldn't perform the operation because of a
119
- * system problem. Retry your request. </p>
120
- *
121
- * @throws {@link InvalidRequestException} (client fault)
122
- * <p>The operation failed because of a problem with your request. Examples include: </p>
123
- * <ul>
124
- * <li>
125
- * <p>You specified an unsupported parameter name or value.</p>
126
- * </li>
127
- * <li>
128
- * <p>You tried to update a property with a value that isn't among the available
129
- * types.</p>
130
- * </li>
131
- * <li>
132
- * <p>Your request references an ARN that is malformed, or corresponds to a resource
133
- * that isn't valid in the context of the request.</p>
134
- * </li>
135
- * </ul>
136
- *
137
- * @throws {@link ResourceNotFoundException} (client fault)
138
- * <p>Unable to locate a resource using the parameters that you provided.</p>
139
- *
140
- * @throws {@link ThrottlingException} (client fault)
141
- * <p>Unable to process the request due to throttling limitations.</p>
142
- *
143
- * @throws {@link NetworkFirewallServiceException}
144
- * <p>Base exception class for all service exceptions from NetworkFirewall service.</p>
145
- *
146
- *
147
- * @public
148
- */
149
- export declare class DescribeProxyRuleGroupCommand extends DescribeProxyRuleGroupCommand_base {
150
- /** @internal type navigation helper, not in runtime. */
151
- protected static __types: {
152
- api: {
153
- input: DescribeProxyRuleGroupRequest;
154
- output: DescribeProxyRuleGroupResponse;
155
- };
156
- sdk: {
157
- input: DescribeProxyRuleGroupCommandInput;
158
- output: DescribeProxyRuleGroupCommandOutput;
159
- };
160
- };
161
- }
@@ -1,133 +0,0 @@
1
- import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
- import type { DetachRuleGroupsFromProxyConfigurationRequest, DetachRuleGroupsFromProxyConfigurationResponse } from "../models/models_0";
3
- /**
4
- * @public
5
- */
6
- export type { __MetadataBearer };
7
- /**
8
- * @public
9
- *
10
- * The input for {@link DetachRuleGroupsFromProxyConfigurationCommand}.
11
- */
12
- export interface DetachRuleGroupsFromProxyConfigurationCommandInput extends DetachRuleGroupsFromProxyConfigurationRequest {
13
- }
14
- /**
15
- * @public
16
- *
17
- * The output of {@link DetachRuleGroupsFromProxyConfigurationCommand}.
18
- */
19
- export interface DetachRuleGroupsFromProxyConfigurationCommandOutput extends DetachRuleGroupsFromProxyConfigurationResponse, __MetadataBearer {
20
- }
21
- declare const DetachRuleGroupsFromProxyConfigurationCommand_base: {
22
- new (input: DetachRuleGroupsFromProxyConfigurationCommandInput): import("@smithy/core/client").CommandImpl<DetachRuleGroupsFromProxyConfigurationCommandInput, DetachRuleGroupsFromProxyConfigurationCommandOutput, import("..").NetworkFirewallClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
- new (input: DetachRuleGroupsFromProxyConfigurationCommandInput): import("@smithy/core/client").CommandImpl<DetachRuleGroupsFromProxyConfigurationCommandInput, DetachRuleGroupsFromProxyConfigurationCommandOutput, import("..").NetworkFirewallClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
- getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
25
- };
26
- /**
27
- * <p>Detaches <a>ProxyRuleGroup</a> resources from a <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
- * @example
31
- * Use a bare-bones client and the command you need to make an API call.
32
- * ```javascript
33
- * import { NetworkFirewallClient, DetachRuleGroupsFromProxyConfigurationCommand } from "@aws-sdk/client-network-firewall"; // ES Modules import
34
- * // const { NetworkFirewallClient, DetachRuleGroupsFromProxyConfigurationCommand } = require("@aws-sdk/client-network-firewall"); // CommonJS import
35
- * // import type { NetworkFirewallClientConfig } from "@aws-sdk/client-network-firewall";
36
- * const config = {}; // type is NetworkFirewallClientConfig
37
- * const client = new NetworkFirewallClient(config);
38
- * const input = { // DetachRuleGroupsFromProxyConfigurationRequest
39
- * ProxyConfigurationName: "STRING_VALUE",
40
- * ProxyConfigurationArn: "STRING_VALUE",
41
- * RuleGroupNames: [ // ResourceNameList
42
- * "STRING_VALUE",
43
- * ],
44
- * RuleGroupArns: [ // ResourceArnList
45
- * "STRING_VALUE",
46
- * ],
47
- * UpdateToken: "STRING_VALUE", // required
48
- * };
49
- * const command = new DetachRuleGroupsFromProxyConfigurationCommand(input);
50
- * const response = await client.send(command);
51
- * // { // DetachRuleGroupsFromProxyConfigurationResponse
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 DetachRuleGroupsFromProxyConfigurationCommandInput - {@link DetachRuleGroupsFromProxyConfigurationCommandInput}
84
- * @returns {@link DetachRuleGroupsFromProxyConfigurationCommandOutput}
85
- * @see {@link DetachRuleGroupsFromProxyConfigurationCommandInput} for command's `input` shape.
86
- * @see {@link DetachRuleGroupsFromProxyConfigurationCommandOutput} 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 DetachRuleGroupsFromProxyConfigurationCommand extends DetachRuleGroupsFromProxyConfigurationCommand_base {
122
- /** @internal type navigation helper, not in runtime. */
123
- protected static __types: {
124
- api: {
125
- input: DetachRuleGroupsFromProxyConfigurationRequest;
126
- output: DetachRuleGroupsFromProxyConfigurationResponse;
127
- };
128
- sdk: {
129
- input: DetachRuleGroupsFromProxyConfigurationCommandInput;
130
- output: DetachRuleGroupsFromProxyConfigurationCommandOutput;
131
- };
132
- };
133
- }
@@ -1,103 +0,0 @@
1
- import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
- import type { ListProxiesRequest, ListProxiesResponse } from "../models/models_0";
3
- /**
4
- * @public
5
- */
6
- export type { __MetadataBearer };
7
- /**
8
- * @public
9
- *
10
- * The input for {@link ListProxiesCommand}.
11
- */
12
- export interface ListProxiesCommandInput extends ListProxiesRequest {
13
- }
14
- /**
15
- * @public
16
- *
17
- * The output of {@link ListProxiesCommand}.
18
- */
19
- export interface ListProxiesCommandOutput extends ListProxiesResponse, __MetadataBearer {
20
- }
21
- declare const ListProxiesCommand_base: {
22
- new (input: ListProxiesCommandInput): import("@smithy/core/client").CommandImpl<ListProxiesCommandInput, ListProxiesCommandOutput, import("..").NetworkFirewallClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
- new (...[input]: [] | [ListProxiesCommandInput]): import("@smithy/core/client").CommandImpl<ListProxiesCommandInput, ListProxiesCommandOutput, import("..").NetworkFirewallClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
- getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
25
- };
26
- /**
27
- * <p>Retrieves the metadata for the proxies that you have defined. Depending on
28
- * your setting for max results and the number of proxies, a single call might not
29
- * return the full list. </p>
30
- * @example
31
- * Use a bare-bones client and the command you need to make an API call.
32
- * ```javascript
33
- * import { NetworkFirewallClient, ListProxiesCommand } from "@aws-sdk/client-network-firewall"; // ES Modules import
34
- * // const { NetworkFirewallClient, ListProxiesCommand } = require("@aws-sdk/client-network-firewall"); // CommonJS import
35
- * // import type { NetworkFirewallClientConfig } from "@aws-sdk/client-network-firewall";
36
- * const config = {}; // type is NetworkFirewallClientConfig
37
- * const client = new NetworkFirewallClient(config);
38
- * const input = { // ListProxiesRequest
39
- * NextToken: "STRING_VALUE",
40
- * MaxResults: Number("int"),
41
- * };
42
- * const command = new ListProxiesCommand(input);
43
- * const response = await client.send(command);
44
- * // { // ListProxiesResponse
45
- * // Proxies: [ // Proxies
46
- * // { // ProxyMetadata
47
- * // Name: "STRING_VALUE",
48
- * // Arn: "STRING_VALUE",
49
- * // },
50
- * // ],
51
- * // NextToken: "STRING_VALUE",
52
- * // };
53
- *
54
- * ```
55
- *
56
- * @param ListProxiesCommandInput - {@link ListProxiesCommandInput}
57
- * @returns {@link ListProxiesCommandOutput}
58
- * @see {@link ListProxiesCommandInput} for command's `input` shape.
59
- * @see {@link ListProxiesCommandOutput} for command's `response` shape.
60
- * @see {@link NetworkFirewallClientResolvedConfig | config} for NetworkFirewallClient's `config` shape.
61
- *
62
- * @throws {@link InternalServerError} (server fault)
63
- * <p>Your request is valid, but Network Firewall couldn't perform the operation because of a
64
- * system problem. Retry your request. </p>
65
- *
66
- * @throws {@link InvalidRequestException} (client fault)
67
- * <p>The operation failed because of a problem with your request. Examples include: </p>
68
- * <ul>
69
- * <li>
70
- * <p>You specified an unsupported parameter name or value.</p>
71
- * </li>
72
- * <li>
73
- * <p>You tried to update a property with a value that isn't among the available
74
- * types.</p>
75
- * </li>
76
- * <li>
77
- * <p>Your request references an ARN that is malformed, or corresponds to a resource
78
- * that isn't valid in the context of the request.</p>
79
- * </li>
80
- * </ul>
81
- *
82
- * @throws {@link ThrottlingException} (client fault)
83
- * <p>Unable to process the request due to throttling limitations.</p>
84
- *
85
- * @throws {@link NetworkFirewallServiceException}
86
- * <p>Base exception class for all service exceptions from NetworkFirewall service.</p>
87
- *
88
- *
89
- * @public
90
- */
91
- export declare class ListProxiesCommand extends ListProxiesCommand_base {
92
- /** @internal type navigation helper, not in runtime. */
93
- protected static __types: {
94
- api: {
95
- input: ListProxiesRequest;
96
- output: ListProxiesResponse;
97
- };
98
- sdk: {
99
- input: ListProxiesCommandInput;
100
- output: ListProxiesCommandOutput;
101
- };
102
- };
103
- }