@aws-sdk/client-wafv2 3.422.0 → 3.423.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 (71) hide show
  1. package/dist-types/ts3.4/WAFV2.d.ts +918 -438
  2. package/dist-types/ts3.4/WAFV2Client.d.ts +436 -277
  3. package/dist-types/ts3.4/commands/AssociateWebACLCommand.d.ts +38 -118
  4. package/dist-types/ts3.4/commands/CheckCapacityCommand.d.ts +38 -1093
  5. package/dist-types/ts3.4/commands/CreateAPIKeyCommand.d.ts +35 -115
  6. package/dist-types/ts3.4/commands/CreateIPSetCommand.d.ts +35 -144
  7. package/dist-types/ts3.4/commands/CreateRegexPatternSetCommand.d.ts +42 -143
  8. package/dist-types/ts3.4/commands/CreateRuleGroupCommand.d.ts +38 -1116
  9. package/dist-types/ts3.4/commands/CreateWebACLCommand.d.ts +35 -1145
  10. package/dist-types/ts3.4/commands/DeleteFirewallManagerRuleGroupsCommand.d.ts +42 -115
  11. package/dist-types/ts3.4/commands/DeleteIPSetCommand.d.ts +35 -124
  12. package/dist-types/ts3.4/commands/DeleteLoggingConfigurationCommand.d.ts +42 -110
  13. package/dist-types/ts3.4/commands/DeletePermissionPolicyCommand.d.ts +42 -103
  14. package/dist-types/ts3.4/commands/DeleteRegexPatternSetCommand.d.ts +42 -124
  15. package/dist-types/ts3.4/commands/DeleteRuleGroupCommand.d.ts +38 -124
  16. package/dist-types/ts3.4/commands/DeleteWebACLCommand.d.ts +35 -158
  17. package/dist-types/ts3.4/commands/DescribeAllManagedProductsCommand.d.ts +42 -92
  18. package/dist-types/ts3.4/commands/DescribeManagedProductsByVendorCommand.d.ts +42 -114
  19. package/dist-types/ts3.4/commands/DescribeManagedRuleGroupCommand.d.ts +42 -191
  20. package/dist-types/ts3.4/commands/DisassociateWebACLCommand.d.ts +39 -109
  21. package/dist-types/ts3.4/commands/GenerateMobileSdkReleaseUrlCommand.d.ts +42 -110
  22. package/dist-types/ts3.4/commands/GetDecryptedAPIKeyCommand.d.ts +39 -112
  23. package/dist-types/ts3.4/commands/GetIPSetCommand.d.ts +35 -119
  24. package/dist-types/ts3.4/commands/GetLoggingConfigurationCommand.d.ts +42 -192
  25. package/dist-types/ts3.4/commands/GetManagedRuleSetCommand.d.ts +39 -131
  26. package/dist-types/ts3.4/commands/GetMobileSdkReleaseCommand.d.ts +39 -121
  27. package/dist-types/ts3.4/commands/GetPermissionPolicyCommand.d.ts +39 -105
  28. package/dist-types/ts3.4/commands/GetRateBasedStatementManagedKeysCommand.d.ts +42 -142
  29. package/dist-types/ts3.4/commands/GetRegexPatternSetCommand.d.ts +39 -120
  30. package/dist-types/ts3.4/commands/GetRuleGroupCommand.d.ts +35 -1088
  31. package/dist-types/ts3.4/commands/GetSampledRequestsCommand.d.ts +39 -168
  32. package/dist-types/ts3.4/commands/GetWebACLCommand.d.ts +35 -1283
  33. package/dist-types/ts3.4/commands/GetWebACLForResourceCommand.d.ts +42 -1286
  34. package/dist-types/ts3.4/commands/ListAPIKeysCommand.d.ts +35 -121
  35. package/dist-types/ts3.4/commands/ListAvailableManagedRuleGroupVersionsCommand.d.ts +42 -118
  36. package/dist-types/ts3.4/commands/ListAvailableManagedRuleGroupsCommand.d.ts +42 -113
  37. package/dist-types/ts3.4/commands/ListIPSetsCommand.d.ts +35 -113
  38. package/dist-types/ts3.4/commands/ListLoggingConfigurationsCommand.d.ts +42 -191
  39. package/dist-types/ts3.4/commands/ListManagedRuleSetsCommand.d.ts +39 -117
  40. package/dist-types/ts3.4/commands/ListMobileSdkReleasesCommand.d.ts +42 -112
  41. package/dist-types/ts3.4/commands/ListRegexPatternSetsCommand.d.ts +42 -113
  42. package/dist-types/ts3.4/commands/ListResourcesForWebACLCommand.d.ts +42 -112
  43. package/dist-types/ts3.4/commands/ListRuleGroupsCommand.d.ts +38 -113
  44. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +39 -132
  45. package/dist-types/ts3.4/commands/ListWebACLsCommand.d.ts +35 -113
  46. package/dist-types/ts3.4/commands/PutLoggingConfigurationCommand.d.ts +42 -345
  47. package/dist-types/ts3.4/commands/PutManagedRuleSetVersionsCommand.d.ts +42 -133
  48. package/dist-types/ts3.4/commands/PutPermissionPolicyCommand.d.ts +39 -145
  49. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +35 -131
  50. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +38 -118
  51. package/dist-types/ts3.4/commands/UpdateIPSetCommand.d.ts +35 -146
  52. package/dist-types/ts3.4/commands/UpdateManagedRuleSetVersionExpiryDateCommand.d.ts +42 -125
  53. package/dist-types/ts3.4/commands/UpdateRegexPatternSetCommand.d.ts +42 -148
  54. package/dist-types/ts3.4/commands/UpdateRuleGroupCommand.d.ts +38 -1128
  55. package/dist-types/ts3.4/commands/UpdateWebACLCommand.d.ts +35 -1146
  56. package/dist-types/ts3.4/commands/index.d.ts +53 -53
  57. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +33 -22
  58. package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +8 -5
  59. package/dist-types/ts3.4/endpoint/ruleset.d.ts +2 -2
  60. package/dist-types/ts3.4/extensionConfiguration.d.ts +7 -8
  61. package/dist-types/ts3.4/index.d.ts +6 -68
  62. package/dist-types/ts3.4/models/WAFV2ServiceException.d.ts +8 -13
  63. package/dist-types/ts3.4/models/index.d.ts +1 -1
  64. package/dist-types/ts3.4/models/models_0.d.ts +1764 -7951
  65. package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +641 -479
  66. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +97 -46
  67. package/dist-types/ts3.4/runtimeConfig.d.ts +97 -46
  68. package/dist-types/ts3.4/runtimeConfig.native.d.ts +88 -45
  69. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +19 -19
  70. package/dist-types/ts3.4/runtimeExtensions.d.ts +11 -17
  71. package/package.json +3 -3
