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
2529 2530 2531 2532 2533 2534 2535 2536 2537 2538 2539 2540 2541 2542 2543 2544 2545 2546 2547 2548 2549 2550 2551 2552 2553 2554 2555 2556 2557 2558 2559 2560 2561 2562 2563 2564 2565 2566 2567 2568 2569 2570 2571 2572 2573 2574 2575 2576 2577 2578 2579 2580 2581 2582 2583 2584 2585 2586 2587 2588 2589 2590 | |