list_datasets
async
¶
list_datasets(
source_type: DatasetSourceType,
*,
config_overrides: Optional[AsyncIoTSiteWiseClientConfig] = None,
workspace_name: Optional[WorkspaceName] = None,
dataset_type: Optional[DatasetTypeEnum] = None,
next_token: Optional[NextToken] = None,
max_results: Optional[MaxResults] = None,
) -> ListDatasetsResponse
Retrieves a paginated list of datasets for a specific target resource.
Parameters:
-
source_type(DatasetSourceType) –The type of data source for the dataset.
-
workspace_name(Optional[WorkspaceName], default:None) –The name of the workspace to filter datasets by.
-
dataset_type(Optional[DatasetTypeEnum], default:None) –The type of dataset to filter by: a session dataset, a curated dataset, or a connection to an external datasource.
-
next_token(Optional[NextToken], default:None) –The token for the next set of results, or null if there are no additional results.
-
max_results(Optional[MaxResults], default:None) –The maximum number of results to return for each paginated request.
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
8633 8634 8635 8636 8637 8638 8639 8640 8641 8642 8643 8644 8645 8646 8647 8648 8649 8650 8651 8652 8653 8654 8655 8656 8657 8658 8659 8660 8661 8662 8663 8664 8665 8666 8667 8668 8669 8670 8671 8672 8673 8674 8675 8676 8677 8678 8679 8680 8681 8682 8683 8684 8685 8686 8687 8688 8689 8690 8691 8692 8693 8694 8695 8696 8697 8698 8699 8700 | |