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::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
}

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)


7850
7851
7852
7853
7854
7855
# File 'gems/aws-sdk-codecommit/lib/aws-sdk-codecommit/types.rb', line 7850

class UpdatePullRequestStatusInput < Struct.new(
  :pull_request_id,
  :pull_request_status)
  SENSITIVE = []
  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 CLOSED to CLOSED.

Returns:

  • (String)


7850
7851
7852
7853
7854
7855
# File 'gems/aws-sdk-codecommit/lib/aws-sdk-codecommit/types.rb', line 7850

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