AWS codecommit documentation change
Summary
Removed example output of approval rule update and adjusted deletion steps
Security assessment
The deletion of example outputs and step renumbering does not introduce or modify security-related content. Managing approval rules is a security feature, but the changes here are structural.
Diff
diff --git a/codecommit/latest/userguide/how-to-edit-delete-pull-request-approval-rule.md b/codecommit/latest/userguide/how-to-edit-delete-pull-request-approval-rule.md index 47946537c..2d0742a8d 100644 --- a//codecommit/latest/userguide/how-to-edit-delete-pull-request-approval-rule.md +++ b//codecommit/latest/userguide/how-to-edit-delete-pull-request-approval-rule.md @@ -90,16 +90 @@ This example updates an approval rule named `Require two approved approvers` for - 2. If successful, this command produces output similar to the following: - - { - "approvalRule": { - "approvalRuleContent": "{Version: 2018-11-08, Statements: [{Type: \"Approvers\", NumberOfApprovalsNeeded: 1, ApprovalPoolMembers:[\"CodeCommitApprovers:123456789012:user/*\"]}]}}", - "approvalRuleId": "aac33506-EXAMPLE", - "originApprovalRuleTemplate": {}, - "creationDate": 1570752871.932, - "lastModifiedDate": 1570754058.333, - "approvalRuleName": Require two approved approvers", - "lastModifiedUser": "arn:aws:iam::123456789012:user/Mary_Major", - "ruleContentSha256": "cd93921cEXAMPLE", - } - } - - 3. To delete an approval rule, run the **delete-pull-request-approval-rule** command, specifying: + 2. To delete an approval rule, run the **delete-pull-request-approval-rule** command, specifying: @@ -115,6 +99,0 @@ For example, to delete an approval rule with the name `My Approval Rule` for a p -If successful, this command returns output similar to the following: - - { - "approvalRuleId": "077d8e8a8-EXAMPLE" - } -