amazonka-service-quotas-2.0: Amazon Quotas 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.ServiceQuotas.Types.ServiceQuota

Description

 
Synopsis

Documentation

data ServiceQuota Source #

Information about a quota.

See: newServiceQuota smart constructor.

Constructors

ServiceQuota' 

Fields

Instances

Instances details
FromJSON 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 #

Read ServiceQuota Source # 
Instance details

Defined in Amazonka.ServiceQuotas.Types.ServiceQuota

Show ServiceQuota Source # 
Instance details

Defined in Amazonka.ServiceQuotas.Types.ServiceQuota

NFData ServiceQuota Source # 
Instance details

Defined in Amazonka.ServiceQuotas.Types.ServiceQuota

Methods

rnf :: ServiceQuota -> () #

Eq ServiceQuota Source # 
Instance details

Defined in Amazonka.ServiceQuotas.Types.ServiceQuota

Hashable 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" "amazonka-service-quotas-2.0-ACchHzgCDiGBVuQKMEejnj" 'False) (C1 ('MetaCons "ServiceQuota'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "adjustable") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: (S1 ('MetaSel ('Just "errorReason") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ErrorReason)) :*: S1 ('MetaSel ('Just "globalQuota") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)))) :*: (S1 ('MetaSel ('Just "period") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe QuotaPeriod)) :*: (S1 ('MetaSel ('Just "quotaArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "quotaCode") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))) :*: ((S1 ('MetaSel ('Just "quotaName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "serviceCode") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "serviceName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 ('MetaSel ('Just "unit") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "usageMetric") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe MetricInfo)) :*: S1 ('MetaSel ('Just "value") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Double)))))))

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:adjustable:ServiceQuota', serviceQuota_adjustable - Indicates whether the quota value can be increased.

$sel:errorReason:ServiceQuota', serviceQuota_errorReason - The error code and error reason.

$sel:globalQuota:ServiceQuota', serviceQuota_globalQuota - Indicates whether the quota is global.

$sel:period:ServiceQuota', serviceQuota_period - The period of time.

$sel:quotaArn:ServiceQuota', serviceQuota_quotaArn - The Amazon Resource Name (ARN) of the quota.

$sel:quotaCode:ServiceQuota', serviceQuota_quotaCode - The quota identifier.

$sel:quotaName:ServiceQuota', serviceQuota_quotaName - The quota name.

$sel:serviceCode:ServiceQuota', serviceQuota_serviceCode - The service identifier.

$sel:serviceName:ServiceQuota', serviceQuota_serviceName - The service name.

$sel:unit:ServiceQuota', serviceQuota_unit - The unit of measurement.

$sel:usageMetric:ServiceQuota', serviceQuota_usageMetric - Information about the measurement.

$sel:value:ServiceQuota', serviceQuota_value - The quota value.

serviceQuota_adjustable :: Lens' ServiceQuota (Maybe Bool) Source #

Indicates whether the quota value can be increased.

serviceQuota_errorReason :: Lens' ServiceQuota (Maybe ErrorReason) Source #

The error code and error reason.

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

The unit of measurement.

serviceQuota_usageMetric :: Lens' ServiceQuota (Maybe MetricInfo) Source #

Information about the measurement.