Skip to content

Commit

Permalink
feat(client-wafv2): The minimum request rate for a rate-based rule is…
Browse files Browse the repository at this point in the history
… now 10. Before this, it was 100.
  • Loading branch information
awstools committed Aug 29, 2024
1 parent d336f9a commit 7c99350
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,8 @@ export interface PutPermissionPolicyCommandInput extends PutPermissionPolicyRequ
export interface PutPermissionPolicyCommandOutput extends PutPermissionPolicyResponse, __MetadataBearer {}

/**
* <p>Attaches an IAM policy to the specified resource. Use this to share a rule group across
* accounts.</p>
* <p>You must be the owner of the rule group to perform this operation.</p>
* <p>Use this to share a rule group with other accounts.</p>
* <p>This action attaches an IAM policy to the specified resource. You must be the owner of the rule group to perform this operation.</p>
* <p>This action is subject to the following restrictions:</p>
* <ul>
* <li>
Expand All @@ -45,6 +44,9 @@ export interface PutPermissionPolicyCommandOutput extends PutPermissionPolicyRes
* <p>The user making the request must be the owner of the rule group.</p>
* </li>
* </ul>
* <p>If a rule group has been shared with your account, you can access it through the call <code>GetRuleGroup</code>,
* and you can reference it in <code>CreateWebACL</code> and <code>UpdateWebACL</code>.
* Rule groups that are shared with you don't appear in your WAF console rule groups listing. </p>
* @example
* Use a bare-bones client and the command you need to make an API call.
* ```javascript
Expand Down
4 changes: 2 additions & 2 deletions codegen/sdk-codegen/aws-models/wafv2.json
Original file line number Diff line number Diff line change
Expand Up @@ -9758,7 +9758,7 @@
}
],
"traits": {
"smithy.api#documentation": "<p>Attaches an IAM policy to the specified resource. Use this to share a rule group across\n accounts.</p>\n <p>You must be the owner of the rule group to perform this operation.</p>\n <p>This action is subject to the following restrictions:</p>\n <ul>\n <li>\n <p>You can attach only one policy with each <code>PutPermissionPolicy</code>\n request.</p>\n </li>\n <li>\n <p>The ARN in the request must be a valid WAF <a>RuleGroup</a> ARN and the\n rule group must exist in the same Region.</p>\n </li>\n <li>\n <p>The user making the request must be the owner of the rule group.</p>\n </li>\n </ul>"
"smithy.api#documentation": "<p>Use this to share a rule group with other accounts.</p>\n <p>This action attaches an IAM policy to the specified resource. You must be the owner of the rule group to perform this operation.</p>\n <p>This action is subject to the following restrictions:</p>\n <ul>\n <li>\n <p>You can attach only one policy with each <code>PutPermissionPolicy</code>\n request.</p>\n </li>\n <li>\n <p>The ARN in the request must be a valid WAF <a>RuleGroup</a> ARN and the\n rule group must exist in the same Region.</p>\n </li>\n <li>\n <p>The user making the request must be the owner of the rule group.</p>\n </li>\n </ul>\n <p>If a rule group has been shared with your account, you can access it through the call <code>GetRuleGroup</code>, \n and you can reference it in <code>CreateWebACL</code> and <code>UpdateWebACL</code>. \n Rule groups that are shared with you don't appear in your WAF console rule groups listing. </p>"
}
},
"com.amazonaws.wafv2#PutPermissionPolicyRequest": {
Expand Down Expand Up @@ -9971,7 +9971,7 @@
"type": "long",
"traits": {
"smithy.api#range": {
"min": 100,
"min": 10,
"max": 2000000000
}
}
Expand Down

0 comments on commit 7c99350

Please sign in to comment.