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.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#destination_referenceString

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

Returns:

  • (String)


7351
7352
7353
7354
7355
7356
7357
# File 'gems/aws-sdk-codecommit/lib/aws-sdk-codecommit/types.rb', line 7351

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

#repository_nameString

The name of the repository that contains the pull request.

Returns:

  • (String)


7351
7352
7353
7354
7355
7356
7357
# File 'gems/aws-sdk-codecommit/lib/aws-sdk-codecommit/types.rb', line 7351

class Target < Struct.new(
  :repository_name,
  :source_reference,
  :destination_reference)
  SENSITIVE = []
  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)


7351
7352
7353
7354
7355
7356
7357
# File 'gems/aws-sdk-codecommit/lib/aws-sdk-codecommit/types.rb', line 7351

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