get_telemetry_query_results
async
¶
get_telemetry_query_results(
query_id: str,
*,
config_overrides: Optional[AsyncCloudWatchOmniClientConfig] = 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.
>>> await client.get_telemetry_query_results(query_id='3b2a1c0d-7e6f-4a5b-8c9d-0e1f2a3b4c5d', max_results=100)
Source code in docs_src/capo_cloudwatchomni/_services/async_cloud_watch_omni.py
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 2591 2592 2593 2594 2595 2596 2597 2598 2599 2600 2601 2602 2603 2604 2605 2606 2607 2608 2609 2610 2611 2612 2613 2614 2615 2616 2617 2618 2619 2620 2621 2622 2623 2624 | |