@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,114 @@
|
|
|
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 { DescribeManagedProductsByVendorRequest, DescribeManagedProductsByVendorResponse } 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 DescribeManagedProductsByVendorCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface DescribeManagedProductsByVendorCommandInput extends DescribeManagedProductsByVendorRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link DescribeManagedProductsByVendorCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface DescribeManagedProductsByVendorCommandOutput extends DescribeManagedProductsByVendorResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* @public
|
|
26
|
+
* <p>Provides high-level information for the managed rule groups owned by a specific vendor. </p>
|
|
27
|
+
* @example
|
|
28
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
29
|
+
* ```javascript
|
|
30
|
+
* import { WAFV2Client, DescribeManagedProductsByVendorCommand } from "@aws-sdk/client-wafv2"; // ES Modules import
|
|
31
|
+
* // const { WAFV2Client, DescribeManagedProductsByVendorCommand } = require("@aws-sdk/client-wafv2"); // CommonJS import
|
|
32
|
+
* const client = new WAFV2Client(config);
|
|
33
|
+
* const input = { // DescribeManagedProductsByVendorRequest
|
|
34
|
+
* VendorName: "STRING_VALUE", // required
|
|
35
|
+
* Scope: "CLOUDFRONT" || "REGIONAL", // required
|
|
36
|
+
* };
|
|
37
|
+
* const command = new DescribeManagedProductsByVendorCommand(input);
|
|
38
|
+
* const response = await client.send(command);
|
|
39
|
+
* // { // DescribeManagedProductsByVendorResponse
|
|
40
|
+
* // ManagedProducts: [ // ManagedProductDescriptors
|
|
41
|
+
* // { // ManagedProductDescriptor
|
|
42
|
+
* // VendorName: "STRING_VALUE",
|
|
43
|
+
* // ManagedRuleSetName: "STRING_VALUE",
|
|
44
|
+
* // ProductId: "STRING_VALUE",
|
|
45
|
+
* // ProductLink: "STRING_VALUE",
|
|
46
|
+
* // ProductTitle: "STRING_VALUE",
|
|
47
|
+
* // ProductDescription: "STRING_VALUE",
|
|
48
|
+
* // SnsTopicArn: "STRING_VALUE",
|
|
49
|
+
* // IsVersioningSupported: true || false,
|
|
50
|
+
* // IsAdvancedManagedRuleSet: true || false,
|
|
51
|
+
* // },
|
|
52
|
+
* // ],
|
|
53
|
+
* // };
|
|
54
|
+
*
|
|
55
|
+
* ```
|
|
56
|
+
*
|
|
57
|
+
* @param DescribeManagedProductsByVendorCommandInput - {@link DescribeManagedProductsByVendorCommandInput}
|
|
58
|
+
* @returns {@link DescribeManagedProductsByVendorCommandOutput}
|
|
59
|
+
* @see {@link DescribeManagedProductsByVendorCommandInput} for command's `input` shape.
|
|
60
|
+
* @see {@link DescribeManagedProductsByVendorCommandOutput} for command's `response` shape.
|
|
61
|
+
* @see {@link WAFV2ClientResolvedConfig | config} for WAFV2Client's `config` shape.
|
|
62
|
+
*
|
|
63
|
+
* @throws {@link WAFInternalErrorException} (server fault)
|
|
64
|
+
* <p>Your request is valid, but WAF couldn’t perform the operation because of a system
|
|
65
|
+
* problem. Retry your request. </p>
|
|
66
|
+
*
|
|
67
|
+
* @throws {@link WAFInvalidOperationException} (client fault)
|
|
68
|
+
* <p>The operation isn't valid. </p>
|
|
69
|
+
*
|
|
70
|
+
* @throws {@link WAFInvalidParameterException} (client fault)
|
|
71
|
+
* <p>The operation failed because WAF didn't recognize a parameter in the request. For
|
|
72
|
+
* example: </p>
|
|
73
|
+
* <ul>
|
|
74
|
+
* <li>
|
|
75
|
+
* <p>You specified a parameter name or value that isn't valid.</p>
|
|
76
|
+
* </li>
|
|
77
|
+
* <li>
|
|
78
|
+
* <p>Your nested statement isn't valid. You might have tried to nest a statement that
|
|
79
|
+
* can’t be nested. </p>
|
|
80
|
+
* </li>
|
|
81
|
+
* <li>
|
|
82
|
+
* <p>You tried to update a <code>WebACL</code> with a <code>DefaultAction</code> that
|
|
83
|
+
* isn't among the types available at <a>DefaultAction</a>.</p>
|
|
84
|
+
* </li>
|
|
85
|
+
* <li>
|
|
86
|
+
* <p>Your request references an ARN that is malformed, or corresponds to a resource
|
|
87
|
+
* with which a web ACL can't be associated.</p>
|
|
88
|
+
* </li>
|
|
89
|
+
* </ul>
|
|
90
|
+
*
|
|
91
|
+
* @throws {@link WAFV2ServiceException}
|
|
92
|
+
* <p>Base exception class for all service exceptions from WAFV2 service.</p>
|
|
93
|
+
*
|
|
94
|
+
*/
|
|
95
|
+
export declare class DescribeManagedProductsByVendorCommand extends $Command<DescribeManagedProductsByVendorCommandInput, DescribeManagedProductsByVendorCommandOutput, WAFV2ClientResolvedConfig> {
|
|
96
|
+
readonly input: DescribeManagedProductsByVendorCommandInput;
|
|
97
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
98
|
+
/**
|
|
99
|
+
* @public
|
|
100
|
+
*/
|
|
101
|
+
constructor(input: DescribeManagedProductsByVendorCommandInput);
|
|
102
|
+
/**
|
|
103
|
+
* @internal
|
|
104
|
+
*/
|
|
105
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: WAFV2ClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DescribeManagedProductsByVendorCommandInput, DescribeManagedProductsByVendorCommandOutput>;
|
|
106
|
+
/**
|
|
107
|
+
* @internal
|
|
108
|
+
*/
|
|
109
|
+
private serialize;
|
|
110
|
+
/**
|
|
111
|
+
* @internal
|
|
112
|
+
*/
|
|
113
|
+
private deserialize;
|
|
114
|
+
}
|
|
@@ -1,42 +1,191 @@
|
|
|
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 { DescribeManagedRuleGroupRequest, DescribeManagedRuleGroupResponse } 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 DescribeManagedRuleGroupCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface DescribeManagedRuleGroupCommandInput extends DescribeManagedRuleGroupRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link DescribeManagedRuleGroupCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface DescribeManagedRuleGroupCommandOutput extends DescribeManagedRuleGroupResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* @public
|
|
26
|
+
* <p>Provides high-level information for a managed rule group, including descriptions of the rules. </p>
|
|
27
|
+
* @example
|
|
28
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
29
|
+
* ```javascript
|
|
30
|
+
* import { WAFV2Client, DescribeManagedRuleGroupCommand } from "@aws-sdk/client-wafv2"; // ES Modules import
|
|
31
|
+
* // const { WAFV2Client, DescribeManagedRuleGroupCommand } = require("@aws-sdk/client-wafv2"); // CommonJS import
|
|
32
|
+
* const client = new WAFV2Client(config);
|
|
33
|
+
* const input = { // DescribeManagedRuleGroupRequest
|
|
34
|
+
* VendorName: "STRING_VALUE", // required
|
|
35
|
+
* Name: "STRING_VALUE", // required
|
|
36
|
+
* Scope: "CLOUDFRONT" || "REGIONAL", // required
|
|
37
|
+
* VersionName: "STRING_VALUE",
|
|
38
|
+
* };
|
|
39
|
+
* const command = new DescribeManagedRuleGroupCommand(input);
|
|
40
|
+
* const response = await client.send(command);
|
|
41
|
+
* // { // DescribeManagedRuleGroupResponse
|
|
42
|
+
* // VersionName: "STRING_VALUE",
|
|
43
|
+
* // SnsTopicArn: "STRING_VALUE",
|
|
44
|
+
* // Capacity: Number("long"),
|
|
45
|
+
* // Rules: [ // RuleSummaries
|
|
46
|
+
* // { // RuleSummary
|
|
47
|
+
* // Name: "STRING_VALUE",
|
|
48
|
+
* // Action: { // RuleAction
|
|
49
|
+
* // Block: { // BlockAction
|
|
50
|
+
* // CustomResponse: { // CustomResponse
|
|
51
|
+
* // ResponseCode: Number("int"), // required
|
|
52
|
+
* // CustomResponseBodyKey: "STRING_VALUE",
|
|
53
|
+
* // ResponseHeaders: [ // CustomHTTPHeaders
|
|
54
|
+
* // { // CustomHTTPHeader
|
|
55
|
+
* // Name: "STRING_VALUE", // required
|
|
56
|
+
* // Value: "STRING_VALUE", // required
|
|
57
|
+
* // },
|
|
58
|
+
* // ],
|
|
59
|
+
* // },
|
|
60
|
+
* // },
|
|
61
|
+
* // Allow: { // AllowAction
|
|
62
|
+
* // CustomRequestHandling: { // CustomRequestHandling
|
|
63
|
+
* // InsertHeaders: [ // required
|
|
64
|
+
* // {
|
|
65
|
+
* // Name: "STRING_VALUE", // required
|
|
66
|
+
* // Value: "STRING_VALUE", // required
|
|
67
|
+
* // },
|
|
68
|
+
* // ],
|
|
69
|
+
* // },
|
|
70
|
+
* // },
|
|
71
|
+
* // Count: { // CountAction
|
|
72
|
+
* // CustomRequestHandling: {
|
|
73
|
+
* // InsertHeaders: [ // required
|
|
74
|
+
* // {
|
|
75
|
+
* // Name: "STRING_VALUE", // required
|
|
76
|
+
* // Value: "STRING_VALUE", // required
|
|
77
|
+
* // },
|
|
78
|
+
* // ],
|
|
79
|
+
* // },
|
|
80
|
+
* // },
|
|
81
|
+
* // Captcha: { // CaptchaAction
|
|
82
|
+
* // CustomRequestHandling: {
|
|
83
|
+
* // InsertHeaders: [ // required
|
|
84
|
+
* // {
|
|
85
|
+
* // Name: "STRING_VALUE", // required
|
|
86
|
+
* // Value: "STRING_VALUE", // required
|
|
87
|
+
* // },
|
|
88
|
+
* // ],
|
|
89
|
+
* // },
|
|
90
|
+
* // },
|
|
91
|
+
* // Challenge: { // ChallengeAction
|
|
92
|
+
* // CustomRequestHandling: {
|
|
93
|
+
* // InsertHeaders: [ // required
|
|
94
|
+
* // {
|
|
95
|
+
* // Name: "STRING_VALUE", // required
|
|
96
|
+
* // Value: "STRING_VALUE", // required
|
|
97
|
+
* // },
|
|
98
|
+
* // ],
|
|
99
|
+
* // },
|
|
100
|
+
* // },
|
|
101
|
+
* // },
|
|
102
|
+
* // },
|
|
103
|
+
* // ],
|
|
104
|
+
* // LabelNamespace: "STRING_VALUE",
|
|
105
|
+
* // AvailableLabels: [ // LabelSummaries
|
|
106
|
+
* // { // LabelSummary
|
|
107
|
+
* // Name: "STRING_VALUE",
|
|
108
|
+
* // },
|
|
109
|
+
* // ],
|
|
110
|
+
* // ConsumedLabels: [
|
|
111
|
+
* // {
|
|
112
|
+
* // Name: "STRING_VALUE",
|
|
113
|
+
* // },
|
|
114
|
+
* // ],
|
|
115
|
+
* // };
|
|
116
|
+
*
|
|
117
|
+
* ```
|
|
118
|
+
*
|
|
119
|
+
* @param DescribeManagedRuleGroupCommandInput - {@link DescribeManagedRuleGroupCommandInput}
|
|
120
|
+
* @returns {@link DescribeManagedRuleGroupCommandOutput}
|
|
121
|
+
* @see {@link DescribeManagedRuleGroupCommandInput} for command's `input` shape.
|
|
122
|
+
* @see {@link DescribeManagedRuleGroupCommandOutput} for command's `response` shape.
|
|
123
|
+
* @see {@link WAFV2ClientResolvedConfig | config} for WAFV2Client's `config` shape.
|
|
124
|
+
*
|
|
125
|
+
* @throws {@link WAFExpiredManagedRuleGroupVersionException} (client fault)
|
|
126
|
+
* <p>The operation failed because the specified version for the managed rule group has
|
|
127
|
+
* expired. You can retrieve the available versions for the managed rule group by calling
|
|
128
|
+
* <a>ListAvailableManagedRuleGroupVersions</a>.</p>
|
|
129
|
+
*
|
|
130
|
+
* @throws {@link WAFInternalErrorException} (server fault)
|
|
131
|
+
* <p>Your request is valid, but WAF couldn’t perform the operation because of a system
|
|
132
|
+
* problem. Retry your request. </p>
|
|
133
|
+
*
|
|
134
|
+
* @throws {@link WAFInvalidOperationException} (client fault)
|
|
135
|
+
* <p>The operation isn't valid. </p>
|
|
136
|
+
*
|
|
137
|
+
* @throws {@link WAFInvalidParameterException} (client fault)
|
|
138
|
+
* <p>The operation failed because WAF didn't recognize a parameter in the request. For
|
|
139
|
+
* example: </p>
|
|
140
|
+
* <ul>
|
|
141
|
+
* <li>
|
|
142
|
+
* <p>You specified a parameter name or value that isn't valid.</p>
|
|
143
|
+
* </li>
|
|
144
|
+
* <li>
|
|
145
|
+
* <p>Your nested statement isn't valid. You might have tried to nest a statement that
|
|
146
|
+
* can’t be nested. </p>
|
|
147
|
+
* </li>
|
|
148
|
+
* <li>
|
|
149
|
+
* <p>You tried to update a <code>WebACL</code> with a <code>DefaultAction</code> that
|
|
150
|
+
* isn't among the types available at <a>DefaultAction</a>.</p>
|
|
151
|
+
* </li>
|
|
152
|
+
* <li>
|
|
153
|
+
* <p>Your request references an ARN that is malformed, or corresponds to a resource
|
|
154
|
+
* with which a web ACL can't be associated.</p>
|
|
155
|
+
* </li>
|
|
156
|
+
* </ul>
|
|
157
|
+
*
|
|
158
|
+
* @throws {@link WAFInvalidResourceException} (client fault)
|
|
159
|
+
* <p>WAF couldn’t perform the operation because the resource that you requested isn’t
|
|
160
|
+
* valid. Check the resource, and try again.</p>
|
|
161
|
+
*
|
|
162
|
+
* @throws {@link WAFNonexistentItemException} (client fault)
|
|
163
|
+
* <p>WAF couldn’t perform the operation because your resource doesn't exist.
|
|
164
|
+
* If you've just created a resource that you're using in this operation, you might
|
|
165
|
+
* just need to wait a few minutes. It can take from a few seconds to a number of minutes
|
|
166
|
+
* for changes to propagate. </p>
|
|
167
|
+
*
|
|
168
|
+
* @throws {@link WAFV2ServiceException}
|
|
169
|
+
* <p>Base exception class for all service exceptions from WAFV2 service.</p>
|
|
170
|
+
*
|
|
171
|
+
*/
|
|
172
|
+
export declare class DescribeManagedRuleGroupCommand extends $Command<DescribeManagedRuleGroupCommandInput, DescribeManagedRuleGroupCommandOutput, WAFV2ClientResolvedConfig> {
|
|
173
|
+
readonly input: DescribeManagedRuleGroupCommandInput;
|
|
174
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
175
|
+
/**
|
|
176
|
+
* @public
|
|
177
|
+
*/
|
|
178
|
+
constructor(input: DescribeManagedRuleGroupCommandInput);
|
|
179
|
+
/**
|
|
180
|
+
* @internal
|
|
181
|
+
*/
|
|
182
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: WAFV2ClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DescribeManagedRuleGroupCommandInput, DescribeManagedRuleGroupCommandOutput>;
|
|
183
|
+
/**
|
|
184
|
+
* @internal
|
|
185
|
+
*/
|
|
186
|
+
private serialize;
|
|
187
|
+
/**
|
|
188
|
+
* @internal
|
|
189
|
+
*/
|
|
190
|
+
private deserialize;
|
|
191
|
+
}
|
|
@@ -1,39 +1,109 @@
|
|
|
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
|
-
}
|
|
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 { DisassociateWebACLRequest, DisassociateWebACLResponse } 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 DisassociateWebACLCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface DisassociateWebACLCommandInput extends DisassociateWebACLRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link DisassociateWebACLCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface DisassociateWebACLCommandOutput extends DisassociateWebACLResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* @public
|
|
26
|
+
* <p>Disassociates the specified regional application resource from any existing web ACL
|
|
27
|
+
* association. A resource can have at most one web ACL association. A regional application can be an Application Load Balancer (ALB), an Amazon API Gateway REST API, an AppSync GraphQL API, an Amazon Cognito user pool, an App Runner service, or an Amazon Web Services Verified Access instance. </p>
|
|
28
|
+
* <p>For Amazon CloudFront, don't use this call. Instead, use your CloudFront distribution configuration. To
|
|
29
|
+
* disassociate a web ACL, provide an empty web ACL ID in the CloudFront call
|
|
30
|
+
* <code>UpdateDistribution</code>. For information, see <a href="https://docs.aws.amazon.com/cloudfront/latest/APIReference/API_UpdateDistribution.html">UpdateDistribution</a> in the <i>Amazon CloudFront API Reference</i>. </p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { WAFV2Client, DisassociateWebACLCommand } from "@aws-sdk/client-wafv2"; // ES Modules import
|
|
35
|
+
* // const { WAFV2Client, DisassociateWebACLCommand } = require("@aws-sdk/client-wafv2"); // CommonJS import
|
|
36
|
+
* const client = new WAFV2Client(config);
|
|
37
|
+
* const input = { // DisassociateWebACLRequest
|
|
38
|
+
* ResourceArn: "STRING_VALUE", // required
|
|
39
|
+
* };
|
|
40
|
+
* const command = new DisassociateWebACLCommand(input);
|
|
41
|
+
* const response = await client.send(command);
|
|
42
|
+
* // {};
|
|
43
|
+
*
|
|
44
|
+
* ```
|
|
45
|
+
*
|
|
46
|
+
* @param DisassociateWebACLCommandInput - {@link DisassociateWebACLCommandInput}
|
|
47
|
+
* @returns {@link DisassociateWebACLCommandOutput}
|
|
48
|
+
* @see {@link DisassociateWebACLCommandInput} for command's `input` shape.
|
|
49
|
+
* @see {@link DisassociateWebACLCommandOutput} for command's `response` shape.
|
|
50
|
+
* @see {@link WAFV2ClientResolvedConfig | config} for WAFV2Client's `config` shape.
|
|
51
|
+
*
|
|
52
|
+
* @throws {@link WAFInternalErrorException} (server fault)
|
|
53
|
+
* <p>Your request is valid, but WAF couldn’t perform the operation because of a system
|
|
54
|
+
* problem. Retry your request. </p>
|
|
55
|
+
*
|
|
56
|
+
* @throws {@link WAFInvalidOperationException} (client fault)
|
|
57
|
+
* <p>The operation isn't valid. </p>
|
|
58
|
+
*
|
|
59
|
+
* @throws {@link WAFInvalidParameterException} (client fault)
|
|
60
|
+
* <p>The operation failed because WAF didn't recognize a parameter in the request. For
|
|
61
|
+
* example: </p>
|
|
62
|
+
* <ul>
|
|
63
|
+
* <li>
|
|
64
|
+
* <p>You specified a parameter name or value that isn't valid.</p>
|
|
65
|
+
* </li>
|
|
66
|
+
* <li>
|
|
67
|
+
* <p>Your nested statement isn't valid. You might have tried to nest a statement that
|
|
68
|
+
* can’t be nested. </p>
|
|
69
|
+
* </li>
|
|
70
|
+
* <li>
|
|
71
|
+
* <p>You tried to update a <code>WebACL</code> with a <code>DefaultAction</code> that
|
|
72
|
+
* isn't among the types available at <a>DefaultAction</a>.</p>
|
|
73
|
+
* </li>
|
|
74
|
+
* <li>
|
|
75
|
+
* <p>Your request references an ARN that is malformed, or corresponds to a resource
|
|
76
|
+
* with which a web ACL can't be associated.</p>
|
|
77
|
+
* </li>
|
|
78
|
+
* </ul>
|
|
79
|
+
*
|
|
80
|
+
* @throws {@link WAFNonexistentItemException} (client fault)
|
|
81
|
+
* <p>WAF couldn’t perform the operation because your resource doesn't exist.
|
|
82
|
+
* If you've just created a resource that you're using in this operation, you might
|
|
83
|
+
* just need to wait a few minutes. It can take from a few seconds to a number of minutes
|
|
84
|
+
* for changes to propagate. </p>
|
|
85
|
+
*
|
|
86
|
+
* @throws {@link WAFV2ServiceException}
|
|
87
|
+
* <p>Base exception class for all service exceptions from WAFV2 service.</p>
|
|
88
|
+
*
|
|
89
|
+
*/
|
|
90
|
+
export declare class DisassociateWebACLCommand extends $Command<DisassociateWebACLCommandInput, DisassociateWebACLCommandOutput, WAFV2ClientResolvedConfig> {
|
|
91
|
+
readonly input: DisassociateWebACLCommandInput;
|
|
92
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
93
|
+
/**
|
|
94
|
+
* @public
|
|
95
|
+
*/
|
|
96
|
+
constructor(input: DisassociateWebACLCommandInput);
|
|
97
|
+
/**
|
|
98
|
+
* @internal
|
|
99
|
+
*/
|
|
100
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: WAFV2ClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DisassociateWebACLCommandInput, DisassociateWebACLCommandOutput>;
|
|
101
|
+
/**
|
|
102
|
+
* @internal
|
|
103
|
+
*/
|
|
104
|
+
private serialize;
|
|
105
|
+
/**
|
|
106
|
+
* @internal
|
|
107
|
+
*/
|
|
108
|
+
private deserialize;
|
|
109
|
+
}
|