list_telemetry_fields
async
¶
list_telemetry_fields(
data_set_name: str,
*,
config_overrides: Optional[AsyncCloudWatchOmniClientConfig] = None,
telemetry_type: Optional[TelemetryType] = None,
start_time: Optional[datetime] = None,
end_time: Optional[datetime] = None,
next_token: Optional[str] = None,
) -> ListTelemetryFieldsResponse
Lists fields available for telemetry queries. Returns a list of fields included in the specified dataset, granular to telemetry type. Returned field names reflect the exact stored casing and are case-sensitive when referenced in query expressions; the query engine does not normalize identifier case.
Parameters:
-
data_set_name(str) –The name of the dataset to list fields for.
-
telemetry_type(Optional[TelemetryType], default:None) –The type of telemetry to filter fields by.
-
start_time(Optional[datetime], default:None) –Inclusive start of the lookback window. When omitted, the service defaults to the configured lookback before endTime.
-
end_time(Optional[datetime], default:None) –Inclusive end of the lookback window. When omitted, the service defaults to the current time.
-
next_token(Optional[str], default:None) –A token to retrieve the next page of results. Reserved for future pagination; the service does not paginate at this time and returns null.
Raises:
-
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:
List fields for a dataset The following example lists the log fields available in the specified dataset. Payloads are shown as JSON; on the wire they are CBOR-encoded.
Source code in docs_src/capo_cloudwatchomni/_services/async_cloud_watch_omni.py
3599 3600 3601 3602 3603 3604 3605 3606 3607 3608 3609 3610 3611 3612 3613 3614 3615 3616 3617 3618 3619 3620 3621 3622 3623 3624 3625 3626 3627 3628 3629 3630 3631 3632 3633 3634 3635 3636 3637 3638 3639 3640 3641 3642 3643 3644 3645 3646 3647 3648 3649 3650 3651 3652 3653 3654 3655 3656 3657 3658 3659 3660 3661 3662 3663 3664 3665 3666 3667 3668 3669 3670 | |