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

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-codecommit/types.rb

Overview

Note:

When making an API call, you may pass UpdatePullRequestApprovalStateInput data as a hash:

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

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#approval_stateString

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

Returns:

  • (String)

7782
7783
7784
7785
7786
7787
7788
# File 'lib/aws-sdk-codecommit/types.rb', line 7782

class UpdatePullRequestApprovalStateInput < Struct.new(
  :pull_request_id,
  :revision_id,
  :approval_state)
  SENSITIVE = []
  include Aws::Structure
end

#pull_request_idString

The system-generated ID of the pull request.

Returns:

  • (String)

7782
7783
7784
7785
7786
7787
7788
# File 'lib/aws-sdk-codecommit/types.rb', line 7782

class UpdatePullRequestApprovalStateInput < Struct.new(
  :pull_request_id,
  :revision_id,
  :approval_state)
  SENSITIVE = []
  include Aws::Structure
end

#revision_idString

The system-generated ID of the revision.

Returns:

  • (String)

7782
7783
7784
7785
7786
7787
7788
# File 'lib/aws-sdk-codecommit/types.rb', line 7782

class UpdatePullRequestApprovalStateInput < Struct.new(
  :pull_request_id,
  :revision_id,
  :approval_state)
  SENSITIVE = []
  include Aws::Structure
end