You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.
Class: Aws::CodeCommit::Types::CreatePullRequestInput
- Inherits:
-
Struct
- Object
- Struct
- Aws::CodeCommit::Types::CreatePullRequestInput
- Defined in:
- (unknown)
Overview
When passing CreatePullRequestInput as input to an Aws::Client method, you can use a vanilla Hash:
{
title: "Title", # required
description: "Description",
targets: [ # required
{
repository_name: "RepositoryName", # required
source_reference: "ReferenceName", # required
destination_reference: "ReferenceName",
},
],
client_request_token: "ClientRequestToken",
}
Instance Attribute Summary collapse
-
#client_request_token ⇒ String
A unique, client-generated idempotency token that, when provided in a request, ensures the request cannot be repeated with a changed parameter.
-
#description ⇒ String
A description of the pull request.
-
#targets ⇒ Array<Types::Target>
The targets for the pull request, including the source of the code to be reviewed (the source branch) and the destination where the creator of the pull request intends the code to be merged after the pull request is closed (the destination branch).
-
#title ⇒ String
The title of the pull request.
Instance Attribute Details
#client_request_token ⇒ String
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.
#description ⇒ String
A description of the pull request.
#targets ⇒ Array<Types::Target>
The targets for the pull request, including the source of the code to be reviewed (the source branch) and the destination where the creator of the pull request intends the code to be merged after the pull request is closed (the destination branch).
#title ⇒ String
The title of the pull request. This title is used to identify the pull request to other users in the repository.