list_executions
async
¶
list_executions(
target_resource_type: TargetResourceType,
target_resource_id: ID,
*,
config_overrides: Optional[AsyncIoTSiteWiseClientConfig] = 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/async_io_t_site_wise.py
8850 8851 8852 8853 8854 8855 8856 8857 8858 8859 8860 8861 8862 8863 8864 8865 8866 8867 8868 8869 8870 8871 8872 8873 8874 8875 8876 8877 8878 8879 8880 8881 8882 8883 8884 8885 8886 8887 8888 8889 8890 8891 8892 8893 8894 8895 8896 8897 8898 8899 8900 8901 8902 8903 8904 8905 8906 8907 8908 8909 8910 8911 8912 8913 8914 8915 8916 8917 8918 8919 8920 8921 8922 | |