create_tags
async
¶
create_tags(
resource_arn: __string,
*,
config_overrides: Optional[AsyncmqClientConfig] = None,
tags: Optional[__mapOf__string] = None,
) -> None
Add a tag to a resource.
Parameters:
-
resource_arn(__string) –The Amazon Resource Name (ARN) of the resource tag.
-
tags(Optional[__mapOf__string], default:None) –The key-value pair for the resource tag.
Raises:
-
BadRequestException–Returns information about an error.
-
ForbiddenException–Returns information about an error.
-
InternalServerErrorException–Returns information about an error.
-
NotFoundException–Returns information about an error.
-
UnknownServiceError–The service returned an error code this client does not model.