list_telemetry_fields
¶
list_telemetry_fields(
data_set_name: str,
*,
config_overrides: Optional[CloudWatchOmniClientConfig] = 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/cloud_watch_omni.py
4877 4878 4879 4880 4881 4882 4883 4884 4885 4886 4887 4888 4889 4890 4891 4892 4893 4894 4895 4896 4897 4898 4899 4900 4901 4902 4903 4904 4905 4906 4907 4908 4909 4910 4911 4912 4913 4914 4915 4916 4917 4918 4919 4920 4921 4922 4923 4924 4925 4926 4927 4928 4929 4930 4931 4932 4933 4934 4935 4936 4937 4938 4939 4940 4941 4942 4943 4944 4945 4946 4947 | |