AWS SDK Version 4 for .NET
API Reference

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.

Note:

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

Syntax

C#
public virtual CreateUsageLimitResponse CreateUsageLimit(
         CreateUsageLimitRequest request
)

Parameters

request
Type: Amazon.Redshift.Model.CreateUsageLimitRequest

Container for the necessary parameters to execute the CreateUsageLimit service method.

Return Value


The response from the CreateUsageLimit service method, as returned by Redshift.

Exceptions

ExceptionCondition
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.

Version Information

.NET Framework:
Supported in: 4.7.2 and newer

See Also