list_registry_records
async
¶
list_registry_records(
registry_id: RegistryIdentifier,
*,
config_overrides: Optional[AsyncBedrockAgentCoreControlClientConfig] = None,
max_results: Optional[MaxResults] = None,
next_token: Optional[NextToken] = None,
name: Optional[RegistryRecordName] = None,
status: Optional[RegistryRecordStatus] = None,
descriptor_type: Optional[DescriptorType] = None,
) -> ListRegistryRecordsResponse
Lists registry records within a registry. You can optionally filter results using the name, status, and descriptorType parameters. When multiple filters are specified, they are combined using AND logic.
Parameters:
-
registry_id(RegistryIdentifier) –The identifier of the registry to list records from. You can specify either the Amazon Resource Name (ARN) or the ID of the registry.
-
max_results(Optional[MaxResults], default:None) –The maximum number of results to return in the response. If the total number of results is greater than this value, use the token returned in the response in the
nextTokenfield when making another request to return the next batch of results. -
next_token(Optional[NextToken], default:None) –If the total number of results is greater than the
maxResultsvalue provided in the request, enter the token returned in thenextTokenfield in the response in this field to return the next batch of results. -
name(Optional[RegistryRecordName], default:None) –Filter registry records by name.
-
status(Optional[RegistryRecordStatus], default:None) –Filter registry records by their current status. Possible values include
CREATING,DRAFT,APPROVED,PENDING_APPROVAL,REJECTED,DEPRECATED,UPDATING,CREATE_FAILED, andUPDATE_FAILED. -
descriptor_type(Optional[DescriptorType], default:None) –Filter registry records by their descriptor type. Possible values are
MCP,A2A,CUSTOM, andAGENT_SKILLS.
Raises:
-
AccessDeniedException–This exception is thrown when a request is denied per access permissions
-
ConflictException–This exception is thrown when there is a conflict performing an operation
-
InternalServerException–This exception is thrown if there was an unexpected error during processing of request
-
ResourceNotFoundException–This exception is thrown when a resource referenced by the operation does not exist
-
ThrottlingException–This exception is thrown when the number of requests exceeds the limit
-
ValidationException–The input fails to satisfy the constraints specified by the service.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_bedrock_agentcore_control/_services/async_bedrock_agent_core_control.py
13249 13250 13251 13252 13253 13254 13255 13256 13257 13258 13259 13260 13261 13262 13263 13264 13265 13266 13267 13268 13269 13270 13271 13272 13273 13274 13275 13276 13277 13278 13279 13280 13281 13282 13283 13284 13285 13286 13287 13288 13289 13290 13291 13292 13293 13294 13295 13296 13297 13298 13299 13300 13301 13302 13303 13304 13305 13306 13307 13308 13309 13310 13311 13312 13313 13314 13315 13316 13317 13318 13319 13320 13321 13322 13323 13324 13325 13326 13327 13328 13329 13330 13331 13332 13333 13334 13335 13336 13337 13338 | |