AWS codecommit documentation change
Summary
Changed command step formatting and removed detailed example output of pull request creation
Security assessment
Removal of example output does not affect security documentation. The core instructions for creating pull requests (including approval rules) remain, but no security-specific content was added or modified.
Diff
diff --git a/codecommit/latest/userguide/how-to-create-pull-request.md b/codecommit/latest/userguide/how-to-create-pull-request.md index 6715bd1b2..b92b15b04 100644 --- a//codecommit/latest/userguide/how-to-create-pull-request.md +++ b//codecommit/latest/userguide/how-to-create-pull-request.md @@ -69 +69 @@ To use AWS CLI commands with CodeCommit, install the AWS CLI. For more informati - 1. Run the **create-pull-request** command, specifying: + * Run the **create-pull-request** command, specifying: @@ -89,43 +88,0 @@ This example creates a pull request named `Pronunciation difficulty analyzer` wi - 2. If successful, this command produces output similar to the following: - - { - "pullRequest": { - "approvalRules": [ - { - "approvalRuleContent": "{\"Version\": \"2018-11-08\",\"DestinationReferences\": [\"refs/heads/main\"],\"Statements\": [{\"Type\": \"Approvers\",\"NumberOfApprovalsNeeded\": 2,\"ApprovalPoolMembers\": [\"arn:aws:sts::123456789012:assumed-role/CodeCommitReview/*\"]}]}", - "approvalRuleId": "dd8b17fe-EXAMPLE", - "approvalRuleName": "2-approver-rule-for-main", - "creationDate": 1571356106.936, - "lastModifiedDate": 571356106.936, - "lastModifiedUser": "arn:aws:iam::123456789012:user/Mary_Major", - "originApprovalRuleTemplate": { - "approvalRuleTemplateId": "dd3d22fe-EXAMPLE", - "approvalRuleTemplateName": "2-approver-rule-for-main" - }, - "ruleContentSha256": "4711b576EXAMPLE" - } - ], - "authorArn": "arn:aws:iam::111111111111:user/Jane_Doe", - "description": "Please review these changes by Tuesday", - "title": "Pronunciation difficulty analyzer", - "pullRequestTargets": [ - { - "destinationCommit": "5d036259EXAMPLE", - "destinationReference": "refs/heads/main", - "repositoryName": "MyDemoRepo", - "sourceCommit": "317f8570EXAMPLE", - "sourceReference": "refs/heads/jane-branch", - "mergeMetadata": { - "isMerged": false - } - } - ], - "lastActivityDate": 1508962823.285, - "pullRequestId": "42", - "clientRequestToken": "123Example", - "pullRequestStatus": "OPEN", - "creationDate": 1508962823.285 - } - } - -