AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

Class: Aws::CodeCommit::Types::MergePullRequestByFastForwardInput

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 MergePullRequestByFastForwardInput data as a hash:

{
  pull_request_id: "PullRequestId", # required
  repository_name: "RepositoryName", # required
  source_commit_id: "ObjectId",
}

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#pull_request_idString

The system-generated ID of the pull request. To get this ID, use ListPullRequests.

Returns:

  • (String)


5407
5408
5409
5410
5411
5412
5413
# File 'gems/aws-sdk-codecommit/lib/aws-sdk-codecommit/types.rb', line 5407

class MergePullRequestByFastForwardInput < Struct.new(
  :pull_request_id,
  :repository_name,
  :source_commit_id)
  SENSITIVE = []
  include Aws::Structure
end

#repository_nameString

The name of the repository where the pull request was created.

Returns:

  • (String)


5407
5408
5409
5410
5411
5412
5413
# File 'gems/aws-sdk-codecommit/lib/aws-sdk-codecommit/types.rb', line 5407

class MergePullRequestByFastForwardInput < Struct.new(
  :pull_request_id,
  :repository_name,
  :source_commit_id)
  SENSITIVE = []
  include Aws::Structure
end

#source_commit_idString

The full commit ID of the original or updated commit in the pull request source branch. Pass this value if you want an exception thrown if the current commit ID of the tip of the source branch does not match this commit ID.

Returns:

  • (String)


5407
5408
5409
5410
5411
5412
5413
# File 'gems/aws-sdk-codecommit/lib/aws-sdk-codecommit/types.rb', line 5407

class MergePullRequestByFastForwardInput < Struct.new(
  :pull_request_id,
  :repository_name,
  :source_commit_id)
  SENSITIVE = []
  include Aws::Structure
end