Braket / Client / tag_resource
tag_resource¶
- Braket.Client.tag_resource(**kwargs)¶
Add a tag to the specified resource.
See also: AWS API Documentation
Request Syntax
response = client.tag_resource( resourceArn='string', tags={ 'string': 'string' } )
- Parameters:
resourceArn (string) –
[REQUIRED]
Specify the
resourceArnof the resource to which a tag will be added.tags (dict) –
[REQUIRED]
Specify the tags to add to the resource. Tags can be specified as a key-value map.
(string) –
(string) –
- Return type:
dict
- Returns:
Response Syntax
{}Response Structure
(dict) –
Exceptions
Braket.Client.exceptions.ResourceNotFoundExceptionBraket.Client.exceptions.InternalServiceExceptionBraket.Client.exceptions.ValidationException