@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,148 +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 { UpdateRegexPatternSetRequest, UpdateRegexPatternSetResponse } 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 UpdateRegexPatternSetCommand}.
14
- */
15
- export interface UpdateRegexPatternSetCommandInput extends UpdateRegexPatternSetRequest {
16
- }
17
- /**
18
- * @public
19
- *
20
- * The output of {@link UpdateRegexPatternSetCommand}.
21
- */
22
- export interface UpdateRegexPatternSetCommandOutput extends UpdateRegexPatternSetResponse, __MetadataBearer {
23
- }
24
- /**
25
- * @public
26
- * <p>Updates the specified <a>RegexPatternSet</a>.</p>
27
- * <note>
28
- * <p>This operation completely replaces the mutable specifications that you already have for the regex pattern set with the ones that you provide to this call. </p>
29
- * <p>To modify a regex pattern set, do the following: </p>
30
- * <ol>
31
- * <li>
32
- * <p>Retrieve it by calling <a>GetRegexPatternSet</a>
33
- * </p>
34
- * </li>
35
- * <li>
36
- * <p>Update its settings as needed</p>
37
- * </li>
38
- * <li>
39
- * <p>Provide the complete regex pattern set specification to this call</p>
40
- * </li>
41
- * </ol>
42
- * </note>
43
- * <p>When you make changes to web ACLs or web ACL components, like rules and rule groups, WAF propagates the changes everywhere that the web ACL and its components are stored and used. Your changes are applied within seconds, but there might be a brief period of inconsistency when the changes have arrived in some places and not in others. So, for example, if you change a rule action setting, the action might be the old action in one area and the new action in another area. Or if you add an IP address to an IP set used in a blocking rule, the new address might briefly be blocked in one area while still allowed in another. This temporary inconsistency can occur when you first associate a web ACL with an Amazon Web Services resource and when you change a web ACL that is already associated with a resource. Generally, any inconsistencies of this type last only a few seconds.</p>
44
- * @example
45
- * Use a bare-bones client and the command you need to make an API call.
46
- * ```javascript
47
- * import { WAFV2Client, UpdateRegexPatternSetCommand } from "@aws-sdk/client-wafv2"; // ES Modules import
48
- * // const { WAFV2Client, UpdateRegexPatternSetCommand } = require("@aws-sdk/client-wafv2"); // CommonJS import
49
- * const client = new WAFV2Client(config);
50
- * const input = { // UpdateRegexPatternSetRequest
51
- * Name: "STRING_VALUE", // required
52
- * Scope: "CLOUDFRONT" || "REGIONAL", // required
53
- * Id: "STRING_VALUE", // required
54
- * Description: "STRING_VALUE",
55
- * RegularExpressionList: [ // RegularExpressionList // required
56
- * { // Regex
57
- * RegexString: "STRING_VALUE",
58
- * },
59
- * ],
60
- * LockToken: "STRING_VALUE", // required
61
- * };
62
- * const command = new UpdateRegexPatternSetCommand(input);
63
- * const response = await client.send(command);
64
- * // { // UpdateRegexPatternSetResponse
65
- * // NextLockToken: "STRING_VALUE",
66
- * // };
67
- *
68
- * ```
69
- *
70
- * @param UpdateRegexPatternSetCommandInput - {@link UpdateRegexPatternSetCommandInput}
71
- * @returns {@link UpdateRegexPatternSetCommandOutput}
72
- * @see {@link UpdateRegexPatternSetCommandInput} for command's `input` shape.
73
- * @see {@link UpdateRegexPatternSetCommandOutput} for command's `response` shape.
74
- * @see {@link WAFV2ClientResolvedConfig | config} for WAFV2Client's `config` shape.
75
- *
76
- * @throws {@link WAFDuplicateItemException} (client fault)
77
- * <p>WAF couldn’t perform the operation because the resource that you tried to save is
78
- * a duplicate of an existing one.</p>
79
- *
80
- * @throws {@link WAFInternalErrorException} (server fault)
81
- * <p>Your request is valid, but WAF couldn’t perform the operation because of a system
82
- * problem. Retry your request. </p>
83
- *
84
- * @throws {@link WAFInvalidOperationException} (client fault)
85
- * <p>The operation isn't valid. </p>
86
- *
87
- * @throws {@link WAFInvalidParameterException} (client fault)
88
- * <p>The operation failed because WAF didn't recognize a parameter in the request. For
89
- * example: </p>
90
- * <ul>
91
- * <li>
92
- * <p>You specified a parameter name or value that isn't valid.</p>
93
- * </li>
94
- * <li>
95
- * <p>Your nested statement isn't valid. You might have tried to nest a statement that
96
- * can’t be nested. </p>
97
- * </li>
98
- * <li>
99
- * <p>You tried to update a <code>WebACL</code> with a <code>DefaultAction</code> that
100
- * isn't among the types available at <a>DefaultAction</a>.</p>
101
- * </li>
102
- * <li>
103
- * <p>Your request references an ARN that is malformed, or corresponds to a resource
104
- * with which a web ACL can't be associated.</p>
105
- * </li>
106
- * </ul>
107
- *
108
- * @throws {@link WAFLimitsExceededException} (client fault)
109
- * <p>WAF couldn’t perform the operation because you exceeded your resource limit. For
110
- * example, the maximum number of <code>WebACL</code> objects that you can create for an Amazon Web Services
111
- * account. For more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/limits.html">WAF quotas</a> in the
112
- * <i>WAF Developer Guide</i>.</p>
113
- *
114
- * @throws {@link WAFNonexistentItemException} (client fault)
115
- * <p>WAF couldn’t perform the operation because your resource doesn't exist.
116
- * If you've just created a resource that you're using in this operation, you might
117
- * just need to wait a few minutes. It can take from a few seconds to a number of minutes
118
- * for changes to propagate. </p>
119
- *
120
- * @throws {@link WAFOptimisticLockException} (client fault)
121
- * <p>WAF couldn’t save your changes because you tried to update or delete a resource
122
- * that has changed since you last retrieved it. Get the resource again, make any changes you
123
- * need to make to the new copy, and retry your operation. </p>
124
- *
125
- * @throws {@link WAFV2ServiceException}
126
- * <p>Base exception class for all service exceptions from WAFV2 service.</p>
127
- *
128
- */
129
- export declare class UpdateRegexPatternSetCommand extends $Command<UpdateRegexPatternSetCommandInput, UpdateRegexPatternSetCommandOutput, WAFV2ClientResolvedConfig> {
130
- readonly input: UpdateRegexPatternSetCommandInput;
131
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
132
- /**
133
- * @public
134
- */
135
- constructor(input: UpdateRegexPatternSetCommandInput);
136
- /**
137
- * @internal
138
- */
139
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: WAFV2ClientResolvedConfig, options?: __HttpHandlerOptions): Handler<UpdateRegexPatternSetCommandInput, UpdateRegexPatternSetCommandOutput>;
140
- /**
141
- * @internal
142
- */
143
- private serialize;
144
- /**
145
- * @internal
146
- */
147
- private deserialize;
148
- }
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
+ UpdateRegexPatternSetRequest,
11
+ UpdateRegexPatternSetResponse,
12
+ } from "../models/models_0";
13
+ import {
14
+ ServiceInputTypes,
15
+ ServiceOutputTypes,
16
+ WAFV2ClientResolvedConfig,
17
+ } from "../WAFV2Client";
18
+ export { __MetadataBearer, $Command };
19
+ export interface UpdateRegexPatternSetCommandInput
20
+ extends UpdateRegexPatternSetRequest {}
21
+ export interface UpdateRegexPatternSetCommandOutput
22
+ extends UpdateRegexPatternSetResponse,
23
+ __MetadataBearer {}
24
+ export declare class UpdateRegexPatternSetCommand extends $Command<
25
+ UpdateRegexPatternSetCommandInput,
26
+ UpdateRegexPatternSetCommandOutput,
27
+ WAFV2ClientResolvedConfig
28
+ > {
29
+ readonly input: UpdateRegexPatternSetCommandInput;
30
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
31
+ constructor(input: UpdateRegexPatternSetCommandInput);
32
+ resolveMiddleware(
33
+ clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
34
+ configuration: WAFV2ClientResolvedConfig,
35
+ options?: __HttpHandlerOptions
36
+ ): Handler<
37
+ UpdateRegexPatternSetCommandInput,
38
+ UpdateRegexPatternSetCommandOutput
39
+ >;
40
+ private serialize;
41
+ private deserialize;
42
+ }