WorkDocs.Client.
create_custom_metadata
(**kwargs)¶Adds one or more custom properties to the specified resource (a folder, document, or version).
See also: AWS API Documentation
Request Syntax
response = client.create_custom_metadata(
AuthenticationToken='string',
ResourceId='string',
VersionId='string',
CustomMetadata={
'string': 'string'
}
)
[REQUIRED]
The ID of the resource.
[REQUIRED]
Custom metadata in the form of name-value pairs.
dict
Response Syntax
{}
Response Structure
Exceptions
WorkDocs.Client.exceptions.EntityNotExistsException
WorkDocs.Client.exceptions.UnauthorizedOperationException
WorkDocs.Client.exceptions.UnauthorizedResourceAccessException
WorkDocs.Client.exceptions.ProhibitedStateException
WorkDocs.Client.exceptions.CustomMetadataLimitExceededException
WorkDocs.Client.exceptions.FailedDependencyException
WorkDocs.Client.exceptions.ServiceUnavailableException