@aws-sdk/client-wafv2 3.422.0 → 3.425.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/WAFV2Client.d.ts +2 -0
  2. package/dist-types/ts3.4/WAFV2.d.ts +918 -438
  3. package/dist-types/ts3.4/WAFV2Client.d.ts +436 -277
  4. package/dist-types/ts3.4/commands/AssociateWebACLCommand.d.ts +38 -118
  5. package/dist-types/ts3.4/commands/CheckCapacityCommand.d.ts +38 -1093
  6. package/dist-types/ts3.4/commands/CreateAPIKeyCommand.d.ts +35 -115
  7. package/dist-types/ts3.4/commands/CreateIPSetCommand.d.ts +35 -144
  8. package/dist-types/ts3.4/commands/CreateRegexPatternSetCommand.d.ts +42 -143
  9. package/dist-types/ts3.4/commands/CreateRuleGroupCommand.d.ts +38 -1116
  10. package/dist-types/ts3.4/commands/CreateWebACLCommand.d.ts +35 -1145
  11. package/dist-types/ts3.4/commands/DeleteFirewallManagerRuleGroupsCommand.d.ts +42 -115
  12. package/dist-types/ts3.4/commands/DeleteIPSetCommand.d.ts +35 -124
  13. package/dist-types/ts3.4/commands/DeleteLoggingConfigurationCommand.d.ts +42 -110
  14. package/dist-types/ts3.4/commands/DeletePermissionPolicyCommand.d.ts +42 -103
  15. package/dist-types/ts3.4/commands/DeleteRegexPatternSetCommand.d.ts +42 -124
  16. package/dist-types/ts3.4/commands/DeleteRuleGroupCommand.d.ts +38 -124
  17. package/dist-types/ts3.4/commands/DeleteWebACLCommand.d.ts +35 -158
  18. package/dist-types/ts3.4/commands/DescribeAllManagedProductsCommand.d.ts +42 -92
  19. package/dist-types/ts3.4/commands/DescribeManagedProductsByVendorCommand.d.ts +42 -114
  20. package/dist-types/ts3.4/commands/DescribeManagedRuleGroupCommand.d.ts +42 -191
  21. package/dist-types/ts3.4/commands/DisassociateWebACLCommand.d.ts +39 -109
  22. package/dist-types/ts3.4/commands/GenerateMobileSdkReleaseUrlCommand.d.ts +42 -110
  23. package/dist-types/ts3.4/commands/GetDecryptedAPIKeyCommand.d.ts +39 -112
  24. package/dist-types/ts3.4/commands/GetIPSetCommand.d.ts +35 -119
  25. package/dist-types/ts3.4/commands/GetLoggingConfigurationCommand.d.ts +42 -192
  26. package/dist-types/ts3.4/commands/GetManagedRuleSetCommand.d.ts +39 -131
  27. package/dist-types/ts3.4/commands/GetMobileSdkReleaseCommand.d.ts +39 -121
  28. package/dist-types/ts3.4/commands/GetPermissionPolicyCommand.d.ts +39 -105
  29. package/dist-types/ts3.4/commands/GetRateBasedStatementManagedKeysCommand.d.ts +42 -142
  30. package/dist-types/ts3.4/commands/GetRegexPatternSetCommand.d.ts +39 -120
  31. package/dist-types/ts3.4/commands/GetRuleGroupCommand.d.ts +35 -1088
  32. package/dist-types/ts3.4/commands/GetSampledRequestsCommand.d.ts +39 -168
  33. package/dist-types/ts3.4/commands/GetWebACLCommand.d.ts +35 -1283
  34. package/dist-types/ts3.4/commands/GetWebACLForResourceCommand.d.ts +42 -1286
  35. package/dist-types/ts3.4/commands/ListAPIKeysCommand.d.ts +35 -121
  36. package/dist-types/ts3.4/commands/ListAvailableManagedRuleGroupVersionsCommand.d.ts +42 -118
  37. package/dist-types/ts3.4/commands/ListAvailableManagedRuleGroupsCommand.d.ts +42 -113
  38. package/dist-types/ts3.4/commands/ListIPSetsCommand.d.ts +35 -113
  39. package/dist-types/ts3.4/commands/ListLoggingConfigurationsCommand.d.ts +42 -191
  40. package/dist-types/ts3.4/commands/ListManagedRuleSetsCommand.d.ts +39 -117
  41. package/dist-types/ts3.4/commands/ListMobileSdkReleasesCommand.d.ts +42 -112
  42. package/dist-types/ts3.4/commands/ListRegexPatternSetsCommand.d.ts +42 -113
  43. package/dist-types/ts3.4/commands/ListResourcesForWebACLCommand.d.ts +42 -112
  44. package/dist-types/ts3.4/commands/ListRuleGroupsCommand.d.ts +38 -113
  45. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +39 -132
  46. package/dist-types/ts3.4/commands/ListWebACLsCommand.d.ts +35 -113
  47. package/dist-types/ts3.4/commands/PutLoggingConfigurationCommand.d.ts +42 -345
  48. package/dist-types/ts3.4/commands/PutManagedRuleSetVersionsCommand.d.ts +42 -133
  49. package/dist-types/ts3.4/commands/PutPermissionPolicyCommand.d.ts +39 -145
  50. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +35 -131
  51. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +38 -118
  52. package/dist-types/ts3.4/commands/UpdateIPSetCommand.d.ts +35 -146
  53. package/dist-types/ts3.4/commands/UpdateManagedRuleSetVersionExpiryDateCommand.d.ts +42 -125
  54. package/dist-types/ts3.4/commands/UpdateRegexPatternSetCommand.d.ts +42 -148
  55. package/dist-types/ts3.4/commands/UpdateRuleGroupCommand.d.ts +38 -1128
  56. package/dist-types/ts3.4/commands/UpdateWebACLCommand.d.ts +35 -1146
  57. package/dist-types/ts3.4/commands/index.d.ts +53 -53
  58. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +33 -22
  59. package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +8 -5
  60. package/dist-types/ts3.4/endpoint/ruleset.d.ts +2 -2
  61. package/dist-types/ts3.4/extensionConfiguration.d.ts +7 -8
  62. package/dist-types/ts3.4/index.d.ts +6 -68
  63. package/dist-types/ts3.4/models/WAFV2ServiceException.d.ts +8 -13
  64. package/dist-types/ts3.4/models/index.d.ts +1 -1
  65. package/dist-types/ts3.4/models/models_0.d.ts +1764 -7951
  66. package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +641 -479
  67. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +97 -46
  68. package/dist-types/ts3.4/runtimeConfig.d.ts +97 -46
  69. package/dist-types/ts3.4/runtimeConfig.native.d.ts +88 -45
  70. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +19 -19
  71. package/dist-types/ts3.4/runtimeExtensions.d.ts +11 -17
  72. package/package.json +31 -31
