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
3555 3556 3557 3558 3559 3560 3561 3562 3563 3564 3565 3566 3567 3568 3569 3570 3571 3572 3573 3574 3575 3576 3577 3578 3579 3580 3581 3582 3583 3584 3585 3586 3587 3588 3589 3590 3591 3592 3593 3594 3595 3596 3597 3598 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 | |