Attaches tags to one or more Express Connect Routers (ECRs).
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
expressconnectrouter:TagResources |
none |
*ExpressConnectRouter
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| ResourceId |
array |
Yes |
The IDs of the Express Connect Router (ECR) instances. |
|
|
string |
No |
The ID of an ECR instance. You can specify up to 20 instance IDs. |
ecr-897j0jooxyr1aq**** |
|
| Tag |
array<object> |
Yes |
The tags to attach. You can add up to 20 tags. |
|
|
object |
No |
The tag to attach. |
||
| Key |
string |
No |
The tag key. The key cannot be an empty string and can be up to 64 characters long. It cannot start with The tag key cannot be an empty string. The tag key can be up to 64 characters in length. It cannot start with You can specify up to 20 tag keys. |
TestKey |
| Value |
string |
No |
The tag value. The value can be an empty string or a string of up to 128 characters long. It cannot start with You can specify up to 20 tag values. |
TestValue |
| ResourceType |
string |
Yes |
The resource type. Set the value to EXPRESSCONNECTROUTER. |
EXPRESSCONNECTROUTER |
| DryRun |
boolean |
No |
Specifies whether to perform a dry run. Valid values:
|
false |
| ClientToken |
string |
No |
A client-generated token that ensures the idempotence of the request. The token must be unique across requests and can contain only ASCII characters. Note
If you do not specify this parameter, the system uses the RequestId as the ClientToken. The RequestId is unique for each request. |
02fb3da4-130e-11e9-8e44-00**** |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
RpcResponse |
||
| RequestId |
string |
The request ID. |
6FABF516-FED3-5697-BDA2-B18C5D9A**** |
| Success |
boolean |
Indicates whether the request was successful. Valid values:
|
true |
| Code |
string |
The status code. A value of 200 indicates that the request was successful. For more information about other values, see the error codes. |
200 |
| Message |
string |
The message returned. |
OK |
Examples
Success response
JSON format
{
"RequestId": "6FABF516-FED3-5697-BDA2-B18C5D9A****",
"Success": true,
"Code": "200",
"Message": "OK"
}
Error codes
See for a complete list.
Release notes
See Release Notes for a complete list.