Class: Aws::CodeCommit::Types::PullRequest

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

Overview

Returns information about a pull request.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#approval_rulesArray<Types::ApprovalRule>

The approval rules applied to the pull request.

Returns:



5607
5608
5609
5610
5611
5612
5613
5614
5615
5616
5617
5618
5619
5620
5621
# File 'lib/aws-sdk-codecommit/types.rb', line 5607

class PullRequest < Struct.new(
  :pull_request_id,
  :title,
  :description,
  :last_activity_date,
  :creation_date,
  :pull_request_status,
  :author_arn,
  :pull_request_targets,
  :client_request_token,
  :revision_id,
  :approval_rules)
  SENSITIVE = []
  include Aws::Structure
end

#author_arnString

The Amazon Resource Name (ARN) of the user who created the pull request.

Returns:

  • (String)


5607
5608
5609
5610
5611
5612
5613
5614
5615
5616
5617
5618
5619
5620
5621
# File 'lib/aws-sdk-codecommit/types.rb', line 5607

class PullRequest < Struct.new(
  :pull_request_id,
  :title,
  :description,
  :last_activity_date,
  :creation_date,
  :pull_request_status,
  :author_arn,
  :pull_request_targets,
  :client_request_token,
  :revision_id,
  :approval_rules)
  SENSITIVE = []
  include Aws::Structure
end

#client_request_tokenString

A unique, client-generated idempotency token that, when provided in a request, ensures the request cannot be repeated with a changed parameter. If a request is received with the same parameters and a token is included, the request returns information about the initial request that used that token.

Returns:

  • (String)


5607
5608
5609
5610
5611
5612
5613
5614
5615
5616
5617
5618
5619
5620
5621
# File 'lib/aws-sdk-codecommit/types.rb', line 5607

class PullRequest < Struct.new(
  :pull_request_id,
  :title,
  :description,
  :last_activity_date,
  :creation_date,
  :pull_request_status,
  :author_arn,
  :pull_request_targets,
  :client_request_token,
  :revision_id,
  :approval_rules)
  SENSITIVE = []
  include Aws::Structure
end

#creation_dateTime

The date and time the pull request was originally created, in timestamp format.

Returns:

  • (Time)


5607
5608
5609
5610
5611
5612
5613
5614
5615
5616
5617
5618
5619
5620
5621
# File 'lib/aws-sdk-codecommit/types.rb', line 5607

class PullRequest < Struct.new(
  :pull_request_id,
  :title,
  :description,
  :last_activity_date,
  :creation_date,
  :pull_request_status,
  :author_arn,
  :pull_request_targets,
  :client_request_token,
  :revision_id,
  :approval_rules)
  SENSITIVE = []
  include Aws::Structure
end

#descriptionString

The user-defined description of the pull request. This description can be used to clarify what should be reviewed and other details of the request.

Returns:

  • (String)


5607
5608
5609
5610
5611
5612
5613
5614
5615
5616
5617
5618
5619
5620
5621
# File 'lib/aws-sdk-codecommit/types.rb', line 5607

class PullRequest < Struct.new(
  :pull_request_id,
  :title,
  :description,
  :last_activity_date,
  :creation_date,
  :pull_request_status,
  :author_arn,
  :pull_request_targets,
  :client_request_token,
  :revision_id,
  :approval_rules)
  SENSITIVE = []
  include Aws::Structure
end

#last_activity_dateTime

The day and time of the last user or system activity on the pull request, in timestamp format.

Returns:

  • (Time)


5607
5608
5609
5610
5611
5612
5613
5614
5615
5616
5617
5618
5619
5620
5621
# File 'lib/aws-sdk-codecommit/types.rb', line 5607

class PullRequest < Struct.new(
  :pull_request_id,
  :title,
  :description,
  :last_activity_date,
  :creation_date,
  :pull_request_status,
  :author_arn,
  :pull_request_targets,
  :client_request_token,
  :revision_id,
  :approval_rules)
  SENSITIVE = []
  include Aws::Structure
end

#pull_request_idString

The system-generated ID of the pull request.

Returns:

  • (String)


5607
5608
5609
5610
5611
5612
5613
5614
5615
5616
5617
5618
5619
5620
5621
# File 'lib/aws-sdk-codecommit/types.rb', line 5607

class PullRequest < Struct.new(
  :pull_request_id,
  :title,
  :description,
  :last_activity_date,
  :creation_date,
  :pull_request_status,
  :author_arn,
  :pull_request_targets,
  :client_request_token,
  :revision_id,
  :approval_rules)
  SENSITIVE = []
  include Aws::Structure
end

#pull_request_statusString

The status of the pull request. Pull request status can only change from ‘OPEN` to `CLOSED`.

Returns:

  • (String)


5607
5608
5609
5610
5611
5612
5613
5614
5615
5616
5617
5618
5619
5620
5621
# File 'lib/aws-sdk-codecommit/types.rb', line 5607

class PullRequest < Struct.new(
  :pull_request_id,
  :title,
  :description,
  :last_activity_date,
  :creation_date,
  :pull_request_status,
  :author_arn,
  :pull_request_targets,
  :client_request_token,
  :revision_id,
  :approval_rules)
  SENSITIVE = []
  include Aws::Structure
end

#pull_request_targetsArray<Types::PullRequestTarget>

The targets of the pull request, including the source branch and destination branch for the pull request.

Returns:



5607
5608
5609
5610
5611
5612
5613
5614
5615
5616
5617
5618
5619
5620
5621
# File 'lib/aws-sdk-codecommit/types.rb', line 5607

class PullRequest < Struct.new(
  :pull_request_id,
  :title,
  :description,
  :last_activity_date,
  :creation_date,
  :pull_request_status,
  :author_arn,
  :pull_request_targets,
  :client_request_token,
  :revision_id,
  :approval_rules)
  SENSITIVE = []
  include Aws::Structure
end

#revision_idString

The system-generated revision ID for the pull request.

Returns:

  • (String)


5607
5608
5609
5610
5611
5612
5613
5614
5615
5616
5617
5618
5619
5620
5621
# File 'lib/aws-sdk-codecommit/types.rb', line 5607

class PullRequest < Struct.new(
  :pull_request_id,
  :title,
  :description,
  :last_activity_date,
  :creation_date,
  :pull_request_status,
  :author_arn,
  :pull_request_targets,
  :client_request_token,
  :revision_id,
  :approval_rules)
  SENSITIVE = []
  include Aws::Structure
end

#titleString

The user-defined title of the pull request. This title is displayed in the list of pull requests to other repository users.

Returns:

  • (String)


5607
5608
5609
5610
5611
5612
5613
5614
5615
5616
5617
5618
5619
5620
5621
# File 'lib/aws-sdk-codecommit/types.rb', line 5607

class PullRequest < Struct.new(
  :pull_request_id,
  :title,
  :description,
  :last_activity_date,
  :creation_date,
  :pull_request_status,
  :author_arn,
  :pull_request_targets,
  :client_request_token,
  :revision_id,
  :approval_rules)
  SENSITIVE = []
  include Aws::Structure
end