import { Command as $Command } from "@smithy/smithy-client"; import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { DeregisterNamespaceInputMessage, DeregisterNamespaceOutputMessage } from "../models/models_0"; import type { RedshiftClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RedshiftClient"; /** * @public */ export type { __MetadataBearer }; export { $Command }; /** * @public * * The input for {@link DeregisterNamespaceCommand}. */ export interface DeregisterNamespaceCommandInput extends DeregisterNamespaceInputMessage { } /** * @public * * The output of {@link DeregisterNamespaceCommand}. */ export interface DeregisterNamespaceCommandOutput extends DeregisterNamespaceOutputMessage, __MetadataBearer { } declare const DeregisterNamespaceCommand_base: { new (input: DeregisterNamespaceCommandInput): import("@smithy/smithy-client").CommandImpl; new (input: DeregisterNamespaceCommandInput): import("@smithy/smithy-client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; }; /** *

Deregisters a cluster or serverless namespace from the Amazon Web Services Glue Data Catalog.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { RedshiftClient, DeregisterNamespaceCommand } from "@aws-sdk/client-redshift"; // ES Modules import * // const { RedshiftClient, DeregisterNamespaceCommand } = require("@aws-sdk/client-redshift"); // CommonJS import * // import type { RedshiftClientConfig } from "@aws-sdk/client-redshift"; * const config = {}; // type is RedshiftClientConfig * const client = new RedshiftClient(config); * const input = { // DeregisterNamespaceInputMessage * NamespaceIdentifier: { // NamespaceIdentifierUnion Union: only one key present * ServerlessIdentifier: { // ServerlessIdentifier * NamespaceIdentifier: "STRING_VALUE", // required * WorkgroupIdentifier: "STRING_VALUE", // required * }, * ProvisionedIdentifier: { // ProvisionedIdentifier * ClusterIdentifier: "STRING_VALUE", // required * }, * }, * ConsumerIdentifiers: [ // ConsumerIdentifierList // required * "STRING_VALUE", * ], * }; * const command = new DeregisterNamespaceCommand(input); * const response = await client.send(command); * // { // DeregisterNamespaceOutputMessage * // Status: "Registering" || "Deregistering", * // }; * * ``` * * @param DeregisterNamespaceCommandInput - {@link DeregisterNamespaceCommandInput} * @returns {@link DeregisterNamespaceCommandOutput} * @see {@link DeregisterNamespaceCommandInput} for command's `input` shape. * @see {@link DeregisterNamespaceCommandOutput} for command's `response` shape. * @see {@link RedshiftClientResolvedConfig | config} for RedshiftClient's `config` shape. * * @throws {@link ClusterNotFoundFault} (client fault) *

The ClusterIdentifier parameter does not refer to an existing cluster. *

* * @throws {@link InvalidClusterStateFault} (client fault) *

The specified cluster is not in the available state.

* * @throws {@link InvalidNamespaceFault} (client fault) *

The namespace isn't valid because the namespace doesn't exist. Provide a valid namespace.

* * @throws {@link RedshiftServiceException} *

Base exception class for all service exceptions from Redshift service.

* * * @public */ export declare class DeregisterNamespaceCommand extends DeregisterNamespaceCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: DeregisterNamespaceInputMessage; output: DeregisterNamespaceOutputMessage; }; sdk: { input: DeregisterNamespaceCommandInput; output: DeregisterNamespaceCommandOutput; }; }; }