RetryMemoryTask

Updated at:
Copy as MD

Try it now

Try this API in OpenAPI Explorer, no manual signing needed. Successful calls auto-generate SDK code matching your parameters. Download it with built-in credential security for local usage.

Test

RAM authorization

No authorization for this operation. If you encounter issues with this operation, contact technical support.

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:

  • PENDING
  • RUNNING
  • SUCCEEDED
  • FAILED

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.