You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Class: Aws::CodeCommit::Types::Target

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing Target as input to an Aws::Client method, you can use a vanilla Hash:

{
  repository_name: "RepositoryName", # required
  source_reference: "ReferenceName", # required
  destination_reference: "ReferenceName",
}

Returns information about a target for a pull request.

Instance Attribute Summary collapse

Instance Attribute Details

#destination_referenceString

The branch of the repository where the pull request changes will be merged into. Also known as the destination branch.

Returns:

  • (String)

    The branch of the repository where the pull request changes will be merged into.

#repository_nameString

The name of the repository that contains the pull request.

Returns:

  • (String)

    The name of the repository that contains the pull request.

#source_referenceString

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

Returns:

  • (String)

    The branch of the repository that contains the changes for the pull request.