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

Deletes a Redshift-managed VPC endpoint.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { RedshiftClient, DeleteEndpointAccessCommand } from "@aws-sdk/client-redshift"; // ES Modules import * // const { RedshiftClient, DeleteEndpointAccessCommand } = 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 = { // DeleteEndpointAccessMessage * EndpointName: "STRING_VALUE", // required * }; * const command = new DeleteEndpointAccessCommand(input); * const response = await client.send(command); * // { // EndpointAccess * // ClusterIdentifier: "STRING_VALUE", * // ResourceOwner: "STRING_VALUE", * // SubnetGroupName: "STRING_VALUE", * // EndpointStatus: "STRING_VALUE", * // EndpointName: "STRING_VALUE", * // EndpointCreateTime: new Date("TIMESTAMP"), * // Port: Number("int"), * // Address: "STRING_VALUE", * // VpcSecurityGroups: [ // VpcSecurityGroupMembershipList * // { // VpcSecurityGroupMembership * // VpcSecurityGroupId: "STRING_VALUE", * // Status: "STRING_VALUE", * // }, * // ], * // VpcEndpoint: { // VpcEndpoint * // VpcEndpointId: "STRING_VALUE", * // VpcId: "STRING_VALUE", * // NetworkInterfaces: [ // NetworkInterfaceList * // { // NetworkInterface * // NetworkInterfaceId: "STRING_VALUE", * // SubnetId: "STRING_VALUE", * // PrivateIpAddress: "STRING_VALUE", * // AvailabilityZone: "STRING_VALUE", * // Ipv6Address: "STRING_VALUE", * // }, * // ], * // }, * // }; * * ``` * * @param DeleteEndpointAccessCommandInput - {@link DeleteEndpointAccessCommandInput} * @returns {@link DeleteEndpointAccessCommandOutput} * @see {@link DeleteEndpointAccessCommandInput} for command's `input` shape. * @see {@link DeleteEndpointAccessCommandOutput} 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 EndpointNotFoundFault} (client fault) *

The endpoint name doesn't refer to an existing endpoint.

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

The state of the cluster security group is not available.

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

The specified cluster is not in the available state.

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

The status of the endpoint is not valid.

* * @throws {@link RedshiftServiceException} *

Base exception class for all service exceptions from Redshift service.

* * * @public */ export declare class DeleteEndpointAccessCommand extends DeleteEndpointAccessCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: DeleteEndpointAccessMessage; output: EndpointAccess; }; sdk: { input: DeleteEndpointAccessCommandInput; output: DeleteEndpointAccessCommandOutput; }; }; }