BedrockAgentCoreControlClient.create_registry
rboto-bedrock-agentcore-control==0.4.0 · Service index · Types
Model summary (excerpt): 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 .
Install and imports
from rboto import BedrockAgentCoreControlClient
from rboto_bedrock_agentcore_control.types import (
ApprovalConfiguration,
AuthorizerConfiguration,
CreateRegistryOutput,
RegistryAuthorizerType,
)
Signature
async def create_registry(
*,
name: str,
description: str | None = None,
authorizer_type: RegistryAuthorizerType | None = None,
authorizer_configuration: AuthorizerConfiguration | None = None,
client_token: str | None = None,
approval_configuration: ApprovalConfiguration | None = None,
) -> CreateRegistryOutput: ...
Arguments without defaults are required. None omits an optional request argument. Static types do not validate resource existence, permissions, lengths, ranges, or conditional service requirements.
Arguments
| Argument | Required | Model notes (excerpt) |
|---|---|---|
name |
Yes | The name of the registry. The name must be unique within your account and can contain alphanumeric characters and underscores. |
description |
No | A description of the registry. |
authorizer_type |
No | 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 |
No | The authorizer configuration for the registry. Required if authorizerType is CUSTOM_JWT . For details, see the AuthorizerConfiguration data type. |
client_token |
No | 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 |
No | The approval configuration for registry records. Controls whether records require explicit approval before becoming active. See the ApprovalConfiguration data type for supported configuration options. |
Output
CreateRegistryOutput.
Read-only native attributes, accessed as response.field. Collection getters materialize Python values; to_dict() recursively materializes a mapping. Streams are consumed once.
| Field | Type | Presence | References |
|---|---|---|---|
registry_arn |
str |
Always present | — |
| None means a value can be absent. Output mappings include every declared key; optional input keys may be omitted. Unknown output enum/union variants are not automatically valid inputs.
Related types
ApprovalConfiguration, AuthorizerConfiguration, CreateRegistryOutput, RegistryAuthorizerType
Follow these links for nested inputs and outputs; recursive types link back to the same type page.
Pagination and streaming
No generated paginator for this operation.
No output stream.
Errors
Import from rboto_bedrock_agentcore_control.exceptions:
AccessDeniedError, ConflictError, InternalServerError, ServiceQuotaExceededError, ThrottlingError, ValidationError.
Other service failures use the service base error; credential, transport and timeout failures use shared errors.