AWS SDK for Go (PILOT)
API Reference

PREVIEW DOCUMENTATION - This is a preview of a new format for the AWS SDK for Go API Reference documentation. For the current AWS SDK for Go API Reference, see https://docs.aws.amazon.com/sdk-for-go/api/.

We welcome your feedback on this new version of the documentation. Send your comments to aws-sdkdocs-feedback@amazon.com.

MergePullRequestByFastForwardInput

import "github.com/aws/aws-sdk-go/service/codecommit"

type MergePullRequestByFastForwardInput struct { PullRequestId *string `locationName:"pullRequestId" type:"string" required:"true"` RepositoryName *string `locationName:"repositoryName" min:"1" type:"string" required:"true"` SourceCommitId *string `locationName:"sourceCommitId" type:"string"` }

PullRequestId

Type: *string

The system-generated ID of the pull request. To get this ID, use ListPullRequests.

PullRequestId is a required field

RepositoryName

Type: *string

The name of the repository where the pull request was created.

RepositoryName is a required field

SourceCommitId

Type: *string

The full commit ID of the original or updated commit in the pull request source branch. Pass this value if you want an exception thrown if the current commit ID of the tip of the source branch does not match this commit ID.

Method

GoString

func (s MergePullRequestByFastForwardInput) GoString() string

GoString returns the string representation

SetPullRequestId

func (s *MergePullRequestByFastForwardInput) SetPullRequestId(v string) *MergePullRequestByFastForwardInput

SetPullRequestId sets the PullRequestId field's value.

SetRepositoryName

func (s *MergePullRequestByFastForwardInput) SetRepositoryName(v string) *MergePullRequestByFastForwardInput

SetRepositoryName sets the RepositoryName field's value.

SetSourceCommitId

func (s *MergePullRequestByFastForwardInput) SetSourceCommitId(v string) *MergePullRequestByFastForwardInput

SetSourceCommitId sets the SourceCommitId field's value.

String

func (s MergePullRequestByFastForwardInput) String() string

String returns the string representation

Validate

func (s *MergePullRequestByFastForwardInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

On this page: