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.GetServiceQuota

Description

Retrieves the applied quota value for the specified quota. For some quotas, only the default values are available. If the applied quota value is not available for a quota, the quota is not retrieved.

Synopsis

Creating a Request

data GetServiceQuota Source #

See: newGetServiceQuota smart constructor.

Constructors

GetServiceQuota' 

Fields

Instances

Instances details
ToJSON GetServiceQuota Source # 
Instance details

Defined in Amazonka.ServiceQuotas.GetServiceQuota

ToHeaders GetServiceQuota Source # 
Instance details

Defined in Amazonka.ServiceQuotas.GetServiceQuota

ToPath GetServiceQuota Source # 
Instance details

Defined in Amazonka.ServiceQuotas.GetServiceQuota

ToQuery GetServiceQuota Source # 
Instance details

Defined in Amazonka.ServiceQuotas.GetServiceQuota

AWSRequest GetServiceQuota Source # 
Instance details

Defined in Amazonka.ServiceQuotas.GetServiceQuota

Associated Types

type AWSResponse GetServiceQuota #

Generic GetServiceQuota Source # 
Instance details

Defined in Amazonka.ServiceQuotas.GetServiceQuota

Associated Types

type Rep GetServiceQuota :: Type -> Type #

Read GetServiceQuota Source # 
Instance details

Defined in Amazonka.ServiceQuotas.GetServiceQuota

Show GetServiceQuota Source # 
Instance details

Defined in Amazonka.ServiceQuotas.GetServiceQuota

NFData GetServiceQuota Source # 
Instance details

Defined in Amazonka.ServiceQuotas.GetServiceQuota

Methods

rnf :: GetServiceQuota -> () #

Eq GetServiceQuota Source # 
Instance details

Defined in Amazonka.ServiceQuotas.GetServiceQuota

Hashable GetServiceQuota Source # 
Instance details

Defined in Amazonka.ServiceQuotas.GetServiceQuota

type AWSResponse GetServiceQuota Source # 
Instance details

Defined in Amazonka.ServiceQuotas.GetServiceQuota

type Rep GetServiceQuota Source # 
Instance details

Defined in Amazonka.ServiceQuotas.GetServiceQuota

type Rep GetServiceQuota = D1 ('MetaData "GetServiceQuota" "Amazonka.ServiceQuotas.GetServiceQuota" "amazonka-service-quotas-2.0-ACchHzgCDiGBVuQKMEejnj" 'False) (C1 ('MetaCons "GetServiceQuota'" 'PrefixI 'True) (S1 ('MetaSel ('Just "serviceCode") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "quotaCode") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newGetServiceQuota Source #

Create a value of GetServiceQuota 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:

GetServiceQuota, getServiceQuota_serviceCode - The service identifier.

GetServiceQuota, getServiceQuota_quotaCode - The quota identifier.

Request Lenses

Destructuring the Response

data GetServiceQuotaResponse Source #

See: newGetServiceQuotaResponse smart constructor.

Constructors

GetServiceQuotaResponse' 

Fields

Instances

Instances details
Generic GetServiceQuotaResponse Source # 
Instance details

Defined in Amazonka.ServiceQuotas.GetServiceQuota

Associated Types

type Rep GetServiceQuotaResponse :: Type -> Type #

Read GetServiceQuotaResponse Source # 
Instance details

Defined in Amazonka.ServiceQuotas.GetServiceQuota

Show GetServiceQuotaResponse Source # 
Instance details

Defined in Amazonka.ServiceQuotas.GetServiceQuota

NFData GetServiceQuotaResponse Source # 
Instance details

Defined in Amazonka.ServiceQuotas.GetServiceQuota

Methods

rnf :: GetServiceQuotaResponse -> () #

Eq GetServiceQuotaResponse Source # 
Instance details

Defined in Amazonka.ServiceQuotas.GetServiceQuota

type Rep GetServiceQuotaResponse Source # 
Instance details

Defined in Amazonka.ServiceQuotas.GetServiceQuota

type Rep GetServiceQuotaResponse = D1 ('MetaData "GetServiceQuotaResponse" "Amazonka.ServiceQuotas.GetServiceQuota" "amazonka-service-quotas-2.0-ACchHzgCDiGBVuQKMEejnj" 'False) (C1 ('MetaCons "GetServiceQuotaResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "quota") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ServiceQuota)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newGetServiceQuotaResponse Source #

Create a value of GetServiceQuotaResponse 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:quota:GetServiceQuotaResponse', getServiceQuotaResponse_quota - Information about the quota.

$sel:httpStatus:GetServiceQuotaResponse', getServiceQuotaResponse_httpStatus - The response's http status code.

Response Lenses