DevOpsAgentService / Client / tag_resource
tag_resource¶
- DevOpsAgentService.Client.tag_resource(**kwargs)¶
Adds or overwrites tags for the specified AWS DevOps Agent resource.
See also: AWS API Documentation
Request Syntax
response = client.tag_resource( resourceArn='string', tags={ 'string': 'string' } )
- Parameters:
resourceArn (string) –
[REQUIRED]
The ARN of the resource to tag.
tags (dict) –
[REQUIRED]
Tags to add to the resource.
(string) –
Tag key string.
(string) –
Tag value string.
- Return type:
dict
- Returns:
Response Syntax
{}Response Structure
(dict) –
Exceptions
DevOpsAgentService.Client.exceptions.ValidationExceptionDevOpsAgentService.Client.exceptions.ContentSizeExceededExceptionDevOpsAgentService.Client.exceptions.ServiceQuotaExceededExceptionDevOpsAgentService.Client.exceptions.ConflictExceptionDevOpsAgentService.Client.exceptions.InternalServerExceptionDevOpsAgentService.Client.exceptions.AccessDeniedExceptionDevOpsAgentService.Client.exceptions.ResourceNotFoundExceptionDevOpsAgentService.Client.exceptions.ThrottlingExceptionDevOpsAgentService.Client.exceptions.InvalidParameterException