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
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 8923 8924 8925 8926 8927 8928 8929 8930 8931 8932 8933 8934 8935 8936 8937 8938 8939 8940 8941 8942 | |