DeleteRegistryCommand

Deletes a Registry.

Example Syntax

Use a bare-bones client and the command you need to make an API call.

import { SchemasClient, DeleteRegistryCommand } from "@aws-sdk/client-schemas"; // ES Modules import
// const { SchemasClient, DeleteRegistryCommand } = require("@aws-sdk/client-schemas"); // CommonJS import
const client = new SchemasClient(config);
const input = { // DeleteRegistryRequest
  RegistryName: "STRING_VALUE", // required
};
const command = new DeleteRegistryCommand(input);
const response = await client.send(command);
// {};

DeleteRegistryCommand Input

See DeleteRegistryCommandInput for more details

Parameter
Type
Description
RegistryName
Required
string | undefined

The name of the registry.

DeleteRegistryCommand Output

Parameter
Type
Description
$metadata
Required
ResponseMetadata
Metadata pertaining to this request.

Throws

Name
Fault
Details
BadRequestException
client
ForbiddenException
client
InternalServerErrorException
server
NotFoundException
client
ServiceUnavailableException
server
UnauthorizedException
client
SchemasServiceException
Base exception class for all service exceptions from Schemas service.