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 |
Lists the applied quota values for the specified AWS service. 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.
This operation returns paginated results.
Synopsis
- data ListServiceQuotas = ListServiceQuotas' {
- nextToken :: Maybe Text
- maxResults :: Maybe Natural
- serviceCode :: Text
- newListServiceQuotas :: Text -> ListServiceQuotas
- listServiceQuotas_nextToken :: Lens' ListServiceQuotas (Maybe Text)
- listServiceQuotas_maxResults :: Lens' ListServiceQuotas (Maybe Natural)
- listServiceQuotas_serviceCode :: Lens' ListServiceQuotas Text
- data ListServiceQuotasResponse = ListServiceQuotasResponse' {
- nextToken :: Maybe Text
- quotas :: Maybe [ServiceQuota]
- httpStatus :: Int
- newListServiceQuotasResponse :: Int -> ListServiceQuotasResponse
- listServiceQuotasResponse_nextToken :: Lens' ListServiceQuotasResponse (Maybe Text)
- listServiceQuotasResponse_quotas :: Lens' ListServiceQuotasResponse (Maybe [ServiceQuota])
- listServiceQuotasResponse_httpStatus :: Lens' ListServiceQuotasResponse Int
Creating a Request
data ListServiceQuotas Source #
See: newListServiceQuotas
smart constructor.
ListServiceQuotas' | |
|
Instances
Create a value of ListServiceQuotas
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:nextToken:ListServiceQuotas'
, listServiceQuotas_nextToken
- The token for the next page of results.
$sel:maxResults:ListServiceQuotas'
, listServiceQuotas_maxResults
- The maximum number of results to return with a single call. To retrieve
the remaining results, if any, make another call with the token returned
from this call.
$sel:serviceCode:ListServiceQuotas'
, listServiceQuotas_serviceCode
- The service identifier.
Request Lenses
listServiceQuotas_nextToken :: Lens' ListServiceQuotas (Maybe Text) Source #
The token for the next page of results.
listServiceQuotas_maxResults :: Lens' ListServiceQuotas (Maybe Natural) Source #
The maximum number of results to return with a single call. To retrieve the remaining results, if any, make another call with the token returned from this call.
listServiceQuotas_serviceCode :: Lens' ListServiceQuotas Text Source #
The service identifier.
Destructuring the Response
data ListServiceQuotasResponse Source #
See: newListServiceQuotasResponse
smart constructor.
ListServiceQuotasResponse' | |
|
Instances
newListServiceQuotasResponse Source #
Create a value of ListServiceQuotasResponse
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:nextToken:ListServiceQuotas'
, listServiceQuotasResponse_nextToken
- The token to use to retrieve the next page of results. This value is
null when there are no more results to return.
$sel:quotas:ListServiceQuotasResponse'
, listServiceQuotasResponse_quotas
- Information about the quotas.
$sel:httpStatus:ListServiceQuotasResponse'
, listServiceQuotasResponse_httpStatus
- The response's http status code.
Response Lenses
listServiceQuotasResponse_nextToken :: Lens' ListServiceQuotasResponse (Maybe Text) Source #
The token to use to retrieve the next page of results. This value is null when there are no more results to return.
listServiceQuotasResponse_quotas :: Lens' ListServiceQuotasResponse (Maybe [ServiceQuota]) Source #
Information about the quotas.
listServiceQuotasResponse_httpStatus :: Lens' ListServiceQuotasResponse Int Source #
The response's http status code.