list_time_series
async
¶
list_time_series(
*,
config_overrides: Optional[AsyncIoTSiteWiseClientConfig] = None,
next_token: Optional[NextToken] = None,
max_results: Optional[MaxResults] = None,
asset_id: Optional[CustomID] = None,
alias_prefix: Optional[PropertyAlias] = None,
time_series_type: Optional[ListTimeSeriesType] = None,
workspace_name: Optional[WorkspaceName] = None,
) -> ListTimeSeriesResponse
Retrieves a paginated list of time series (data streams).
Parameters:
-
next_token(Optional[NextToken], default:None) –The token to be used for the next set of paginated results.
-
max_results(Optional[MaxResults], default:None) –The maximum number of results to return for each paginated request.
-
asset_id(Optional[CustomID], default:None) –The ID of the asset in which the asset property was created. This can be either the actual ID in UUID format, or else
externalId:followed by the external ID, if it has one. For more information, see Referencing objects with external IDs in the IoT SiteWise User Guide. -
alias_prefix(Optional[PropertyAlias], default:None) –The alias prefix of the time series.
-
time_series_type(Optional[ListTimeSeriesType], default:None) –The type of the time series. The time series type can be one of the following values:
-
ASSOCIATED– The time series is associated with an asset property. -
DISASSOCIATED– The time series isn't associated with any asset property.
-
-
workspace_name(Optional[WorkspaceName], default:None) –The name of the workspace.
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
9905 9906 9907 9908 9909 9910 9911 9912 9913 9914 9915 9916 9917 9918 9919 9920 9921 9922 9923 9924 9925 9926 9927 9928 9929 9930 9931 9932 9933 9934 9935 9936 9937 9938 9939 9940 9941 9942 9943 9944 9945 9946 9947 9948 9949 9950 9951 9952 9953 9954 9955 9956 9957 9958 9959 9960 9961 9962 9963 9964 9965 9966 9967 9968 9969 9970 9971 9972 9973 9974 9975 9976 9977 9978 | |