Cancels a running data retrieval job.
Debugging
Request parameters
| Parameter | Type | Required | Example | Description |
|---|---|---|---|---|
| Action | String | Yes | CancelLifecycleRetrieveJob |
The operation that you want to perform. Set the value to CancelLifecycleRetrieveJob. |
| JobId | String | Yes | lrj-nfstest-ia-160****853-hshvw |
The ID of the data retrieval job. |
Response parameters
| Parameter | Type | Example | Description |
|---|---|---|---|
| RequestId | String | BC7C825C-5F65-4B56-BEF6-98C56C7C**** |
The ID of the request. |
Examples
Sample requests
http(s)://[Endpoint]/?Action=CancelLifecycleRetrieveJob
&JobId=lrj-nfstest-ia-160****853-hshvw
&<Common Request Parameters>
Sample success responses
XML format
<RequestId>BC7C825C-5F65-4B56-BEF6-98C56C7C****</RequestId>
JSON format
{
"RequestId": "BC7C825C-5F65-4B56-BEF6-98C56C7C****"
}
Error codes
| HttpCode | Error code | Error message | Required |
|---|---|---|---|
| 400 | OperationDenied.LifecycleRetrieveJobEnded | The specified LifecycleRetrieveJob has already ended. | The error message returned because the specified data retrieval job is completed. |
| 404 | InvalidFileSystem.NotFound | The specified file system does not exist. | The error message returned because the specified file system does not exist. |
| 404 | InvalidLifecycleRetrieveJob.NotFound | The specified LifecycleRetrieveJob does not exist. | The error message returned because the specified data retrieval job does not exist. |
For a list of error codes, visit the API Error Center.