import { Command as $Command } from "@smithy/core/client"; import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { ListServiceQuotasRequest, ListServiceQuotasResponse } from "../models/models_0"; import type { ServiceInputTypes, ServiceOutputTypes, ServiceQuotasClientResolvedConfig } from "../ServiceQuotasClient"; /** * @public */ export type { __MetadataBearer }; export { $Command }; /** * @public * * The input for {@link ListServiceQuotasCommand}. */ export interface ListServiceQuotasCommandInput extends ListServiceQuotasRequest { } /** * @public * * The output of {@link ListServiceQuotasCommand}. */ export interface ListServiceQuotasCommandOutput extends ListServiceQuotasResponse, __MetadataBearer { } declare const ListServiceQuotasCommand_base: { new (input: ListServiceQuotasCommandInput): import("@smithy/core/client").CommandImpl; new (input: ListServiceQuotasCommandInput): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): { [x: string]: unknown; }; }; /** *

Lists the applied quota values for the specified Amazon Web Services 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. Filter responses to return applied quota values at * either the account level, resource level, or all levels.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { ServiceQuotasClient, ListServiceQuotasCommand } from "@aws-sdk/client-service-quotas"; // ES Modules import * // const { ServiceQuotasClient, ListServiceQuotasCommand } = require("@aws-sdk/client-service-quotas"); // CommonJS import * // import type { ServiceQuotasClientConfig } from "@aws-sdk/client-service-quotas"; * const config = {}; // type is ServiceQuotasClientConfig * const client = new ServiceQuotasClient(config); * const input = { // ListServiceQuotasRequest * ServiceCode: "STRING_VALUE", // required * NextToken: "STRING_VALUE", * MaxResults: Number("int"), * QuotaCode: "STRING_VALUE", * QuotaAppliedAtLevel: "ACCOUNT" || "RESOURCE" || "ALL", * }; * const command = new ListServiceQuotasCommand(input); * const response = await client.send(command); * // { // ListServiceQuotasResponse * // NextToken: "STRING_VALUE", * // Quotas: [ // ServiceQuotaListDefinition * // { // ServiceQuota * // ServiceCode: "STRING_VALUE", * // ServiceName: "STRING_VALUE", * // QuotaArn: "STRING_VALUE", * // QuotaCode: "STRING_VALUE", * // QuotaName: "STRING_VALUE", * // Value: Number("double"), * // Unit: "STRING_VALUE", * // Adjustable: true || false, * // GlobalQuota: true || false, * // UsageMetric: { // MetricInfo * // MetricNamespace: "STRING_VALUE", * // MetricName: "STRING_VALUE", * // MetricDimensions: { // MetricDimensionsMapDefinition * // "": "STRING_VALUE", * // }, * // MetricStatisticRecommendation: "STRING_VALUE", * // }, * // Period: { // QuotaPeriod * // PeriodValue: Number("int"), * // PeriodUnit: "MICROSECOND" || "MILLISECOND" || "SECOND" || "MINUTE" || "HOUR" || "DAY" || "WEEK", * // }, * // ErrorReason: { // ErrorReason * // ErrorCode: "DEPENDENCY_ACCESS_DENIED_ERROR" || "DEPENDENCY_THROTTLING_ERROR" || "DEPENDENCY_SERVICE_ERROR" || "SERVICE_QUOTA_NOT_AVAILABLE_ERROR", * // ErrorMessage: "STRING_VALUE", * // }, * // QuotaAppliedAtLevel: "ACCOUNT" || "RESOURCE" || "ALL", * // QuotaContext: { // QuotaContextInfo * // ContextScope: "RESOURCE" || "ACCOUNT", * // ContextScopeType: "STRING_VALUE", * // ContextId: "STRING_VALUE", * // }, * // Description: "STRING_VALUE", * // }, * // ], * // }; * * ``` * * @param ListServiceQuotasCommandInput - {@link ListServiceQuotasCommandInput} * @returns {@link ListServiceQuotasCommandOutput} * @see {@link ListServiceQuotasCommandInput} for command's `input` shape. * @see {@link ListServiceQuotasCommandOutput} for command's `response` shape. * @see {@link ServiceQuotasClientResolvedConfig | config} for ServiceQuotasClient's `config` shape. * * @throws {@link AccessDeniedException} (client fault) *

You do not have sufficient permission to perform this action.

* * @throws {@link IllegalArgumentException} (client fault) *

Invalid input was provided.

* * @throws {@link InvalidPaginationTokenException} (client fault) *

Invalid input was provided.

* * @throws {@link NoSuchResourceException} (client fault) *

The specified resource does not exist.

* * @throws {@link ServiceException} (server fault) *

Something went wrong.

* * @throws {@link TooManyRequestsException} (client fault) *

Due to throttling, the request was denied. Slow down the rate of request calls, or * request an increase for this quota.

* * @throws {@link ServiceQuotasServiceException} *

Base exception class for all service exceptions from ServiceQuotas service.

* * * @public */ export declare class ListServiceQuotasCommand extends ListServiceQuotasCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: ListServiceQuotasRequest; output: ListServiceQuotasResponse; }; sdk: { input: ListServiceQuotasCommandInput; output: ListServiceQuotasCommandOutput; }; }; }