Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Synopsis
- data UsageLimit = UsageLimit' {}
- newUsageLimit :: UsageLimit
- usageLimit_amount :: Lens' UsageLimit (Maybe Integer)
- usageLimit_breachAction :: Lens' UsageLimit (Maybe UsageLimitBreachAction)
- usageLimit_period :: Lens' UsageLimit (Maybe UsageLimitPeriod)
- usageLimit_resourceArn :: Lens' UsageLimit (Maybe Text)
- usageLimit_usageLimitArn :: Lens' UsageLimit (Maybe Text)
- usageLimit_usageLimitId :: Lens' UsageLimit (Maybe Text)
- usageLimit_usageType :: Lens' UsageLimit (Maybe UsageLimitUsageType)
Documentation
data UsageLimit Source #
The usage limit object.
See: newUsageLimit
smart constructor.
UsageLimit' | |
|
Instances
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.