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

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 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 'gems/aws-sdk-codecommit/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 'gems/aws-sdk-codecommit/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 'gems/aws-sdk-codecommit/lib/aws-sdk-codecommit/types.rb', line 7782

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