v1

latestOpenAPI 3.0.0Apache 2.0 License2026-07-1477335300.0 KB

Associates the specified tags to a resource with the specified <code>resourceArn</code>. If existing tags on a resource are not specified in the request parameters, they are not changed. When a resource is deleted, the tags associated with that resource are also deleted.

post/#X-Amz-Target=DeviceFarm_20150623.TagResource

Headers

X-Amz-Target'DeviceFarm_20150623.TagResource' required

Request body

ResourceARNstring required

The Amazon Resource Name (ARN) of the resource or resources to which to add tags. You can associate tags with the following Device Farm resources: <code>PROJECT</code>, <code>RUN</code>, <code>NETWORK_PROFILE</code>, <code>INSTANCE_PROFILE</code>, <code>DEVICE_INSTANCE</code>, <code>SESSION</code>, <code>DEVICE_POOL</code>, <code>DEVICE</code>, and <code>VPCE_CONFIGURATION</code>.

Response

Success

TagResourceResponse required