AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.
Creates a usage limit for a specified Amazon Redshift feature on a cluster. The usage limit is identified by the returned usage limit identifier.
For .NET Core this operation is only available in asynchronous form. Please refer to CreateUsageLimitAsync.
Namespace: Amazon.Redshift
Assembly: AWSSDK.Redshift.dll
Version: 3.x.y.z
public virtual CreateUsageLimitResponse CreateUsageLimit( CreateUsageLimitRequest request )
Container for the necessary parameters to execute the CreateUsageLimit service method.
| Exception | Condition |
|---|---|
| ClusterNotFoundException | The ClusterIdentifier parameter does not refer to an existing cluster. |
| InvalidClusterStateException | The specified cluster is not in the available state. |
| InvalidUsageLimitException | The usage limit is not valid. |
| LimitExceededException | The encryption key has exceeded its grant limit in Amazon Web Services KMS. |
| TagLimitExceededException | You have exceeded the number of tags allowed. |
| UnsupportedOperationException | The requested operation isn't supported. |
| UsageLimitAlreadyExistsException | The usage limit already exists. |
.NET Framework:
Supported in: 4.7.2 and newer