get_capture_data
¶
get_capture_data(
workspace_name: WorkspaceName,
start_time: TimeInNanos,
end_time: TimeInNanos,
*,
config_overrides: Optional[IoTSiteWiseClientConfig] = 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/io_t_site_wise.py
6310 6311 6312 6313 6314 6315 6316 6317 6318 6319 6320 6321 6322 6323 6324 6325 6326 6327 6328 6329 6330 6331 6332 6333 6334 6335 6336 6337 6338 6339 6340 6341 6342 6343 6344 6345 6346 6347 6348 6349 6350 6351 6352 6353 6354 6355 6356 6357 6358 6359 6360 6361 6362 6363 6364 6365 6366 6367 6368 6369 6370 6371 6372 6373 6374 6375 6376 6377 6378 6379 6380 6381 6382 6383 6384 6385 6386 6387 | |