describe_task
async
¶
describe_task(
workspace_name: WorkspaceName,
task_name: ResourceName,
*,
config_overrides: Optional[AsyncIoTSiteWiseClientConfig] = None,
task_version: Optional[Version] = None,
) -> DescribeTaskResponse
Retrieves detailed information about a specific task in a workspace.
Parameters:
-
workspace_name(WorkspaceName) –The name of the workspace.
-
task_name(ResourceName) –The name of the task.
-
task_version(Optional[Version], default:None) –The version number of the task to retrieve. If not specified, returns the latest version.
Raises:
-
AccessDeniedException–Access is denied.
-
InternalFailureException–IoT SiteWise can't process your request right now. Try again later.
-
InvalidRequestException–The request isn't valid. This can occur if your request contains malformed JSON or unsupported characters. Check your request and try again.
-
ResourceNotFoundException–The requested resource can't be found.
-
ThrottlingException–Your request exceeded a rate limit. For example, you might have exceeded the number of IoT SiteWise assets that can be created per second, the allowed number of messages per second, and so on.
For more information, see Quotas in the IoT SiteWise User Guide.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_iotsitewise/_services/async_io_t_site_wise.py
5589 5590 5591 5592 5593 5594 5595 5596 5597 5598 5599 5600 5601 5602 5603 5604 5605 5606 5607 5608 5609 5610 5611 5612 5613 5614 5615 5616 5617 5618 5619 5620 5621 5622 5623 5624 5625 5626 5627 5628 5629 5630 5631 5632 5633 5634 5635 5636 5637 5638 5639 5640 5641 5642 5643 5644 5645 5646 5647 5648 5649 5650 5651 5652 5653 5654 | |