Amazon Redshift Redshift Usage Limit API
The Redshift Usage Limit API from Amazon Redshift — 9 operation(s) for redshift usage limit.
The Redshift Usage Limit API from Amazon Redshift — 9 operation(s) for redshift usage limit.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
find_apisBrowse and filter every API in the catalog.get_api_artifactsOne API's artifacts, grouped by type.get_openapiThe primary OpenAPI for this API.find_similar_apisAPIs that look like this one.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.curl "https://apis.io/api/v1/apis/amazon-redshift:amazon-redshift-usage-limit-api"
curl "https://apis.io/api/v1/apis?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
openapi: 3.1.0
info:
title: Amazon Redshift Usage Limit API
version: '2012-12-01'
description: Generated from AWS's published Smithy model for Amazon Redshift. 9 operation(s).
contact:
name: Amazon Web Services
url: https://aws.amazon.com/contact-us/
license:
name: Apache 2.0
identifier: Apache-2.0
url: https://github.com/aws/api-models-aws/blob/main/LICENSE
servers:
- url: https://redshift-serverless.{region}.amazonaws.com
variables:
region:
default: us-east-1
security:
- sigv4: []
paths:
/?Action=CreateUsageLimit:
post:
operationId: CreateUsageLimit
summary: Create Usage Limit
description: Creates a usage limit for a specified Amazon Redshift feature on a cluster. The usage limit is identified
by the returned usage limit identifier.
responses:
'200':
description: Success
content:
text/xml:
schema:
$ref: '#/components/schemas/UsageLimit'
'404':
description: ClusterNotFoundFault
content:
text/xml:
schema:
$ref: '#/components/schemas/ClusterNotFoundFault'
'400':
description: InvalidClusterStateFault; InvalidUsageLimitFault; LimitExceededFault; TagLimitExceededFault; UnsupportedOperationFault;
UsageLimitAlreadyExistsFault
content:
text/xml:
schema:
$ref: '#/components/schemas/InvalidClusterStateFault'
requestBody:
required: true
content:
application/x-www-form-urlencoded:
schema:
allOf:
- type: object
required:
- Action
- Version
properties:
Action:
type: string
const: CreateUsageLimit
Version:
type: string
const: '2012-12-01'
- $ref: '#/components/schemas/CreateUsageLimitMessage'
tags:
- Usage Limit
servers:
- url: https://redshift.{region}.amazonaws.com
variables:
region:
default: us-east-1
security:
- sigv4_redshift: []
/?Action=DeleteUsageLimit:
post:
operationId: DeleteUsageLimit
summary: Delete Usage Limit
description: Deletes a usage limit from a cluster.
responses:
'200':
description: Success
content:
text/xml:
schema:
type: string
'400':
description: UnsupportedOperationFault
content:
text/xml:
schema:
$ref: '#/components/schemas/UnsupportedOperationFault'
'404':
description: UsageLimitNotFoundFault
content:
text/xml:
schema:
$ref: '#/components/schemas/UsageLimitNotFoundFault'
requestBody:
required: true
content:
application/x-www-form-urlencoded:
schema:
allOf:
- type: object
required:
- Action
- Version
properties:
Action:
type: string
const: DeleteUsageLimit
Version:
type: string
const: '2012-12-01'
- $ref: '#/components/schemas/DeleteUsageLimitMessage'
tags:
- Usage Limit
servers:
- url: https://redshift.{region}.amazonaws.com
variables:
region:
default: us-east-1
security:
- sigv4_redshift: []
/?Action=DescribeUsageLimits:
post:
operationId: DescribeUsageLimits
summary: Describe Usage Limits
description: 'Shows usage limits on a cluster. Results are filtered based on the combination of input usage limit identifier,
cluster identifier, and feature type parameters: If usage limit identifier, cluster identifier, and feature type are
not provided, then all usage limit objects for the current account in the current region are returned. If usage limit
identifier is provided, then the corresponding usage limit object is returned. If cluster identifier is provided,
then all usage limit objects for the specified cluster are returned. If cluster identifier and feature type are provided,
then all usage limit objects for the combination of cluster and feature are returned.'
responses:
'200':
description: Success
content:
text/xml:
schema:
$ref: '#/components/schemas/UsageLimitList'
'404':
description: ClusterNotFoundFault
content:
text/xml:
schema:
$ref: '#/components/schemas/ClusterNotFoundFault'
'400':
description: UnsupportedOperationFault
content:
text/xml:
schema:
$ref: '#/components/schemas/UnsupportedOperationFault'
requestBody:
required: true
content:
application/x-www-form-urlencoded:
schema:
allOf:
- type: object
required:
- Action
- Version
properties:
Action:
type: string
const: DescribeUsageLimits
Version:
type: string
const: '2012-12-01'
- $ref: '#/components/schemas/DescribeUsageLimitsMessage'
tags:
- Usage Limit
servers:
- url: https://redshift.{region}.amazonaws.com
variables:
region:
default: us-east-1
security:
- sigv4_redshift: []
/?Action=ModifyUsageLimit:
post:
operationId: ModifyUsageLimit
summary: Modify Usage Limit
description: Modifies a usage limit in a cluster. You can't modify the feature type or period of a usage limit.
responses:
'200':
description: Success
content:
text/xml:
schema:
$ref: '#/components/schemas/UsageLimit'
'400':
description: InvalidUsageLimitFault; UnsupportedOperationFault
content:
text/xml:
schema:
$ref: '#/components/schemas/InvalidUsageLimitFault'
'404':
description: UsageLimitNotFoundFault
content:
text/xml:
schema:
$ref: '#/components/schemas/UsageLimitNotFoundFault'
requestBody:
required: true
content:
application/x-www-form-urlencoded:
schema:
allOf:
- type: object
required:
- Action
- Version
properties:
Action:
type: string
const: ModifyUsageLimit
Version:
type: string
const: '2012-12-01'
- $ref: '#/components/schemas/ModifyUsageLimitMessage'
tags:
- Usage Limit
servers:
- url: https://redshift.{region}.amazonaws.com
variables:
region:
default: us-east-1
security:
- sigv4_redshift: []
/#CreateUsageLimit:
post:
operationId: CreateUsageLimit
summary: Create Usage Limit
description: Creates a usage limit for a specified Amazon Redshift Serverless usage type. The usage limit is identified
by the returned usage limit identifier.
responses:
'200':
description: Success
content:
application/x-amz-json-1.1:
schema:
$ref: '#/components/schemas/CreateUsageLimitResponse'
'409':
description: ConflictException
content:
application/x-amz-json-1.1:
schema:
$ref: '#/components/schemas/ConflictException'
'500':
description: InternalServerException
content:
application/x-amz-json-1.1:
schema:
$ref: '#/components/schemas/RedshiftServerlessInternalServerException'
'404':
description: ResourceNotFoundException
content:
application/x-amz-json-1.1:
schema:
$ref: '#/components/schemas/RedshiftServerlessResourceNotFoundException'
'402':
description: ServiceQuotaExceededException
content:
application/x-amz-json-1.1:
schema:
$ref: '#/components/schemas/ServiceQuotaExceededException'
'400':
description: ValidationException
content:
application/x-amz-json-1.1:
schema:
$ref: '#/components/schemas/RedshiftServerlessValidationException'
parameters:
- name: X-Amz-Target
in: header
required: true
schema:
type: string
enum:
- RedshiftServerless.CreateUsageLimit
requestBody:
required: true
content:
application/x-amz-json-1.1:
schema:
$ref: '#/components/schemas/CreateUsageLimitRequest'
tags:
- Usage Limit
/#DeleteUsageLimit:
post:
operationId: DeleteUsageLimit
summary: Delete Usage Limit
description: Deletes a usage limit from Amazon Redshift Serverless.
responses:
'200':
description: Success
content:
application/x-amz-json-1.1:
schema:
$ref: '#/components/schemas/DeleteUsageLimitResponse'
'409':
description: ConflictException
content:
application/x-amz-json-1.1:
schema:
$ref: '#/components/schemas/ConflictException'
'500':
description: InternalServerException
content:
application/x-amz-json-1.1:
schema:
$ref: '#/components/schemas/RedshiftServerlessInternalServerException'
'404':
description: ResourceNotFoundException
content:
application/x-amz-json-1.1:
schema:
$ref: '#/components/schemas/RedshiftServerlessResourceNotFoundException'
'400':
description: ValidationException
content:
application/x-amz-json-1.1:
schema:
$ref: '#/components/schemas/RedshiftServerlessValidationException'
parameters:
- name: X-Amz-Target
in: header
required: true
schema:
type: string
enum:
- RedshiftServerless.DeleteUsageLimit
requestBody:
required: true
content:
application/x-amz-json-1.1:
schema:
$ref: '#/components/schemas/DeleteUsageLimitRequest'
tags:
- Usage Limit
/#GetUsageLimit:
post:
operationId: GetUsageLimit
summary: Get Usage Limit
description: Returns information about a usage limit.
responses:
'200':
description: Success
content:
application/x-amz-json-1.1:
schema:
$ref: '#/components/schemas/GetUsageLimitResponse'
'409':
description: ConflictException
content:
application/x-amz-json-1.1:
schema:
$ref: '#/components/schemas/ConflictException'
'500':
description: InternalServerException
content:
application/x-amz-json-1.1:
schema:
$ref: '#/components/schemas/RedshiftServerlessInternalServerException'
'404':
description: ResourceNotFoundException
content:
application/x-amz-json-1.1:
schema:
$ref: '#/components/schemas/RedshiftServerlessResourceNotFoundException'
'400':
description: ValidationException
content:
application/x-amz-json-1.1:
schema:
$ref: '#/components/schemas/RedshiftServerlessValidationException'
parameters:
- name: X-Amz-Target
in: header
required: true
schema:
type: string
enum:
- RedshiftServerless.GetUsageLimit
requestBody:
required: true
content:
application/x-amz-json-1.1:
schema:
$ref: '#/components/schemas/GetUsageLimitRequest'
tags:
- Usage Limit
/#ListUsageLimits:
post:
operationId: ListUsageLimits
summary: List Usage Limits
description: Lists all usage limits within Amazon Redshift Serverless.
responses:
'200':
description: Success
content:
application/x-amz-json-1.1:
schema:
$ref: '#/components/schemas/ListUsageLimitsResponse'
'409':
description: ConflictException
content:
application/x-amz-json-1.1:
schema:
$ref: '#/components/schemas/ConflictException'
'500':
description: InternalServerException
content:
application/x-amz-json-1.1:
schema:
$ref: '#/components/schemas/RedshiftServerlessInternalServerException'
'400':
description: InvalidPaginationException; ValidationException
content:
application/x-amz-json-1.1:
schema:
$ref: '#/components/schemas/InvalidPaginationException'
'404':
description: ResourceNotFoundException
content:
application/x-amz-json-1.1:
schema:
$ref: '#/components/schemas/RedshiftServerlessResourceNotFoundException'
parameters:
- name: X-Amz-Target
in: header
required: true
schema:
type: string
enum:
- RedshiftServerless.ListUsageLimits
requestBody:
required: true
content:
application/x-amz-json-1.1:
schema:
$ref: '#/components/schemas/ListUsageLimitsRequest'
tags:
- Usage Limit
/#UpdateUsageLimit:
post:
operationId: UpdateUsageLimit
summary: Update Usage Limit
description: Update a usage limit in Amazon Redshift Serverless. You can't update the usage type or period of a usage
limit.
responses:
'200':
description: Success
content:
application/x-amz-json-1.1:
schema:
$ref: '#/components/schemas/UpdateUsageLimitResponse'
'409':
description: ConflictException
content:
application/x-amz-json-1.1:
schema:
$ref: '#/components/schemas/ConflictException'
'500':
description: InternalServerException
content:
application/x-amz-json-1.1:
schema:
$ref: '#/components/schemas/RedshiftServerlessInternalServerException'
'404':
description: ResourceNotFoundException
content:
application/x-amz-json-1.1:
schema:
$ref: '#/components/schemas/RedshiftServerlessResourceNotFoundException'
'400':
description: ValidationException
content:
application/x-amz-json-1.1:
schema:
$ref: '#/components/schemas/RedshiftServerlessValidationException'
parameters:
- name: X-Amz-Target
in: header
required: true
schema:
type: string
enum:
- RedshiftServerless.UpdateUsageLimit
requestBody:
required: true
content:
application/x-amz-json-1.1:
schema:
$ref: '#/components/schemas/UpdateUsageLimitRequest'
tags:
- Usage Limit
components:
securitySchemes:
sigv4:
type: apiKey
in: header
name: Authorization
description: AWS Signature Version 4. The Authorization header carries an AWS4-HMAC-SHA256 signature over the canonical
request, with X-Amz-Date (and X-Amz-Security-Token for temporary credentials). Not a bearer token.
x-aws-sigv4:
signingName: redshift-serverless
sigv4_redshift:
type: apiKey
in: header
name: Authorization
description: AWS Signature Version 4. The Authorization header carries an AWS4-HMAC-SHA256 signature over the canonical
request, with X-Amz-Date (and X-Amz-Security-Token for temporary credentials). Not a bearer token.
x-aws-sigv4:
signingName: redshift
schemas:
ClusterNotFoundFault:
type: object
properties:
message:
type: string
ConflictException:
type: object
properties:
message:
type: string
required:
- message
CreateUsageLimitMessage:
type: object
properties:
ClusterIdentifier:
type: string
description: The identifier of the cluster that you want to limit usage.
FeatureType:
type: string
enum:
- spectrum
- concurrency-scaling
- cross-region-datasharing
- extra-compute-for-automatic-optimization
description: The Amazon Redshift feature that you want to limit.
LimitType:
type: string
enum:
- time
- data-scanned
description: The type of limit. Depending on the feature type, this can be based on a time duration or data size.
If FeatureType is spectrum, then LimitType must be data-scanned. If FeatureType is concurrency-scaling, then LimitType
must be time. If FeatureType is cross-region-datasharing, then LimitType must be data-scanned. If FeatureType
is extra-compute-for-automatic-optimization, then LimitType must be time.
Amount:
type: integer
description: The limit amount. If time-based, this amount is in minutes. If data-based, this amount is in terabytes
(TB). The value must be a positive number.
Period:
type: string
enum:
- daily
- weekly
- monthly
description: The time period that the amount applies to. A weekly period begins on Sunday. The default is monthly.
BreachAction:
type: string
enum:
- log
- emit-metric
- disable
description: The action that Amazon Redshift takes when the limit is reached. The default is log. For more information
about this parameter, see UsageLimit.
Tags:
type: array
items:
$ref: '#/components/schemas/Tag'
description: A list of tag instances.
required:
- ClusterIdentifier
- FeatureType
- LimitType
- Amount
CreateUsageLimitRequest:
type: object
properties:
resourceArn:
type: string
description: The Amazon Resource Name (ARN) of the Amazon Redshift Serverless resource to create the usage limit
for.
usageType:
type: string
description: The type of Amazon Redshift Serverless usage to create a usage limit for.
amount:
type: integer
description: The limit amount. If time-based, this amount is in Redshift Processing Units (RPU) consumed per hour.
If data-based, this amount is in terabytes (TB) of data transferred between Regions in cross-account sharing.
The value must be a positive number.
period:
type: string
description: The time period that the amount applies to. A weekly period begins on Sunday. The default is monthly.
breachAction:
type: string
description: The action that Amazon Redshift Serverless takes when the limit is reached. The default is log.
required:
- resourceArn
- usageType
- amount
CreateUsageLimitResponse:
type: object
properties:
usageLimit:
$ref: '#/components/schemas/RedshiftServerlessUsageLimit'
DeleteUsageLimitMessage:
type: object
properties:
UsageLimitId:
type: string
description: The identifier of the usage limit to delete.
required:
- UsageLimitId
DeleteUsageLimitRequest:
type: object
properties:
usageLimitId:
type: string
description: The unique identifier of the usage limit to delete.
required:
- usageLimitId
DeleteUsageLimitResponse:
type: object
properties:
usageLimit:
$ref: '#/components/schemas/RedshiftServerlessUsageLimit'
DescribeUsageLimitsMessage:
type: object
properties:
UsageLimitId:
type: string
description: The identifier of the usage limit to describe.
ClusterIdentifier:
type: string
description: The identifier of the cluster for which you want to describe usage limits.
FeatureType:
type: string
enum:
- spectrum
- concurrency-scaling
- cross-region-datasharing
- extra-compute-for-automatic-optimization
description: The feature type for which you want to describe usage limits.
MaxRecords:
type: integer
description: 'The maximum number of response records to return in each call. If the number of remaining response
records exceeds the specified MaxRecords value, a value is returned in a marker field of the response. You can
retrieve the next set of records by retrying the command with the returned marker value. Default: 100 Constraints:
minimum 20, maximum 100.'
Marker:
type: string
description: An optional parameter that specifies the starting point to return a set of response records. When the
results of a DescribeUsageLimits request exceed the value specified in MaxRecords, Amazon Web Services returns
a value in the Marker field of the response. You can retrieve the next set of response records by providing the
returned marker value in the Marker parameter and retrying the request.
TagKeys:
type: array
items:
type: string
description: A tag key or keys for which you want to return all matching usage limit objects that are associated
with the specified key or keys. For example, suppose that you have parameter groups that are tagged with keys
called owner and environment. If you specify both of these tag keys in the request, Amazon Redshift returns a
response with the usage limit objects have either or both of these tag keys associated with them.
TagValues:
type: array
items:
type: string
description: A tag value or values for which you want to return all matching usage limit objects that are associated
with the specified tag value or values. For example, suppose that you have parameter groups that are tagged with
values called admin and test. If you specify both of these tag values in the request, Amazon Redshift returns
a response with the usage limit objects that have either or both of these tag values associated with them.
GetUsageLimitRequest:
type: object
properties:
usageLimitId:
type: string
description: The unique identifier of the usage limit to return information for.
required:
- usageLimitId
GetUsageLimitResponse:
type: object
properties:
usageLimit:
$ref: '#/components/schemas/RedshiftServerlessUsageLimit'
InvalidClusterStateFault:
type: object
properties:
message:
type: string
InvalidPaginationException:
type: object
properties:
message:
type: string
required:
- message
InvalidUsageLimitFault:
type: object
properties:
message:
type: string
ListUsageLimitsRequest:
type: object
properties:
resourceArn:
type: string
description: The Amazon Resource Name (ARN) associated with the resource whose usage limits you want to list.
usageType:
type: string
description: The Amazon Redshift Serverless feature whose limits you want to see.
nextToken:
type: string
description: If your initial ListUsageLimits operation returns a nextToken, you can include the returned nextToken
in following ListUsageLimits operations, which returns results in the next page.
maxResults:
type: integer
description: An optional parameter that specifies the maximum number of results to return. You can use nextToken
to get the next page of results. The default is 100.
ListUsageLimitsResponse:
type: object
properties:
usageLimits:
type: array
items:
$ref: '#/components/schemas/RedshiftServerlessUsageLimit'
description: An array of returned usage limit objects.
nextToken:
type: string
description: When nextToken is returned, there are more results available. The value of nextToken is a unique pagination
token for each page. Make the call again using the returned token to retrieve the next page.
ModifyUsageLimitMessage:
type: object
properties:
UsageLimitId:
type: string
description: The identifier of the usage limit to modify.
Amount:
type: integer
description: The new limit amount. For more information about this parameter, see UsageLimit.
BreachAction:
type: string
enum:
- log
- emit-metric
- disable
description: The new action that Amazon Redshift takes when the limit is reached. For more information about this
parameter, see UsageLimit.
required:
- UsageLimitId
RedshiftServerlessInternalServerException:
type: object
properties:
message:
type: string
required:
- message
RedshiftServerlessResourceNotFoundException:
type: object
properties:
message:
type: string
resourceName:
type: string
description: The name of the resource that could not be found.
required:
- message
RedshiftServerlessUsageLimit:
type: object
properties:
usageLimitId:
type: string
description: The identifier of the usage limit.
usageLimitArn:
type: string
description: The Amazon Resource Name (ARN) of the resource associated with the usage limit.
resourceArn:
type: string
description: The Amazon Resource Name (ARN) that identifies the Amazon Redshift Serverless resource.
usageType:
type: string
description: The Amazon Redshift Serverless feature to limit.
amount:
type: integer
description: The limit amount. If time-based, this amount is in RPUs consumed per hour. If data-based, this amount
is in terabytes (TB). The value must be a positive number.
period:
type: string
description: The time period that the amount applies to. A weekly period begins on Sunday. The default is monthly.
breachAction:
type: string
description: The action that Amazon Redshift Serverless takes when the limit is reached.
RedshiftServerlessValidationException:
type: object
properties:
message:
type: string
required:
- message
ServiceQuotaExceededException:
type: object
properties:
message:
type: string
required:
- message
Tag:
type: object
properties:
Key:
type: string
description: The key, or name, for the resource tag.
Value:
type: string
description: The value for the resource tag.
UnsupportedOperationFault:
type: object
properties:
message:
type: string
UpdateUsageLimitRequest:
type: object
properties:
usageLimitId:
type: string
description: The identifier of the usage limit to update.
amount:
type: integer
description: The new limit amount. If time-based, this amount is in Redshift Processing Units (RPU) consumed per
hour. If data-based, this amount is in terabytes (TB) of data transferred between Regions in cross-account sharing.
The value must be a positive number.
breachAction:
type: string
description: The new action that Amazon Redshift Serverless takes when the limit is reached.
required:
- usageLimitId
UpdateUsageLimitResponse:
type: object
properties:
usageLimit:
$ref: '#/components/schemas/RedshiftServerlessUsageLimit'
UsageLimit:
type: object
properties:
UsageLimitId:
type: string
description: The identifier of the usage limit.
ClusterIdentifier:
type: string
description: The identifier of the cluster with a usage limit.
FeatureType:
type: string
enum:
- spectrum
- concurrency-scaling
- cross-region-datasharing
- extra-compute-for-automatic-optimization
description: The Amazon Redshift feature to which the limit applies.
LimitType:
type: string
enum:
- time
- data-scanned
description: The type of limit. Depending on the feature type, this can be based on a time duration or data size.
Amount:
type: integer
description: The limit amount. If time-based, this amount is in minutes. If data-based, this amount is in terabytes
(TB).
Period:
type: string
enum:
- daily
- weekly
- monthly
description: The time period that the amount applies to. A weekly period begins on Sunday. The default is monthly.
BreachAction:
type: string
enum:
- log
- emit-metric
- disable
description: 'The action that Amazon Redshift takes when the limit is reached. Possible values are: log - To log
an event in a system table. The default is log. emit-metric - To emit CloudWatch metrics. disable - To disable
the feature until the next usage period begins.'
Tags:
type: array
items:
$ref: '#/components/schemas/Tag'
description: A list of tag instances.
UsageLimitList:
type: object
properties:
UsageLimits:
type: array
items:
$ref: '#/components/schemas/UsageLimit'
description: Contains the output from the DescribeUsageLimits action.
Marker:
type: string
description: A value that indicates the starting point for the next set of response records in a subsequent request.
If a value is returned in a response, you can retrieve the next set of records by providing this returned marker
value in the Marker parameter and retrying the command. If the Marker field is empty, all response records have
been retrieved for the request.
UsageLimitNotFoundFault:
type: object
properties:
message:
type: string
x-provenance:
method: harvested
publisher: Amazon Web Services
source: https://raw.githubusercontent.com/aws/api-models-aws/3cd98287b471c106254abd89279cc87308d38bfd/models/redshift-serverless/service/2021-04-21/redshift-serverless-2021-04-21.json
note: converted by smithy-to-openapi.py from AWS's Smithy model (roadmap#1001)
sources:
# --- truncated at 32 KB (32 KB total) ---
# Full source: https://artifacts.apis.io/amazon-redshift/openapi/amazon-redshift-usage-limit-api-openapi.yml