Updates a custom agent.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
eventbridge:UpdateAgent |
get |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| Name |
string |
Yes |
The name of the agent. |
my-agent |
| Description |
string |
No |
The description of the event source. |
Filtering rule for MNS |
| Prompt |
string |
No |
The prompt for the agent, such as "You are an IoT data analytics assistant..." |
瑞士冻结马杜罗在瑞资产 |
| Metadata |
object |
No |
The name of the MCP server bound to the agent. |
eventhouse-agentbridge |
| Attachments |
array<object> |
No |
The attached metadata objects. |
|
|
object |
No |
The array of attached metadata objects. |
||
| Arn |
string |
No |
The ARN of the attached metadata object. |
acs:eventbridge:cn-hangzhou:12345:eventhouse/system-rocketmq/namespace/rmq-cn-xxx/table/order |
| MimeType |
string |
No |
The object type of the attached metadata. |
inner-resource/event-table |
| ClientToken |
string |
No |
The ID of the MCP server bound to the agent. |
bGXX51ULuGl10xrr |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response parameters. |
||
| Code |
string |
The response code. Valid values:
|
Success |
| Data |
object |
Indicates whether the operation was successful. |
|
| AgentArn |
string |
Agent ARN |
acs:eventbridge:{region}:{accountId}:agent/{agentName} |
| Message |
string |
The error message. |
InvalidArgument |
| RequestId |
string |
The request ID. |
382E6272-XXXXX-A8AF0BFAC1A5 |
| Success |
boolean |
Returns true if the operation was successful. |
true |
Examples
Success response
JSON format
{
"Code": "Success",
"Data": {
"AgentArn": "acs:eventbridge:{region}:{accountId}:agent/{agentName} "
},
"Message": "InvalidArgument",
"RequestId": "382E6272-XXXXX-A8AF0BFAC1A5",
"Success": true
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 403 | ServiceNotEnable | Service not enable |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.