Skip to main content

CancelDeepWriteTask

Cancels a deep writing task.

Debug

You can run this API directly in OpenAPI Explorer, saving you the trouble of calculating signatures. After the call succeeds, OpenAPI Explorer can automatically generate SDK code examples. Debug

RAM authorization

The following table describes the authorization information for this API. You can use it in the Action element of a RAM policy statement to grant a RAM user or RAM role the permission to call this API. Details:
  • Action: the specific permission point.
  • Access level: the access level of each operation. Valid values: Write, Read, and List.
  • Resource type: the resource types that support authorization for the operation. Details:
    • Required resource types are marked with an asterisk (*).
    • For operations that do not support resource-level authorization, All Resources is used.
  • Condition key: the condition keys defined by the cloud service itself.
  • Dependent action: other permissions required to successfully perform the operation. The caller must have the permissions of all dependent actions for the operation to succeed.
ActionAccess levelResource typeCondition keyDependent action
aimiaobi:CancelDeepWriteTaskupdate
*All Resources
*
    None
None

Request parameters

ParameterTypeRequiredDescriptionExample
WorkspaceIdstringNollm-xxxxx
TaskIdstringNo

Task ID

xbabac91-fdad-44d6-95ce-******

Response elements

ElementTypeDescriptionExample
object

Schema of Response

RequestIdstring

Id of the request

xxxxx
Successboolean

Indicates whether the request succeeded

true
Codestring

Error code

DataNotExists
Messagestring

Error message

Error message
HttpStatusCodeinteger

HTTP status code

400
Dataobject

Task response object

TaskIdstring

Task ID

xbabac91-fdad-44d6-95ce-******
Inputstring

User query

Beijing 2025 new energy vehicle development trends
Statusstring

Task status

Valid values:
  • in_progress: Running.
  • queued: Queued.
  • cancelled: Cancelled.
  • completed: Completed.
  • failed: Failed.
cancelled

Examples

Success response JSON format
{
  "RequestId": "xxxxx",
  "Success": true,
  "Code": "DataNotExists",
  "Message": "Error message",
  "HttpStatusCode": 400,
  "Data": {
    "TaskId": "xbabac91-fdad-44d6-95ce-******",
    "Input": "Beijing 2025 new energy vehicle development trends",
    "Status": "cancelled"
  }
}

Error codes

See Error Center for more error codes.