BackupExternal / Client / tag_resource
tag_resource¶
- BackupExternal.Client.tag_resource(**kwargs)¶
Adds or updates tags on the specified resource.
See also: AWS API Documentation
Request Syntax
response = client.tag_resource( ResourceArn='string', Tags={ 'string': 'string' } )
- Parameters:
ResourceArn (string) –
[REQUIRED]
The Amazon Resource Name (ARN) of the resource.
Tags (dict) –
[REQUIRED]
The tags to add or update on the resource.
(string) –
(string) –
- Return type:
dict
- Returns:
Response Syntax
{}Response Structure
(dict) –
Exceptions
BackupExternal.Client.exceptions.ThrottlingExceptionBackupExternal.Client.exceptions.AccessDeniedExceptionBackupExternal.Client.exceptions.ResourceNotFoundExceptionBackupExternal.Client.exceptions.ServiceQuotaExceededExceptionBackupExternal.Client.exceptions.ConflictExceptionBackupExternal.Client.exceptions.ValidationExceptionBackupExternal.Client.exceptions.InternalServerException