@@ -1,118 +1,38 @@
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 { AssociateWebACLRequest, AssociateWebACLResponse } 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 AssociateWebACLCommand}.
14
- */
15
- export interface AssociateWebACLCommandInput extends AssociateWebACLRequest {
16
- }
17
- /**
18
- * @public
19
- *
20
- * The output of {@link AssociateWebACLCommand}.
21
- */
22
- export interface AssociateWebACLCommandOutput extends AssociateWebACLResponse, __MetadataBearer {
23
- }
24
- /**
25
- * @public
26
- * <p>Associates a web ACL with a regional application resource, to protect the resource.
27
- * A regional application can be an Application Load Balancer (ALB), an Amazon API Gateway REST API, an AppSync GraphQL API, an Amazon Cognito user pool, an App Runner service, or an Amazon Web Services Verified Access instance. </p>
28
- * <p>For Amazon CloudFront, don't use this call. Instead, use your CloudFront distribution configuration. To
29
- * associate a web ACL, in the CloudFront call <code>UpdateDistribution</code>, set the web ACL ID
30
- * to the Amazon Resource Name (ARN) of the web ACL. For information, see <a href="https://docs.aws.amazon.com/cloudfront/latest/APIReference/API_UpdateDistribution.html">UpdateDistribution</a> in the <i>Amazon CloudFront Developer Guide</i>. </p>
31
- * <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>
32
- * @example
33
- * Use a bare-bones client and the command you need to make an API call.
34
- * ```javascript
35
- * import { WAFV2Client, AssociateWebACLCommand } from "@aws-sdk/client-wafv2"; // ES Modules import
36
- * // const { WAFV2Client, AssociateWebACLCommand } = require("@aws-sdk/client-wafv2"); // CommonJS import
37
- * const client = new WAFV2Client(config);
38
- * const input = { // AssociateWebACLRequest
39
- * WebACLArn: "STRING_VALUE", // required
40
- * ResourceArn: "STRING_VALUE", // required
41
- * };
42
- * const command = new AssociateWebACLCommand(input);
43
- * const response = await client.send(command);
44
- * // {};
45
- *
46
- * ```
47
- *
48
- * @param AssociateWebACLCommandInput - {@link AssociateWebACLCommandInput}
49
- * @returns {@link AssociateWebACLCommandOutput}
50
- * @see {@link AssociateWebACLCommandInput} for command's `input` shape.
51
- * @see {@link AssociateWebACLCommandOutput} for command's `response` shape.
52
- * @see {@link WAFV2ClientResolvedConfig | config} for WAFV2Client's `config` shape.
53
- *
54
- * @throws {@link WAFInternalErrorException} (server fault)
55
- * <p>Your request is valid, but WAF couldn’t perform the operation because of a system
56
- * problem. Retry your request. </p>
57
- *
58
- * @throws {@link WAFInvalidOperationException} (client fault)
59
- * <p>The operation isn't valid. </p>
60
- *
61
- * @throws {@link WAFInvalidParameterException} (client fault)
62
- * <p>The operation failed because WAF didn't recognize a parameter in the request. For
63
- * example: </p>
64
- * <ul>
65
- * <li>
66
- * <p>You specified a parameter name or value that isn't valid.</p>
67
- * </li>
68
- * <li>
69
- * <p>Your nested statement isn't valid. You might have tried to nest a statement that
70
- * can’t be nested. </p>
71
- * </li>
72
- * <li>
73
- * <p>You tried to update a <code>WebACL</code> with a <code>DefaultAction</code> that
74
- * isn't among the types available at <a>DefaultAction</a>.</p>
75
- * </li>
76
- * <li>
77
- * <p>Your request references an ARN that is malformed, or corresponds to a resource
78
- * with which a web ACL can't be associated.</p>
79
- * </li>
80
- * </ul>
81
- *
82
- * @throws {@link WAFNonexistentItemException} (client fault)
83
- * <p>WAF couldn’t perform the operation because your resource doesn't exist.
84
- * If you've just created a resource that you're using in this operation, you might
85
- * just need to wait a few minutes. It can take from a few seconds to a number of minutes
86
- * for changes to propagate. </p>
87
- *
88
- * @throws {@link WAFUnavailableEntityException} (client fault)
89
- * <p>WAF couldn’t retrieve a resource that you specified for this operation.
90
- * If you've just created a resource that you're using in this operation, you might
91
- * just need to wait a few minutes. It can take from a few seconds to a number of minutes
92
- * for changes to propagate. Verify the resources that you are specifying in your request
93
- * parameters and then retry the operation.</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 AssociateWebACLCommand extends $Command<AssociateWebACLCommandInput, AssociateWebACLCommandOutput, WAFV2ClientResolvedConfig> {
100
- readonly input: AssociateWebACLCommandInput;
101
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
102
- /**
103
- * @public
104
- */
105
- constructor(input: AssociateWebACLCommandInput);
106
- /**
107
- * @internal
108
- */
109
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: WAFV2ClientResolvedConfig, options?: __HttpHandlerOptions): Handler<AssociateWebACLCommandInput, AssociateWebACLCommandOutput>;
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
+ AssociateWebACLRequest,
11
+ AssociateWebACLResponse,
12
+ } from "../models/models_0";
13
+ import {
14
+ ServiceInputTypes,
15
+ ServiceOutputTypes,
16
+ WAFV2ClientResolvedConfig,
17
+ } from "../WAFV2Client";
18
+ export { __MetadataBearer, $Command };
19
+ export interface AssociateWebACLCommandInput extends AssociateWebACLRequest {}
20
+ export interface AssociateWebACLCommandOutput
21
+ extends AssociateWebACLResponse,
22
+ __MetadataBearer {}
23
+ export declare class AssociateWebACLCommand extends $Command<
24
+ AssociateWebACLCommandInput,
25
+ AssociateWebACLCommandOutput,
26
+ WAFV2ClientResolvedConfig
27
+ > {
28
+ readonly input: AssociateWebACLCommandInput;
29
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
30
+ constructor(input: AssociateWebACLCommandInput);
31
+ resolveMiddleware(
32
+ clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
33
+ configuration: WAFV2ClientResolvedConfig,
34
+ options?: __HttpHandlerOptions
35
+ ): Handler<AssociateWebACLCommandInput, AssociateWebACLCommandOutput>;
36
+ private serialize;
37
+ private deserialize;
38
+ }