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

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

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-codecommit/lib/aws-sdk-codecommit/types.rb

Overview

Note:

When making an API call, you may pass Target data as a 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)


2314
2315
2316
2317
2318
2319
# File 'gems/aws-sdk-codecommit/lib/aws-sdk-codecommit/types.rb', line 2314

class Target < Struct.new(
  :repository_name,
  :source_reference,
  :destination_reference)
  include Aws::Structure
end

#repository_nameString

The name of the repository that contains the pull request.

Returns:

  • (String)


2314
2315
2316
2317
2318
2319
# File 'gems/aws-sdk-codecommit/lib/aws-sdk-codecommit/types.rb', line 2314

class Target < Struct.new(
  :repository_name,
  :source_reference,
  :destination_reference)
  include Aws::Structure
end

#source_referenceString

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

Returns:

  • (String)


2314
2315
2316
2317
2318
2319
# File 'gems/aws-sdk-codecommit/lib/aws-sdk-codecommit/types.rb', line 2314

class Target < Struct.new(
  :repository_name,
  :source_reference,
  :destination_reference)
  include Aws::Structure
end