get_capture_data
async
¶
get_capture_data(
workspace_name: WorkspaceName,
start_time: TimeInNanos,
end_time: TimeInNanos,
*,
config_overrides: Optional[AsyncIoTSiteWiseClientConfig] = None,
time_series_id: Optional[TimeSeriesId] = None,
property_alias: Optional[AssetPropertyAlias] = None,
format_settings: Optional[FormatSettings] = None,
next_token: Optional[GetCaptureDataNextToken] = None,
) -> GetCaptureDataResponse
Retrieves video data for a specific time range.
Parameters:
-
workspace_name(WorkspaceName) –The name of the workspace that contains the capture source.
-
start_time(TimeInNanos) –The start time for the video data range.
-
end_time(TimeInNanos) –The end time for the video data range. Must be greater than startTime.
-
time_series_id(Optional[TimeSeriesId], default:None) –The time series ID that identifies the capture source. Mutually exclusive with propertyAlias.
-
property_alias(Optional[AssetPropertyAlias], default:None) –The property alias that identifies the capture source. Mutually exclusive with timeSeriesId.
-
format_settings(Optional[FormatSettings], default:None) –The optional format settings for the output.
-
next_token(Optional[GetCaptureDataNextToken], default:None) –The token from a previous response used to continue retrieving data.
Raises:
-
AccessDeniedException–Access is denied.
-
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
6398 6399 6400 6401 6402 6403 6404 6405 6406 6407 6408 6409 6410 6411 6412 6413 6414 6415 6416 6417 6418 6419 6420 6421 6422 6423 6424 6425 6426 6427 6428 6429 6430 6431 6432 6433 6434 6435 6436 6437 6438 6439 6440 6441 6442 6443 6444 6445 6446 6447 6448 6449 6450 6451 6452 6453 6454 6455 6456 6457 6458 6459 6460 6461 6462 6463 6464 6465 6466 6467 6468 6469 6470 6471 6472 6473 6474 6475 6476 | |