deleteRegistry method
Deletes a registry. Deletion is asynchronous: the registry transitions to the DELETING status and is removed along with its registry records.
May throw AccessDeniedException.
May throw ConflictException.
May throw InternalServerException.
May throw ResourceNotFoundException.
May throw ThrottlingException.
May throw ValidationException.
Parameter registryId :
The identifier of the registry to delete (ARN or ID)
Implementation
Future<DeleteRegistryResponse> deleteRegistry({
required String registryId,
}) async {
final response = await _protocol.send(
payload: null,
method: 'DELETE',
requestUri: '/registries/${Uri.encodeComponent(registryId)}',
exceptionFnMap: _exceptionFns,
);
return DeleteRegistryResponse.fromJson(response);
}