@aws-sdk/client-wafv2 3.40.0 → 3.45.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 (56) hide show
  1. package/CHANGELOG.md +41 -0
  2. package/dist-cjs/endpoints.js +9 -0
  3. package/dist-cjs/models/models_0.js +42 -4
  4. package/dist-cjs/protocols/Aws_json1_1.js +97 -0
  5. package/dist-es/endpoints.js +9 -0
  6. package/dist-es/models/models_0.js +28 -0
  7. package/dist-es/protocols/Aws_json1_1.js +123 -38
  8. package/dist-types/WAFV2.d.ts +8 -16
  9. package/dist-types/commands/AssociateWebACLCommand.d.ts +1 -1
  10. package/dist-types/commands/CheckCapacityCommand.d.ts +1 -1
  11. package/dist-types/commands/CreateIPSetCommand.d.ts +1 -1
  12. package/dist-types/commands/CreateRegexPatternSetCommand.d.ts +1 -1
  13. package/dist-types/commands/CreateRuleGroupCommand.d.ts +1 -1
  14. package/dist-types/commands/CreateWebACLCommand.d.ts +1 -1
  15. package/dist-types/commands/DeleteFirewallManagerRuleGroupsCommand.d.ts +1 -1
  16. package/dist-types/commands/DeleteIPSetCommand.d.ts +1 -1
  17. package/dist-types/commands/DeleteLoggingConfigurationCommand.d.ts +1 -1
  18. package/dist-types/commands/DeletePermissionPolicyCommand.d.ts +1 -1
  19. package/dist-types/commands/DeleteRegexPatternSetCommand.d.ts +1 -1
  20. package/dist-types/commands/DeleteRuleGroupCommand.d.ts +1 -1
  21. package/dist-types/commands/DeleteWebACLCommand.d.ts +1 -1
  22. package/dist-types/commands/DescribeManagedRuleGroupCommand.d.ts +1 -1
  23. package/dist-types/commands/DisassociateWebACLCommand.d.ts +1 -1
  24. package/dist-types/commands/GetIPSetCommand.d.ts +1 -1
  25. package/dist-types/commands/GetLoggingConfigurationCommand.d.ts +1 -1
  26. package/dist-types/commands/GetManagedRuleSetCommand.d.ts +1 -1
  27. package/dist-types/commands/GetPermissionPolicyCommand.d.ts +1 -1
  28. package/dist-types/commands/GetRateBasedStatementManagedKeysCommand.d.ts +1 -1
  29. package/dist-types/commands/GetRegexPatternSetCommand.d.ts +1 -1
  30. package/dist-types/commands/GetRuleGroupCommand.d.ts +1 -1
  31. package/dist-types/commands/GetSampledRequestsCommand.d.ts +1 -1
  32. package/dist-types/commands/GetWebACLCommand.d.ts +1 -1
  33. package/dist-types/commands/GetWebACLForResourceCommand.d.ts +1 -1
  34. package/dist-types/commands/ListAvailableManagedRuleGroupVersionsCommand.d.ts +1 -1
  35. package/dist-types/commands/ListAvailableManagedRuleGroupsCommand.d.ts +1 -1
  36. package/dist-types/commands/ListIPSetsCommand.d.ts +1 -1
  37. package/dist-types/commands/ListLoggingConfigurationsCommand.d.ts +1 -1
  38. package/dist-types/commands/ListManagedRuleSetsCommand.d.ts +1 -1
  39. package/dist-types/commands/ListRegexPatternSetsCommand.d.ts +1 -1
  40. package/dist-types/commands/ListResourcesForWebACLCommand.d.ts +1 -1
  41. package/dist-types/commands/ListRuleGroupsCommand.d.ts +1 -1
  42. package/dist-types/commands/ListTagsForResourceCommand.d.ts +1 -1
  43. package/dist-types/commands/ListWebACLsCommand.d.ts +1 -1
  44. package/dist-types/commands/PutLoggingConfigurationCommand.d.ts +9 -17
  45. package/dist-types/commands/PutManagedRuleSetVersionsCommand.d.ts +1 -1
  46. package/dist-types/commands/PutPermissionPolicyCommand.d.ts +1 -1
  47. package/dist-types/commands/TagResourceCommand.d.ts +1 -1
  48. package/dist-types/commands/UntagResourceCommand.d.ts +1 -1
  49. package/dist-types/commands/UpdateIPSetCommand.d.ts +1 -1
  50. package/dist-types/commands/UpdateManagedRuleSetVersionExpiryDateCommand.d.ts +1 -1
  51. package/dist-types/commands/UpdateRegexPatternSetCommand.d.ts +1 -1
  52. package/dist-types/commands/UpdateRuleGroupCommand.d.ts +1 -1
  53. package/dist-types/commands/UpdateWebACLCommand.d.ts +1 -1
  54. package/dist-types/models/models_0.d.ts +191 -56
  55. package/dist-types/ts3.4/models/models_0.d.ts +3 -1
  56. package/package.json +6 -6
