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.EntityNotExistsExceptionWorkDocs.Client.exceptions.UnauthorizedOperationExceptionWorkDocs.Client.exceptions.UnauthorizedResourceAccessExceptionWorkDocs.Client.exceptions.ProhibitedStateExceptionWorkDocs.Client.exceptions.CustomMetadataLimitExceededExceptionWorkDocs.Client.exceptions.FailedDependencyExceptionWorkDocs.Client.exceptions.ServiceUnavailableException