WorkDocs.Client.
create_labels
(**kwargs)¶Adds the specified list of labels to the given resource (a document or folder)
See also: AWS API Documentation
Request Syntax
response = client.create_labels(
ResourceId='string',
Labels=[
'string',
],
AuthenticationToken='string'
)
[REQUIRED]
The ID of the resource.
[REQUIRED]
List of labels to add to the resource.
dict
Response Syntax
{}
Response Structure
Exceptions
WorkDocs.Client.exceptions.EntityNotExistsException
WorkDocs.Client.exceptions.UnauthorizedOperationException
WorkDocs.Client.exceptions.UnauthorizedResourceAccessException
WorkDocs.Client.exceptions.FailedDependencyException
WorkDocs.Client.exceptions.ServiceUnavailableException
WorkDocs.Client.exceptions.TooManyLabelsException