list_datasets
¶
list_datasets(
source_type: DatasetSourceType,
*,
config_overrides: Optional[IoTSiteWiseClientConfig] = 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/io_t_site_wise.py
8499 8500 8501 8502 8503 8504 8505 8506 8507 8508 8509 8510 8511 8512 8513 8514 8515 8516 8517 8518 8519 8520 8521 8522 8523 8524 8525 8526 8527 8528 8529 8530 8531 8532 8533 8534 8535 8536 8537 8538 8539 8540 8541 8542 8543 8544 8545 8546 8547 8548 8549 8550 8551 8552 8553 8554 8555 8556 8557 8558 8559 8560 8561 8562 8563 8564 8565 | |