work_request_errors
Creates, updates, deletes, gets or lists a work_request_errors resource.
Overview​
| Name | work_request_errors |
| Type | Resource |
| Id | oci.object_storage.work_request_errors |
Fields​
The following fields are returned by SELECT queries:
- list
| Name | Datatype | Description |
|---|---|---|
code | string | A machine-usable code for the error that occurred. For the list of error codes, see [API Errors](/Content/API/References/apierrors.htm). |
message | string | A human-readable description of the issue that produced the error. |
timestamp | string (date-time) | The time the error occurred. |
Methods​
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
list | select | workRequestId, region | page, limit, opc-client-request-id | Lists the errors of the work request with the given ID. |
Parameters​
Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.
| Name | Datatype | Description |
|---|---|---|
region | string | OCI region identifier (e.g. us-ashburn-1, ap-sydney-1); resolves from OCI_REGION when not supplied in the query. (default: us-ashburn-1, x-stackQL-envVar: OCI_REGION) |
workRequestId | string | The ID of the asynchronous request. |
limit | integer | For list pagination. The maximum number of results per page, or items to return in a paginated "List" call. For important details about how pagination works, see [List Pagination](/iaas/Content/API/Concepts/usingapi.htm#nine). |
opc-client-request-id | string | The client request ID for tracing. |
page | string | For list pagination. The value of the opc-next-page response header from the previous "List" call. For important details about how pagination works, see [List Pagination](/iaas/Content/API/Concepts/usingapi.htm#nine). |
SELECT examples​
- list
Lists the errors of the work request with the given ID.
SELECT
code,
message,
timestamp
FROM oci.object_storage.work_request_errors
WHERE workRequestId = '{{ workRequestId }}' -- required
AND region = '{{ region }}' -- required
AND page = '{{ page }}'
AND limit = '{{ limit }}'
AND opc-client-request-id = '{{ opc-client-request-id }}'
;