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
209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 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 | |