Protected
Lists all usage limits within Amazon Redshift Serverless.
Use a bare-bones client and the command you need to make an API call.
import { RedshiftServerlessClient, ListUsageLimitsCommand } from "@aws-sdk/client-redshift-serverless"; // ES Modules import// const { RedshiftServerlessClient, ListUsageLimitsCommand } = require("@aws-sdk/client-redshift-serverless"); // CommonJS importconst client = new RedshiftServerlessClient(config);const input = { // ListUsageLimitsRequest resourceArn: "STRING_VALUE", usageType: "STRING_VALUE", nextToken: "STRING_VALUE", maxResults: Number("int"),};const command = new ListUsageLimitsCommand(input);const response = await client.send(command);
ListUsageLimitsCommandInput
ListUsageLimitsCommandOutput
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.
InvalidPaginationException (client fault)
The provided pagination token is invalid.
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
Lists all usage limits within Amazon Redshift Serverless.
Example
Use a bare-bones client and the command you need to make an API call.
Param
ListUsageLimitsCommandInput
Returns
ListUsageLimitsCommandOutput
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
InvalidPaginationException (client fault)
The provided pagination token is invalid.
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.