amazonka-redshift-serverless-2.0: Amazon Redshift Serverless SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.RedshiftServerLess.Types.UsageLimit

Description

 
Synopsis

Documentation

data UsageLimit Source #

The usage limit object.

See: newUsageLimit smart constructor.

Constructors

UsageLimit' 

Fields

Instances

Instances details
FromJSON UsageLimit Source # 
Instance details

Defined in Amazonka.RedshiftServerLess.Types.UsageLimit

Generic UsageLimit Source # 
Instance details

Defined in Amazonka.RedshiftServerLess.Types.UsageLimit

Associated Types

type Rep UsageLimit :: Type -> Type #

Read UsageLimit Source # 
Instance details

Defined in Amazonka.RedshiftServerLess.Types.UsageLimit

Show UsageLimit Source # 
Instance details

Defined in Amazonka.RedshiftServerLess.Types.UsageLimit

NFData UsageLimit Source # 
Instance details

Defined in Amazonka.RedshiftServerLess.Types.UsageLimit

Methods

rnf :: UsageLimit -> () #

Eq UsageLimit Source # 
Instance details

Defined in Amazonka.RedshiftServerLess.Types.UsageLimit

Hashable UsageLimit Source # 
Instance details

Defined in Amazonka.RedshiftServerLess.Types.UsageLimit

type Rep UsageLimit Source # 
Instance details

Defined in Amazonka.RedshiftServerLess.Types.UsageLimit

newUsageLimit :: UsageLimit Source #

Create a value of UsageLimit with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:amount:UsageLimit', usageLimit_amount - 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.

$sel:breachAction:UsageLimit', usageLimit_breachAction - The action that Amazon Redshift Serverless takes when the limit is reached.

$sel:period:UsageLimit', usageLimit_period - The time period that the amount applies to. A weekly period begins on Sunday. The default is monthly.

$sel:resourceArn:UsageLimit', usageLimit_resourceArn - The Amazon Resource Name (ARN) that identifies the Amazon Redshift Serverless resource.

$sel:usageLimitArn:UsageLimit', usageLimit_usageLimitArn - The Amazon Resource Name (ARN) of the resource associated with the usage limit.

$sel:usageLimitId:UsageLimit', usageLimit_usageLimitId - The identifier of the usage limit.

$sel:usageType:UsageLimit', usageLimit_usageType - The Amazon Redshift Serverless feature to limit.

usageLimit_amount :: Lens' UsageLimit (Maybe Integer) Source #

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.

usageLimit_breachAction :: Lens' UsageLimit (Maybe UsageLimitBreachAction) Source #

The action that Amazon Redshift Serverless takes when the limit is reached.

usageLimit_period :: Lens' UsageLimit (Maybe UsageLimitPeriod) Source #

The time period that the amount applies to. A weekly period begins on Sunday. The default is monthly.

usageLimit_resourceArn :: Lens' UsageLimit (Maybe Text) Source #

The Amazon Resource Name (ARN) that identifies the Amazon Redshift Serverless resource.

usageLimit_usageLimitArn :: Lens' UsageLimit (Maybe Text) Source #

The Amazon Resource Name (ARN) of the resource associated with the usage limit.

usageLimit_usageLimitId :: Lens' UsageLimit (Maybe Text) Source #

The identifier of the usage limit.

usageLimit_usageType :: Lens' UsageLimit (Maybe UsageLimitUsageType) Source #

The Amazon Redshift Serverless feature to limit.