Skip to content

aws.service_quotas.list_aws_default_service_quotas

Example SQL Queries

SELECT * FROM
aws.service_quotas.list_aws_default_service_quotas
WHERE
"service_code" = 'VALUE';

Description

Lists the default values for the quotas for the specified Amazon Web Service. A default value does not reflect any quota increases.

Table Definition

Column NameColumn Data Type
service_code Required Input Column

Specifies the service identifier. To find the service code value for an Amazon Web Services service, use the ListServices operation.

VARCHAR
_aws_profile Input Column

The AWS profile defines the AWS identity used. It can be defined via credentials or by assuming a IAM role.

STRUCT(
"type" VARCHAR,
"name" VARCHAR,
"account_id" VARCHAR,
"via_profile_name" VARCHAR,
"assumed_role_arn" VARCHAR,
"organization" STRUCT(
"account_name" VARCHAR,
"id" VARCHAR,
"tags" STRUCT(
"key" VARCHAR,
"value" VARCHAR
)[],
"master_account" STRUCT(
"id" VARCHAR,
"email" VARCHAR
),
"parents" STRUCT(
"type" VARCHAR,
"id" VARCHAR,
"name" VARCHAR,
"tags" STRUCT(
"key" VARCHAR,
"value" VARCHAR
)[]
)[]
)
)
Show child fields
_aws_profile.account_id

The AWS account id

_aws_profile.assumed_role_arn

The ARN of the assumed role

_aws_profile.name

The unique name of the profile.

_aws_profile.organization

Information about this profile's membership in the AWS organization.

Show child fields
_aws_profile.organization.account_name

The name of account speciifed by the organization

_aws_profile.organization.id

The organization id

_aws_profile.organization.master_account
Show child fields
_aws_profile.organization.master_account.email

The organization master account email address

_aws_profile.organization.master_account.id

The organization master account id

_aws_profile.organization.parents[]
Show child fields
_aws_profile.organization.parents[].id

The id of the parent

_aws_profile.organization.parents[].name

The name of the parent

_aws_profile.organization.parents[].tags[]
Show child fields
_aws_profile.organization.parents[].tags[].key
_aws_profile.organization.parents[].tags[].value
_aws_profile.organization.parents[].type

The type of parent can be an organization unit or a root

_aws_profile.organization.tags[]
Show child fields
_aws_profile.organization.tags[].key
_aws_profile.organization.tags[].value
_aws_profile.type

The type of profile, either 'credentials' or 'assumed_role'

_aws_profile.via_profile_name

This IAM role for this profile is assumed by first utilizing another profile with this name to obtain credentials.

adjustable

Indicates whether the quota value can be increased.

BOOLEAN
error_reason

The error code and error reason.

STRUCT(
"error_code" VARCHAR,
"error_message" VARCHAR
)
Show child fields
error_reason.error_code

Service Quotas returns the following error values:

  • DEPENDENCY_ACCESS_DENIED_ERROR - The caller does not have the required permissions to complete the action. To resolve the error, you must have permission to access the Amazon Web Service or quota.

  • DEPENDENCY_THROTTLING_ERROR - The Amazon Web Service is throttling Service Quotas.

  • DEPENDENCY_SERVICE_ERROR - The Amazon Web Service is not available.

  • SERVICE_QUOTA_NOT_AVAILABLE_ERROR - There was an error in Service Quotas.

error_reason.error_message

The error message.

global_quota

Indicates whether the quota is global.

BOOLEAN
period

The period of time.

STRUCT(
"period_value" BIGINT,
"period_unit" VARCHAR
)
Show child fields
period.period_unit

The time unit.

period.period_value

The value associated with the reported PeriodUnit.

quota_applied_at_level

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

VARCHAR
quota_arn

The Amazon Resource Name (ARN) of the quota.

VARCHAR
quota_code

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

VARCHAR
quota_context

The context for this service quota.

STRUCT(
"context_scope" VARCHAR,
"context_scope_type" VARCHAR,
"context_id" VARCHAR
)
Show child fields
quota_context.context_id

Specifies the Amazon Web Services account or resource to which the quota applies. The value in this field depends on the context scope associated with the specified service quota.

quota_context.context_scope

Specifies whether the quota applies to an Amazon Web Services account, or to a resource.

quota_context.context_scope_type

When the ContextScope is RESOURCE, then this specifies the resource type of the specified resource.

quota_name

Specifies the quota name.

VARCHAR
service_name

Specifies the service name.

VARCHAR
unit

The unit of measurement.

VARCHAR
usage_metric

Information about the measurement.

STRUCT(
"metric_namespace" VARCHAR,
"metric_name" VARCHAR,
"metric_dimensions" MAP(VARCHAR, VARCHAR),
"metric_statistic_recommendation" VARCHAR
)
Show child fields
usage_metric.metric_dimensions

The metric dimension. This is a name/value pair that is part of the identity of a metric.

usage_metric.metric_name

The name of the metric.

usage_metric.metric_namespace

The namespace of the metric.

usage_metric.metric_statistic_recommendation

The metric statistic that we recommend you use when determining quota usage.

value

The quota value.

DOUBLE