You can call this operation to modify the asset information for a component.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
yundun-sas:ModifyComponentAsset |
update |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| AssetConfig |
string |
Yes |
The configuration of the component asset. This parameter is a JSON object. |
{ "name": "test asset", "componentName": "SLS", "params": [ { "name": "end_point", "value": "xxx" }, { "name": "sub_id", "value": "xxxx" }, { "name": "access_key", "value": "xxxx" } ] } |
| Lang |
string |
No |
The language of the request and response.
|
zh |
Description of the AssetConfig parameter:
name: The name of the asset.
componentName: The name of the component.
- params: The configuration details. This parameter includes the following fields:
end_point: The connection endpoint.
sub_id: The AccessKey ID of your account.
access_key: The AccessKey secret of your account.
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response. |
||
| RequestId |
string |
The ID of the request. This ID is unique to each request and is used to troubleshoot issues. |
1C5F11E9-464E-51F0-9296-43BB312A0557 |
Examples
Success response
JSON format
{
"RequestId": "1C5F11E9-464E-51F0-9296-43BB312A0557"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.