list_dataset_data_segments
¶
list_dataset_data_segments(
dataset_id: ID,
workspace_name: WorkspaceName,
*,
config_overrides: Optional[IoTSiteWiseClientConfig] = None,
dataset_version: Optional[Version] = None,
max_results: Optional[MaxResults] = None,
next_token: Optional[NextToken] = None,
) -> ListDatasetDataSegmentsResponse
Retrieves a paginated list of data segments associated with a dataset. Use the nextToken parameter to retrieve additional results.
Parameters:
-
dataset_id(ID) –The ID of the dataset.
-
workspace_name(WorkspaceName) –The name of the workspace that contains the dataset.
-
dataset_version(Optional[Version], default:None) –The version of the dataset to list data segments for.
-
max_results(Optional[MaxResults], default:None) –The maximum number of results to return for each paginated request. Default: 50.
-
next_token(Optional[NextToken], default:None) –The token to be used for the next set of paginated results.
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
8311 8312 8313 8314 8315 8316 8317 8318 8319 8320 8321 8322 8323 8324 8325 8326 8327 8328 8329 8330 8331 8332 8333 8334 8335 8336 8337 8338 8339 8340 8341 8342 8343 8344 8345 8346 8347 8348 8349 8350 8351 8352 8353 8354 8355 8356 8357 8358 8359 8360 8361 8362 8363 8364 8365 8366 8367 8368 8369 8370 8371 8372 | |