Skip to content

Bedrock AgentCore Control  >  Operations  >  delete_registry

delete_registry

Operation

delete_registry async

delete_registry(input: DeleteRegistryInput, plugins: list[Plugin] | None = None) -> DeleteRegistryOutput

Deletes a registry. The registry must contain zero records before it can be deleted. This operation initiates the deletion process asynchronously.

Parameters:

Name Type Description Default
input DeleteRegistryInput

An instance of DeleteRegistryInput.

required
plugins list[Plugin] | None

A list of callables that modify the configuration dynamically. Changes made by these plugins only apply for the duration of the operation execution and will not affect any other operation invocations.

None

Returns:

Type Description
DeleteRegistryOutput

An instance of DeleteRegistryOutput.

Input

DeleteRegistryInput dataclass

Dataclass for DeleteRegistryInput structure.

Attributes

registry_id class-attribute instance-attribute
registry_id: str | None = None

The identifier of the registry to delete. You can specify either the Amazon Resource Name (ARN) or the ID of the registry.

Output

DeleteRegistryOutput dataclass

Dataclass for DeleteRegistryOutput structure.

Attributes

response_metadata class-attribute instance-attribute
response_metadata: ResponseMetadata = field(default=EMPTY_RESPONSE_METADATA, repr=False, compare=False)

Metadata about the response that produced this output. Use this to recover the request identifiers a service's support team needs in order to investigate a call. Members of the metadata are individually optional.

status instance-attribute
status: str

The current status of the registry, set to DELETING when deletion is initiated. For a list of all possible registry statuses, see the RegistryStatus data type.