@@ -22,7 +22,7 @@ export interface ListAvailableManagedRuleGroupsCommandOutput extends ListAvailab
22
22
  *
23
23
  * @see {@link ListAvailableManagedRuleGroupsCommandInput} for command's `input` shape.
24
24
  * @see {@link ListAvailableManagedRuleGroupsCommandOutput} for command's `response` shape.
25
- * @see {@link WAFV2ClientResolvedConfig | config} for command's `input` shape.
25
+ * @see {@link WAFV2ClientResolvedConfig | config} for WAFV2Client's `config` shape.
26
26
  *
27
27
  */
28
28
  export declare class ListAvailableManagedRuleGroupsCommand extends $Command<ListAvailableManagedRuleGroupsCommandInput, ListAvailableManagedRuleGroupsCommandOutput, WAFV2ClientResolvedConfig> {
@@ -21,7 +21,7 @@ export interface ListIPSetsCommandOutput extends ListIPSetsResponse, __MetadataB
21
21
  *
22
22
  * @see {@link ListIPSetsCommandInput} for command's `input` shape.
23
23
  * @see {@link ListIPSetsCommandOutput} for command's `response` shape.
24
- * @see {@link WAFV2ClientResolvedConfig | config} for command's `input` shape.
24
+ * @see {@link WAFV2ClientResolvedConfig | config} for WAFV2Client's `config` shape.
25
25
  *
26
26
  */
27
27
  export declare class ListIPSetsCommand extends $Command<ListIPSetsCommandInput, ListIPSetsCommandOutput, WAFV2ClientResolvedConfig> {
@@ -20,7 +20,7 @@ export interface ListLoggingConfigurationsCommandOutput extends ListLoggingConfi
20
20
  *
21
21
  * @see {@link ListLoggingConfigurationsCommandInput} for command's `input` shape.
22
22
  * @see {@link ListLoggingConfigurationsCommandOutput} for command's `response` shape.
23
- * @see {@link WAFV2ClientResolvedConfig | config} for command's `input` shape.
23
+ * @see {@link WAFV2ClientResolvedConfig | config} for WAFV2Client's `config` shape.
24
24
  *
25
25
  */
26
26
  export declare class ListLoggingConfigurationsCommand extends $Command<ListLoggingConfigurationsCommandInput, ListLoggingConfigurationsCommandOutput, WAFV2ClientResolvedConfig> {
@@ -24,7 +24,7 @@ export interface ListManagedRuleSetsCommandOutput extends ListManagedRuleSetsRes
24
24
  *
25
25
  * @see {@link ListManagedRuleSetsCommandInput} for command's `input` shape.
26
26
  * @see {@link ListManagedRuleSetsCommandOutput} for command's `response` shape.
27
- * @see {@link WAFV2ClientResolvedConfig | config} for command's `input` shape.
27
+ * @see {@link WAFV2ClientResolvedConfig | config} for WAFV2Client's `config` shape.
28
28
  *
29
29
  */
30
30
  export declare class ListManagedRuleSetsCommand extends $Command<ListManagedRuleSetsCommandInput, ListManagedRuleSetsCommandOutput, WAFV2ClientResolvedConfig> {
@@ -21,7 +21,7 @@ export interface ListRegexPatternSetsCommandOutput extends ListRegexPatternSetsR
21
21
  *
22
22
  * @see {@link ListRegexPatternSetsCommandInput} for command's `input` shape.
23
23
  * @see {@link ListRegexPatternSetsCommandOutput} for command's `response` shape.
24
- * @see {@link WAFV2ClientResolvedConfig | config} for command's `input` shape.
24
+ * @see {@link WAFV2ClientResolvedConfig | config} for WAFV2Client's `config` shape.
25
25
  *
26
26
  */
27
27
  export declare class ListRegexPatternSetsCommand extends $Command<ListRegexPatternSetsCommandInput, ListRegexPatternSetsCommandOutput, WAFV2ClientResolvedConfig> {
@@ -22,7 +22,7 @@ export interface ListResourcesForWebACLCommandOutput extends ListResourcesForWeb
22
22
  *
23
23
  * @see {@link ListResourcesForWebACLCommandInput} for command's `input` shape.
24
24
  * @see {@link ListResourcesForWebACLCommandOutput} for command's `response` shape.
25
- * @see {@link WAFV2ClientResolvedConfig | config} for command's `input` shape.
25
+ * @see {@link WAFV2ClientResolvedConfig | config} for WAFV2Client's `config` shape.
26
26
  *
27
27
  */
28
28
  export declare class ListResourcesForWebACLCommand extends $Command<ListResourcesForWebACLCommandInput, ListResourcesForWebACLCommandOutput, WAFV2ClientResolvedConfig> {
@@ -21,7 +21,7 @@ export interface ListRuleGroupsCommandOutput extends ListRuleGroupsResponse, __M
21
21
  *
22
22
  * @see {@link ListRuleGroupsCommandInput} for command's `input` shape.
23
23
  * @see {@link ListRuleGroupsCommandOutput} for command's `response` shape.
24
- * @see {@link WAFV2ClientResolvedConfig | config} for command's `input` shape.
24
+ * @see {@link WAFV2ClientResolvedConfig | config} for WAFV2Client's `config` shape.
25
25
  *
26
26
  */
27
27
  export declare class ListRuleGroupsCommand extends $Command<ListRuleGroupsCommandInput, ListRuleGroupsCommandOutput, WAFV2ClientResolvedConfig> {
@@ -27,7 +27,7 @@ export interface ListTagsForResourceCommandOutput extends ListTagsForResourceRes
27
27
  *
28
28
  * @see {@link ListTagsForResourceCommandInput} for command's `input` shape.
29
29
  * @see {@link ListTagsForResourceCommandOutput} for command's `response` shape.
30
- * @see {@link WAFV2ClientResolvedConfig | config} for command's `input` shape.
30
+ * @see {@link WAFV2ClientResolvedConfig | config} for WAFV2Client's `config` shape.
31
31
  *
32
32
  */
33
33
  export declare class ListTagsForResourceCommand extends $Command<ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput, WAFV2ClientResolvedConfig> {
@@ -21,7 +21,7 @@ export interface ListWebACLsCommandOutput extends ListWebACLsResponse, __Metadat
21
21
  *
22
22
  * @see {@link ListWebACLsCommandInput} for command's `input` shape.
23
23
  * @see {@link ListWebACLsCommandOutput} for command's `response` shape.
24
- * @see {@link WAFV2ClientResolvedConfig | config} for command's `input` shape.
24
+ * @see {@link WAFV2ClientResolvedConfig | config} for WAFV2Client's `config` shape.
25
25
  *
26
26
  */
27
27
  export declare class ListWebACLsCommand extends $Command<ListWebACLsCommandInput, ListWebACLsCommandOutput, WAFV2ClientResolvedConfig> {
@@ -13,28 +13,20 @@ export interface PutLoggingConfigurationCommandOutput extends PutLoggingConfigur
13
13
  * steps:</p>
14
14
  * <ol>
15
15
  * <li>
16
- * <p>Create an Amazon Kinesis Data Firehose. </p>
17
- * <p>Create the data firehose with a PUT source and in the Region that you are
18
- * operating. If you are capturing logs for Amazon CloudFront, always create the firehose in US
19
- * East (N. Virginia). </p>
20
- * <p>Give the data firehose a name that starts with the prefix
21
- * <code>aws-waf-logs-</code>. For example,
22
- * <code>aws-waf-logs-us-east-2-analytics</code>.</p>
23
- * <note>
24
- * <p>Do not create the data firehose using a <code>Kinesis stream</code> as your
25
- * source.</p>
26
- * </note>
16
+ * <p>Create your logging destination. You can use an Amazon CloudWatch Logs log group, an Amazon Simple Storage Service (Amazon S3) bucket, or an Amazon Kinesis Data Firehose.
17
+ * For information about configuring logging destinations and the permissions that are required for each, see
18
+ * <a href="https://docs.aws.amazon.com/waf/latest/developerguide/logging.html">Logging web ACL traffic information</a>
19
+ * in the <i>WAF Developer Guide</i>.</p>
27
20
  * </li>
28
21
  * <li>
29
- * <p>Associate that firehose to your web ACL using a
22
+ * <p>Associate your logging destination to your web ACL using a
30
23
  * <code>PutLoggingConfiguration</code> request.</p>
31
24
  * </li>
32
25
  * </ol>
33
26
  * <p>When you successfully enable logging using a <code>PutLoggingConfiguration</code>
34
- * request, WAF will create a service linked role with the necessary permissions to write
35
- * logs to the Amazon Kinesis Data Firehose. For more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/logging.html">Logging Web ACL
36
- * Traffic Information</a> in the <i>WAF Developer
37
- * Guide</i>.</p>
27
+ * request, WAF creates an additional role or policy that is required to write
28
+ * logs to the logging destination. For an Amazon CloudWatch Logs log group, WAF creates a resource policy on the log group.
29
+ * For an Amazon S3 bucket, WAF creates a bucket policy. For an Amazon Kinesis Data Firehose, WAF creates a service-linked role.</p>
38
30
  * <note>
39
31
  * <p>This operation completely replaces the mutable specifications that you already have for the logging configuration with the ones that you provide to this call. To modify the logging configuration, retrieve it by calling <a>GetLoggingConfiguration</a>, update the settings as needed, and then provide the complete logging configuration specification to this call.</p>
40
32
  * </note>
@@ -50,7 +42,7 @@ export interface PutLoggingConfigurationCommandOutput extends PutLoggingConfigur
50
42
  *
51
43
  * @see {@link PutLoggingConfigurationCommandInput} for command's `input` shape.
52
44
  * @see {@link PutLoggingConfigurationCommandOutput} for command's `response` shape.
53
- * @see {@link WAFV2ClientResolvedConfig | config} for command's `input` shape.
45
+ * @see {@link WAFV2ClientResolvedConfig | config} for WAFV2Client's `config` shape.
54
46
  *
55
47
  */
56
48
  export declare class PutLoggingConfigurationCommand extends $Command<PutLoggingConfigurationCommandInput, PutLoggingConfigurationCommandOutput, WAFV2ClientResolvedConfig> {
@@ -31,7 +31,7 @@ export interface PutManagedRuleSetVersionsCommandOutput extends PutManagedRuleSe
31
31
  *
32
32
  * @see {@link PutManagedRuleSetVersionsCommandInput} for command's `input` shape.
33
33
  * @see {@link PutManagedRuleSetVersionsCommandOutput} for command's `response` shape.
34
- * @see {@link WAFV2ClientResolvedConfig | config} for command's `input` shape.
34
+ * @see {@link WAFV2ClientResolvedConfig | config} for WAFV2Client's `config` shape.
35
35
  *
36
36
  */
37
37
  export declare class PutManagedRuleSetVersionsCommand extends $Command<PutManagedRuleSetVersionsCommandInput, PutManagedRuleSetVersionsCommandOutput, WAFV2ClientResolvedConfig> {
@@ -36,7 +36,7 @@ export interface PutPermissionPolicyCommandOutput extends PutPermissionPolicyRes
36
36
  *
37
37
  * @see {@link PutPermissionPolicyCommandInput} for command's `input` shape.
38
38
  * @see {@link PutPermissionPolicyCommandOutput} for command's `response` shape.
39
- * @see {@link WAFV2ClientResolvedConfig | config} for command's `input` shape.
39
+ * @see {@link WAFV2ClientResolvedConfig | config} for WAFV2Client's `config` shape.
40
40
  *
41
41
  */
42
42
  export declare class PutPermissionPolicyCommand extends $Command<PutPermissionPolicyCommandInput, PutPermissionPolicyCommandOutput, WAFV2ClientResolvedConfig> {
@@ -27,7 +27,7 @@ export interface TagResourceCommandOutput extends TagResourceResponse, __Metadat
27
27
  *
28
28
  * @see {@link TagResourceCommandInput} for command's `input` shape.
29
29
  * @see {@link TagResourceCommandOutput} for command's `response` shape.
30
- * @see {@link WAFV2ClientResolvedConfig | config} for command's `input` shape.
30
+ * @see {@link WAFV2ClientResolvedConfig | config} for WAFV2Client's `config` shape.
31
31
  *
32
32
  */
33
33
  export declare class TagResourceCommand extends $Command<TagResourceCommandInput, TagResourceCommandOutput, WAFV2ClientResolvedConfig> {
@@ -23,7 +23,7 @@ export interface UntagResourceCommandOutput extends UntagResourceResponse, __Met
23
23
  *
24
24
  * @see {@link UntagResourceCommandInput} for command's `input` shape.
25
25
  * @see {@link UntagResourceCommandOutput} for command's `response` shape.
26
- * @see {@link WAFV2ClientResolvedConfig | config} for command's `input` shape.
26
+ * @see {@link WAFV2ClientResolvedConfig | config} for WAFV2Client's `config` shape.
27
27
  *
28
28
  */
29
29
  export declare class UntagResourceCommand extends $Command<UntagResourceCommandInput, UntagResourceCommandOutput, WAFV2ClientResolvedConfig> {
@@ -23,7 +23,7 @@ export interface UpdateIPSetCommandOutput extends UpdateIPSetResponse, __Metadat
23
23
  *
24
24
  * @see {@link UpdateIPSetCommandInput} for command's `input` shape.
25
25
  * @see {@link UpdateIPSetCommandOutput} for command's `response` shape.
26
- * @see {@link WAFV2ClientResolvedConfig | config} for command's `input` shape.
26
+ * @see {@link WAFV2ClientResolvedConfig | config} for WAFV2Client's `config` shape.
27
27
  *
28
28
  */
29
29
  export declare class UpdateIPSetCommand extends $Command<UpdateIPSetCommandInput, UpdateIPSetCommandOutput, WAFV2ClientResolvedConfig> {
@@ -26,7 +26,7 @@ export interface UpdateManagedRuleSetVersionExpiryDateCommandOutput extends Upda
26
26
  *
27
27
  * @see {@link UpdateManagedRuleSetVersionExpiryDateCommandInput} for command's `input` shape.
28
28
  * @see {@link UpdateManagedRuleSetVersionExpiryDateCommandOutput} for command's `response` shape.
29
- * @see {@link WAFV2ClientResolvedConfig | config} for command's `input` shape.
29
+ * @see {@link WAFV2ClientResolvedConfig | config} for WAFV2Client's `config` shape.
30
30
  *
31
31
  */
32
32
  export declare class UpdateManagedRuleSetVersionExpiryDateCommand extends $Command<UpdateManagedRuleSetVersionExpiryDateCommandInput, UpdateManagedRuleSetVersionExpiryDateCommandOutput, WAFV2ClientResolvedConfig> {
@@ -23,7 +23,7 @@ export interface UpdateRegexPatternSetCommandOutput extends UpdateRegexPatternSe
23
23
  *
24
24
  * @see {@link UpdateRegexPatternSetCommandInput} for command's `input` shape.
25
25
  * @see {@link UpdateRegexPatternSetCommandOutput} for command's `response` shape.
26
- * @see {@link WAFV2ClientResolvedConfig | config} for command's `input` shape.
26
+ * @see {@link WAFV2ClientResolvedConfig | config} for WAFV2Client's `config` shape.
27
27
  *
28
28
  */
29
29
  export declare class UpdateRegexPatternSetCommand extends $Command<UpdateRegexPatternSetCommandInput, UpdateRegexPatternSetCommandOutput, WAFV2ClientResolvedConfig> {
@@ -24,7 +24,7 @@ export interface UpdateRuleGroupCommandOutput extends UpdateRuleGroupResponse, _
24
24
  *
25
25
  * @see {@link UpdateRuleGroupCommandInput} for command's `input` shape.
26
26
  * @see {@link UpdateRuleGroupCommandOutput} for command's `response` shape.
27
- * @see {@link WAFV2ClientResolvedConfig | config} for command's `input` shape.
27
+ * @see {@link WAFV2ClientResolvedConfig | config} for WAFV2Client's `config` shape.
28
28
  *
29
29
  */
30
30
  export declare class UpdateRuleGroupCommand extends $Command<UpdateRuleGroupCommandInput, UpdateRuleGroupCommandOutput, WAFV2ClientResolvedConfig> {
@@ -24,7 +24,7 @@ export interface UpdateWebACLCommandOutput extends UpdateWebACLResponse, __Metad
24
24
  *
25
25
  * @see {@link UpdateWebACLCommandInput} for command's `input` shape.
26
26
  * @see {@link UpdateWebACLCommandOutput} for command's `response` shape.
27
- * @see {@link WAFV2ClientResolvedConfig | config} for command's `input` shape.
27
+ * @see {@link WAFV2ClientResolvedConfig | config} for WAFV2Client's `config` shape.
28
28
  *
29
29
  */
30
30
  export declare class UpdateWebACLCommand extends $Command<UpdateWebACLCommandInput, UpdateWebACLCommandOutput, WAFV2ClientResolvedConfig> {