Protected
Update a usage limit in Amazon Redshift Serverless. You can't update the usage type or period of a usage limit.
Use a bare-bones client and the command you need to make an API call.
import { RedshiftServerlessClient, UpdateUsageLimitCommand } from "@aws-sdk/client-redshift-serverless"; // ES Modules import// const { RedshiftServerlessClient, UpdateUsageLimitCommand } = require("@aws-sdk/client-redshift-serverless"); // CommonJS importconst client = new RedshiftServerlessClient(config);const input = { usageLimitId: "STRING_VALUE", // required amount: Number("long"), breachAction: "STRING_VALUE",};const command = new UpdateUsageLimitCommand(input);const response = await client.send(command);
UpdateUsageLimitCommandInput
UpdateUsageLimitCommandOutput
input
response
config
ConflictException (client fault)
The submitted action has conflicts.
InternalServerException (server fault)
The request processing has failed because of an unknown error, exception or failure.
ResourceNotFoundException (client fault)
The resource could not be found.
ValidationException (client fault)
The input failed to satisfy the constraints specified by an AWS service.
Readonly
Static
Update a usage limit in Amazon Redshift Serverless. You can't update the usage type or period of a usage limit.
Example
Use a bare-bones client and the command you need to make an API call.
Param
UpdateUsageLimitCommandInput
Returns
UpdateUsageLimitCommandOutput
See
input
shape.response
shape.config
shape.Throws
ConflictException (client fault)
The submitted action has conflicts.
Throws
InternalServerException (server fault)
The request processing has failed because of an unknown error, exception or failure.
Throws
ResourceNotFoundException (client fault)
The resource could not be found.
Throws
ValidationException (client fault)
The input failed to satisfy the constraints specified by an AWS service.