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