import { Command as $Command } from "@smithy/smithy-client"; import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { UsageLimit } from "../models/models_0"; import type { ModifyUsageLimitMessage } from "../models/models_1"; import type { RedshiftClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RedshiftClient"; /** * @public */ export type { __MetadataBearer }; export { $Command }; /** * @public * * The input for {@link ModifyUsageLimitCommand}. */ export interface ModifyUsageLimitCommandInput extends ModifyUsageLimitMessage { } /** * @public * * The output of {@link ModifyUsageLimitCommand}. */ export interface ModifyUsageLimitCommandOutput extends UsageLimit, __MetadataBearer { } declare const ModifyUsageLimitCommand_base: { new (input: ModifyUsageLimitCommandInput): import("@smithy/smithy-client").CommandImpl; new (input: ModifyUsageLimitCommandInput): import("@smithy/smithy-client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; }; /** *

Modifies a usage limit in a cluster. * You can't modify the feature type or period of a usage limit.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { RedshiftClient, ModifyUsageLimitCommand } from "@aws-sdk/client-redshift"; // ES Modules import * // const { RedshiftClient, ModifyUsageLimitCommand } = 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 = { // ModifyUsageLimitMessage * UsageLimitId: "STRING_VALUE", // required * Amount: Number("long"), * BreachAction: "log" || "emit-metric" || "disable", * }; * const command = new ModifyUsageLimitCommand(input); * const response = await client.send(command); * // { // UsageLimit * // UsageLimitId: "STRING_VALUE", * // ClusterIdentifier: "STRING_VALUE", * // FeatureType: "spectrum" || "concurrency-scaling" || "cross-region-datasharing" || "extra-compute-for-automatic-optimization", * // LimitType: "time" || "data-scanned", * // Amount: Number("long"), * // Period: "daily" || "weekly" || "monthly", * // BreachAction: "log" || "emit-metric" || "disable", * // Tags: [ // TagList * // { // Tag * // Key: "STRING_VALUE", * // Value: "STRING_VALUE", * // }, * // ], * // }; * * ``` * * @param ModifyUsageLimitCommandInput - {@link ModifyUsageLimitCommandInput} * @returns {@link ModifyUsageLimitCommandOutput} * @see {@link ModifyUsageLimitCommandInput} for command's `input` shape. * @see {@link ModifyUsageLimitCommandOutput} for command's `response` shape. * @see {@link RedshiftClientResolvedConfig | config} for RedshiftClient's `config` shape. * * @throws {@link InvalidUsageLimitFault} (client fault) *

The usage limit is not valid.

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

The requested operation isn't supported.

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

The usage limit identifier can't be found.

* * @throws {@link RedshiftServiceException} *

Base exception class for all service exceptions from Redshift service.

* * * @public */ export declare class ModifyUsageLimitCommand extends ModifyUsageLimitCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: ModifyUsageLimitMessage; output: UsageLimit; }; sdk: { input: ModifyUsageLimitCommandInput; output: ModifyUsageLimitCommandOutput; }; }; }