@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.
Files changed (73) hide show
  1. package/README.md +7 -7
  2. package/dist-types/models/models_0.d.ts +26 -6
  3. package/dist-types/ts3.4/WAFV2.d.ts +438 -918
  4. package/dist-types/ts3.4/WAFV2Client.d.ts +277 -436
  5. package/dist-types/ts3.4/commands/AssociateWebACLCommand.d.ts +118 -38
  6. package/dist-types/ts3.4/commands/CheckCapacityCommand.d.ts +1093 -38
  7. package/dist-types/ts3.4/commands/CreateAPIKeyCommand.d.ts +115 -35
  8. package/dist-types/ts3.4/commands/CreateIPSetCommand.d.ts +144 -35
  9. package/dist-types/ts3.4/commands/CreateRegexPatternSetCommand.d.ts +143 -42
  10. package/dist-types/ts3.4/commands/CreateRuleGroupCommand.d.ts +1116 -38
  11. package/dist-types/ts3.4/commands/CreateWebACLCommand.d.ts +1145 -35
  12. package/dist-types/ts3.4/commands/DeleteFirewallManagerRuleGroupsCommand.d.ts +115 -42
  13. package/dist-types/ts3.4/commands/DeleteIPSetCommand.d.ts +124 -35
  14. package/dist-types/ts3.4/commands/DeleteLoggingConfigurationCommand.d.ts +110 -42
  15. package/dist-types/ts3.4/commands/DeletePermissionPolicyCommand.d.ts +103 -42
  16. package/dist-types/ts3.4/commands/DeleteRegexPatternSetCommand.d.ts +124 -42
  17. package/dist-types/ts3.4/commands/DeleteRuleGroupCommand.d.ts +124 -38
  18. package/dist-types/ts3.4/commands/DeleteWebACLCommand.d.ts +158 -35
  19. package/dist-types/ts3.4/commands/DescribeAllManagedProductsCommand.d.ts +92 -42
  20. package/dist-types/ts3.4/commands/DescribeManagedProductsByVendorCommand.d.ts +114 -42
  21. package/dist-types/ts3.4/commands/DescribeManagedRuleGroupCommand.d.ts +191 -42
  22. package/dist-types/ts3.4/commands/DisassociateWebACLCommand.d.ts +109 -39
  23. package/dist-types/ts3.4/commands/GenerateMobileSdkReleaseUrlCommand.d.ts +110 -42
  24. package/dist-types/ts3.4/commands/GetDecryptedAPIKeyCommand.d.ts +112 -39
  25. package/dist-types/ts3.4/commands/GetIPSetCommand.d.ts +119 -35
  26. package/dist-types/ts3.4/commands/GetLoggingConfigurationCommand.d.ts +192 -42
  27. package/dist-types/ts3.4/commands/GetManagedRuleSetCommand.d.ts +131 -39
  28. package/dist-types/ts3.4/commands/GetMobileSdkReleaseCommand.d.ts +121 -39
  29. package/dist-types/ts3.4/commands/GetPermissionPolicyCommand.d.ts +105 -39
  30. package/dist-types/ts3.4/commands/GetRateBasedStatementManagedKeysCommand.d.ts +142 -42
  31. package/dist-types/ts3.4/commands/GetRegexPatternSetCommand.d.ts +120 -39
  32. package/dist-types/ts3.4/commands/GetRuleGroupCommand.d.ts +1088 -35
  33. package/dist-types/ts3.4/commands/GetSampledRequestsCommand.d.ts +168 -39
  34. package/dist-types/ts3.4/commands/GetWebACLCommand.d.ts +1283 -35
  35. package/dist-types/ts3.4/commands/GetWebACLForResourceCommand.d.ts +1286 -42
  36. package/dist-types/ts3.4/commands/ListAPIKeysCommand.d.ts +121 -35
  37. package/dist-types/ts3.4/commands/ListAvailableManagedRuleGroupVersionsCommand.d.ts +118 -42
  38. package/dist-types/ts3.4/commands/ListAvailableManagedRuleGroupsCommand.d.ts +113 -42
  39. package/dist-types/ts3.4/commands/ListIPSetsCommand.d.ts +113 -35
  40. package/dist-types/ts3.4/commands/ListLoggingConfigurationsCommand.d.ts +191 -42
  41. package/dist-types/ts3.4/commands/ListManagedRuleSetsCommand.d.ts +117 -39
  42. package/dist-types/ts3.4/commands/ListMobileSdkReleasesCommand.d.ts +112 -42
  43. package/dist-types/ts3.4/commands/ListRegexPatternSetsCommand.d.ts +113 -42
  44. package/dist-types/ts3.4/commands/ListResourcesForWebACLCommand.d.ts +112 -42
  45. package/dist-types/ts3.4/commands/ListRuleGroupsCommand.d.ts +113 -38
  46. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +132 -39
  47. package/dist-types/ts3.4/commands/ListWebACLsCommand.d.ts +113 -35
  48. package/dist-types/ts3.4/commands/PutLoggingConfigurationCommand.d.ts +345 -42
  49. package/dist-types/ts3.4/commands/PutManagedRuleSetVersionsCommand.d.ts +133 -42
  50. package/dist-types/ts3.4/commands/PutPermissionPolicyCommand.d.ts +145 -39
  51. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +131 -35
  52. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +118 -38
  53. package/dist-types/ts3.4/commands/UpdateIPSetCommand.d.ts +146 -35
  54. package/dist-types/ts3.4/commands/UpdateManagedRuleSetVersionExpiryDateCommand.d.ts +125 -42
  55. package/dist-types/ts3.4/commands/UpdateRegexPatternSetCommand.d.ts +148 -42
  56. package/dist-types/ts3.4/commands/UpdateRuleGroupCommand.d.ts +1128 -38
  57. package/dist-types/ts3.4/commands/UpdateWebACLCommand.d.ts +1146 -35
  58. package/dist-types/ts3.4/commands/index.d.ts +53 -53
  59. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +22 -33
  60. package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +5 -8
  61. package/dist-types/ts3.4/endpoint/ruleset.d.ts +2 -2
  62. package/dist-types/ts3.4/extensionConfiguration.d.ts +8 -7
  63. package/dist-types/ts3.4/index.d.ts +68 -6
  64. package/dist-types/ts3.4/models/WAFV2ServiceException.d.ts +13 -8
  65. package/dist-types/ts3.4/models/index.d.ts +1 -1
  66. package/dist-types/ts3.4/models/models_0.d.ts +7951 -1764
  67. package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +479 -641
  68. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +46 -97
  69. package/dist-types/ts3.4/runtimeConfig.d.ts +46 -97
  70. package/dist-types/ts3.4/runtimeConfig.native.d.ts +45 -88
  71. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +19 -19
  72. package/dist-types/ts3.4/runtimeExtensions.d.ts +17 -11
  73. package/package.json +3 -3
