@aws-sdk/client-wafv2 3.419.0 → 3.422.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +7 -7
- package/dist-types/models/models_0.d.ts +26 -6
- package/dist-types/ts3.4/WAFV2.d.ts +438 -918
- package/dist-types/ts3.4/WAFV2Client.d.ts +277 -436
- package/dist-types/ts3.4/commands/AssociateWebACLCommand.d.ts +118 -38
- package/dist-types/ts3.4/commands/CheckCapacityCommand.d.ts +1093 -38
- package/dist-types/ts3.4/commands/CreateAPIKeyCommand.d.ts +115 -35
- package/dist-types/ts3.4/commands/CreateIPSetCommand.d.ts +144 -35
- package/dist-types/ts3.4/commands/CreateRegexPatternSetCommand.d.ts +143 -42
- package/dist-types/ts3.4/commands/CreateRuleGroupCommand.d.ts +1116 -38
- package/dist-types/ts3.4/commands/CreateWebACLCommand.d.ts +1145 -35
- package/dist-types/ts3.4/commands/DeleteFirewallManagerRuleGroupsCommand.d.ts +115 -42
- package/dist-types/ts3.4/commands/DeleteIPSetCommand.d.ts +124 -35
- package/dist-types/ts3.4/commands/DeleteLoggingConfigurationCommand.d.ts +110 -42
- package/dist-types/ts3.4/commands/DeletePermissionPolicyCommand.d.ts +103 -42
- package/dist-types/ts3.4/commands/DeleteRegexPatternSetCommand.d.ts +124 -42
- package/dist-types/ts3.4/commands/DeleteRuleGroupCommand.d.ts +124 -38
- package/dist-types/ts3.4/commands/DeleteWebACLCommand.d.ts +158 -35
- package/dist-types/ts3.4/commands/DescribeAllManagedProductsCommand.d.ts +92 -42
- package/dist-types/ts3.4/commands/DescribeManagedProductsByVendorCommand.d.ts +114 -42
- package/dist-types/ts3.4/commands/DescribeManagedRuleGroupCommand.d.ts +191 -42
- package/dist-types/ts3.4/commands/DisassociateWebACLCommand.d.ts +109 -39
- package/dist-types/ts3.4/commands/GenerateMobileSdkReleaseUrlCommand.d.ts +110 -42
- package/dist-types/ts3.4/commands/GetDecryptedAPIKeyCommand.d.ts +112 -39
- package/dist-types/ts3.4/commands/GetIPSetCommand.d.ts +119 -35
- package/dist-types/ts3.4/commands/GetLoggingConfigurationCommand.d.ts +192 -42
- package/dist-types/ts3.4/commands/GetManagedRuleSetCommand.d.ts +131 -39
- package/dist-types/ts3.4/commands/GetMobileSdkReleaseCommand.d.ts +121 -39
- package/dist-types/ts3.4/commands/GetPermissionPolicyCommand.d.ts +105 -39
- package/dist-types/ts3.4/commands/GetRateBasedStatementManagedKeysCommand.d.ts +142 -42
- package/dist-types/ts3.4/commands/GetRegexPatternSetCommand.d.ts +120 -39
- package/dist-types/ts3.4/commands/GetRuleGroupCommand.d.ts +1088 -35
- package/dist-types/ts3.4/commands/GetSampledRequestsCommand.d.ts +168 -39
- package/dist-types/ts3.4/commands/GetWebACLCommand.d.ts +1283 -35
- package/dist-types/ts3.4/commands/GetWebACLForResourceCommand.d.ts +1286 -42
- package/dist-types/ts3.4/commands/ListAPIKeysCommand.d.ts +121 -35
- package/dist-types/ts3.4/commands/ListAvailableManagedRuleGroupVersionsCommand.d.ts +118 -42
- package/dist-types/ts3.4/commands/ListAvailableManagedRuleGroupsCommand.d.ts +113 -42
- package/dist-types/ts3.4/commands/ListIPSetsCommand.d.ts +113 -35
- package/dist-types/ts3.4/commands/ListLoggingConfigurationsCommand.d.ts +191 -42
- package/dist-types/ts3.4/commands/ListManagedRuleSetsCommand.d.ts +117 -39
- package/dist-types/ts3.4/commands/ListMobileSdkReleasesCommand.d.ts +112 -42
- package/dist-types/ts3.4/commands/ListRegexPatternSetsCommand.d.ts +113 -42
- package/dist-types/ts3.4/commands/ListResourcesForWebACLCommand.d.ts +112 -42
- package/dist-types/ts3.4/commands/ListRuleGroupsCommand.d.ts +113 -38
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +132 -39
- package/dist-types/ts3.4/commands/ListWebACLsCommand.d.ts +113 -35
- package/dist-types/ts3.4/commands/PutLoggingConfigurationCommand.d.ts +345 -42
- package/dist-types/ts3.4/commands/PutManagedRuleSetVersionsCommand.d.ts +133 -42
- package/dist-types/ts3.4/commands/PutPermissionPolicyCommand.d.ts +145 -39
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +131 -35
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +118 -38
- package/dist-types/ts3.4/commands/UpdateIPSetCommand.d.ts +146 -35
- package/dist-types/ts3.4/commands/UpdateManagedRuleSetVersionExpiryDateCommand.d.ts +125 -42
- package/dist-types/ts3.4/commands/UpdateRegexPatternSetCommand.d.ts +148 -42
- package/dist-types/ts3.4/commands/UpdateRuleGroupCommand.d.ts +1128 -38
- package/dist-types/ts3.4/commands/UpdateWebACLCommand.d.ts +1146 -35
- package/dist-types/ts3.4/commands/index.d.ts +53 -53
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +22 -33
- package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +5 -8
- package/dist-types/ts3.4/endpoint/ruleset.d.ts +2 -2
- package/dist-types/ts3.4/extensionConfiguration.d.ts +8 -7
- package/dist-types/ts3.4/index.d.ts +68 -6
- package/dist-types/ts3.4/models/WAFV2ServiceException.d.ts +13 -8
- package/dist-types/ts3.4/models/index.d.ts +1 -1
- package/dist-types/ts3.4/models/models_0.d.ts +7951 -1764
- package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +479 -641
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +46 -97
- package/dist-types/ts3.4/runtimeConfig.d.ts +46 -97
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +45 -88
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +19 -19
- package/dist-types/ts3.4/runtimeExtensions.d.ts +17 -11
- package/package.json +3 -3
|
@@ -1,42 +1,124 @@
|
|
|
1
|
-
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
-
import {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
1
|
+
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
|
|
4
|
+
import { DeleteRegexPatternSetRequest, DeleteRegexPatternSetResponse } from "../models/models_0";
|
|
5
|
+
import { ServiceInputTypes, ServiceOutputTypes, WAFV2ClientResolvedConfig } from "../WAFV2Client";
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
*/
|
|
9
|
+
export { __MetadataBearer, $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link DeleteRegexPatternSetCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface DeleteRegexPatternSetCommandInput extends DeleteRegexPatternSetRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link DeleteRegexPatternSetCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface DeleteRegexPatternSetCommandOutput extends DeleteRegexPatternSetResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* @public
|
|
26
|
+
* <p>Deletes the specified <a>RegexPatternSet</a>.</p>
|
|
27
|
+
* @example
|
|
28
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
29
|
+
* ```javascript
|
|
30
|
+
* import { WAFV2Client, DeleteRegexPatternSetCommand } from "@aws-sdk/client-wafv2"; // ES Modules import
|
|
31
|
+
* // const { WAFV2Client, DeleteRegexPatternSetCommand } = require("@aws-sdk/client-wafv2"); // CommonJS import
|
|
32
|
+
* const client = new WAFV2Client(config);
|
|
33
|
+
* const input = { // DeleteRegexPatternSetRequest
|
|
34
|
+
* Name: "STRING_VALUE", // required
|
|
35
|
+
* Scope: "CLOUDFRONT" || "REGIONAL", // required
|
|
36
|
+
* Id: "STRING_VALUE", // required
|
|
37
|
+
* LockToken: "STRING_VALUE", // required
|
|
38
|
+
* };
|
|
39
|
+
* const command = new DeleteRegexPatternSetCommand(input);
|
|
40
|
+
* const response = await client.send(command);
|
|
41
|
+
* // {};
|
|
42
|
+
*
|
|
43
|
+
* ```
|
|
44
|
+
*
|
|
45
|
+
* @param DeleteRegexPatternSetCommandInput - {@link DeleteRegexPatternSetCommandInput}
|
|
46
|
+
* @returns {@link DeleteRegexPatternSetCommandOutput}
|
|
47
|
+
* @see {@link DeleteRegexPatternSetCommandInput} for command's `input` shape.
|
|
48
|
+
* @see {@link DeleteRegexPatternSetCommandOutput} for command's `response` shape.
|
|
49
|
+
* @see {@link WAFV2ClientResolvedConfig | config} for WAFV2Client's `config` shape.
|
|
50
|
+
*
|
|
51
|
+
* @throws {@link WAFAssociatedItemException} (client fault)
|
|
52
|
+
* <p>WAF couldn’t perform the operation because your resource is being used by another
|
|
53
|
+
* resource or it’s associated with another resource. </p>
|
|
54
|
+
*
|
|
55
|
+
* @throws {@link WAFInternalErrorException} (server fault)
|
|
56
|
+
* <p>Your request is valid, but WAF couldn’t perform the operation because of a system
|
|
57
|
+
* problem. Retry your request. </p>
|
|
58
|
+
*
|
|
59
|
+
* @throws {@link WAFInvalidOperationException} (client fault)
|
|
60
|
+
* <p>The operation isn't valid. </p>
|
|
61
|
+
*
|
|
62
|
+
* @throws {@link WAFInvalidParameterException} (client fault)
|
|
63
|
+
* <p>The operation failed because WAF didn't recognize a parameter in the request. For
|
|
64
|
+
* example: </p>
|
|
65
|
+
* <ul>
|
|
66
|
+
* <li>
|
|
67
|
+
* <p>You specified a parameter name or value that isn't valid.</p>
|
|
68
|
+
* </li>
|
|
69
|
+
* <li>
|
|
70
|
+
* <p>Your nested statement isn't valid. You might have tried to nest a statement that
|
|
71
|
+
* can’t be nested. </p>
|
|
72
|
+
* </li>
|
|
73
|
+
* <li>
|
|
74
|
+
* <p>You tried to update a <code>WebACL</code> with a <code>DefaultAction</code> that
|
|
75
|
+
* isn't among the types available at <a>DefaultAction</a>.</p>
|
|
76
|
+
* </li>
|
|
77
|
+
* <li>
|
|
78
|
+
* <p>Your request references an ARN that is malformed, or corresponds to a resource
|
|
79
|
+
* with which a web ACL can't be associated.</p>
|
|
80
|
+
* </li>
|
|
81
|
+
* </ul>
|
|
82
|
+
*
|
|
83
|
+
* @throws {@link WAFNonexistentItemException} (client fault)
|
|
84
|
+
* <p>WAF couldn’t perform the operation because your resource doesn't exist.
|
|
85
|
+
* If you've just created a resource that you're using in this operation, you might
|
|
86
|
+
* just need to wait a few minutes. It can take from a few seconds to a number of minutes
|
|
87
|
+
* for changes to propagate. </p>
|
|
88
|
+
*
|
|
89
|
+
* @throws {@link WAFOptimisticLockException} (client fault)
|
|
90
|
+
* <p>WAF couldn’t save your changes because you tried to update or delete a resource
|
|
91
|
+
* that has changed since you last retrieved it. Get the resource again, make any changes you
|
|
92
|
+
* need to make to the new copy, and retry your operation. </p>
|
|
93
|
+
*
|
|
94
|
+
* @throws {@link WAFTagOperationException} (client fault)
|
|
95
|
+
* <p>An error occurred during the tagging operation. Retry your request.</p>
|
|
96
|
+
*
|
|
97
|
+
* @throws {@link WAFTagOperationInternalErrorException} (server fault)
|
|
98
|
+
* <p>WAF couldn’t perform your tagging operation because of an internal error. Retry
|
|
99
|
+
* your request.</p>
|
|
100
|
+
*
|
|
101
|
+
* @throws {@link WAFV2ServiceException}
|
|
102
|
+
* <p>Base exception class for all service exceptions from WAFV2 service.</p>
|
|
103
|
+
*
|
|
104
|
+
*/
|
|
105
|
+
export declare class DeleteRegexPatternSetCommand extends $Command<DeleteRegexPatternSetCommandInput, DeleteRegexPatternSetCommandOutput, WAFV2ClientResolvedConfig> {
|
|
106
|
+
readonly input: DeleteRegexPatternSetCommandInput;
|
|
107
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
108
|
+
/**
|
|
109
|
+
* @public
|
|
110
|
+
*/
|
|
111
|
+
constructor(input: DeleteRegexPatternSetCommandInput);
|
|
112
|
+
/**
|
|
113
|
+
* @internal
|
|
114
|
+
*/
|
|
115
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: WAFV2ClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeleteRegexPatternSetCommandInput, DeleteRegexPatternSetCommandOutput>;
|
|
116
|
+
/**
|
|
117
|
+
* @internal
|
|
118
|
+
*/
|
|
119
|
+
private serialize;
|
|
120
|
+
/**
|
|
121
|
+
* @internal
|
|
122
|
+
*/
|
|
123
|
+
private deserialize;
|
|
124
|
+
}
|
|
@@ -1,38 +1,124 @@
|
|
|
1
|
-
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
-
import {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
}
|
|
1
|
+
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
|
|
4
|
+
import { DeleteRuleGroupRequest, DeleteRuleGroupResponse } from "../models/models_0";
|
|
5
|
+
import { ServiceInputTypes, ServiceOutputTypes, WAFV2ClientResolvedConfig } from "../WAFV2Client";
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
*/
|
|
9
|
+
export { __MetadataBearer, $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link DeleteRuleGroupCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface DeleteRuleGroupCommandInput extends DeleteRuleGroupRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link DeleteRuleGroupCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface DeleteRuleGroupCommandOutput extends DeleteRuleGroupResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* @public
|
|
26
|
+
* <p>Deletes the specified <a>RuleGroup</a>.</p>
|
|
27
|
+
* @example
|
|
28
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
29
|
+
* ```javascript
|
|
30
|
+
* import { WAFV2Client, DeleteRuleGroupCommand } from "@aws-sdk/client-wafv2"; // ES Modules import
|
|
31
|
+
* // const { WAFV2Client, DeleteRuleGroupCommand } = require("@aws-sdk/client-wafv2"); // CommonJS import
|
|
32
|
+
* const client = new WAFV2Client(config);
|
|
33
|
+
* const input = { // DeleteRuleGroupRequest
|
|
34
|
+
* Name: "STRING_VALUE", // required
|
|
35
|
+
* Scope: "CLOUDFRONT" || "REGIONAL", // required
|
|
36
|
+
* Id: "STRING_VALUE", // required
|
|
37
|
+
* LockToken: "STRING_VALUE", // required
|
|
38
|
+
* };
|
|
39
|
+
* const command = new DeleteRuleGroupCommand(input);
|
|
40
|
+
* const response = await client.send(command);
|
|
41
|
+
* // {};
|
|
42
|
+
*
|
|
43
|
+
* ```
|
|
44
|
+
*
|
|
45
|
+
* @param DeleteRuleGroupCommandInput - {@link DeleteRuleGroupCommandInput}
|
|
46
|
+
* @returns {@link DeleteRuleGroupCommandOutput}
|
|
47
|
+
* @see {@link DeleteRuleGroupCommandInput} for command's `input` shape.
|
|
48
|
+
* @see {@link DeleteRuleGroupCommandOutput} for command's `response` shape.
|
|
49
|
+
* @see {@link WAFV2ClientResolvedConfig | config} for WAFV2Client's `config` shape.
|
|
50
|
+
*
|
|
51
|
+
* @throws {@link WAFAssociatedItemException} (client fault)
|
|
52
|
+
* <p>WAF couldn’t perform the operation because your resource is being used by another
|
|
53
|
+
* resource or it’s associated with another resource. </p>
|
|
54
|
+
*
|
|
55
|
+
* @throws {@link WAFInternalErrorException} (server fault)
|
|
56
|
+
* <p>Your request is valid, but WAF couldn’t perform the operation because of a system
|
|
57
|
+
* problem. Retry your request. </p>
|
|
58
|
+
*
|
|
59
|
+
* @throws {@link WAFInvalidOperationException} (client fault)
|
|
60
|
+
* <p>The operation isn't valid. </p>
|
|
61
|
+
*
|
|
62
|
+
* @throws {@link WAFInvalidParameterException} (client fault)
|
|
63
|
+
* <p>The operation failed because WAF didn't recognize a parameter in the request. For
|
|
64
|
+
* example: </p>
|
|
65
|
+
* <ul>
|
|
66
|
+
* <li>
|
|
67
|
+
* <p>You specified a parameter name or value that isn't valid.</p>
|
|
68
|
+
* </li>
|
|
69
|
+
* <li>
|
|
70
|
+
* <p>Your nested statement isn't valid. You might have tried to nest a statement that
|
|
71
|
+
* can’t be nested. </p>
|
|
72
|
+
* </li>
|
|
73
|
+
* <li>
|
|
74
|
+
* <p>You tried to update a <code>WebACL</code> with a <code>DefaultAction</code> that
|
|
75
|
+
* isn't among the types available at <a>DefaultAction</a>.</p>
|
|
76
|
+
* </li>
|
|
77
|
+
* <li>
|
|
78
|
+
* <p>Your request references an ARN that is malformed, or corresponds to a resource
|
|
79
|
+
* with which a web ACL can't be associated.</p>
|
|
80
|
+
* </li>
|
|
81
|
+
* </ul>
|
|
82
|
+
*
|
|
83
|
+
* @throws {@link WAFNonexistentItemException} (client fault)
|
|
84
|
+
* <p>WAF couldn’t perform the operation because your resource doesn't exist.
|
|
85
|
+
* If you've just created a resource that you're using in this operation, you might
|
|
86
|
+
* just need to wait a few minutes. It can take from a few seconds to a number of minutes
|
|
87
|
+
* for changes to propagate. </p>
|
|
88
|
+
*
|
|
89
|
+
* @throws {@link WAFOptimisticLockException} (client fault)
|
|
90
|
+
* <p>WAF couldn’t save your changes because you tried to update or delete a resource
|
|
91
|
+
* that has changed since you last retrieved it. Get the resource again, make any changes you
|
|
92
|
+
* need to make to the new copy, and retry your operation. </p>
|
|
93
|
+
*
|
|
94
|
+
* @throws {@link WAFTagOperationException} (client fault)
|
|
95
|
+
* <p>An error occurred during the tagging operation. Retry your request.</p>
|
|
96
|
+
*
|
|
97
|
+
* @throws {@link WAFTagOperationInternalErrorException} (server fault)
|
|
98
|
+
* <p>WAF couldn’t perform your tagging operation because of an internal error. Retry
|
|
99
|
+
* your request.</p>
|
|
100
|
+
*
|
|
101
|
+
* @throws {@link WAFV2ServiceException}
|
|
102
|
+
* <p>Base exception class for all service exceptions from WAFV2 service.</p>
|
|
103
|
+
*
|
|
104
|
+
*/
|
|
105
|
+
export declare class DeleteRuleGroupCommand extends $Command<DeleteRuleGroupCommandInput, DeleteRuleGroupCommandOutput, WAFV2ClientResolvedConfig> {
|
|
106
|
+
readonly input: DeleteRuleGroupCommandInput;
|
|
107
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
108
|
+
/**
|
|
109
|
+
* @public
|
|
110
|
+
*/
|
|
111
|
+
constructor(input: DeleteRuleGroupCommandInput);
|
|
112
|
+
/**
|
|
113
|
+
* @internal
|
|
114
|
+
*/
|
|
115
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: WAFV2ClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeleteRuleGroupCommandInput, DeleteRuleGroupCommandOutput>;
|
|
116
|
+
/**
|
|
117
|
+
* @internal
|
|
118
|
+
*/
|
|
119
|
+
private serialize;
|
|
120
|
+
/**
|
|
121
|
+
* @internal
|
|
122
|
+
*/
|
|
123
|
+
private deserialize;
|
|
124
|
+
}
|
|
@@ -1,35 +1,158 @@
|
|
|
1
|
-
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
-
import {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
export
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
1
|
+
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
|
|
4
|
+
import { DeleteWebACLRequest, DeleteWebACLResponse } from "../models/models_0";
|
|
5
|
+
import { ServiceInputTypes, ServiceOutputTypes, WAFV2ClientResolvedConfig } from "../WAFV2Client";
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
*/
|
|
9
|
+
export { __MetadataBearer, $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link DeleteWebACLCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface DeleteWebACLCommandInput extends DeleteWebACLRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link DeleteWebACLCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface DeleteWebACLCommandOutput extends DeleteWebACLResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* @public
|
|
26
|
+
* <p>Deletes the specified <a>WebACL</a>. </p>
|
|
27
|
+
* <p>You can only use this if <code>ManagedByFirewallManager</code> is false in the specified
|
|
28
|
+
* <a>WebACL</a>. </p>
|
|
29
|
+
* <note>
|
|
30
|
+
* <p>Before deleting any web ACL, first disassociate it from all resources.</p>
|
|
31
|
+
* <ul>
|
|
32
|
+
* <li>
|
|
33
|
+
* <p>To retrieve a list of the resources that are associated with a web ACL, use the
|
|
34
|
+
* following calls:</p>
|
|
35
|
+
* <ul>
|
|
36
|
+
* <li>
|
|
37
|
+
* <p>For regional resources, call <a>ListResourcesForWebACL</a>.</p>
|
|
38
|
+
* </li>
|
|
39
|
+
* <li>
|
|
40
|
+
* <p>For Amazon CloudFront distributions, use the CloudFront call
|
|
41
|
+
* <code>ListDistributionsByWebACLId</code>. For information, see <a href="https://docs.aws.amazon.com/cloudfront/latest/APIReference/API_ListDistributionsByWebACLId.html">ListDistributionsByWebACLId</a>
|
|
42
|
+
* in the <i>Amazon CloudFront API Reference</i>. </p>
|
|
43
|
+
* </li>
|
|
44
|
+
* </ul>
|
|
45
|
+
* </li>
|
|
46
|
+
* <li>
|
|
47
|
+
* <p>To disassociate a resource from a web ACL, use the following calls:</p>
|
|
48
|
+
* <ul>
|
|
49
|
+
* <li>
|
|
50
|
+
* <p>For regional resources, call <a>DisassociateWebACL</a>.</p>
|
|
51
|
+
* </li>
|
|
52
|
+
* <li>
|
|
53
|
+
* <p>For Amazon CloudFront distributions, provide an empty web ACL ID in the CloudFront call
|
|
54
|
+
* <code>UpdateDistribution</code>. For information, see <a href="https://docs.aws.amazon.com/cloudfront/latest/APIReference/API_UpdateDistribution.html">UpdateDistribution</a>
|
|
55
|
+
* in the <i>Amazon CloudFront API Reference</i>. </p>
|
|
56
|
+
* </li>
|
|
57
|
+
* </ul>
|
|
58
|
+
* </li>
|
|
59
|
+
* </ul>
|
|
60
|
+
* </note>
|
|
61
|
+
* @example
|
|
62
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
63
|
+
* ```javascript
|
|
64
|
+
* import { WAFV2Client, DeleteWebACLCommand } from "@aws-sdk/client-wafv2"; // ES Modules import
|
|
65
|
+
* // const { WAFV2Client, DeleteWebACLCommand } = require("@aws-sdk/client-wafv2"); // CommonJS import
|
|
66
|
+
* const client = new WAFV2Client(config);
|
|
67
|
+
* const input = { // DeleteWebACLRequest
|
|
68
|
+
* Name: "STRING_VALUE", // required
|
|
69
|
+
* Scope: "CLOUDFRONT" || "REGIONAL", // required
|
|
70
|
+
* Id: "STRING_VALUE", // required
|
|
71
|
+
* LockToken: "STRING_VALUE", // required
|
|
72
|
+
* };
|
|
73
|
+
* const command = new DeleteWebACLCommand(input);
|
|
74
|
+
* const response = await client.send(command);
|
|
75
|
+
* // {};
|
|
76
|
+
*
|
|
77
|
+
* ```
|
|
78
|
+
*
|
|
79
|
+
* @param DeleteWebACLCommandInput - {@link DeleteWebACLCommandInput}
|
|
80
|
+
* @returns {@link DeleteWebACLCommandOutput}
|
|
81
|
+
* @see {@link DeleteWebACLCommandInput} for command's `input` shape.
|
|
82
|
+
* @see {@link DeleteWebACLCommandOutput} for command's `response` shape.
|
|
83
|
+
* @see {@link WAFV2ClientResolvedConfig | config} for WAFV2Client's `config` shape.
|
|
84
|
+
*
|
|
85
|
+
* @throws {@link WAFAssociatedItemException} (client fault)
|
|
86
|
+
* <p>WAF couldn’t perform the operation because your resource is being used by another
|
|
87
|
+
* resource or it’s associated with another resource. </p>
|
|
88
|
+
*
|
|
89
|
+
* @throws {@link WAFInternalErrorException} (server fault)
|
|
90
|
+
* <p>Your request is valid, but WAF couldn’t perform the operation because of a system
|
|
91
|
+
* problem. Retry your request. </p>
|
|
92
|
+
*
|
|
93
|
+
* @throws {@link WAFInvalidOperationException} (client fault)
|
|
94
|
+
* <p>The operation isn't valid. </p>
|
|
95
|
+
*
|
|
96
|
+
* @throws {@link WAFInvalidParameterException} (client fault)
|
|
97
|
+
* <p>The operation failed because WAF didn't recognize a parameter in the request. For
|
|
98
|
+
* example: </p>
|
|
99
|
+
* <ul>
|
|
100
|
+
* <li>
|
|
101
|
+
* <p>You specified a parameter name or value that isn't valid.</p>
|
|
102
|
+
* </li>
|
|
103
|
+
* <li>
|
|
104
|
+
* <p>Your nested statement isn't valid. You might have tried to nest a statement that
|
|
105
|
+
* can’t be nested. </p>
|
|
106
|
+
* </li>
|
|
107
|
+
* <li>
|
|
108
|
+
* <p>You tried to update a <code>WebACL</code> with a <code>DefaultAction</code> that
|
|
109
|
+
* isn't among the types available at <a>DefaultAction</a>.</p>
|
|
110
|
+
* </li>
|
|
111
|
+
* <li>
|
|
112
|
+
* <p>Your request references an ARN that is malformed, or corresponds to a resource
|
|
113
|
+
* with which a web ACL can't be associated.</p>
|
|
114
|
+
* </li>
|
|
115
|
+
* </ul>
|
|
116
|
+
*
|
|
117
|
+
* @throws {@link WAFNonexistentItemException} (client fault)
|
|
118
|
+
* <p>WAF couldn’t perform the operation because your resource doesn't exist.
|
|
119
|
+
* If you've just created a resource that you're using in this operation, you might
|
|
120
|
+
* just need to wait a few minutes. It can take from a few seconds to a number of minutes
|
|
121
|
+
* for changes to propagate. </p>
|
|
122
|
+
*
|
|
123
|
+
* @throws {@link WAFOptimisticLockException} (client fault)
|
|
124
|
+
* <p>WAF couldn’t save your changes because you tried to update or delete a resource
|
|
125
|
+
* that has changed since you last retrieved it. Get the resource again, make any changes you
|
|
126
|
+
* need to make to the new copy, and retry your operation. </p>
|
|
127
|
+
*
|
|
128
|
+
* @throws {@link WAFTagOperationException} (client fault)
|
|
129
|
+
* <p>An error occurred during the tagging operation. Retry your request.</p>
|
|
130
|
+
*
|
|
131
|
+
* @throws {@link WAFTagOperationInternalErrorException} (server fault)
|
|
132
|
+
* <p>WAF couldn’t perform your tagging operation because of an internal error. Retry
|
|
133
|
+
* your request.</p>
|
|
134
|
+
*
|
|
135
|
+
* @throws {@link WAFV2ServiceException}
|
|
136
|
+
* <p>Base exception class for all service exceptions from WAFV2 service.</p>
|
|
137
|
+
*
|
|
138
|
+
*/
|
|
139
|
+
export declare class DeleteWebACLCommand extends $Command<DeleteWebACLCommandInput, DeleteWebACLCommandOutput, WAFV2ClientResolvedConfig> {
|
|
140
|
+
readonly input: DeleteWebACLCommandInput;
|
|
141
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
142
|
+
/**
|
|
143
|
+
* @public
|
|
144
|
+
*/
|
|
145
|
+
constructor(input: DeleteWebACLCommandInput);
|
|
146
|
+
/**
|
|
147
|
+
* @internal
|
|
148
|
+
*/
|
|
149
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: WAFV2ClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeleteWebACLCommandInput, DeleteWebACLCommandOutput>;
|
|
150
|
+
/**
|
|
151
|
+
* @internal
|
|
152
|
+
*/
|
|
153
|
+
private serialize;
|
|
154
|
+
/**
|
|
155
|
+
* @internal
|
|
156
|
+
*/
|
|
157
|
+
private deserialize;
|
|
158
|
+
}
|
|
@@ -1,42 +1,92 @@
|
|
|
1
|
-
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
-
import {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
1
|
+
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
|
|
4
|
+
import { DescribeAllManagedProductsRequest, DescribeAllManagedProductsResponse } from "../models/models_0";
|
|
5
|
+
import { ServiceInputTypes, ServiceOutputTypes, WAFV2ClientResolvedConfig } from "../WAFV2Client";
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
*/
|
|
9
|
+
export { __MetadataBearer, $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link DescribeAllManagedProductsCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface DescribeAllManagedProductsCommandInput extends DescribeAllManagedProductsRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link DescribeAllManagedProductsCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface DescribeAllManagedProductsCommandOutput extends DescribeAllManagedProductsResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* @public
|
|
26
|
+
* <p>Provides high-level information for the Amazon Web Services Managed Rules rule groups and Amazon Web Services Marketplace managed rule groups. </p>
|
|
27
|
+
* @example
|
|
28
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
29
|
+
* ```javascript
|
|
30
|
+
* import { WAFV2Client, DescribeAllManagedProductsCommand } from "@aws-sdk/client-wafv2"; // ES Modules import
|
|
31
|
+
* // const { WAFV2Client, DescribeAllManagedProductsCommand } = require("@aws-sdk/client-wafv2"); // CommonJS import
|
|
32
|
+
* const client = new WAFV2Client(config);
|
|
33
|
+
* const input = { // DescribeAllManagedProductsRequest
|
|
34
|
+
* Scope: "CLOUDFRONT" || "REGIONAL", // required
|
|
35
|
+
* };
|
|
36
|
+
* const command = new DescribeAllManagedProductsCommand(input);
|
|
37
|
+
* const response = await client.send(command);
|
|
38
|
+
* // { // DescribeAllManagedProductsResponse
|
|
39
|
+
* // ManagedProducts: [ // ManagedProductDescriptors
|
|
40
|
+
* // { // ManagedProductDescriptor
|
|
41
|
+
* // VendorName: "STRING_VALUE",
|
|
42
|
+
* // ManagedRuleSetName: "STRING_VALUE",
|
|
43
|
+
* // ProductId: "STRING_VALUE",
|
|
44
|
+
* // ProductLink: "STRING_VALUE",
|
|
45
|
+
* // ProductTitle: "STRING_VALUE",
|
|
46
|
+
* // ProductDescription: "STRING_VALUE",
|
|
47
|
+
* // SnsTopicArn: "STRING_VALUE",
|
|
48
|
+
* // IsVersioningSupported: true || false,
|
|
49
|
+
* // IsAdvancedManagedRuleSet: true || false,
|
|
50
|
+
* // },
|
|
51
|
+
* // ],
|
|
52
|
+
* // };
|
|
53
|
+
*
|
|
54
|
+
* ```
|
|
55
|
+
*
|
|
56
|
+
* @param DescribeAllManagedProductsCommandInput - {@link DescribeAllManagedProductsCommandInput}
|
|
57
|
+
* @returns {@link DescribeAllManagedProductsCommandOutput}
|
|
58
|
+
* @see {@link DescribeAllManagedProductsCommandInput} for command's `input` shape.
|
|
59
|
+
* @see {@link DescribeAllManagedProductsCommandOutput} for command's `response` shape.
|
|
60
|
+
* @see {@link WAFV2ClientResolvedConfig | config} for WAFV2Client's `config` shape.
|
|
61
|
+
*
|
|
62
|
+
* @throws {@link WAFInternalErrorException} (server fault)
|
|
63
|
+
* <p>Your request is valid, but WAF couldn’t perform the operation because of a system
|
|
64
|
+
* problem. Retry your request. </p>
|
|
65
|
+
*
|
|
66
|
+
* @throws {@link WAFInvalidOperationException} (client fault)
|
|
67
|
+
* <p>The operation isn't valid. </p>
|
|
68
|
+
*
|
|
69
|
+
* @throws {@link WAFV2ServiceException}
|
|
70
|
+
* <p>Base exception class for all service exceptions from WAFV2 service.</p>
|
|
71
|
+
*
|
|
72
|
+
*/
|
|
73
|
+
export declare class DescribeAllManagedProductsCommand extends $Command<DescribeAllManagedProductsCommandInput, DescribeAllManagedProductsCommandOutput, WAFV2ClientResolvedConfig> {
|
|
74
|
+
readonly input: DescribeAllManagedProductsCommandInput;
|
|
75
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
76
|
+
/**
|
|
77
|
+
* @public
|
|
78
|
+
*/
|
|
79
|
+
constructor(input: DescribeAllManagedProductsCommandInput);
|
|
80
|
+
/**
|
|
81
|
+
* @internal
|
|
82
|
+
*/
|
|
83
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: WAFV2ClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DescribeAllManagedProductsCommandInput, DescribeAllManagedProductsCommandOutput>;
|
|
84
|
+
/**
|
|
85
|
+
* @internal
|
|
86
|
+
*/
|
|
87
|
+
private serialize;
|
|
88
|
+
/**
|
|
89
|
+
* @internal
|
|
90
|
+
*/
|
|
91
|
+
private deserialize;
|
|
92
|
+
}
|