list_executions
¶
list_executions(
target_resource_type: TargetResourceType,
target_resource_id: ID,
*,
config_overrides: Optional[IoTSiteWiseClientConfig] = None,
resolve_to_resource_type: Optional[ResolveToResourceType] = None,
resolve_to_resource_id: Optional[ID] = None,
next_token: Optional[NextToken] = None,
max_results: Optional[MaxResults] = None,
action_type: Optional[Name] = None,
) -> ListExecutionsResponse
Retrieves a paginated list of summaries of all executions.
Parameters:
-
target_resource_type(TargetResourceType) –The type of the target resource.
-
target_resource_id(ID) –The ID of the target resource.
-
resolve_to_resource_type(Optional[ResolveToResourceType], default:None) –The type of the resolved resource.
-
resolve_to_resource_id(Optional[ID], default:None) –The ID of the resolved resource.
-
next_token(Optional[NextToken], default:None) –The token used for the next set of paginated results.
-
max_results(Optional[MaxResults], default:None) –The maximum number of results returned for each paginated request.
-
action_type(Optional[Name], default:None) –The type of action exectued.
Raises:
-
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/io_t_site_wise.py
8734 8735 8736 8737 8738 8739 8740 8741 8742 8743 8744 8745 8746 8747 8748 8749 8750 8751 8752 8753 8754 8755 8756 8757 8758 8759 8760 8761 8762 8763 8764 8765 8766 8767 8768 8769 8770 8771 8772 8773 8774 8775 8776 8777 8778 8779 8780 8781 8782 8783 8784 8785 8786 8787 8788 8789 8790 8791 8792 8793 8794 8795 8796 8797 8798 8799 8800 8801 8802 8803 8804 8805 | |