Class: Aws::CodeCommit::Types::CreatePullRequestInput

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

Overview

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#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.

<note markdown=“1”> The Amazon Web ServicesSDKs prepopulate client request tokens. If you are using an Amazon Web ServicesSDK, an idempotency token is created for you.

</note>

**A suitable default value is auto-generated.** You should normally not need to pass this option.

Returns:

  • (String)


1611
1612
1613
1614
1615
1616
1617
1618
# File 'lib/aws-sdk-codecommit/types.rb', line 1611

class CreatePullRequestInput < Struct.new(
  :title,
  :description,
  :targets,
  :client_request_token)
  SENSITIVE = []
  include Aws::Structure
end

#descriptionString

A description of the pull request.

Returns:

  • (String)


1611
1612
1613
1614
1615
1616
1617
1618
# File 'lib/aws-sdk-codecommit/types.rb', line 1611

class CreatePullRequestInput < Struct.new(
  :title,
  :description,
  :targets,
  :client_request_token)
  SENSITIVE = []
  include Aws::Structure
end

#targetsArray<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).

Returns:



1611
1612
1613
1614
1615
1616
1617
1618
# File 'lib/aws-sdk-codecommit/types.rb', line 1611

class CreatePullRequestInput < Struct.new(
  :title,
  :description,
  :targets,
  :client_request_token)
  SENSITIVE = []
  include Aws::Structure
end

#titleString

The title of the pull request. This title is used to identify the pull request to other users in the repository.

Returns:

  • (String)


1611
1612
1613
1614
1615
1616
1617
1618
# File 'lib/aws-sdk-codecommit/types.rb', line 1611

class CreatePullRequestInput < Struct.new(
  :title,
  :description,
  :targets,
  :client_request_token)
  SENSITIVE = []
  include Aws::Structure
end