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.

DeleteCommentInput

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

type DeleteCommentInput struct { AuthenticationToken *string `location:"header" locationName:"Authentication" min:"1" type:"string" sensitive:"true"` CommentId *string `location:"uri" locationName:"CommentId" min:"1" type:"string" required:"true"` DocumentId *string `location:"uri" locationName:"DocumentId" min:"1" type:"string" required:"true"` VersionId *string `location:"uri" locationName:"VersionId" min:"1" type:"string" required:"true"` }

AuthenticationToken

Type: *string

Amazon WorkDocs authentication token. Do not set this field when using administrative API actions, as in accessing the API using AWS credentials.

CommentId

Type: *string

The ID of the comment.

CommentId is a required field

DocumentId

Type: *string

The ID of the document.

DocumentId is a required field

VersionId

Type: *string

The ID of the document version.

VersionId is a required field

Method

GoString

func (s DeleteCommentInput) GoString() string

GoString returns the string representation

SetAuthenticationToken

func (s *DeleteCommentInput) SetAuthenticationToken(v string) *DeleteCommentInput

SetAuthenticationToken sets the AuthenticationToken field's value.

SetCommentId

func (s *DeleteCommentInput) SetCommentId(v string) *DeleteCommentInput

SetCommentId sets the CommentId field's value.

SetDocumentId

func (s *DeleteCommentInput) SetDocumentId(v string) *DeleteCommentInput

SetDocumentId sets the DocumentId field's value.

SetVersionId

func (s *DeleteCommentInput) SetVersionId(v string) *DeleteCommentInput

SetVersionId sets the VersionId field's value.

String

func (s DeleteCommentInput) String() string

String returns the string representation

Validate

func (s *DeleteCommentInput) Validate() error

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

On this page: