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

Describes whether information, such as queries and connection attempts, is being * logged for the specified Amazon Redshift cluster.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { RedshiftClient, DescribeLoggingStatusCommand } from "@aws-sdk/client-redshift"; // ES Modules import * // const { RedshiftClient, DescribeLoggingStatusCommand } = 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 = { // DescribeLoggingStatusMessage * ClusterIdentifier: "STRING_VALUE", // required * }; * const command = new DescribeLoggingStatusCommand(input); * const response = await client.send(command); * // { // LoggingStatus * // LoggingEnabled: true || false, * // BucketName: "STRING_VALUE", * // S3KeyPrefix: "STRING_VALUE", * // LastSuccessfulDeliveryTime: new Date("TIMESTAMP"), * // LastFailureTime: new Date("TIMESTAMP"), * // LastFailureMessage: "STRING_VALUE", * // LogDestinationType: "s3" || "cloudwatch", * // LogExports: [ // LogTypeList * // "STRING_VALUE", * // ], * // }; * * ``` * * @param DescribeLoggingStatusCommandInput - {@link DescribeLoggingStatusCommandInput} * @returns {@link DescribeLoggingStatusCommandOutput} * @see {@link DescribeLoggingStatusCommandInput} for command's `input` shape. * @see {@link DescribeLoggingStatusCommandOutput} 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 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 DescribeLoggingStatusCommand extends DescribeLoggingStatusCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: DescribeLoggingStatusMessage; output: LoggingStatus; }; sdk: { input: DescribeLoggingStatusCommandInput; output: DescribeLoggingStatusCommandOutput; }; }; }