import { Command as $Command } from "@smithy/smithy-client"; import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { DescribeEndpointAccessMessage, EndpointAccessList } from "../models/models_0"; import type { RedshiftClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RedshiftClient"; /** * @public */ export type { __MetadataBearer }; export { $Command }; /** * @public * * The input for {@link DescribeEndpointAccessCommand}. */ export interface DescribeEndpointAccessCommandInput extends DescribeEndpointAccessMessage { } /** * @public * * The output of {@link DescribeEndpointAccessCommand}. */ export interface DescribeEndpointAccessCommandOutput extends EndpointAccessList, __MetadataBearer { } declare const DescribeEndpointAccessCommand_base: { new (input: DescribeEndpointAccessCommandInput): import("@smithy/smithy-client").CommandImpl; new (...[input]: [] | [DescribeEndpointAccessCommandInput]): import("@smithy/smithy-client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; }; /** *

Describes a Redshift-managed VPC endpoint.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { RedshiftClient, DescribeEndpointAccessCommand } from "@aws-sdk/client-redshift"; // ES Modules import * // const { RedshiftClient, DescribeEndpointAccessCommand } = 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 = { // DescribeEndpointAccessMessage * ClusterIdentifier: "STRING_VALUE", * ResourceOwner: "STRING_VALUE", * EndpointName: "STRING_VALUE", * VpcId: "STRING_VALUE", * MaxRecords: Number("int"), * Marker: "STRING_VALUE", * }; * const command = new DescribeEndpointAccessCommand(input); * const response = await client.send(command); * // { // EndpointAccessList * // EndpointAccessList: [ // EndpointAccesses * // { // 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", * // }, * // ], * // }, * // }, * // ], * // Marker: "STRING_VALUE", * // }; * * ``` * * @param DescribeEndpointAccessCommandInput - {@link DescribeEndpointAccessCommandInput} * @returns {@link DescribeEndpointAccessCommandOutput} * @see {@link DescribeEndpointAccessCommandInput} for command's `input` shape. * @see {@link DescribeEndpointAccessCommandOutput} 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 InvalidClusterStateFault} (client fault) *

The specified cluster is not in the available state.

* * @throws {@link RedshiftServiceException} *

Base exception class for all service exceptions from Redshift service.

* * * @public */ export declare class DescribeEndpointAccessCommand extends DescribeEndpointAccessCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: DescribeEndpointAccessMessage; output: EndpointAccessList; }; sdk: { input: DescribeEndpointAccessCommandInput; output: DescribeEndpointAccessCommandOutput; }; }; }