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.EntityNotExistsExceptionWorkDocs.Client.exceptions.UnauthorizedOperationExceptionWorkDocs.Client.exceptions.UnauthorizedResourceAccessExceptionWorkDocs.Client.exceptions.FailedDependencyExceptionWorkDocs.Client.exceptions.ServiceUnavailableExceptionWorkDocs.Client.exceptions.TooManyLabelsException