amazonka-service-quotas-2.0: Amazon Quotas SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

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

Creating a Request

data ListServiceQuotas Source #

See: newListServiceQuotas smart constructor.

Constructors

ListServiceQuotas' 

Fields

  • maxResults :: Maybe Natural

    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.

  • nextToken :: Maybe Text

    The token for the next page of results.

  • serviceCode :: Text

    The service identifier.

Instances

Instances details
ToJSON ListServiceQuotas Source # 
Instance details

Defined in Amazonka.ServiceQuotas.ListServiceQuotas

ToHeaders ListServiceQuotas Source # 
Instance details

Defined in Amazonka.ServiceQuotas.ListServiceQuotas

ToPath ListServiceQuotas Source # 
Instance details

Defined in Amazonka.ServiceQuotas.ListServiceQuotas

ToQuery ListServiceQuotas Source # 
Instance details

Defined in Amazonka.ServiceQuotas.ListServiceQuotas

AWSPager ListServiceQuotas Source # 
Instance details

Defined in Amazonka.ServiceQuotas.ListServiceQuotas

AWSRequest ListServiceQuotas Source # 
Instance details

Defined in Amazonka.ServiceQuotas.ListServiceQuotas

Associated Types

type AWSResponse ListServiceQuotas #

Generic ListServiceQuotas Source # 
Instance details

Defined in Amazonka.ServiceQuotas.ListServiceQuotas

Associated Types

type Rep ListServiceQuotas :: Type -> Type #

Read ListServiceQuotas Source # 
Instance details

Defined in Amazonka.ServiceQuotas.ListServiceQuotas

Show ListServiceQuotas Source # 
Instance details

Defined in Amazonka.ServiceQuotas.ListServiceQuotas

NFData ListServiceQuotas Source # 
Instance details

Defined in Amazonka.ServiceQuotas.ListServiceQuotas

Methods

rnf :: ListServiceQuotas -> () #

Eq ListServiceQuotas Source # 
Instance details

Defined in Amazonka.ServiceQuotas.ListServiceQuotas

Hashable ListServiceQuotas Source # 
Instance details

Defined in Amazonka.ServiceQuotas.ListServiceQuotas

type AWSResponse ListServiceQuotas Source # 
Instance details

Defined in Amazonka.ServiceQuotas.ListServiceQuotas

type Rep ListServiceQuotas Source # 
Instance details

Defined in Amazonka.ServiceQuotas.ListServiceQuotas

type Rep ListServiceQuotas = D1 ('MetaData "ListServiceQuotas" "Amazonka.ServiceQuotas.ListServiceQuotas" "amazonka-service-quotas-2.0-ACchHzgCDiGBVuQKMEejnj" 'False) (C1 ('MetaCons "ListServiceQuotas'" 'PrefixI 'True) (S1 ('MetaSel ('Just "maxResults") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "serviceCode") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))

newListServiceQuotas Source #

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.

Destructuring the Response

data ListServiceQuotasResponse Source #

See: newListServiceQuotasResponse smart constructor.

Constructors

ListServiceQuotasResponse' 

Fields

Instances

Instances details
Generic ListServiceQuotasResponse Source # 
Instance details

Defined in Amazonka.ServiceQuotas.ListServiceQuotas

Associated Types

type Rep ListServiceQuotasResponse :: Type -> Type #

Read ListServiceQuotasResponse Source # 
Instance details

Defined in Amazonka.ServiceQuotas.ListServiceQuotas

Show ListServiceQuotasResponse Source # 
Instance details

Defined in Amazonka.ServiceQuotas.ListServiceQuotas

NFData ListServiceQuotasResponse Source # 
Instance details

Defined in Amazonka.ServiceQuotas.ListServiceQuotas

Eq ListServiceQuotasResponse Source # 
Instance details

Defined in Amazonka.ServiceQuotas.ListServiceQuotas

type Rep ListServiceQuotasResponse Source # 
Instance details

Defined in Amazonka.ServiceQuotas.ListServiceQuotas

type Rep ListServiceQuotasResponse = D1 ('MetaData "ListServiceQuotasResponse" "Amazonka.ServiceQuotas.ListServiceQuotas" "amazonka-service-quotas-2.0-ACchHzgCDiGBVuQKMEejnj" 'False) (C1 ('MetaCons "ListServiceQuotasResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "quotas") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [ServiceQuota])) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

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.