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

Stops logging information, such as queries and connection attempts, 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, DisableLoggingCommand } from "@aws-sdk/client-redshift"; // ES Modules import * // const { RedshiftClient, DisableLoggingCommand } = 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 = { // DisableLoggingMessage * ClusterIdentifier: "STRING_VALUE", // required * }; * const command = new DisableLoggingCommand(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 DisableLoggingCommandInput - {@link DisableLoggingCommandInput} * @returns {@link DisableLoggingCommandOutput} * @see {@link DisableLoggingCommandInput} for command's `input` shape. * @see {@link DisableLoggingCommandOutput} 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 InvalidClusterStateFault} (client fault) *

The specified cluster is not in the available state.

* * @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 DisableLoggingCommand extends DisableLoggingCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: DisableLoggingMessage; output: LoggingStatus; }; sdk: { input: DisableLoggingCommandInput; output: DisableLoggingCommandOutput; }; }; }