import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { DeleteGlobalClusterMessage, DeleteGlobalClusterResult } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; /** * @public * * The input for {@link DeleteGlobalClusterCommand}. */ export interface DeleteGlobalClusterCommandInput extends DeleteGlobalClusterMessage { } /** * @public * * The output of {@link DeleteGlobalClusterCommand}. */ export interface DeleteGlobalClusterCommandOutput extends DeleteGlobalClusterResult, __MetadataBearer { } declare const DeleteGlobalClusterCommand_base: { new (input: DeleteGlobalClusterCommandInput): import("@smithy/core/client").CommandImpl; new (input: DeleteGlobalClusterCommandInput): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions; }; /** *

Deletes a global cluster. The primary and secondary clusters must already be detached or deleted before attempting to delete a global cluster.

* *

This action only applies to Amazon DocumentDB clusters.

*
* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { DocDBClient, DeleteGlobalClusterCommand } from "@aws-sdk/client-docdb"; // ES Modules import * // const { DocDBClient, DeleteGlobalClusterCommand } = require("@aws-sdk/client-docdb"); // CommonJS import * // import type { DocDBClientConfig } from "@aws-sdk/client-docdb"; * const config = {}; // type is DocDBClientConfig * const client = new DocDBClient(config); * const input = { // DeleteGlobalClusterMessage * GlobalClusterIdentifier: "STRING_VALUE", // required * }; * const command = new DeleteGlobalClusterCommand(input); * const response = await client.send(command); * // { // DeleteGlobalClusterResult * // GlobalCluster: { // GlobalCluster * // GlobalClusterIdentifier: "STRING_VALUE", * // GlobalClusterResourceId: "STRING_VALUE", * // GlobalClusterArn: "STRING_VALUE", * // Status: "STRING_VALUE", * // Engine: "STRING_VALUE", * // EngineVersion: "STRING_VALUE", * // DatabaseName: "STRING_VALUE", * // StorageEncrypted: true || false, * // DeletionProtection: true || false, * // GlobalClusterMembers: [ // GlobalClusterMemberList * // { // GlobalClusterMember * // DBClusterArn: "STRING_VALUE", * // Readers: [ // ReadersArnList * // "STRING_VALUE", * // ], * // IsWriter: true || false, * // SynchronizationStatus: "connected" || "pending-resync", * // }, * // ], * // FailoverState: { // FailoverState * // Status: "pending" || "failing-over" || "cancelling", * // FromDbClusterArn: "STRING_VALUE", * // ToDbClusterArn: "STRING_VALUE", * // IsDataLossAllowed: true || false, * // }, * // TagList: [ // TagList * // { // Tag * // Key: "STRING_VALUE", * // Value: "STRING_VALUE", * // }, * // ], * // }, * // }; * * ``` * * @param DeleteGlobalClusterCommandInput - {@link DeleteGlobalClusterCommandInput} * @returns {@link DeleteGlobalClusterCommandOutput} * @see {@link DeleteGlobalClusterCommandInput} for command's `input` shape. * @see {@link DeleteGlobalClusterCommandOutput} for command's `response` shape. * @see {@link DocDBClientResolvedConfig | config} for DocDBClient's `config` shape. * * @throws {@link GlobalClusterNotFoundFault} (client fault) *

The GlobalClusterIdentifier doesn't refer to an existing global cluster.

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

The requested operation can't be performed while the cluster is in this state.

* * @throws {@link DocDBServiceException} *

Base exception class for all service exceptions from DocDB service.

* * * @public */ export declare class DeleteGlobalClusterCommand extends DeleteGlobalClusterCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: DeleteGlobalClusterMessage; output: DeleteGlobalClusterResult; }; sdk: { input: DeleteGlobalClusterCommandInput; output: DeleteGlobalClusterCommandOutput; }; }; }