import { Command as $Command } from "@smithy/core/client"; import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { DisableHttpEndpointRequest, DisableHttpEndpointResponse } from "../models/models_1"; import type { RDSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RDSClient"; /** * @public */ export type { __MetadataBearer }; export { $Command }; /** * @public * * The input for {@link DisableHttpEndpointCommand}. */ export interface DisableHttpEndpointCommandInput extends DisableHttpEndpointRequest { } /** * @public * * The output of {@link DisableHttpEndpointCommand}. */ export interface DisableHttpEndpointCommandOutput extends DisableHttpEndpointResponse, __MetadataBearer { } declare const DisableHttpEndpointCommand_base: { new (input: DisableHttpEndpointCommandInput): import("@smithy/core/client").CommandImpl; new (input: DisableHttpEndpointCommandInput): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): { [x: string]: unknown; }; }; /** *

Disables the HTTP endpoint for the specified DB cluster. Disabling this endpoint disables RDS Data API.

For more information, see Using RDS Data API in the Amazon Aurora User Guide.

This operation applies only to Aurora Serverless v2 and provisioned DB clusters. To disable the HTTP endpoint for Aurora Serverless v1 DB clusters, use the EnableHttpEndpoint parameter of the ModifyDBCluster operation.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { RDSClient, DisableHttpEndpointCommand } from "@aws-sdk/client-rds"; // ES Modules import * // const { RDSClient, DisableHttpEndpointCommand } = 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 = { // DisableHttpEndpointRequest * ResourceArn: "STRING_VALUE", // required * }; * const command = new DisableHttpEndpointCommand(input); * const response = await client.send(command); * // { // DisableHttpEndpointResponse * // ResourceArn: "STRING_VALUE", * // HttpEndpointEnabled: true || false, * // }; * * ``` * * @param DisableHttpEndpointCommandInput - {@link DisableHttpEndpointCommandInput} * @returns {@link DisableHttpEndpointCommandOutput} * @see {@link DisableHttpEndpointCommandInput} for command's `input` shape. * @see {@link DisableHttpEndpointCommandOutput} for command's `response` shape. * @see {@link RDSClientResolvedConfig | config} for RDSClient's `config` shape. * * @throws {@link InvalidResourceStateFault} (client fault) *

The operation can't be performed because another operation is in progress.

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

The specified resource ID was not found.

* * @throws {@link RDSServiceException} *

Base exception class for all service exceptions from RDS service.

* * * @public */ export declare class DisableHttpEndpointCommand extends DisableHttpEndpointCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: DisableHttpEndpointRequest; output: DisableHttpEndpointResponse; }; sdk: { input: DisableHttpEndpointCommandInput; output: DisableHttpEndpointCommandOutput; }; }; }