iam_work_request_errors
Creates, updates, deletes, gets or lists an iam_work_request_errors resource.
Overview​
| Name | iam_work_request_errors |
| Type | Resource |
| Id | oci.identity.iam_work_request_errors |
Fields​
The following fields are returned by SELECT queries:
- list
(For tenancies that support identity domains) An error encountered while executing an operation that is tracked by a IAM work request.<br />
| Name | Datatype | Description |
|---|---|---|
code | string | A machine-usable code for the error that occured. |
message | string | A human-readable error string. |
timestamp | string (date-time) | The date and time the error occurred. |
Methods​
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
list | select | iamWorkRequestId, region | limit, page, sortOrder, opc-request-id | Gets error details for a specified IAM work request. The workRequestID is returned in the opc-work-request-id header for any asynchronous operation in the Identity and Access Management service.<br /> |
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 |
|---|---|---|
iamWorkRequestId | string | The OCID of the IAM work request. |
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) |
limit | integer | The maximum number of items to return in a paginated "List" call. |
opc-request-id | string | Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID. |
page | string | The value of the opc-next-page response header from the previous "List" call. |
sortOrder | string | The sort order to use, either ascending (ASC) or descending (DESC). The NAME sort order is case sensitive. |
SELECT examples​
- list
Gets error details for a specified IAM work request. The workRequestID is returned in the opc-work-request-id header for any asynchronous operation in the Identity and Access Management service.<br />
SELECT
code,
message,
timestamp
FROM oci.identity.iam_work_request_errors
WHERE iamWorkRequestId = '{{ iamWorkRequestId }}' -- required
AND region = '{{ region }}' -- required
AND limit = '{{ limit }}'
AND page = '{{ page }}'
AND sortOrder = '{{ sortOrder }}'
AND opc-request-id = '{{ opc-request-id }}'
;