libZSservicesZSamazonka-service-quotasZSamazonka-service-quotas
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.ServiceQuotas.Types.ServiceQuota

Description

 
Synopsis

Documentation

data ServiceQuota Source #

Information about a quota.

See: newServiceQuota smart constructor.

Constructors

ServiceQuota' 

Fields

Instances

Instances details
Eq ServiceQuota Source # 
Instance details

Defined in Amazonka.ServiceQuotas.Types.ServiceQuota

Read ServiceQuota Source # 
Instance details

Defined in Amazonka.ServiceQuotas.Types.ServiceQuota

Show ServiceQuota Source # 
Instance details

Defined in Amazonka.ServiceQuotas.Types.ServiceQuota

Generic ServiceQuota Source # 
Instance details

Defined in Amazonka.ServiceQuotas.Types.ServiceQuota

Associated Types

type Rep ServiceQuota :: Type -> Type #

NFData ServiceQuota Source # 
Instance details

Defined in Amazonka.ServiceQuotas.Types.ServiceQuota

Methods

rnf :: ServiceQuota -> () #

Hashable ServiceQuota Source # 
Instance details

Defined in Amazonka.ServiceQuotas.Types.ServiceQuota

FromJSON ServiceQuota Source # 
Instance details

Defined in Amazonka.ServiceQuotas.Types.ServiceQuota

type Rep ServiceQuota Source # 
Instance details

Defined in Amazonka.ServiceQuotas.Types.ServiceQuota

type Rep ServiceQuota = D1 ('MetaData "ServiceQuota" "Amazonka.ServiceQuotas.Types.ServiceQuota" "libZSservicesZSamazonka-service-quotasZSamazonka-service-quotas" 'False) (C1 ('MetaCons "ServiceQuota'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "globalQuota") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: (S1 ('MetaSel ('Just "period") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe QuotaPeriod)) :*: S1 ('MetaSel ('Just "value") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Double)))) :*: (S1 ('MetaSel ('Just "quotaArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "usageMetric") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe MetricInfo)) :*: S1 ('MetaSel ('Just "errorReason") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ErrorReason))))) :*: ((S1 ('MetaSel ('Just "adjustable") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: (S1 ('MetaSel ('Just "serviceName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "serviceCode") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 ('MetaSel ('Just "quotaCode") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "unit") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "quotaName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))))

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_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_unit :: Lens' ServiceQuota (Maybe Text) Source #

The unit of measurement.