aws.redshift.describe_usage_limits
Example SQL Queries
SELECT * FROMaws.redshift.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.
Table Definition
| Column Name | Column Data Type |
|---|---|
| cluster_identifier Input Column The identifier of the cluster with a usage limit. | VARCHAR |
| feature_type Input Column The Amazon Redshift feature to which the limit applies. | VARCHAR |
| tag_keys Input Column 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. | VARCHAR[] |
Show child fields
| |
| tag_values Input Column 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. | VARCHAR[] |
Show child fields
| |
| usage_limit_id Input Column The identifier of the usage limit. | VARCHAR |
| _aws_profile Input Column The AWS profile defines the AWS identity used. It can be defined via credentials or by assuming a IAM role. | STRUCT( |
Show child fields
| |
| _aws_region Input Column The AWS region to use. | VARCHAR |
| amount The limit amount. If time-based, this amount is in minutes. If data-based, this amount is in terabytes (TB). | BIGINT |
| breach_action The action that Amazon Redshift takes when the limit is reached. Possible values are:
| VARCHAR |
| limit_type The type of limit. Depending on the feature type, this can be based on a time duration or data size. | VARCHAR |
| period The time period that the amount applies to. A weekly period begins on Sunday. The default is monthly. | VARCHAR |
| tags A list of tag instances. | STRUCT( |
Show child fields
| |