You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.
Class: Aws::CodeCommit::Types::DescribePullRequestEventsInput
- Inherits:
- 
      Struct
      
        - Object
- Struct
- Aws::CodeCommit::Types::DescribePullRequestEventsInput
 
- Defined in:
- (unknown)
Overview
When passing DescribePullRequestEventsInput as input to an Aws::Client method, you can use a vanilla Hash:
{
  pull_request_id: "PullRequestId", # required
  pull_request_event_type: "PULL_REQUEST_CREATED", # accepts PULL_REQUEST_CREATED, PULL_REQUEST_STATUS_CHANGED, PULL_REQUEST_SOURCE_REFERENCE_UPDATED, PULL_REQUEST_MERGE_STATE_CHANGED, PULL_REQUEST_APPROVAL_RULE_CREATED, PULL_REQUEST_APPROVAL_RULE_UPDATED, PULL_REQUEST_APPROVAL_RULE_DELETED, PULL_REQUEST_APPROVAL_RULE_OVERRIDDEN, PULL_REQUEST_APPROVAL_STATE_CHANGED
  actor_arn: "Arn",
  next_token: "NextToken",
  max_results: 1,
}
Instance Attribute Summary collapse
- 
  
    
      #actor_arn  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The Amazon Resource Name (ARN) of the user whose actions resulted in the event. 
- 
  
    
      #max_results  ⇒ Integer 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    A non-zero, non-negative integer used to limit the number of returned results. 
- 
  
    
      #next_token  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    An enumeration token that, when provided in a request, returns the next batch of the results. 
- 
  
    
      #pull_request_event_type  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Optional. 
- 
  
    
      #pull_request_id  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The system-generated ID of the pull request. 
Instance Attribute Details
#actor_arn ⇒ String
The Amazon Resource Name (ARN) of the user whose actions resulted in the event. Examples include updating the pull request with more commits or changing the status of a pull request.
#max_results ⇒ Integer
A non-zero, non-negative integer used to limit the number of returned results. The default is 100 events, which is also the maximum number of events that can be returned in a result.
#next_token ⇒ String
An enumeration token that, when provided in a request, returns the next batch of the results.
#pull_request_event_type ⇒ String
Optional. The pull request event type about which you want to return information.
Possible values:
- PULL_REQUEST_CREATED
- PULL_REQUEST_STATUS_CHANGED
- PULL_REQUEST_SOURCE_REFERENCE_UPDATED
- PULL_REQUEST_MERGE_STATE_CHANGED
- PULL_REQUEST_APPROVAL_RULE_CREATED
- PULL_REQUEST_APPROVAL_RULE_UPDATED
- PULL_REQUEST_APPROVAL_RULE_DELETED
- PULL_REQUEST_APPROVAL_RULE_OVERRIDDEN
- PULL_REQUEST_APPROVAL_STATE_CHANGED
#pull_request_id ⇒ String
The system-generated ID of the pull request. To get this ID, use ListPullRequests.