Target - Amazon CodeCommit
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

Target

Returns information about a target for a pull request.

Contents

repositoryName

The name of the repository that contains the pull request.

Type: String

Length Constraints: Minimum length of 1. Maximum length of 100.

Pattern: [\w\.-]+

Required: Yes

sourceReference

The branch of the repository that contains the changes for the pull request. Also known as the source branch.

Type: String

Required: Yes

destinationReference

The branch of the repository where the pull request changes are merged. Also known as the destination branch.

Type: String

Required: No

See Also

For more information about using this API in one of the language-specific Amazon SDKs, see the following: