import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { DescribeDBClusterSnapshotAttributesMessage, DescribeDBClusterSnapshotAttributesResult } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; /** * @public * * The input for {@link DescribeDBClusterSnapshotAttributesCommand}. */ export interface DescribeDBClusterSnapshotAttributesCommandInput extends DescribeDBClusterSnapshotAttributesMessage { } /** * @public * * The output of {@link DescribeDBClusterSnapshotAttributesCommand}. */ export interface DescribeDBClusterSnapshotAttributesCommandOutput extends DescribeDBClusterSnapshotAttributesResult, __MetadataBearer { } declare const DescribeDBClusterSnapshotAttributesCommand_base: { new (input: DescribeDBClusterSnapshotAttributesCommandInput): import("@smithy/core/client").CommandImpl; new (input: DescribeDBClusterSnapshotAttributesCommandInput): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions; }; /** *

Returns a list of cluster snapshot attribute names and values for a manual DB * cluster snapshot.

*

When you share snapshots with other Amazon Web Services accounts, * DescribeDBClusterSnapshotAttributes returns the restore attribute and a list of IDs for the Amazon Web Services accounts that are authorized to copy or restore the manual cluster snapshot. If all is included in the list of values for the restore attribute, then the manual cluster snapshot is public and can be copied or restored by all Amazon Web Services accounts.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { DocDBClient, DescribeDBClusterSnapshotAttributesCommand } from "@aws-sdk/client-docdb"; // ES Modules import * // const { DocDBClient, DescribeDBClusterSnapshotAttributesCommand } = require("@aws-sdk/client-docdb"); // CommonJS import * // import type { DocDBClientConfig } from "@aws-sdk/client-docdb"; * const config = {}; // type is DocDBClientConfig * const client = new DocDBClient(config); * const input = { // DescribeDBClusterSnapshotAttributesMessage * DBClusterSnapshotIdentifier: "STRING_VALUE", // required * }; * const command = new DescribeDBClusterSnapshotAttributesCommand(input); * const response = await client.send(command); * // { // DescribeDBClusterSnapshotAttributesResult * // DBClusterSnapshotAttributesResult: { // DBClusterSnapshotAttributesResult * // DBClusterSnapshotIdentifier: "STRING_VALUE", * // DBClusterSnapshotAttributes: [ // DBClusterSnapshotAttributeList * // { // DBClusterSnapshotAttribute * // AttributeName: "STRING_VALUE", * // AttributeValues: [ // AttributeValueList * // "STRING_VALUE", * // ], * // }, * // ], * // }, * // }; * * ``` * * @param DescribeDBClusterSnapshotAttributesCommandInput - {@link DescribeDBClusterSnapshotAttributesCommandInput} * @returns {@link DescribeDBClusterSnapshotAttributesCommandOutput} * @see {@link DescribeDBClusterSnapshotAttributesCommandInput} for command's `input` shape. * @see {@link DescribeDBClusterSnapshotAttributesCommandOutput} for command's `response` shape. * @see {@link DocDBClientResolvedConfig | config} for DocDBClient's `config` shape. * * @throws {@link DBClusterSnapshotNotFoundFault} (client fault) *

* DBClusterSnapshotIdentifier doesn't refer to an existing cluster snapshot.

* * @throws {@link DocDBServiceException} *

Base exception class for all service exceptions from DocDB service.

* * * @public */ export declare class DescribeDBClusterSnapshotAttributesCommand extends DescribeDBClusterSnapshotAttributesCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: DescribeDBClusterSnapshotAttributesMessage; output: DescribeDBClusterSnapshotAttributesResult; }; sdk: { input: DescribeDBClusterSnapshotAttributesCommandInput; output: DescribeDBClusterSnapshotAttributesCommandOutput; }; }; }