Work Requests for IoT Domains and Domain Groups
Get work request information for IoT domain and domain group operations.
Many of the service requests do not take effect immediately. In these cases, the request spawns an asynchronous workflow process. To provide visibility for these in-progress workflows the Internet of Things service creates a work request object. You can get the work request state to track and monitor the status of the in-progress workflow.
For specific examples, see Scenario: Working with an IoT Domain Group and Scenario: Working with an IoT Domain
Before you begin
Make sure you have the required permissions. An administrator grants access by creating the required policies. For more information, see Prerequisites and Policy Details for the Internet of Things (IoT) Platform.
Use these tasks to track an Internet of Things work request when you work with your IoT domains and domain groups:
- Listing Work Requests
- Getting a Work Request's Details
- Listing Work Request Errors
- Listing Work Request Log Entries
The work request status descriptions:
ACCEPTED: The request is in the work request queue to be processed.
IN_PROGRESS: A work request record exists for the specified request, but there is no associated WORK_COMPLETED record.
WAITING: A request to perform an operation is queued and waiting for resources to begin processing.
NEEDS_ATTENTION: Indicates an action is required to resolve the issue and proceed.
FAILED: A work request record exists for this request and an associated WORK_COMPLETED record has the state FAILED.
SUCCEEDED: A work request record exists for this request and an associated WORK_COMPLETED record has the state SUCCEEDED.