import { Command as $Command } from "@smithy/core/client"; import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { DBClusterEndpoint, DeleteDBClusterEndpointMessage } from "../models/models_0"; import type { RDSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RDSClient"; /** * @public */ export type { __MetadataBearer }; export { $Command }; /** * @public * * The input for {@link DeleteDBClusterEndpointCommand}. */ export interface DeleteDBClusterEndpointCommandInput extends DeleteDBClusterEndpointMessage { } /** * @public * * The output of {@link DeleteDBClusterEndpointCommand}. */ export interface DeleteDBClusterEndpointCommandOutput extends DBClusterEndpoint, __MetadataBearer { } declare const DeleteDBClusterEndpointCommand_base: { new (input: DeleteDBClusterEndpointCommandInput): import("@smithy/core/client").CommandImpl; new (input: DeleteDBClusterEndpointCommandInput): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): { [x: string]: unknown; }; }; /** *

Deletes a custom endpoint and removes it from an Amazon Aurora DB cluster.

This action only applies to Aurora DB clusters.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { RDSClient, DeleteDBClusterEndpointCommand } from "@aws-sdk/client-rds"; // ES Modules import * // const { RDSClient, DeleteDBClusterEndpointCommand } = require("@aws-sdk/client-rds"); // CommonJS import * // import type { RDSClientConfig } from "@aws-sdk/client-rds"; * const config = {}; // type is RDSClientConfig * const client = new RDSClient(config); * const input = { // DeleteDBClusterEndpointMessage * DBClusterEndpointIdentifier: "STRING_VALUE", // required * }; * const command = new DeleteDBClusterEndpointCommand(input); * const response = await client.send(command); * // { // DBClusterEndpoint * // DBClusterEndpointIdentifier: "STRING_VALUE", * // DBClusterIdentifier: "STRING_VALUE", * // DBClusterEndpointResourceIdentifier: "STRING_VALUE", * // Endpoint: "STRING_VALUE", * // Status: "STRING_VALUE", * // EndpointType: "STRING_VALUE", * // CustomEndpointType: "STRING_VALUE", * // StaticMembers: [ // StringList * // "STRING_VALUE", * // ], * // ExcludedMembers: [ * // "STRING_VALUE", * // ], * // DBClusterEndpointArn: "STRING_VALUE", * // }; * * ``` * * @param DeleteDBClusterEndpointCommandInput - {@link DeleteDBClusterEndpointCommandInput} * @returns {@link DeleteDBClusterEndpointCommandOutput} * @see {@link DeleteDBClusterEndpointCommandInput} for command's `input` shape. * @see {@link DeleteDBClusterEndpointCommandOutput} for command's `response` shape. * @see {@link RDSClientResolvedConfig | config} for RDSClient's `config` shape. * * @throws {@link DBClusterEndpointNotFoundFault} (client fault) *

The specified custom endpoint doesn't exist.

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

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

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

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

* * @throws {@link RDSServiceException} *

Base exception class for all service exceptions from RDS service.

* * * @example To delete a custom DB cluster endpoint * ```javascript * // The following example deletes the specified custom DB cluster endpoint. * const input = { * DBClusterEndpointIdentifier: "mycustomendpoint" * }; * const command = new DeleteDBClusterEndpointCommand(input); * const response = await client.send(command); * /* response is * { * CustomEndpointType: "READER", * DBClusterEndpointArn: "arn:aws:rds:us-east-1:123456789012:cluster-endpoint:mycustomendpoint", * DBClusterEndpointIdentifier: "mycustomendpoint", * DBClusterEndpointResourceIdentifier: "cluster-endpoint-ANPAJ4AE5446DAEXAMPLE", * DBClusterIdentifier: "mydbcluster", * Endpoint: "mycustomendpoint.cluster-custom-cnpexample.us-east-1.rds.amazonaws.com", * EndpointType: "CUSTOM", * ExcludedMembers: [], * StaticMembers: [ * "dbinstance1", * "dbinstance2", * "dbinstance3" * ], * Status: "deleting" * } * *\/ * ``` * * @public */ export declare class DeleteDBClusterEndpointCommand extends DeleteDBClusterEndpointCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: DeleteDBClusterEndpointMessage; output: DBClusterEndpoint; }; sdk: { input: DeleteDBClusterEndpointCommandInput; output: DeleteDBClusterEndpointCommandOutput; }; }; }