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.

DeleteCustomMetadataInput

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

type DeleteCustomMetadataInput struct { AuthenticationToken *string `location:"header" locationName:"Authentication" min:"1" type:"string" sensitive:"true"` DeleteAll *bool `location:"querystring" locationName:"deleteAll" type:"boolean"` Keys []*string `location:"querystring" locationName:"keys" type:"list"` ResourceId *string `location:"uri" locationName:"ResourceId" min:"1" type:"string" required:"true"` VersionId *string `location:"querystring" locationName:"versionId" min:"1" type:"string"` }

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.

DeleteAll

Type: *bool

Flag to indicate removal of all custom metadata properties from the specified resource.

Keys

Type: []*string

List of properties to remove.

ResourceId

Type: *string

The ID of the resource, either a document or folder.

ResourceId is a required field

VersionId

Type: *string

The ID of the version, if the custom metadata is being deleted from a document version.

Method

GoString

func (s DeleteCustomMetadataInput) GoString() string

GoString returns the string representation

SetAuthenticationToken

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

SetAuthenticationToken sets the AuthenticationToken field's value.

SetDeleteAll

func (s *DeleteCustomMetadataInput) SetDeleteAll(v bool) *DeleteCustomMetadataInput

SetDeleteAll sets the DeleteAll field's value.

SetKeys

func (s *DeleteCustomMetadataInput) SetKeys(v []*string) *DeleteCustomMetadataInput

SetKeys sets the Keys field's value.

SetResourceId

func (s *DeleteCustomMetadataInput) SetResourceId(v string) *DeleteCustomMetadataInput

SetResourceId sets the ResourceId field's value.

SetVersionId

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

SetVersionId sets the VersionId field's value.

String

func (s DeleteCustomMetadataInput) String() string

String returns the string representation

Validate

func (s *DeleteCustomMetadataInput) Validate() error

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

On this page: