Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Synopsis
- data ServiceQuota = ServiceQuota' {
- globalQuota :: Maybe Bool
- period :: Maybe QuotaPeriod
- value :: Maybe Double
- quotaArn :: Maybe Text
- usageMetric :: Maybe MetricInfo
- errorReason :: Maybe ErrorReason
- adjustable :: Maybe Bool
- serviceName :: Maybe Text
- serviceCode :: Maybe Text
- quotaCode :: Maybe Text
- unit :: Maybe Text
- quotaName :: Maybe Text
- newServiceQuota :: ServiceQuota
- serviceQuota_globalQuota :: Lens' ServiceQuota (Maybe Bool)
- serviceQuota_period :: Lens' ServiceQuota (Maybe QuotaPeriod)
- serviceQuota_value :: Lens' ServiceQuota (Maybe Double)
- serviceQuota_quotaArn :: Lens' ServiceQuota (Maybe Text)
- serviceQuota_usageMetric :: Lens' ServiceQuota (Maybe MetricInfo)
- serviceQuota_errorReason :: Lens' ServiceQuota (Maybe ErrorReason)
- serviceQuota_adjustable :: Lens' ServiceQuota (Maybe Bool)
- serviceQuota_serviceName :: Lens' ServiceQuota (Maybe Text)
- serviceQuota_serviceCode :: Lens' ServiceQuota (Maybe Text)
- serviceQuota_quotaCode :: Lens' ServiceQuota (Maybe Text)
- serviceQuota_unit :: Lens' ServiceQuota (Maybe Text)
- serviceQuota_quotaName :: Lens' ServiceQuota (Maybe Text)
Documentation
data ServiceQuota Source #
Information about a quota.
See: newServiceQuota
smart constructor.
ServiceQuota' | |
|
Instances
newServiceQuota :: ServiceQuota Source #
Create a value of ServiceQuota
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:globalQuota:ServiceQuota'
, serviceQuota_globalQuota
- Indicates whether the quota is global.
$sel:period:ServiceQuota'
, serviceQuota_period
- The period of time.
$sel:value:ServiceQuota'
, serviceQuota_value
- The quota value.
$sel:quotaArn:ServiceQuota'
, serviceQuota_quotaArn
- The Amazon Resource Name (ARN) of the quota.
$sel:usageMetric:ServiceQuota'
, serviceQuota_usageMetric
- Information about the measurement.
$sel:errorReason:ServiceQuota'
, serviceQuota_errorReason
- The error code and error reason.
$sel:adjustable:ServiceQuota'
, serviceQuota_adjustable
- Indicates whether the quota value can be increased.
$sel:serviceName:ServiceQuota'
, serviceQuota_serviceName
- The service name.
$sel:serviceCode:ServiceQuota'
, serviceQuota_serviceCode
- The service identifier.
$sel:quotaCode:ServiceQuota'
, serviceQuota_quotaCode
- The quota identifier.
$sel:unit:ServiceQuota'
, serviceQuota_unit
- The unit of measurement.
$sel:quotaName:ServiceQuota'
, serviceQuota_quotaName
- The quota name.
serviceQuota_globalQuota :: Lens' ServiceQuota (Maybe Bool) Source #
Indicates whether the quota is global.
serviceQuota_period :: Lens' ServiceQuota (Maybe QuotaPeriod) Source #
The period of time.
serviceQuota_value :: Lens' ServiceQuota (Maybe Double) Source #
The quota value.
serviceQuota_quotaArn :: Lens' ServiceQuota (Maybe Text) Source #
The Amazon Resource Name (ARN) of the quota.
serviceQuota_usageMetric :: Lens' ServiceQuota (Maybe MetricInfo) Source #
Information about the measurement.
serviceQuota_errorReason :: Lens' ServiceQuota (Maybe ErrorReason) Source #
The error code and error reason.
serviceQuota_adjustable :: Lens' ServiceQuota (Maybe Bool) Source #
Indicates whether the quota value can be increased.
serviceQuota_serviceName :: Lens' ServiceQuota (Maybe Text) Source #
The service name.
serviceQuota_serviceCode :: Lens' ServiceQuota (Maybe Text) Source #
The service identifier.
serviceQuota_quotaCode :: Lens' ServiceQuota (Maybe Text) Source #
The quota identifier.
serviceQuota_unit :: Lens' ServiceQuota (Maybe Text) Source #
The unit of measurement.
serviceQuota_quotaName :: Lens' ServiceQuota (Maybe Text) Source #
The quota name.