@@ -1,121 +1,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
+ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import {
4
+ Handler,
5
+ HttpHandlerOptions as __HttpHandlerOptions,
6
+ MetadataBearer as __MetadataBearer,
7
+ MiddlewareStack,
8
+ } from "@smithy/types";
9
+ import { ListAPIKeysRequest, ListAPIKeysResponse } from "../models/models_0";
10
+ import {
11
+ ServiceInputTypes,
12
+ ServiceOutputTypes,
13
+ WAFV2ClientResolvedConfig,
14
+ } from "../WAFV2Client";
15
+ export { __MetadataBearer, $Command };
16
+ export interface ListAPIKeysCommandInput extends ListAPIKeysRequest {}
17
+ export interface ListAPIKeysCommandOutput
18
+ extends ListAPIKeysResponse,
19
+ __MetadataBearer {}
20
+ export declare class ListAPIKeysCommand extends $Command<
21
+ ListAPIKeysCommandInput,
22
+ ListAPIKeysCommandOutput,
23
+ WAFV2ClientResolvedConfig
24
+ > {
25
+ readonly input: ListAPIKeysCommandInput;
26
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
27
+ constructor(input: ListAPIKeysCommandInput);
28
+ resolveMiddleware(
29
+ clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
30
+ configuration: WAFV2ClientResolvedConfig,
31
+ options?: __HttpHandlerOptions
32
+ ): Handler<ListAPIKeysCommandInput, ListAPIKeysCommandOutput>;
33
+ private serialize;
34
+ private deserialize;
35
+ }
@@ -1,118 +1,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
+ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import {
4
+ Handler,
5
+ HttpHandlerOptions as __HttpHandlerOptions,
6
+ MetadataBearer as __MetadataBearer,
7
+ MiddlewareStack,
8
+ } from "@smithy/types";
9
+ import {
10
+ ListAvailableManagedRuleGroupVersionsRequest,
11
+ ListAvailableManagedRuleGroupVersionsResponse,
12
+ } from "../models/models_0";
13
+ import {
14
+ ServiceInputTypes,
15
+ ServiceOutputTypes,
16
+ WAFV2ClientResolvedConfig,
17
+ } from "../WAFV2Client";
18
+ export { __MetadataBearer, $Command };
19
+ export interface ListAvailableManagedRuleGroupVersionsCommandInput
20
+ extends ListAvailableManagedRuleGroupVersionsRequest {}
21
+ export interface ListAvailableManagedRuleGroupVersionsCommandOutput
22
+ extends ListAvailableManagedRuleGroupVersionsResponse,
23
+ __MetadataBearer {}
24
+ export declare class ListAvailableManagedRuleGroupVersionsCommand extends $Command<
25
+ ListAvailableManagedRuleGroupVersionsCommandInput,
26
+ ListAvailableManagedRuleGroupVersionsCommandOutput,
27
+ WAFV2ClientResolvedConfig
28
+ > {
29
+ readonly input: ListAvailableManagedRuleGroupVersionsCommandInput;
30
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
31
+ constructor(input: ListAvailableManagedRuleGroupVersionsCommandInput);
32
+ resolveMiddleware(
33
+ clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
34
+ configuration: WAFV2ClientResolvedConfig,
35
+ options?: __HttpHandlerOptions
36
+ ): Handler<
37
+ ListAvailableManagedRuleGroupVersionsCommandInput,
38
+ ListAvailableManagedRuleGroupVersionsCommandOutput
39
+ >;
40
+ private serialize;
41
+ private deserialize;
42
+ }
@@ -1,113 +1,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
+ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import {
4
+ Handler,
5
+ HttpHandlerOptions as __HttpHandlerOptions,
6
+ MetadataBearer as __MetadataBearer,
7
+ MiddlewareStack,
8
+ } from "@smithy/types";
9
+ import {
10
+ ListAvailableManagedRuleGroupsRequest,
11
+ ListAvailableManagedRuleGroupsResponse,
12
+ } from "../models/models_0";
13
+ import {
14
+ ServiceInputTypes,
15
+ ServiceOutputTypes,
16
+ WAFV2ClientResolvedConfig,
17
+ } from "../WAFV2Client";
18
+ export { __MetadataBearer, $Command };
19
+ export interface ListAvailableManagedRuleGroupsCommandInput
20
+ extends ListAvailableManagedRuleGroupsRequest {}
21
+ export interface ListAvailableManagedRuleGroupsCommandOutput
22
+ extends ListAvailableManagedRuleGroupsResponse,
23
+ __MetadataBearer {}
24
+ export declare class ListAvailableManagedRuleGroupsCommand extends $Command<
25
+ ListAvailableManagedRuleGroupsCommandInput,
26
+ ListAvailableManagedRuleGroupsCommandOutput,
27
+ WAFV2ClientResolvedConfig
28
+ > {
29
+ readonly input: ListAvailableManagedRuleGroupsCommandInput;
30
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
31
+ constructor(input: ListAvailableManagedRuleGroupsCommandInput);
32
+ resolveMiddleware(
33
+ clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
34
+ configuration: WAFV2ClientResolvedConfig,
35
+ options?: __HttpHandlerOptions
36
+ ): Handler<
37
+ ListAvailableManagedRuleGroupsCommandInput,
38
+ ListAvailableManagedRuleGroupsCommandOutput
39
+ >;
40
+ private serialize;
41
+ private deserialize;
42
+ }
@@ -1,113 +1,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
- }
1
+ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import {
4
+ Handler,
5
+ HttpHandlerOptions as __HttpHandlerOptions,
6
+ MetadataBearer as __MetadataBearer,
7
+ MiddlewareStack,
8
+ } from "@smithy/types";
9
+ import { ListIPSetsRequest, ListIPSetsResponse } from "../models/models_0";
10
+ import {
11
+ ServiceInputTypes,
12
+ ServiceOutputTypes,
13
+ WAFV2ClientResolvedConfig,
14
+ } from "../WAFV2Client";
15
+ export { __MetadataBearer, $Command };
16
+ export interface ListIPSetsCommandInput extends ListIPSetsRequest {}
17
+ export interface ListIPSetsCommandOutput
18
+ extends ListIPSetsResponse,
19
+ __MetadataBearer {}
20
+ export declare class ListIPSetsCommand extends $Command<
21
+ ListIPSetsCommandInput,
22
+ ListIPSetsCommandOutput,
23
+ WAFV2ClientResolvedConfig
24
+ > {
25
+ readonly input: ListIPSetsCommandInput;
26
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
27
+ constructor(input: ListIPSetsCommandInput);
28
+ resolveMiddleware(
29
+ clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
30
+ configuration: WAFV2ClientResolvedConfig,
31
+ options?: __HttpHandlerOptions
32
+ ): Handler<ListIPSetsCommandInput, ListIPSetsCommandOutput>;
33
+ private serialize;
34
+ private deserialize;
35
+ }