@@ -1,42 +1,191 @@
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
- ListLoggingConfigurationsRequest,
11
- ListLoggingConfigurationsResponse,
12
- } from "../models/models_0";
13
- import {
14
- ServiceInputTypes,
15
- ServiceOutputTypes,
16
- WAFV2ClientResolvedConfig,
17
- } from "../WAFV2Client";
18
- export { __MetadataBearer, $Command };
19
- export interface ListLoggingConfigurationsCommandInput
20
- extends ListLoggingConfigurationsRequest {}
21
- export interface ListLoggingConfigurationsCommandOutput
22
- extends ListLoggingConfigurationsResponse,
23
- __MetadataBearer {}
24
- export declare class ListLoggingConfigurationsCommand extends $Command<
25
- ListLoggingConfigurationsCommandInput,
26
- ListLoggingConfigurationsCommandOutput,
27
- WAFV2ClientResolvedConfig
28
- > {
29
- readonly input: ListLoggingConfigurationsCommandInput;
30
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
31
- constructor(input: ListLoggingConfigurationsCommandInput);
32
- resolveMiddleware(
33
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
34
- configuration: WAFV2ClientResolvedConfig,
35
- options?: __HttpHandlerOptions
36
- ): Handler<
37
- ListLoggingConfigurationsCommandInput,
38
- ListLoggingConfigurationsCommandOutput
39
- >;
40
- private serialize;
41
- private deserialize;
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 { ListLoggingConfigurationsRequest, ListLoggingConfigurationsResponse } 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 ListLoggingConfigurationsCommand}.
14
+ */
15
+ export interface ListLoggingConfigurationsCommandInput extends ListLoggingConfigurationsRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link ListLoggingConfigurationsCommand}.
21
+ */
22
+ export interface ListLoggingConfigurationsCommandOutput extends ListLoggingConfigurationsResponse, __MetadataBearer {
23
+ }
24
+ /**
25
+ * @public
26
+ * <p>Retrieves an array of your <a>LoggingConfiguration</a> objects.</p>
27
+ * @example
28
+ * Use a bare-bones client and the command you need to make an API call.
29
+ * ```javascript
30
+ * import { WAFV2Client, ListLoggingConfigurationsCommand } from "@aws-sdk/client-wafv2"; // ES Modules import
31
+ * // const { WAFV2Client, ListLoggingConfigurationsCommand } = require("@aws-sdk/client-wafv2"); // CommonJS import
32
+ * const client = new WAFV2Client(config);
33
+ * const input = { // ListLoggingConfigurationsRequest
34
+ * Scope: "CLOUDFRONT" || "REGIONAL", // required
35
+ * NextMarker: "STRING_VALUE",
36
+ * Limit: Number("int"),
37
+ * };
38
+ * const command = new ListLoggingConfigurationsCommand(input);
39
+ * const response = await client.send(command);
40
+ * // { // ListLoggingConfigurationsResponse
41
+ * // LoggingConfigurations: [ // LoggingConfigurations
42
+ * // { // LoggingConfiguration
43
+ * // ResourceArn: "STRING_VALUE", // required
44
+ * // LogDestinationConfigs: [ // LogDestinationConfigs // required
45
+ * // "STRING_VALUE",
46
+ * // ],
47
+ * // RedactedFields: [ // RedactedFields
48
+ * // { // FieldToMatch
49
+ * // SingleHeader: { // SingleHeader
50
+ * // Name: "STRING_VALUE", // required
51
+ * // },
52
+ * // SingleQueryArgument: { // SingleQueryArgument
53
+ * // Name: "STRING_VALUE", // required
54
+ * // },
55
+ * // AllQueryArguments: {},
56
+ * // UriPath: {},
57
+ * // QueryString: {},
58
+ * // Body: { // Body
59
+ * // OversizeHandling: "CONTINUE" || "MATCH" || "NO_MATCH",
60
+ * // },
61
+ * // Method: {},
62
+ * // JsonBody: { // JsonBody
63
+ * // MatchPattern: { // JsonMatchPattern
64
+ * // All: {},
65
+ * // IncludedPaths: [ // JsonPointerPaths
66
+ * // "STRING_VALUE",
67
+ * // ],
68
+ * // },
69
+ * // MatchScope: "ALL" || "KEY" || "VALUE", // required
70
+ * // InvalidFallbackBehavior: "MATCH" || "NO_MATCH" || "EVALUATE_AS_STRING",
71
+ * // OversizeHandling: "CONTINUE" || "MATCH" || "NO_MATCH",
72
+ * // },
73
+ * // Headers: { // Headers
74
+ * // MatchPattern: { // HeaderMatchPattern
75
+ * // All: {},
76
+ * // IncludedHeaders: [ // HeaderNames
77
+ * // "STRING_VALUE",
78
+ * // ],
79
+ * // ExcludedHeaders: [
80
+ * // "STRING_VALUE",
81
+ * // ],
82
+ * // },
83
+ * // MatchScope: "ALL" || "KEY" || "VALUE", // required
84
+ * // OversizeHandling: "CONTINUE" || "MATCH" || "NO_MATCH", // required
85
+ * // },
86
+ * // Cookies: { // Cookies
87
+ * // MatchPattern: { // CookieMatchPattern
88
+ * // All: {},
89
+ * // IncludedCookies: [ // CookieNames
90
+ * // "STRING_VALUE",
91
+ * // ],
92
+ * // ExcludedCookies: [
93
+ * // "STRING_VALUE",
94
+ * // ],
95
+ * // },
96
+ * // MatchScope: "ALL" || "KEY" || "VALUE", // required
97
+ * // OversizeHandling: "CONTINUE" || "MATCH" || "NO_MATCH", // required
98
+ * // },
99
+ * // HeaderOrder: { // HeaderOrder
100
+ * // OversizeHandling: "CONTINUE" || "MATCH" || "NO_MATCH", // required
101
+ * // },
102
+ * // JA3Fingerprint: { // JA3Fingerprint
103
+ * // FallbackBehavior: "MATCH" || "NO_MATCH", // required
104
+ * // },
105
+ * // },
106
+ * // ],
107
+ * // ManagedByFirewallManager: true || false,
108
+ * // LoggingFilter: { // LoggingFilter
109
+ * // Filters: [ // Filters // required
110
+ * // { // Filter
111
+ * // Behavior: "KEEP" || "DROP", // required
112
+ * // Requirement: "MEETS_ALL" || "MEETS_ANY", // required
113
+ * // Conditions: [ // Conditions // required
114
+ * // { // Condition
115
+ * // ActionCondition: { // ActionCondition
116
+ * // Action: "ALLOW" || "BLOCK" || "COUNT" || "CAPTCHA" || "CHALLENGE" || "EXCLUDED_AS_COUNT", // required
117
+ * // },
118
+ * // LabelNameCondition: { // LabelNameCondition
119
+ * // LabelName: "STRING_VALUE", // required
120
+ * // },
121
+ * // },
122
+ * // ],
123
+ * // },
124
+ * // ],
125
+ * // DefaultBehavior: "KEEP" || "DROP", // required
126
+ * // },
127
+ * // },
128
+ * // ],
129
+ * // NextMarker: "STRING_VALUE",
130
+ * // };
131
+ *
132
+ * ```
133
+ *
134
+ * @param ListLoggingConfigurationsCommandInput - {@link ListLoggingConfigurationsCommandInput}
135
+ * @returns {@link ListLoggingConfigurationsCommandOutput}
136
+ * @see {@link ListLoggingConfigurationsCommandInput} for command's `input` shape.
137
+ * @see {@link ListLoggingConfigurationsCommandOutput} for command's `response` shape.
138
+ * @see {@link WAFV2ClientResolvedConfig | config} for WAFV2Client's `config` shape.
139
+ *
140
+ * @throws {@link WAFInternalErrorException} (server fault)
141
+ * <p>Your request is valid, but WAF couldn’t perform the operation because of a system
142
+ * problem. Retry your request. </p>
143
+ *
144
+ * @throws {@link WAFInvalidOperationException} (client fault)
145
+ * <p>The operation isn't valid. </p>
146
+ *
147
+ * @throws {@link WAFInvalidParameterException} (client fault)
148
+ * <p>The operation failed because WAF didn't recognize a parameter in the request. For
149
+ * example: </p>
150
+ * <ul>
151
+ * <li>
152
+ * <p>You specified a parameter name or value that isn't valid.</p>
153
+ * </li>
154
+ * <li>
155
+ * <p>Your nested statement isn't valid. You might have tried to nest a statement that
156
+ * can’t be nested. </p>
157
+ * </li>
158
+ * <li>
159
+ * <p>You tried to update a <code>WebACL</code> with a <code>DefaultAction</code> that
160
+ * isn't among the types available at <a>DefaultAction</a>.</p>
161
+ * </li>
162
+ * <li>
163
+ * <p>Your request references an ARN that is malformed, or corresponds to a resource
164
+ * with which a web ACL can't be associated.</p>
165
+ * </li>
166
+ * </ul>
167
+ *
168
+ * @throws {@link WAFV2ServiceException}
169
+ * <p>Base exception class for all service exceptions from WAFV2 service.</p>
170
+ *
171
+ */
172
+ export declare class ListLoggingConfigurationsCommand extends $Command<ListLoggingConfigurationsCommandInput, ListLoggingConfigurationsCommandOutput, WAFV2ClientResolvedConfig> {
173
+ readonly input: ListLoggingConfigurationsCommandInput;
174
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
175
+ /**
176
+ * @public
177
+ */
178
+ constructor(input: ListLoggingConfigurationsCommandInput);
179
+ /**
180
+ * @internal
181
+ */
182
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: WAFV2ClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListLoggingConfigurationsCommandInput, ListLoggingConfigurationsCommandOutput>;
183
+ /**
184
+ * @internal
185
+ */
186
+ private serialize;
187
+ /**
188
+ * @internal
189
+ */
190
+ private deserialize;
191
+ }
@@ -1,39 +1,117 @@
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
- ListManagedRuleSetsRequest,
11
- ListManagedRuleSetsResponse,
12
- } from "../models/models_0";
13
- import {
14
- ServiceInputTypes,
15
- ServiceOutputTypes,
16
- WAFV2ClientResolvedConfig,
17
- } from "../WAFV2Client";
18
- export { __MetadataBearer, $Command };
19
- export interface ListManagedRuleSetsCommandInput
20
- extends ListManagedRuleSetsRequest {}
21
- export interface ListManagedRuleSetsCommandOutput
22
- extends ListManagedRuleSetsResponse,
23
- __MetadataBearer {}
24
- export declare class ListManagedRuleSetsCommand extends $Command<
25
- ListManagedRuleSetsCommandInput,
26
- ListManagedRuleSetsCommandOutput,
27
- WAFV2ClientResolvedConfig
28
- > {
29
- readonly input: ListManagedRuleSetsCommandInput;
30
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
31
- constructor(input: ListManagedRuleSetsCommandInput);
32
- resolveMiddleware(
33
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
34
- configuration: WAFV2ClientResolvedConfig,
35
- options?: __HttpHandlerOptions
36
- ): Handler<ListManagedRuleSetsCommandInput, ListManagedRuleSetsCommandOutput>;
37
- private serialize;
38
- private deserialize;
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 { ListManagedRuleSetsRequest, ListManagedRuleSetsResponse } 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 ListManagedRuleSetsCommand}.
14
+ */
15
+ export interface ListManagedRuleSetsCommandInput extends ListManagedRuleSetsRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link ListManagedRuleSetsCommand}.
21
+ */
22
+ export interface ListManagedRuleSetsCommandOutput extends ListManagedRuleSetsResponse, __MetadataBearer {
23
+ }
24
+ /**
25
+ * @public
26
+ * <p>Retrieves the managed rule sets that you own. </p>
27
+ * <note>
28
+ * <p>This is intended for use only by vendors of managed rule sets. Vendors are Amazon Web Services and Amazon Web Services Marketplace sellers. </p>
29
+ * <p>Vendors, you can use the managed rule set APIs to provide controlled rollout of your versioned managed rule group offerings for your customers. The APIs are <code>ListManagedRuleSets</code>, <code>GetManagedRuleSet</code>, <code>PutManagedRuleSetVersions</code>, and <code>UpdateManagedRuleSetVersionExpiryDate</code>.</p>
30
+ * </note>
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { WAFV2Client, ListManagedRuleSetsCommand } from "@aws-sdk/client-wafv2"; // ES Modules import
35
+ * // const { WAFV2Client, ListManagedRuleSetsCommand } = require("@aws-sdk/client-wafv2"); // CommonJS import
36
+ * const client = new WAFV2Client(config);
37
+ * const input = { // ListManagedRuleSetsRequest
38
+ * Scope: "CLOUDFRONT" || "REGIONAL", // required
39
+ * NextMarker: "STRING_VALUE",
40
+ * Limit: Number("int"),
41
+ * };
42
+ * const command = new ListManagedRuleSetsCommand(input);
43
+ * const response = await client.send(command);
44
+ * // { // ListManagedRuleSetsResponse
45
+ * // NextMarker: "STRING_VALUE",
46
+ * // ManagedRuleSets: [ // ManagedRuleSetSummaries
47
+ * // { // ManagedRuleSetSummary
48
+ * // Name: "STRING_VALUE",
49
+ * // Id: "STRING_VALUE",
50
+ * // Description: "STRING_VALUE",
51
+ * // LockToken: "STRING_VALUE",
52
+ * // ARN: "STRING_VALUE",
53
+ * // LabelNamespace: "STRING_VALUE",
54
+ * // },
55
+ * // ],
56
+ * // };
57
+ *
58
+ * ```
59
+ *
60
+ * @param ListManagedRuleSetsCommandInput - {@link ListManagedRuleSetsCommandInput}
61
+ * @returns {@link ListManagedRuleSetsCommandOutput}
62
+ * @see {@link ListManagedRuleSetsCommandInput} for command's `input` shape.
63
+ * @see {@link ListManagedRuleSetsCommandOutput} 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 WAFV2ServiceException}
95
+ * <p>Base exception class for all service exceptions from WAFV2 service.</p>
96
+ *
97
+ */
98
+ export declare class ListManagedRuleSetsCommand extends $Command<ListManagedRuleSetsCommandInput, ListManagedRuleSetsCommandOutput, WAFV2ClientResolvedConfig> {
99
+ readonly input: ListManagedRuleSetsCommandInput;
100
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
101
+ /**
102
+ * @public
103
+ */
104
+ constructor(input: ListManagedRuleSetsCommandInput);
105
+ /**
106
+ * @internal
107
+ */
108
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: WAFV2ClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListManagedRuleSetsCommandInput, ListManagedRuleSetsCommandOutput>;
109
+ /**
110
+ * @internal
111
+ */
112
+ private serialize;
113
+ /**
114
+ * @internal
115
+ */
116
+ private deserialize;
117
+ }
@@ -1,42 +1,112 @@
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
- ListMobileSdkReleasesRequest,
11
- ListMobileSdkReleasesResponse,
12
- } from "../models/models_0";
13
- import {
14
- ServiceInputTypes,
15
- ServiceOutputTypes,
16
- WAFV2ClientResolvedConfig,
17
- } from "../WAFV2Client";
18
- export { __MetadataBearer, $Command };
19
- export interface ListMobileSdkReleasesCommandInput
20
- extends ListMobileSdkReleasesRequest {}
21
- export interface ListMobileSdkReleasesCommandOutput
22
- extends ListMobileSdkReleasesResponse,
23
- __MetadataBearer {}
24
- export declare class ListMobileSdkReleasesCommand extends $Command<
25
- ListMobileSdkReleasesCommandInput,
26
- ListMobileSdkReleasesCommandOutput,
27
- WAFV2ClientResolvedConfig
28
- > {
29
- readonly input: ListMobileSdkReleasesCommandInput;
30
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
31
- constructor(input: ListMobileSdkReleasesCommandInput);
32
- resolveMiddleware(
33
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
34
- configuration: WAFV2ClientResolvedConfig,
35
- options?: __HttpHandlerOptions
36
- ): Handler<
37
- ListMobileSdkReleasesCommandInput,
38
- ListMobileSdkReleasesCommandOutput
39
- >;
40
- private serialize;
41
- private deserialize;
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 { ListMobileSdkReleasesRequest, ListMobileSdkReleasesResponse } 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 ListMobileSdkReleasesCommand}.
14
+ */
15
+ export interface ListMobileSdkReleasesCommandInput extends ListMobileSdkReleasesRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link ListMobileSdkReleasesCommand}.
21
+ */
22
+ export interface ListMobileSdkReleasesCommandOutput extends ListMobileSdkReleasesResponse, __MetadataBearer {
23
+ }
24
+ /**
25
+ * @public
26
+ * <p>Retrieves a list of the available releases for the mobile SDK and the specified device
27
+ * platform. </p>
28
+ * <p>The mobile SDK is not generally available. Customers who have access to the mobile SDK can use it to establish and manage WAF tokens for use in HTTP(S) requests from a mobile device to WAF. For more information, see
29
+ * <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, ListMobileSdkReleasesCommand } from "@aws-sdk/client-wafv2"; // ES Modules import
34
+ * // const { WAFV2Client, ListMobileSdkReleasesCommand } = require("@aws-sdk/client-wafv2"); // CommonJS import
35
+ * const client = new WAFV2Client(config);
36
+ * const input = { // ListMobileSdkReleasesRequest
37
+ * Platform: "IOS" || "ANDROID", // required
38
+ * NextMarker: "STRING_VALUE",
39
+ * Limit: Number("int"),
40
+ * };
41
+ * const command = new ListMobileSdkReleasesCommand(input);
42
+ * const response = await client.send(command);
43
+ * // { // ListMobileSdkReleasesResponse
44
+ * // ReleaseSummaries: [ // ReleaseSummaries
45
+ * // { // ReleaseSummary
46
+ * // ReleaseVersion: "STRING_VALUE",
47
+ * // Timestamp: new Date("TIMESTAMP"),
48
+ * // },
49
+ * // ],
50
+ * // NextMarker: "STRING_VALUE",
51
+ * // };
52
+ *
53
+ * ```
54
+ *
55
+ * @param ListMobileSdkReleasesCommandInput - {@link ListMobileSdkReleasesCommandInput}
56
+ * @returns {@link ListMobileSdkReleasesCommandOutput}
57
+ * @see {@link ListMobileSdkReleasesCommandInput} for command's `input` shape.
58
+ * @see {@link ListMobileSdkReleasesCommandOutput} 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 WAFV2ServiceException}
90
+ * <p>Base exception class for all service exceptions from WAFV2 service.</p>
91
+ *
92
+ */
93
+ export declare class ListMobileSdkReleasesCommand extends $Command<ListMobileSdkReleasesCommandInput, ListMobileSdkReleasesCommandOutput, WAFV2ClientResolvedConfig> {
94
+ readonly input: ListMobileSdkReleasesCommandInput;
95
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
96
+ /**
97
+ * @public
98
+ */
99
+ constructor(input: ListMobileSdkReleasesCommandInput);
100
+ /**
101
+ * @internal
102
+ */
103
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: WAFV2ClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListMobileSdkReleasesCommandInput, ListMobileSdkReleasesCommandOutput>;
104
+ /**
105
+ * @internal
106
+ */
107
+ private serialize;
108
+ /**
109
+ * @internal
110
+ */
111
+ private deserialize;
112
+ }