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 |
Amazonka.ServiceQuotas.GetAWSDefaultServiceQuota
Description
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.
Constructors
GetAWSDefaultServiceQuota' | |
Fields
|
Instances
newGetAWSDefaultServiceQuota Source #
Arguments
:: 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.
Constructors
GetAWSDefaultServiceQuotaResponse' | |
Fields
|
Instances
newGetAWSDefaultServiceQuotaResponse Source #
Arguments
:: Int | |
-> GetAWSDefaultServiceQuotaResponse |
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.