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

Modifies the properties of an endpoint in an Amazon Aurora DB cluster.

This operation 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, ModifyDBClusterEndpointCommand } from "@aws-sdk/client-rds"; // ES Modules import * // const { RDSClient, ModifyDBClusterEndpointCommand } = 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 = { // ModifyDBClusterEndpointMessage * DBClusterEndpointIdentifier: "STRING_VALUE", // required * EndpointType: "STRING_VALUE", * StaticMembers: [ // StringList * "STRING_VALUE", * ], * ExcludedMembers: [ * "STRING_VALUE", * ], * }; * const command = new ModifyDBClusterEndpointCommand(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 ModifyDBClusterEndpointCommandInput - {@link ModifyDBClusterEndpointCommandInput} * @returns {@link ModifyDBClusterEndpointCommandOutput} * @see {@link ModifyDBClusterEndpointCommandInput} for command's `input` shape. * @see {@link ModifyDBClusterEndpointCommandOutput} 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 DBInstanceNotFoundFault} (client fault) *

DBInstanceIdentifier doesn't refer to an existing DB instance.

* * @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 InvalidDBInstanceStateFault} (client fault) *

The DB instance isn't in a valid state.

* * @throws {@link RDSServiceException} *

Base exception class for all service exceptions from RDS service.

* * * @example To modify a custom DB cluster endpoint * ```javascript * // The following example modifies the specified custom DB cluster endpoint. * const input = { * DBClusterEndpointIdentifier: "mycustomendpoint", * StaticMembers: [ * "dbinstance1", * "dbinstance2", * "dbinstance3" * ] * }; * const command = new ModifyDBClusterEndpointCommand(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: "modifying" * } * *\/ * ``` * * @public */ export declare class ModifyDBClusterEndpointCommand extends ModifyDBClusterEndpointCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: ModifyDBClusterEndpointMessage; output: DBClusterEndpoint; }; sdk: { input: ModifyDBClusterEndpointCommandInput; output: ModifyDBClusterEndpointCommandOutput; }; }; }