WorkSpaces / Client / create_tags
create_tags#
- WorkSpaces.Client.create_tags(**kwargs)#
Creates the specified tags for the specified WorkSpaces resource.
See also: AWS API Documentation
Request Syntax
response = client.create_tags( ResourceId='string', Tags=[ { 'Key': 'string', 'Value': 'string' }, ] )
- Parameters:
ResourceId (string) –
[REQUIRED]
The identifier of the WorkSpaces resource. The supported resource types are WorkSpaces, registered directories, images, custom bundles, IP access control groups, and connection aliases.
Tags (list) –
[REQUIRED]
The tags. Each WorkSpaces resource can have a maximum of 50 tags.
(dict) –
Describes a tag.
Key (string) – [REQUIRED]
The key of the tag.
Value (string) –
The value of the tag.
- Return type:
dict
- Returns:
Response Syntax
{}
Response Structure
(dict) –
Exceptions
WorkSpaces.Client.exceptions.ResourceNotFoundException
WorkSpaces.Client.exceptions.InvalidParameterValuesException
WorkSpaces.Client.exceptions.ResourceLimitExceededException