Merge Branches By Squash

POST {{aws_codecommit_base_url}}/?Action=MergeBranchesBySquash

Request Params

KeyDatatypeRequiredDescription
ActionstringThe name of the author who created the commit. This information will be used as both the author and committer for the commit.

Request Body

{"repositoryName"=>"MyDemoRepo", "destinationCommitSpecifier"=>"bugfix-bug1234", "sourceCommitSpecifier"=>"master", "authorName"=>"Maria Garcia", "email"=>"maria_garcia@example.com", "commitMessage"=>"Merging changes in master to the bugfix branch"}

HEADERS

KeyDatatypeRequiredDescription
Content-Typestring
User-Agentstring
X-Amz-Targetstring