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

Class: Aws::CodeCommit::Types::UpdatePullRequestStatusInput

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

{
  pull_request_id: "PullRequestId", # required
  pull_request_status: "OPEN", # required, accepts OPEN, CLOSED
}

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)


2499
2500
2501
2502
2503
# File 'gems/aws-sdk-codecommit/lib/aws-sdk-codecommit/types.rb', line 2499

class UpdatePullRequestStatusInput < Struct.new(
  :pull_request_id,
  :pull_request_status)
  include Aws::Structure
end

#pull_request_statusString

The status of the pull request. The only valid operations are to update the status from OPEN to OPEN, OPEN to CLOSED or from from CLOSED to CLOSED.

Returns:

  • (String)


2499
2500
2501
2502
2503
# File 'gems/aws-sdk-codecommit/lib/aws-sdk-codecommit/types.rb', line 2499

class UpdatePullRequestStatusInput < Struct.new(
  :pull_request_id,
  :pull_request_status)
  include Aws::Structure
end