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

Returns a list of datashares when the account identifier being called is a producer account identifier.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { RedshiftClient, DescribeDataSharesForProducerCommand } from "@aws-sdk/client-redshift"; // ES Modules import * // const { RedshiftClient, DescribeDataSharesForProducerCommand } = 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 = { // DescribeDataSharesForProducerMessage * ProducerArn: "STRING_VALUE", * Status: "ACTIVE" || "AUTHORIZED" || "PENDING_AUTHORIZATION" || "DEAUTHORIZED" || "REJECTED", * MaxRecords: Number("int"), * Marker: "STRING_VALUE", * }; * const command = new DescribeDataSharesForProducerCommand(input); * const response = await client.send(command); * // { // DescribeDataSharesForProducerResult * // DataShares: [ // DataShareList * // { // DataShare * // DataShareArn: "STRING_VALUE", * // ProducerArn: "STRING_VALUE", * // AllowPubliclyAccessibleConsumers: true || false, * // DataShareAssociations: [ // DataShareAssociationList * // { // DataShareAssociation * // ConsumerIdentifier: "STRING_VALUE", * // Status: "ACTIVE" || "PENDING_AUTHORIZATION" || "AUTHORIZED" || "DEAUTHORIZED" || "REJECTED" || "AVAILABLE", * // ConsumerRegion: "STRING_VALUE", * // CreatedDate: new Date("TIMESTAMP"), * // StatusChangeDate: new Date("TIMESTAMP"), * // ProducerAllowedWrites: true || false, * // ConsumerAcceptedWrites: true || false, * // }, * // ], * // ManagedBy: "STRING_VALUE", * // DataShareType: "INTERNAL", * // }, * // ], * // Marker: "STRING_VALUE", * // }; * * ``` * * @param DescribeDataSharesForProducerCommandInput - {@link DescribeDataSharesForProducerCommandInput} * @returns {@link DescribeDataSharesForProducerCommandOutput} * @see {@link DescribeDataSharesForProducerCommandInput} for command's `input` shape. * @see {@link DescribeDataSharesForProducerCommandOutput} for command's `response` shape. * @see {@link RedshiftClientResolvedConfig | config} for RedshiftClient's `config` shape. * * @throws {@link InvalidNamespaceFault} (client fault) *

The namespace isn't valid because the namespace doesn't exist. Provide a valid namespace.

* * @throws {@link RedshiftServiceException} *

Base exception class for all service exceptions from Redshift service.

* * * @public */ export declare class DescribeDataSharesForProducerCommand extends DescribeDataSharesForProducerCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: DescribeDataSharesForProducerMessage; output: DescribeDataSharesForProducerResult; }; sdk: { input: DescribeDataSharesForProducerCommandInput; output: DescribeDataSharesForProducerCommandOutput; }; }; }