diff --git a/clients/client-wafv2/src/commands/PutPermissionPolicyCommand.ts b/clients/client-wafv2/src/commands/PutPermissionPolicyCommand.ts index bcb26416c8826..bb16e98503272 100644 --- a/clients/client-wafv2/src/commands/PutPermissionPolicyCommand.ts +++ b/clients/client-wafv2/src/commands/PutPermissionPolicyCommand.ts @@ -28,9 +28,8 @@ export interface PutPermissionPolicyCommandInput extends PutPermissionPolicyRequ export interface PutPermissionPolicyCommandOutput extends PutPermissionPolicyResponse, __MetadataBearer {} /** - *

Attaches an IAM policy to the specified resource. Use this to share a rule group across - * accounts.

- *

You must be the owner of the rule group to perform this operation.

+ *

Use this to share a rule group with other accounts.

+ *

This action attaches an IAM policy to the specified resource. You must be the owner of the rule group to perform this operation.

*

This action is subject to the following restrictions:

* + *

If a rule group has been shared with your account, you can access it through the call GetRuleGroup, + * and you can reference it in CreateWebACL and UpdateWebACL. + * Rule groups that are shared with you don't appear in your WAF console rule groups listing.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript diff --git a/codegen/sdk-codegen/aws-models/wafv2.json b/codegen/sdk-codegen/aws-models/wafv2.json index 8efb65680143f..b914c32a072d8 100644 --- a/codegen/sdk-codegen/aws-models/wafv2.json +++ b/codegen/sdk-codegen/aws-models/wafv2.json @@ -9758,7 +9758,7 @@ } ], "traits": { - "smithy.api#documentation": "

Attaches an IAM policy to the specified resource. Use this to share a rule group across\n accounts.

\n

You must be the owner of the rule group to perform this operation.

\n

This action is subject to the following restrictions:

\n " + "smithy.api#documentation": "

Use this to share a rule group with other accounts.

\n

This action attaches an IAM policy to the specified resource. You must be the owner of the rule group to perform this operation.

\n

This action is subject to the following restrictions:

\n \n

If a rule group has been shared with your account, you can access it through the call GetRuleGroup, \n and you can reference it in CreateWebACL and UpdateWebACL. \n Rule groups that are shared with you don't appear in your WAF console rule groups listing.

" } }, "com.amazonaws.wafv2#PutPermissionPolicyRequest": { @@ -9971,7 +9971,7 @@ "type": "long", "traits": { "smithy.api#range": { - "min": 100, + "min": 10, "max": 2000000000 } }