Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Submits a quota increase request for the specified quota.
Synopsis
- data RequestServiceQuotaIncrease = RequestServiceQuotaIncrease' {
- serviceCode :: Text
- quotaCode :: Text
- desiredValue :: Double
- newRequestServiceQuotaIncrease :: Text -> Text -> Double -> RequestServiceQuotaIncrease
- requestServiceQuotaIncrease_serviceCode :: Lens' RequestServiceQuotaIncrease Text
- requestServiceQuotaIncrease_quotaCode :: Lens' RequestServiceQuotaIncrease Text
- requestServiceQuotaIncrease_desiredValue :: Lens' RequestServiceQuotaIncrease Double
- data RequestServiceQuotaIncreaseResponse = RequestServiceQuotaIncreaseResponse' {}
- newRequestServiceQuotaIncreaseResponse :: Int -> RequestServiceQuotaIncreaseResponse
- requestServiceQuotaIncreaseResponse_requestedQuota :: Lens' RequestServiceQuotaIncreaseResponse (Maybe RequestedServiceQuotaChange)
- requestServiceQuotaIncreaseResponse_httpStatus :: Lens' RequestServiceQuotaIncreaseResponse Int
Creating a Request
data RequestServiceQuotaIncrease Source #
See: newRequestServiceQuotaIncrease
smart constructor.
RequestServiceQuotaIncrease' | |
|
Instances
newRequestServiceQuotaIncrease Source #
:: Text | |
-> Text | |
-> Double | |
-> RequestServiceQuotaIncrease |
Create a value of RequestServiceQuotaIncrease
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:
RequestServiceQuotaIncrease
, requestServiceQuotaIncrease_serviceCode
- The service identifier.
RequestServiceQuotaIncrease
, requestServiceQuotaIncrease_quotaCode
- The quota identifier.
RequestServiceQuotaIncrease
, requestServiceQuotaIncrease_desiredValue
- The new, increased value for the quota.
Request Lenses
requestServiceQuotaIncrease_serviceCode :: Lens' RequestServiceQuotaIncrease Text Source #
The service identifier.
requestServiceQuotaIncrease_quotaCode :: Lens' RequestServiceQuotaIncrease Text Source #
The quota identifier.
requestServiceQuotaIncrease_desiredValue :: Lens' RequestServiceQuotaIncrease Double Source #
The new, increased value for the quota.
Destructuring the Response
data RequestServiceQuotaIncreaseResponse Source #
See: newRequestServiceQuotaIncreaseResponse
smart constructor.
RequestServiceQuotaIncreaseResponse' | |
|
Instances
newRequestServiceQuotaIncreaseResponse Source #
Create a value of RequestServiceQuotaIncreaseResponse
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:requestedQuota:RequestServiceQuotaIncreaseResponse'
, requestServiceQuotaIncreaseResponse_requestedQuota
- Information about the quota increase request.
$sel:httpStatus:RequestServiceQuotaIncreaseResponse'
, requestServiceQuotaIncreaseResponse_httpStatus
- The response's http status code.
Response Lenses
requestServiceQuotaIncreaseResponse_requestedQuota :: Lens' RequestServiceQuotaIncreaseResponse (Maybe RequestedServiceQuotaChange) Source #
Information about the quota increase request.
requestServiceQuotaIncreaseResponse_httpStatus :: Lens' RequestServiceQuotaIncreaseResponse Int Source #
The response's http status code.