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.

UpdatePullRequestDescriptionInput

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

type UpdatePullRequestDescriptionInput struct { Description *string `locationName:"description" type:"string" required:"true"` PullRequestId *string `locationName:"pullRequestId" type:"string" required:"true"` }

Description

Type: *string

The updated content of the description for the pull request. This content will replace the existing description.

Description is a required field

PullRequestId

Type: *string

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

PullRequestId is a required field

Method

GoString

func (s UpdatePullRequestDescriptionInput) GoString() string

GoString returns the string representation

SetDescription

func (s *UpdatePullRequestDescriptionInput) SetDescription(v string) *UpdatePullRequestDescriptionInput

SetDescription sets the Description field's value.

SetPullRequestId

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

SetPullRequestId sets the PullRequestId field's value.

String

func (s UpdatePullRequestDescriptionInput) String() string

String returns the string representation

Validate

func (s *UpdatePullRequestDescriptionInput) Validate() error

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

On this page: