create_registry
¶
create_registry(
name: RegistryName,
*,
config_overrides: Optional[BedrockAgentCoreControlClientConfig] = None,
description: Optional[Description] = None,
authorizer_type: Optional[RegistryAuthorizerType] = None,
authorizer_configuration: Optional[AuthorizerConfiguration] = None,
client_token: Optional[ClientToken] = None,
approval_configuration: Optional[ApprovalConfiguration] = None,
) -> CreateRegistryResponse
Creates a new registry in your Amazon Web Services account. A registry serves as a centralized catalog for organizing and managing registry records, including MCP servers, A2A agents, agent skills, and custom resource types.
If you specify CUSTOM_JWT as the authorizerType, you must provide an authorizerConfiguration.
Parameters:
-
name(RegistryName) –The name of the registry. The name must be unique within your account and can contain alphanumeric characters and underscores.
-
description(Optional[Description], default:None) –A description of the registry.
-
authorizer_type(Optional[RegistryAuthorizerType], default:None) –The type of authorizer to use for the registry. This controls the authorization method for the Search and Invoke APIs used by consumers, and does not affect the standard CRUDL APIs for registry and registry record management used by administrators.
-
CUSTOM_JWT- Authorize with a bearer token. -
AWS_IAM- Authorize with your Amazon Web Services IAM credentials.
-
-
authorizer_configuration(Optional[AuthorizerConfiguration], default:None) –The authorizer configuration for the registry. Required if
authorizerTypeisCUSTOM_JWT. For details, see theAuthorizerConfigurationdata type. -
client_token(Optional[ClientToken], default:None) –A unique, case-sensitive identifier to ensure that the API request completes no more than one time. If you don't specify this field, a value is randomly generated for you. If this token matches a previous request, the service ignores the request, but doesn't return an error. For more information, see Ensuring idempotency.
-
approval_configuration(Optional[ApprovalConfiguration], default:None) –The approval configuration for registry records. Controls whether records require explicit approval before becoming active. See the
ApprovalConfigurationdata type for supported configuration options.
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
-
ServiceQuotaExceededException–This exception is thrown when a request is made beyond the service quota
-
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/bedrock_agent_core_control.py
13334 13335 13336 13337 13338 13339 13340 13341 13342 13343 13344 13345 13346 13347 13348 13349 13350 13351 13352 13353 13354 13355 13356 13357 13358 13359 13360 13361 13362 13363 13364 13365 13366 13367 13368 13369 13370 13371 13372 13373 13374 13375 13376 13377 13378 13379 13380 13381 13382 13383 13384 13385 13386 13387 13388 13389 13390 13391 13392 13393 13394 13395 13396 13397 13398 13399 13400 13401 13402 13403 13404 13405 13406 13407 13408 13409 13410 13411 13412 13413 13414 13415 13416 13417 13418 13419 13420 13421 13422 13423 | |