list_instrumentation_configurations
async
¶
list_instrumentation_configurations(
service: str,
environment: str,
instrumentation_type: InstrumentationType,
*,
config_overrides: Optional[AsyncApplicationSignalsClientConfig] = None,
synced_at: Optional[datetime] = None,
max_results: Optional[int] = None,
next_token: Optional[NextToken] = None,
) -> InstrumentationConfigurationsPage
Returns all active instrumentation configurations for a service and environment. SDKs use this operation to sync configurations and apply client-side filters locally.
Include the previous SyncedAt value to perform incremental syncs. When no changes are detected, the response sets Changed to false and omits configuration details.
Parameters:
-
service(str) –The name of the service to retrieve instrumentation configurations for.
-
environment(str) –The environment that the service is running in.
-
instrumentation_type(InstrumentationType) –Type of instrumentation configuration (BREAKPOINT or PROBE). Required to determine which backing store to query.
-
synced_at(Optional[datetime], default:None) –The timestamp from the last successful sync. When provided, the response returns
Changedasfalseif nothing is new since this time, or returns the latest configurations when changes exist. -
max_results(Optional[int], default:None) –The maximum number of configurations to return in one call. The default is 50 and the maximum is 100.
-
next_token(Optional[NextToken], default:None) –Use the token returned by a previous call to retrieve the next page of configurations.
Raises:
-
ResourceNotFoundException–Resource not found.
-
ThrottlingException–The request was throttled because of quota limits.
-
ValidationException–The resource is not valid.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_application_signals/_services/async_application_signals.py
1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 | |