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
4935 4936 4937 4938 4939 4940 4941 4942 4943 4944 4945 4946 4947 4948 4949 4950 4951 4952 4953 4954 4955 4956 4957 4958 4959 4960 4961 4962 4963 4964 4965 4966 4967 4968 4969 4970 4971 4972 4973 4974 4975 4976 4977 4978 4979 4980 4981 4982 4983 4984 4985 4986 4987 4988 4989 4990 4991 4992 4993 4994 4995 4996 4997 4998 4999 5000 5001 5002 5003 5004 5005 5006 | |