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

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

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing UpdatePullRequestStatusInput as input to an Aws::Client method, you can use a vanilla 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)

    The system-generated ID of the pull request.

#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.

Possible values:

  • OPEN
  • CLOSED

Returns:

  • (String)

    The status of the pull request.