@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,35 +1,121 @@
|
|
|
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 { ListAPIKeysRequest, ListAPIKeysResponse } 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 ListAPIKeysCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface ListAPIKeysCommandInput extends ListAPIKeysRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link ListAPIKeysCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface ListAPIKeysCommandOutput extends ListAPIKeysResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* @public
|
|
26
|
+
* <p>Retrieves a list of the API keys that you've defined for the specified scope. </p>
|
|
27
|
+
* <p>API keys are required for the integration of the CAPTCHA API in your JavaScript client applications.
|
|
28
|
+
* The API lets you customize the placement and characteristics of the CAPTCHA puzzle for your end users.
|
|
29
|
+
* For more information about the CAPTCHA JavaScript integration, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/waf-application-integration.html">WAF client application integration</a> in the <i>WAF Developer Guide</i>.</p>
|
|
30
|
+
* @example
|
|
31
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
32
|
+
* ```javascript
|
|
33
|
+
* import { WAFV2Client, ListAPIKeysCommand } from "@aws-sdk/client-wafv2"; // ES Modules import
|
|
34
|
+
* // const { WAFV2Client, ListAPIKeysCommand } = require("@aws-sdk/client-wafv2"); // CommonJS import
|
|
35
|
+
* const client = new WAFV2Client(config);
|
|
36
|
+
* const input = { // ListAPIKeysRequest
|
|
37
|
+
* Scope: "CLOUDFRONT" || "REGIONAL", // required
|
|
38
|
+
* NextMarker: "STRING_VALUE",
|
|
39
|
+
* Limit: Number("int"),
|
|
40
|
+
* };
|
|
41
|
+
* const command = new ListAPIKeysCommand(input);
|
|
42
|
+
* const response = await client.send(command);
|
|
43
|
+
* // { // ListAPIKeysResponse
|
|
44
|
+
* // NextMarker: "STRING_VALUE",
|
|
45
|
+
* // APIKeySummaries: [ // APIKeySummaries
|
|
46
|
+
* // { // APIKeySummary
|
|
47
|
+
* // TokenDomains: [ // TokenDomains
|
|
48
|
+
* // "STRING_VALUE",
|
|
49
|
+
* // ],
|
|
50
|
+
* // APIKey: "STRING_VALUE",
|
|
51
|
+
* // CreationTimestamp: new Date("TIMESTAMP"),
|
|
52
|
+
* // Version: Number("int"),
|
|
53
|
+
* // },
|
|
54
|
+
* // ],
|
|
55
|
+
* // ApplicationIntegrationURL: "STRING_VALUE",
|
|
56
|
+
* // };
|
|
57
|
+
*
|
|
58
|
+
* ```
|
|
59
|
+
*
|
|
60
|
+
* @param ListAPIKeysCommandInput - {@link ListAPIKeysCommandInput}
|
|
61
|
+
* @returns {@link ListAPIKeysCommandOutput}
|
|
62
|
+
* @see {@link ListAPIKeysCommandInput} for command's `input` shape.
|
|
63
|
+
* @see {@link ListAPIKeysCommandOutput} for command's `response` shape.
|
|
64
|
+
* @see {@link WAFV2ClientResolvedConfig | config} for WAFV2Client's `config` shape.
|
|
65
|
+
*
|
|
66
|
+
* @throws {@link WAFInternalErrorException} (server fault)
|
|
67
|
+
* <p>Your request is valid, but WAF couldn’t perform the operation because of a system
|
|
68
|
+
* problem. Retry your request. </p>
|
|
69
|
+
*
|
|
70
|
+
* @throws {@link WAFInvalidOperationException} (client fault)
|
|
71
|
+
* <p>The operation isn't valid. </p>
|
|
72
|
+
*
|
|
73
|
+
* @throws {@link WAFInvalidParameterException} (client fault)
|
|
74
|
+
* <p>The operation failed because WAF didn't recognize a parameter in the request. For
|
|
75
|
+
* example: </p>
|
|
76
|
+
* <ul>
|
|
77
|
+
* <li>
|
|
78
|
+
* <p>You specified a parameter name or value that isn't valid.</p>
|
|
79
|
+
* </li>
|
|
80
|
+
* <li>
|
|
81
|
+
* <p>Your nested statement isn't valid. You might have tried to nest a statement that
|
|
82
|
+
* can’t be nested. </p>
|
|
83
|
+
* </li>
|
|
84
|
+
* <li>
|
|
85
|
+
* <p>You tried to update a <code>WebACL</code> with a <code>DefaultAction</code> that
|
|
86
|
+
* isn't among the types available at <a>DefaultAction</a>.</p>
|
|
87
|
+
* </li>
|
|
88
|
+
* <li>
|
|
89
|
+
* <p>Your request references an ARN that is malformed, or corresponds to a resource
|
|
90
|
+
* with which a web ACL can't be associated.</p>
|
|
91
|
+
* </li>
|
|
92
|
+
* </ul>
|
|
93
|
+
*
|
|
94
|
+
* @throws {@link WAFInvalidResourceException} (client fault)
|
|
95
|
+
* <p>WAF couldn’t perform the operation because the resource that you requested isn’t
|
|
96
|
+
* valid. Check the resource, and try again.</p>
|
|
97
|
+
*
|
|
98
|
+
* @throws {@link WAFV2ServiceException}
|
|
99
|
+
* <p>Base exception class for all service exceptions from WAFV2 service.</p>
|
|
100
|
+
*
|
|
101
|
+
*/
|
|
102
|
+
export declare class ListAPIKeysCommand extends $Command<ListAPIKeysCommandInput, ListAPIKeysCommandOutput, WAFV2ClientResolvedConfig> {
|
|
103
|
+
readonly input: ListAPIKeysCommandInput;
|
|
104
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
105
|
+
/**
|
|
106
|
+
* @public
|
|
107
|
+
*/
|
|
108
|
+
constructor(input: ListAPIKeysCommandInput);
|
|
109
|
+
/**
|
|
110
|
+
* @internal
|
|
111
|
+
*/
|
|
112
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: WAFV2ClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListAPIKeysCommandInput, ListAPIKeysCommandOutput>;
|
|
113
|
+
/**
|
|
114
|
+
* @internal
|
|
115
|
+
*/
|
|
116
|
+
private serialize;
|
|
117
|
+
/**
|
|
118
|
+
* @internal
|
|
119
|
+
*/
|
|
120
|
+
private deserialize;
|
|
121
|
+
}
|
|
@@ -1,42 +1,118 @@
|
|
|
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 { ListAvailableManagedRuleGroupVersionsRequest, ListAvailableManagedRuleGroupVersionsResponse } 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 ListAvailableManagedRuleGroupVersionsCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface ListAvailableManagedRuleGroupVersionsCommandInput extends ListAvailableManagedRuleGroupVersionsRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link ListAvailableManagedRuleGroupVersionsCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface ListAvailableManagedRuleGroupVersionsCommandOutput extends ListAvailableManagedRuleGroupVersionsResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* @public
|
|
26
|
+
* <p>Returns a list of the available versions for the specified managed rule group. </p>
|
|
27
|
+
* @example
|
|
28
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
29
|
+
* ```javascript
|
|
30
|
+
* import { WAFV2Client, ListAvailableManagedRuleGroupVersionsCommand } from "@aws-sdk/client-wafv2"; // ES Modules import
|
|
31
|
+
* // const { WAFV2Client, ListAvailableManagedRuleGroupVersionsCommand } = require("@aws-sdk/client-wafv2"); // CommonJS import
|
|
32
|
+
* const client = new WAFV2Client(config);
|
|
33
|
+
* const input = { // ListAvailableManagedRuleGroupVersionsRequest
|
|
34
|
+
* VendorName: "STRING_VALUE", // required
|
|
35
|
+
* Name: "STRING_VALUE", // required
|
|
36
|
+
* Scope: "CLOUDFRONT" || "REGIONAL", // required
|
|
37
|
+
* NextMarker: "STRING_VALUE",
|
|
38
|
+
* Limit: Number("int"),
|
|
39
|
+
* };
|
|
40
|
+
* const command = new ListAvailableManagedRuleGroupVersionsCommand(input);
|
|
41
|
+
* const response = await client.send(command);
|
|
42
|
+
* // { // ListAvailableManagedRuleGroupVersionsResponse
|
|
43
|
+
* // NextMarker: "STRING_VALUE",
|
|
44
|
+
* // Versions: [ // ManagedRuleGroupVersions
|
|
45
|
+
* // { // ManagedRuleGroupVersion
|
|
46
|
+
* // Name: "STRING_VALUE",
|
|
47
|
+
* // LastUpdateTimestamp: new Date("TIMESTAMP"),
|
|
48
|
+
* // },
|
|
49
|
+
* // ],
|
|
50
|
+
* // CurrentDefaultVersion: "STRING_VALUE",
|
|
51
|
+
* // };
|
|
52
|
+
*
|
|
53
|
+
* ```
|
|
54
|
+
*
|
|
55
|
+
* @param ListAvailableManagedRuleGroupVersionsCommandInput - {@link ListAvailableManagedRuleGroupVersionsCommandInput}
|
|
56
|
+
* @returns {@link ListAvailableManagedRuleGroupVersionsCommandOutput}
|
|
57
|
+
* @see {@link ListAvailableManagedRuleGroupVersionsCommandInput} for command's `input` shape.
|
|
58
|
+
* @see {@link ListAvailableManagedRuleGroupVersionsCommandOutput} for command's `response` shape.
|
|
59
|
+
* @see {@link WAFV2ClientResolvedConfig | config} for WAFV2Client's `config` shape.
|
|
60
|
+
*
|
|
61
|
+
* @throws {@link WAFInternalErrorException} (server fault)
|
|
62
|
+
* <p>Your request is valid, but WAF couldn’t perform the operation because of a system
|
|
63
|
+
* problem. Retry your request. </p>
|
|
64
|
+
*
|
|
65
|
+
* @throws {@link WAFInvalidOperationException} (client fault)
|
|
66
|
+
* <p>The operation isn't valid. </p>
|
|
67
|
+
*
|
|
68
|
+
* @throws {@link WAFInvalidParameterException} (client fault)
|
|
69
|
+
* <p>The operation failed because WAF didn't recognize a parameter in the request. For
|
|
70
|
+
* example: </p>
|
|
71
|
+
* <ul>
|
|
72
|
+
* <li>
|
|
73
|
+
* <p>You specified a parameter name or value that isn't valid.</p>
|
|
74
|
+
* </li>
|
|
75
|
+
* <li>
|
|
76
|
+
* <p>Your nested statement isn't valid. You might have tried to nest a statement that
|
|
77
|
+
* can’t be nested. </p>
|
|
78
|
+
* </li>
|
|
79
|
+
* <li>
|
|
80
|
+
* <p>You tried to update a <code>WebACL</code> with a <code>DefaultAction</code> that
|
|
81
|
+
* isn't among the types available at <a>DefaultAction</a>.</p>
|
|
82
|
+
* </li>
|
|
83
|
+
* <li>
|
|
84
|
+
* <p>Your request references an ARN that is malformed, or corresponds to a resource
|
|
85
|
+
* with which a web ACL can't be associated.</p>
|
|
86
|
+
* </li>
|
|
87
|
+
* </ul>
|
|
88
|
+
*
|
|
89
|
+
* @throws {@link WAFNonexistentItemException} (client fault)
|
|
90
|
+
* <p>WAF couldn’t perform the operation because your resource doesn't exist.
|
|
91
|
+
* If you've just created a resource that you're using in this operation, you might
|
|
92
|
+
* just need to wait a few minutes. It can take from a few seconds to a number of minutes
|
|
93
|
+
* for changes to propagate. </p>
|
|
94
|
+
*
|
|
95
|
+
* @throws {@link WAFV2ServiceException}
|
|
96
|
+
* <p>Base exception class for all service exceptions from WAFV2 service.</p>
|
|
97
|
+
*
|
|
98
|
+
*/
|
|
99
|
+
export declare class ListAvailableManagedRuleGroupVersionsCommand extends $Command<ListAvailableManagedRuleGroupVersionsCommandInput, ListAvailableManagedRuleGroupVersionsCommandOutput, WAFV2ClientResolvedConfig> {
|
|
100
|
+
readonly input: ListAvailableManagedRuleGroupVersionsCommandInput;
|
|
101
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
102
|
+
/**
|
|
103
|
+
* @public
|
|
104
|
+
*/
|
|
105
|
+
constructor(input: ListAvailableManagedRuleGroupVersionsCommandInput);
|
|
106
|
+
/**
|
|
107
|
+
* @internal
|
|
108
|
+
*/
|
|
109
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: WAFV2ClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListAvailableManagedRuleGroupVersionsCommandInput, ListAvailableManagedRuleGroupVersionsCommandOutput>;
|
|
110
|
+
/**
|
|
111
|
+
* @internal
|
|
112
|
+
*/
|
|
113
|
+
private serialize;
|
|
114
|
+
/**
|
|
115
|
+
* @internal
|
|
116
|
+
*/
|
|
117
|
+
private deserialize;
|
|
118
|
+
}
|
|
@@ -1,42 +1,113 @@
|
|
|
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 { ListAvailableManagedRuleGroupsRequest, ListAvailableManagedRuleGroupsResponse } 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 ListAvailableManagedRuleGroupsCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface ListAvailableManagedRuleGroupsCommandInput extends ListAvailableManagedRuleGroupsRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link ListAvailableManagedRuleGroupsCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface ListAvailableManagedRuleGroupsCommandOutput extends ListAvailableManagedRuleGroupsResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* @public
|
|
26
|
+
* <p>Retrieves an array of managed rule groups that are available for you to use. This list
|
|
27
|
+
* includes all Amazon Web Services Managed Rules rule groups and all of the Amazon Web Services Marketplace managed rule groups that you're
|
|
28
|
+
* subscribed to.</p>
|
|
29
|
+
* @example
|
|
30
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
31
|
+
* ```javascript
|
|
32
|
+
* import { WAFV2Client, ListAvailableManagedRuleGroupsCommand } from "@aws-sdk/client-wafv2"; // ES Modules import
|
|
33
|
+
* // const { WAFV2Client, ListAvailableManagedRuleGroupsCommand } = require("@aws-sdk/client-wafv2"); // CommonJS import
|
|
34
|
+
* const client = new WAFV2Client(config);
|
|
35
|
+
* const input = { // ListAvailableManagedRuleGroupsRequest
|
|
36
|
+
* Scope: "CLOUDFRONT" || "REGIONAL", // required
|
|
37
|
+
* NextMarker: "STRING_VALUE",
|
|
38
|
+
* Limit: Number("int"),
|
|
39
|
+
* };
|
|
40
|
+
* const command = new ListAvailableManagedRuleGroupsCommand(input);
|
|
41
|
+
* const response = await client.send(command);
|
|
42
|
+
* // { // ListAvailableManagedRuleGroupsResponse
|
|
43
|
+
* // NextMarker: "STRING_VALUE",
|
|
44
|
+
* // ManagedRuleGroups: [ // ManagedRuleGroupSummaries
|
|
45
|
+
* // { // ManagedRuleGroupSummary
|
|
46
|
+
* // VendorName: "STRING_VALUE",
|
|
47
|
+
* // Name: "STRING_VALUE",
|
|
48
|
+
* // VersioningSupported: true || false,
|
|
49
|
+
* // Description: "STRING_VALUE",
|
|
50
|
+
* // },
|
|
51
|
+
* // ],
|
|
52
|
+
* // };
|
|
53
|
+
*
|
|
54
|
+
* ```
|
|
55
|
+
*
|
|
56
|
+
* @param ListAvailableManagedRuleGroupsCommandInput - {@link ListAvailableManagedRuleGroupsCommandInput}
|
|
57
|
+
* @returns {@link ListAvailableManagedRuleGroupsCommandOutput}
|
|
58
|
+
* @see {@link ListAvailableManagedRuleGroupsCommandInput} for command's `input` shape.
|
|
59
|
+
* @see {@link ListAvailableManagedRuleGroupsCommandOutput} 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 WAFInvalidParameterException} (client fault)
|
|
70
|
+
* <p>The operation failed because WAF didn't recognize a parameter in the request. For
|
|
71
|
+
* example: </p>
|
|
72
|
+
* <ul>
|
|
73
|
+
* <li>
|
|
74
|
+
* <p>You specified a parameter name or value that isn't valid.</p>
|
|
75
|
+
* </li>
|
|
76
|
+
* <li>
|
|
77
|
+
* <p>Your nested statement isn't valid. You might have tried to nest a statement that
|
|
78
|
+
* can’t be nested. </p>
|
|
79
|
+
* </li>
|
|
80
|
+
* <li>
|
|
81
|
+
* <p>You tried to update a <code>WebACL</code> with a <code>DefaultAction</code> that
|
|
82
|
+
* isn't among the types available at <a>DefaultAction</a>.</p>
|
|
83
|
+
* </li>
|
|
84
|
+
* <li>
|
|
85
|
+
* <p>Your request references an ARN that is malformed, or corresponds to a resource
|
|
86
|
+
* with which a web ACL can't be associated.</p>
|
|
87
|
+
* </li>
|
|
88
|
+
* </ul>
|
|
89
|
+
*
|
|
90
|
+
* @throws {@link WAFV2ServiceException}
|
|
91
|
+
* <p>Base exception class for all service exceptions from WAFV2 service.</p>
|
|
92
|
+
*
|
|
93
|
+
*/
|
|
94
|
+
export declare class ListAvailableManagedRuleGroupsCommand extends $Command<ListAvailableManagedRuleGroupsCommandInput, ListAvailableManagedRuleGroupsCommandOutput, WAFV2ClientResolvedConfig> {
|
|
95
|
+
readonly input: ListAvailableManagedRuleGroupsCommandInput;
|
|
96
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
97
|
+
/**
|
|
98
|
+
* @public
|
|
99
|
+
*/
|
|
100
|
+
constructor(input: ListAvailableManagedRuleGroupsCommandInput);
|
|
101
|
+
/**
|
|
102
|
+
* @internal
|
|
103
|
+
*/
|
|
104
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: WAFV2ClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListAvailableManagedRuleGroupsCommandInput, ListAvailableManagedRuleGroupsCommandOutput>;
|
|
105
|
+
/**
|
|
106
|
+
* @internal
|
|
107
|
+
*/
|
|
108
|
+
private serialize;
|
|
109
|
+
/**
|
|
110
|
+
* @internal
|
|
111
|
+
*/
|
|
112
|
+
private deserialize;
|
|
113
|
+
}
|
|
@@ -1,35 +1,113 @@
|
|
|
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 { ListIPSetsRequest, ListIPSetsResponse } 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 ListIPSetsCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface ListIPSetsCommandInput extends ListIPSetsRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link ListIPSetsCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface ListIPSetsCommandOutput extends ListIPSetsResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* @public
|
|
26
|
+
* <p>Retrieves an array of <a>IPSetSummary</a> objects for the IP sets that you
|
|
27
|
+
* manage.</p>
|
|
28
|
+
* @example
|
|
29
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
30
|
+
* ```javascript
|
|
31
|
+
* import { WAFV2Client, ListIPSetsCommand } from "@aws-sdk/client-wafv2"; // ES Modules import
|
|
32
|
+
* // const { WAFV2Client, ListIPSetsCommand } = require("@aws-sdk/client-wafv2"); // CommonJS import
|
|
33
|
+
* const client = new WAFV2Client(config);
|
|
34
|
+
* const input = { // ListIPSetsRequest
|
|
35
|
+
* Scope: "CLOUDFRONT" || "REGIONAL", // required
|
|
36
|
+
* NextMarker: "STRING_VALUE",
|
|
37
|
+
* Limit: Number("int"),
|
|
38
|
+
* };
|
|
39
|
+
* const command = new ListIPSetsCommand(input);
|
|
40
|
+
* const response = await client.send(command);
|
|
41
|
+
* // { // ListIPSetsResponse
|
|
42
|
+
* // NextMarker: "STRING_VALUE",
|
|
43
|
+
* // IPSets: [ // IPSetSummaries
|
|
44
|
+
* // { // IPSetSummary
|
|
45
|
+
* // Name: "STRING_VALUE",
|
|
46
|
+
* // Id: "STRING_VALUE",
|
|
47
|
+
* // Description: "STRING_VALUE",
|
|
48
|
+
* // LockToken: "STRING_VALUE",
|
|
49
|
+
* // ARN: "STRING_VALUE",
|
|
50
|
+
* // },
|
|
51
|
+
* // ],
|
|
52
|
+
* // };
|
|
53
|
+
*
|
|
54
|
+
* ```
|
|
55
|
+
*
|
|
56
|
+
* @param ListIPSetsCommandInput - {@link ListIPSetsCommandInput}
|
|
57
|
+
* @returns {@link ListIPSetsCommandOutput}
|
|
58
|
+
* @see {@link ListIPSetsCommandInput} for command's `input` shape.
|
|
59
|
+
* @see {@link ListIPSetsCommandOutput} 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 WAFInvalidParameterException} (client fault)
|
|
70
|
+
* <p>The operation failed because WAF didn't recognize a parameter in the request. For
|
|
71
|
+
* example: </p>
|
|
72
|
+
* <ul>
|
|
73
|
+
* <li>
|
|
74
|
+
* <p>You specified a parameter name or value that isn't valid.</p>
|
|
75
|
+
* </li>
|
|
76
|
+
* <li>
|
|
77
|
+
* <p>Your nested statement isn't valid. You might have tried to nest a statement that
|
|
78
|
+
* can’t be nested. </p>
|
|
79
|
+
* </li>
|
|
80
|
+
* <li>
|
|
81
|
+
* <p>You tried to update a <code>WebACL</code> with a <code>DefaultAction</code> that
|
|
82
|
+
* isn't among the types available at <a>DefaultAction</a>.</p>
|
|
83
|
+
* </li>
|
|
84
|
+
* <li>
|
|
85
|
+
* <p>Your request references an ARN that is malformed, or corresponds to a resource
|
|
86
|
+
* with which a web ACL can't be associated.</p>
|
|
87
|
+
* </li>
|
|
88
|
+
* </ul>
|
|
89
|
+
*
|
|
90
|
+
* @throws {@link WAFV2ServiceException}
|
|
91
|
+
* <p>Base exception class for all service exceptions from WAFV2 service.</p>
|
|
92
|
+
*
|
|
93
|
+
*/
|
|
94
|
+
export declare class ListIPSetsCommand extends $Command<ListIPSetsCommandInput, ListIPSetsCommandOutput, WAFV2ClientResolvedConfig> {
|
|
95
|
+
readonly input: ListIPSetsCommandInput;
|
|
96
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
97
|
+
/**
|
|
98
|
+
* @public
|
|
99
|
+
*/
|
|
100
|
+
constructor(input: ListIPSetsCommandInput);
|
|
101
|
+
/**
|
|
102
|
+
* @internal
|
|
103
|
+
*/
|
|
104
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: WAFV2ClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListIPSetsCommandInput, ListIPSetsCommandOutput>;
|
|
105
|
+
/**
|
|
106
|
+
* @internal
|
|
107
|
+
*/
|
|
108
|
+
private serialize;
|
|
109
|
+
/**
|
|
110
|
+
* @internal
|
|
111
|
+
*/
|
|
112
|
+
private deserialize;
|
|
113
|
+
}
|