get_telemetry_query_results
¶
get_telemetry_query_results(
query_id: str,
*,
config_overrides: Optional[CloudWatchOmniClientConfig] = None,
next_token: Optional[str] = None,
max_results: Optional[int] = None,
) -> GetTelemetryQueryResultsResponse
Returns the results for the specified query.
Parameters:
-
query_id(str) –The unique ID of the query.
-
next_token(Optional[str], default:None) –A token to retrieve the next page of results.
-
max_results(Optional[int], default:None) –The maximum number of result rows to return per page.
Raises:
-
AccessDeniedException–The caller is not authorized to perform this action.
-
InternalServerException–An unexpected error occurred while processing the request.
-
ResourceNotFoundException–The specified resource does not exist.
-
ThrottlingException–The request was throttled due to exceeding the allowed request rate.
-
ValidationException–A parameter is specified incorrectly.
-
UnknownServiceError–The service returned an error code this client does not model.
Examples:
Get telemetry query results The following example retrieves a page of results for a completed query, along with execution statistics. Payloads are shown as JSON; on the wire they are CBOR-encoded.
>>> client.get_telemetry_query_results(query_id='3b2a1c0d-7e6f-4a5b-8c9d-0e1f2a3b4c5d', max_results=100)
Source code in docs_src/capo_cloudwatchomni/_services/cloud_watch_omni.py
3383 3384 3385 3386 3387 3388 3389 3390 3391 3392 3393 3394 3395 3396 3397 3398 3399 3400 3401 3402 3403 3404 3405 3406 3407 3408 3409 3410 3411 3412 3413 3414 3415 3416 3417 3418 3419 3420 3421 3422 3423 3424 3425 3426 3427 3428 3429 3430 3431 3432 3433 3434 3435 3436 3437 3438 3439 3440 3441 3442 3443 3444 | |