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 |
Retrieves the default value for the specified quota. The default value does not reflect any quota increases.
Synopsis
- data GetAWSDefaultServiceQuota = GetAWSDefaultServiceQuota' {
- serviceCode :: Text
- quotaCode :: Text
- newGetAWSDefaultServiceQuota :: Text -> Text -> GetAWSDefaultServiceQuota
- getAWSDefaultServiceQuota_serviceCode :: Lens' GetAWSDefaultServiceQuota Text
- getAWSDefaultServiceQuota_quotaCode :: Lens' GetAWSDefaultServiceQuota Text
- data GetAWSDefaultServiceQuotaResponse = GetAWSDefaultServiceQuotaResponse' {
- quota :: Maybe ServiceQuota
- httpStatus :: Int
- newGetAWSDefaultServiceQuotaResponse :: Int -> GetAWSDefaultServiceQuotaResponse
- getAWSDefaultServiceQuotaResponse_quota :: Lens' GetAWSDefaultServiceQuotaResponse (Maybe ServiceQuota)
- getAWSDefaultServiceQuotaResponse_httpStatus :: Lens' GetAWSDefaultServiceQuotaResponse Int
Creating a Request
data GetAWSDefaultServiceQuota Source #
See: newGetAWSDefaultServiceQuota
smart constructor.
GetAWSDefaultServiceQuota' | |
|
Instances
newGetAWSDefaultServiceQuota Source #
:: Text | |
-> Text | |
-> GetAWSDefaultServiceQuota |
Create a value of GetAWSDefaultServiceQuota
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:serviceCode:GetAWSDefaultServiceQuota'
, getAWSDefaultServiceQuota_serviceCode
- The service identifier.
$sel:quotaCode:GetAWSDefaultServiceQuota'
, getAWSDefaultServiceQuota_quotaCode
- The quota identifier.
Request Lenses
getAWSDefaultServiceQuota_serviceCode :: Lens' GetAWSDefaultServiceQuota Text Source #
The service identifier.
getAWSDefaultServiceQuota_quotaCode :: Lens' GetAWSDefaultServiceQuota Text Source #
The quota identifier.
Destructuring the Response
data GetAWSDefaultServiceQuotaResponse Source #
See: newGetAWSDefaultServiceQuotaResponse
smart constructor.
GetAWSDefaultServiceQuotaResponse' | |
|
Instances
Eq GetAWSDefaultServiceQuotaResponse Source # | |
Read GetAWSDefaultServiceQuotaResponse Source # | |
Show GetAWSDefaultServiceQuotaResponse Source # | |
Generic GetAWSDefaultServiceQuotaResponse Source # | |
NFData GetAWSDefaultServiceQuotaResponse Source # | |
Defined in Amazonka.ServiceQuotas.GetAWSDefaultServiceQuota rnf :: GetAWSDefaultServiceQuotaResponse -> () # | |
type Rep GetAWSDefaultServiceQuotaResponse Source # | |
Defined in Amazonka.ServiceQuotas.GetAWSDefaultServiceQuota type Rep GetAWSDefaultServiceQuotaResponse = D1 ('MetaData "GetAWSDefaultServiceQuotaResponse" "Amazonka.ServiceQuotas.GetAWSDefaultServiceQuota" "libZSservicesZSamazonka-service-quotasZSamazonka-service-quotas" 'False) (C1 ('MetaCons "GetAWSDefaultServiceQuotaResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "quota") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ServiceQuota)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))) |
newGetAWSDefaultServiceQuotaResponse Source #
Create a value of GetAWSDefaultServiceQuotaResponse
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:GetAWSDefaultServiceQuotaResponse'
, getAWSDefaultServiceQuotaResponse_quota
- Information about the quota.
$sel:httpStatus:GetAWSDefaultServiceQuotaResponse'
, getAWSDefaultServiceQuotaResponse_httpStatus
- The response's http status code.
Response Lenses
getAWSDefaultServiceQuotaResponse_quota :: Lens' GetAWSDefaultServiceQuotaResponse (Maybe ServiceQuota) Source #
Information about the quota.
getAWSDefaultServiceQuotaResponse_httpStatus :: Lens' GetAWSDefaultServiceQuotaResponse Int Source #
The response's http status code.