RetryMemoryTask
Try it now
Test
RAM authorization
Request syntax
POST /workspaces/{workspaceId}/memorystores/{memoryStoreName}/memory-tasks/{taskId}/actions/retry HTTP/1.1
Path Parameters
|
Parameter |
Type |
Required |
Description |
Example |
| workspaceId |
string |
Yes |
The ID of the workspace. |
ws-2f5f9c5a8d0e4c3b |
| memoryStoreName |
string |
Yes |
The name of the memory store. |
customer-memory |
| taskId |
string |
Yes |
taskId |
task-2f5f9c5a8d0e4c3b |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
No parameters required.
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| requestId |
string |
requestId |
01A00000-0000-0000-0000-000000000001 |
| message |
string |
message |
success |
| httpStatusCode |
integer |
httpStatusCode |
200 |
| code |
string |
code |
SUCCESS |
| success |
boolean |
success |
|
| data |
object |
data |
|
| taskId |
string |
taskId |
task-2f5f9c5a8d0e4c3b |
| status |
string |
status Valid values:
|
SUCCEEDED |
Examples
Success response
JSON format
{
"requestId": "01A00000-0000-0000-0000-000000000001",
"message": "success",
"httpStatusCode": 200,
"code": "SUCCESS",
"success": false,
"data": {
"taskId": "task-2f5f9c5a8d0e4c3b",
"status": "SUCCEEDED"
}
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | InvalidParameter | The specified request parameter is invalid. | |
| 400 | UnsupportedOperation | The memory store does not support this operation. | |
| 500 | UnknownError | The request processing has failed due to some unknown error. | |
| 403 | Forbidden | You are not authorized to perform this operation. | |
| 404 | Resource.NotFound | The specified AgentCore workspace does not exist. | |
| 429 | Throttling | Request was denied due to request throttling. | |
| 409 | Operation.Conflict | The memory store is not in a state that permits this operation. | |
| 409 | Resource.OperationConflict | The memory task cannot be queried in its current state. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.