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

Returns information about the partner integrations defined for a cluster.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { RedshiftClient, DescribePartnersCommand } from "@aws-sdk/client-redshift"; // ES Modules import * // const { RedshiftClient, DescribePartnersCommand } = 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 = { // DescribePartnersInputMessage * AccountId: "STRING_VALUE", // required * ClusterIdentifier: "STRING_VALUE", // required * DatabaseName: "STRING_VALUE", * PartnerName: "STRING_VALUE", * }; * const command = new DescribePartnersCommand(input); * const response = await client.send(command); * // { // DescribePartnersOutputMessage * // PartnerIntegrationInfoList: [ // PartnerIntegrationInfoList * // { // PartnerIntegrationInfo * // DatabaseName: "STRING_VALUE", * // PartnerName: "STRING_VALUE", * // Status: "Active" || "Inactive" || "RuntimeFailure" || "ConnectionFailure", * // StatusMessage: "STRING_VALUE", * // CreatedAt: new Date("TIMESTAMP"), * // UpdatedAt: new Date("TIMESTAMP"), * // }, * // ], * // }; * * ``` * * @param DescribePartnersCommandInput - {@link DescribePartnersCommandInput} * @returns {@link DescribePartnersCommandOutput} * @see {@link DescribePartnersCommandInput} for command's `input` shape. * @see {@link DescribePartnersCommandOutput} 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 UnauthorizedPartnerIntegrationFault} (client fault) *

The partner integration is not authorized.

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

The requested operation isn't supported.

* * @throws {@link RedshiftServiceException} *

Base exception class for all service exceptions from Redshift service.

* * * @public */ export declare class DescribePartnersCommand extends DescribePartnersCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: DescribePartnersInputMessage; output: DescribePartnersOutputMessage; }; sdk: { input: DescribePartnersCommandInput; output: DescribePartnersCommandOutput; }; }; }