| 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 |
Amazonka.ServiceQuotas.ListServiceQuotas
Description
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' {
- maxResults :: Maybe Natural
- nextToken :: Maybe Text
- serviceCode :: Text
- newListServiceQuotas :: Text -> ListServiceQuotas
- listServiceQuotas_maxResults :: Lens' ListServiceQuotas (Maybe Natural)
- listServiceQuotas_nextToken :: Lens' ListServiceQuotas (Maybe Text)
- 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.
Constructors
| ListServiceQuotas' | |
Fields
| |
Instances
Arguments
| :: Text | |
| -> ListServiceQuotas |
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: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.
ListServiceQuotas, listServiceQuotas_nextToken - The token for the next page of results.
ListServiceQuotas, listServiceQuotas_serviceCode - The service identifier.
Request Lenses
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_nextToken :: Lens' ListServiceQuotas (Maybe Text) Source #
The token for the next page of results.
listServiceQuotas_serviceCode :: Lens' ListServiceQuotas Text Source #
The service identifier.
Destructuring the Response
data ListServiceQuotasResponse Source #
See: newListServiceQuotasResponse smart constructor.
Constructors
| ListServiceQuotasResponse' | |
Fields
| |
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:
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.