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

Class: Aws::CodeCommit::Types::UpdatePullRequestApprovalStateInput

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

Overview

Note:

When passing UpdatePullRequestApprovalStateInput as input to an Aws::Client method, you can use a vanilla Hash:

{
  pull_request_id: "PullRequestId", # required
  revision_id: "RevisionId", # required
  approval_state: "APPROVE", # required, accepts APPROVE, REVOKE
}

Instance Attribute Summary collapse

Instance Attribute Details

#approval_stateString

The approval state to associate with the user on the pull request.

Possible values:

  • APPROVE
  • REVOKE

Returns:

  • (String)

    The approval state to associate with the user on the pull request.

#pull_request_idString

The system-generated ID of the pull request.

Returns:

  • (String)

    The system-generated ID of the pull request.

#revision_idString

The system-generated ID of the revision.

Returns:

  • (String)

    The system-generated ID of the revision.