CmdID

CmdID / aws / aws codecommit

aws codecommit update-pull-request-description

Replaces the contents of the description of a pull request. AWS CLI reference

1 example 2 options Its page in the AWS CLI reference

Opens CmdID with your command. It is read in your browser and sent nowhere.

Examples

from aws-cli, each command read by CmdID

To change the description of a pull request

The following update-pull-request-description example changes the description of a pull request with the ID of 47.

aws codecommit update-pull-request-description --pull-request-id 47 --description "Updated the pull request to remove unused global variable."Identify
--pull-request-idThe system-generated ID of the pull request.
--descriptionThe updated content of the description for the pull request.
Its output
{
    "pullRequest": {
        "authorArn": "arn:aws:iam::123456789012:user/Li_Juan",
        "clientRequestToken": "",
        "creationDate": 1508530823.155,
        "description": "Updated the pull request to remove unused global variable.",
        "lastActivityDate": 1508372423.204,
        "pullRequestId": "47",
        "pullRequestStatus": "OPEN",
        "pullRequestTargets": [
            {
                "destinationCommit": "9f31c968EXAMPLE",
                "destinationReference": "refs/heads/main",
                "mergeMetadata": {
                    "isMerged": false
                },
                "repositoryName": "MyDemoRepo",
                "sourceCommit": "99132ab0EXAMPLE",
                "sourceReference": "refs/heads/variables-branch"
            }
        ],
        "title": "Consolidation of global variables"
    }
}

For more information, see Update a pull request in the AWS CodeCommit User Guide.

Options

2 in the AWS CLI reference
--descriptionThe updated content of the description for the pull request.
--pull-request-idThe system-generated ID of the pull request.