Associates the tag option with a resource.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
servicecatalog:AssociateTagOptionWithResource |
get |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| ResourceId |
string |
Yes |
The ID of the resource with which the tag option is associated. |
port-bp15p96922**** |
| TagOptionId |
string |
Yes |
The ID of the tag option. |
tag-bp1u6mdf3d**** |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response parameters. |
||
| RequestId |
string |
The ID of the request. |
DC833558-AFF4-5935-9AB6-8A12EE7D**** |
Examples
Success response
JSON format
{
"RequestId": "DC833558-AFF4-5935-9AB6-8A12EE7D****"
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 500 | InternalError | A system error occurred. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.