list_discoverable_registry_records
async
¶
list_discoverable_registry_records(
registry_id: RegistryIdentifier,
*,
config_overrides: Optional[AsyncAgentRegistryClientConfig] = None,
max_results: Optional[int] = None,
next_token: Optional[str] = None,
filters: Optional[RegistryRecordFilterList] = None,
) -> ListDiscoverableRegistryRecordsResponse
Lists the discoverable registry records in a registry. You can optionally filter and paginate the results.
Parameters:
-
registry_id(RegistryIdentifier) –The identifier of the registry whose discoverable records are listed. You can provide either the full Amazon Resource Name (ARN) or the registry ID.
-
max_results(Optional[int], default:None) –The maximum number of records to return in a single page. Valid values are 1 through 100.
-
next_token(Optional[str], default:None) –The pagination token returned by a previous request. Use this value to retrieve the next page of results.
-
filters(Optional[RegistryRecordFilterList], default:None) –The filters to apply to the discoverable registry record list.
Raises:
-
AccessDeniedException–The caller is not authorized to perform the requested action.
-
InternalServerException–The request failed due to an unexpected internal error; the caller may retry.
-
ResourceNotFoundException–The requested resource was not found.
-
ThrottlingException–The request was denied due to request throttling; the caller may retry after a delay.
-
UnauthorizedException–The request could not be authenticated.
-
ValidationException–The request failed validation of one or more input fields.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_agent_registry/_services/async_agent_registry.py
244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 | |