| 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.ListAWSDefaultServiceQuotas
Description
Lists the default values for the quotas for the specified AWS service. A default value does not reflect any quota increases.
This operation returns paginated results.
Synopsis
- data ListAWSDefaultServiceQuotas = ListAWSDefaultServiceQuotas' {
- maxResults :: Maybe Natural
- nextToken :: Maybe Text
- serviceCode :: Text
- newListAWSDefaultServiceQuotas :: Text -> ListAWSDefaultServiceQuotas
- listAWSDefaultServiceQuotas_maxResults :: Lens' ListAWSDefaultServiceQuotas (Maybe Natural)
- listAWSDefaultServiceQuotas_nextToken :: Lens' ListAWSDefaultServiceQuotas (Maybe Text)
- listAWSDefaultServiceQuotas_serviceCode :: Lens' ListAWSDefaultServiceQuotas Text
- data ListAWSDefaultServiceQuotasResponse = ListAWSDefaultServiceQuotasResponse' {
- nextToken :: Maybe Text
- quotas :: Maybe [ServiceQuota]
- httpStatus :: Int
- newListAWSDefaultServiceQuotasResponse :: Int -> ListAWSDefaultServiceQuotasResponse
- listAWSDefaultServiceQuotasResponse_nextToken :: Lens' ListAWSDefaultServiceQuotasResponse (Maybe Text)
- listAWSDefaultServiceQuotasResponse_quotas :: Lens' ListAWSDefaultServiceQuotasResponse (Maybe [ServiceQuota])
- listAWSDefaultServiceQuotasResponse_httpStatus :: Lens' ListAWSDefaultServiceQuotasResponse Int
Creating a Request
data ListAWSDefaultServiceQuotas Source #
See: newListAWSDefaultServiceQuotas smart constructor.
Constructors
| ListAWSDefaultServiceQuotas' | |
Fields
| |
Instances
newListAWSDefaultServiceQuotas Source #
Arguments
| :: Text | |
| -> ListAWSDefaultServiceQuotas |
Create a value of ListAWSDefaultServiceQuotas 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:ListAWSDefaultServiceQuotas', listAWSDefaultServiceQuotas_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.
ListAWSDefaultServiceQuotas, listAWSDefaultServiceQuotas_nextToken - The token for the next page of results.
ListAWSDefaultServiceQuotas, listAWSDefaultServiceQuotas_serviceCode - The service identifier.
Request Lenses
listAWSDefaultServiceQuotas_maxResults :: Lens' ListAWSDefaultServiceQuotas (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.
listAWSDefaultServiceQuotas_nextToken :: Lens' ListAWSDefaultServiceQuotas (Maybe Text) Source #
The token for the next page of results.
listAWSDefaultServiceQuotas_serviceCode :: Lens' ListAWSDefaultServiceQuotas Text Source #
The service identifier.
Destructuring the Response
data ListAWSDefaultServiceQuotasResponse Source #
See: newListAWSDefaultServiceQuotasResponse smart constructor.
Constructors
| ListAWSDefaultServiceQuotasResponse' | |
Fields
| |
Instances
newListAWSDefaultServiceQuotasResponse Source #
Arguments
| :: Int | |
| -> ListAWSDefaultServiceQuotasResponse |
Create a value of ListAWSDefaultServiceQuotasResponse 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:
ListAWSDefaultServiceQuotas, listAWSDefaultServiceQuotasResponse_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:ListAWSDefaultServiceQuotasResponse', listAWSDefaultServiceQuotasResponse_quotas - Information about the quotas.
$sel:httpStatus:ListAWSDefaultServiceQuotasResponse', listAWSDefaultServiceQuotasResponse_httpStatus - The response's http status code.
Response Lenses
listAWSDefaultServiceQuotasResponse_nextToken :: Lens' ListAWSDefaultServiceQuotasResponse (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.
listAWSDefaultServiceQuotasResponse_quotas :: Lens' ListAWSDefaultServiceQuotasResponse (Maybe [ServiceQuota]) Source #
Information about the quotas.
listAWSDefaultServiceQuotasResponse_httpStatus :: Lens' ListAWSDefaultServiceQuotasResponse Int Source #
The response's http status code.