Skip to content

delete_registry

Operation

delete_registry

delete_registry(request: DeleteRegistryInput | DeleteRegistryInputDict | None = None, /, *, plugins: list[Plugin] | None = None, **kwargs: Unpack[DeleteRegistryInputDict]) -> 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
request DeleteRegistryInput | DeleteRegistryInputDict | None

The input as a model or dictionary. Pass this or keyword arguments, not both.

None
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
**kwargs Unpack[DeleteRegistryInputDict]

The input fields as keyword arguments.

{}

Returns:

Type Description
DeleteRegistryOutput

An instance of DeleteRegistryOutput.

delete_registry async

delete_registry(request: DeleteRegistryInput | DeleteRegistryInputDict | None = None, /, *, plugins: list[Plugin] | None = None, **kwargs: Unpack[DeleteRegistryInputDict]) -> 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
request DeleteRegistryInput | DeleteRegistryInputDict | None

The input as a model or dictionary. Pass this or keyword arguments, not both.

None
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
**kwargs Unpack[DeleteRegistryInputDict]

The input fields as keyword arguments.

{}

Returns:

Type Description
DeleteRegistryOutput

An instance of DeleteRegistryOutput.

Input

Pass the input as keyword arguments, a positional dictionary, or a positional model object. Pass plugins separately as a keyword argument.

DeleteRegistryInputDict

Bases: TypedDict

Dictionary form of DeleteRegistryInput.

Attributes

registry_id instance-attribute
registry_id: Required[str]

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

DeleteRegistryInput dataclass

Bases: _SerdeShape

Dataclass for DeleteRegistryInput structure.

Attributes

registry_id class-attribute instance-attribute
registry_id: str | 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

Bases: _SerdeShape

Dataclass for DeleteRegistryOutput structure.

Attributes

response_metadata class-attribute instance-attribute
response_metadata: ResponseMetadata = ...

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.