Skip to content

List Service Quotas

servicequotas_list_service_quotas R Documentation

Lists the applied quota values for the specified Amazon Web Service

Description

Lists the applied quota values for the specified Amazon Web 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.

Usage

servicequotas_list_service_quotas(ServiceCode, NextToken, MaxResults,
  QuotaCode, QuotaAppliedAtLevel)

Arguments

ServiceCode

[required] Specifies the service identifier. To find the service code value for an Amazon Web Services service, use the list_services operation.

NextToken

Specifies a value for receiving additional results after you receive a NextToken response in a previous request. A NextToken response indicates that more output is available. Set this parameter to the value of the previous call's NextToken response to indicate where the output should continue from.

MaxResults

Specifies the maximum number of results that you want included on each page of the response. If you do not include this parameter, it defaults to a value appropriate to the operation. If additional items exist beyond those included in the current response, the NextToken response element is present and has a value (is not null). Include that value as the NextToken request parameter in the next call to the operation to get the next part of the results.

An API operation can return fewer results than the maximum even when there are more results available. You should check NextToken after every operation to ensure that you receive all of the results.

QuotaCode

Specifies the quota identifier. To find the quota code for a specific quota, use the list_service_quotas operation, and look for the QuotaCode response in the output for the quota you want.

QuotaAppliedAtLevel

Specifies at which level of granularity that the quota value is applied.

Value

A list with the following syntax:

list(
  NextToken = "string",
  Quotas = list(
    list(
      ServiceCode = "string",
      ServiceName = "string",
      QuotaArn = "string",
      QuotaCode = "string",
      QuotaName = "string",
      Value = 123.0,
      Unit = "string",
      Adjustable = TRUE|FALSE,
      GlobalQuota = TRUE|FALSE,
      UsageMetric = list(
        MetricNamespace = "string",
        MetricName = "string",
        MetricDimensions = list(
          "string"
        ),
        MetricStatisticRecommendation = "string"
      ),
      Period = list(
        PeriodValue = 123,
        PeriodUnit = "MICROSECOND"|"MILLISECOND"|"SECOND"|"MINUTE"|"HOUR"|"DAY"|"WEEK"
      ),
      ErrorReason = list(
        ErrorCode = "DEPENDENCY_ACCESS_DENIED_ERROR"|"DEPENDENCY_THROTTLING_ERROR"|"DEPENDENCY_SERVICE_ERROR"|"SERVICE_QUOTA_NOT_AVAILABLE_ERROR",
        ErrorMessage = "string"
      ),
      QuotaAppliedAtLevel = "ACCOUNT"|"RESOURCE"|"ALL",
      QuotaContext = list(
        ContextScope = "RESOURCE"|"ACCOUNT",
        ContextScopeType = "string",
        ContextId = "string"
      )
    )
  )
)

Request syntax

svc$list_service_quotas(
  ServiceCode = "string",
  NextToken = "string",
  MaxResults = 123,
  QuotaCode = "string",
  QuotaAppliedAtLevel = "ACCOUNT"|"RESOURCE"|"ALL"
)