tag_resource
async
¶
tag_resource(
resource_arn: __string,
tags: __mapOf__string,
*,
config_overrides: Optional[AsyncMediaTailorClientConfig] = None,
) -> None
The resource to tag. Tags are key-value pairs that you can associate with Amazon resources to help with organization, access control, and cost tracking. For more information, see Tagging AWS Elemental MediaTailor Resources.
Parameters:
-
resource_arn(__string) –The Amazon Resource Name (ARN) associated with the resource.
-
tags(__mapOf__string) –The tags to assign to the resource. Tags are key-value pairs that you can associate with Amazon resources to help with organization, access control, and cost tracking. For more information, see Tagging AWS Elemental MediaTailor Resources.
Raises:
-
BadRequestException–A request contains unexpected data.
-
UnknownServiceError–The service returned an error code this client does not model.