API Gateway の Documentation parts per API のクォータを確認する方法を教えてください
困っていた内容
API Gateway で API ドキュメントのインポートを実施したところ、以下のエラーが発生してインポートできませんでした。
Warnings found during import: Unable to import documentation parts from the Swagger file because it contains more documentation parts than the maximum number allowed for this API. Please contact AWS if you need additional documentation parts.
クォータのドキュメントを確認したところ、Documentation parts per API のデフォルトのクォータが 2,000 であることは確認できましたが、サービスクォータコンソールからは現在のクォータを確認できませんでした。
API Gateway の Documentation parts per API のクォータを確認する方法を教えてください。
どう対応すればいいの?
本記事執筆時点では Documentation parts per API のクォータを確認するためには AWS サポートケースを起票する必要があります。
AWS service quotas
If a service is not yet available in Service Quotas, use the AWS Support Center Console to create a service quota increase case.
弊社メンバーズサービスをご利用のお客様は弊社宛てにお問い合わせ頂ければ弊社から AWS に確認いたしますので、確認希望の旨を添えてお問い合わせください。
確認してみた
サービスクォータコンソールの API Gateway のサービスカテゴリから Documentation parts per API を検索しましたがヒットしませんでした。
念のため AWS CLI の list-aws-default-service-quotas
コマンドでも確認しましたが、Documentation parts per API の項目はありませんでした。
コマンド実行結果
$ aws service-quotas list-aws-default-service-quotas --service-code apigateway
{
"Quotas": [
{
"ServiceCode": "apigateway",
"ServiceName": "Amazon API Gateway",
"QuotaArn": "arn:aws:servicequotas:ap-northeast-1::apigateway/L-4D98A8A5",
"QuotaCode": "L-4D98A8A5",
"QuotaName": "Domain name access associations",
"Value": 100.0,
"Unit": "None",
"Adjustable": false,
"GlobalQuota": false
},
{
"ServiceCode": "apigateway",
"ServiceName": "Amazon API Gateway",
"QuotaArn": "arn:aws:servicequotas:ap-northeast-1::apigateway/L-65B5C802",
"QuotaCode": "L-65B5C802",
"QuotaName": "Routes per HTTP API",
"Value": 300.0,
"Unit": "None",
"Adjustable": true,
"GlobalQuota": false
},
{
"ServiceCode": "apigateway",
"ServiceName": "Amazon API Gateway",
"QuotaArn": "arn:aws:servicequotas:ap-northeast-1::apigateway/L-AA0FF27B",
"QuotaCode": "L-AA0FF27B",
"QuotaName": "Regional APIs",
"Value": 600.0,
"Unit": "None",
"Adjustable": false,
"GlobalQuota": false
},
{
"ServiceCode": "apigateway",
"ServiceName": "Amazon API Gateway",
"QuotaArn": "arn:aws:servicequotas:ap-northeast-1::apigateway/L-E1465507",
"QuotaCode": "L-E1465507",
"QuotaName": "WebSocket new connections burst rate",
"Value": 500.0,
"Unit": "None",
"Adjustable": false,
"GlobalQuota": false
},
{
"ServiceCode": "apigateway",
"ServiceName": "Amazon API Gateway",
"QuotaArn": "arn:aws:servicequotas:ap-northeast-1::apigateway/L-1D180A63",
"QuotaCode": "L-1D180A63",
"QuotaName": "API keys",
"Value": 10000.0,
"Unit": "None",
"Adjustable": false,
"GlobalQuota": false
},
{
"ServiceCode": "apigateway",
"ServiceName": "Amazon API Gateway",
"QuotaArn": "arn:aws:servicequotas:ap-northeast-1::apigateway/L-E8693075",
"QuotaCode": "L-E8693075",
"QuotaName": "Usage plans",
"Value": 300.0,
"Unit": "None",
"Adjustable": true,
"GlobalQuota": false
},
{
"ServiceCode": "apigateway",
"ServiceName": "Amazon API Gateway",
"QuotaArn": "arn:aws:servicequotas:ap-northeast-1::apigateway/L-E9EEB922",
"QuotaCode": "L-E9EEB922",
"QuotaName": "Maximum Combined Header Size",
"Value": 10240.0,
"Unit": "Bytes",
"Adjustable": false,
"GlobalQuota": false
},
{
"ServiceCode": "apigateway",
"ServiceName": "Amazon API Gateway",
"QuotaArn": "arn:aws:servicequotas:ap-northeast-1::apigateway/L-01C8A9E0",
"QuotaCode": "L-01C8A9E0",
"QuotaName": "Resources/Routes per REST/WebSocket API",
"Value": 300.0,
"Unit": "None",
"Adjustable": true,
"GlobalQuota": false
},
{
"ServiceCode": "apigateway",
"ServiceName": "Amazon API Gateway",
"QuotaArn": "arn:aws:servicequotas:ap-northeast-1::apigateway/L-A93447B8",
"QuotaCode": "L-A93447B8",
"QuotaName": "Custom Domain Names",
"Value": 120.0,
"Unit": "None",
"Adjustable": true,
"GlobalQuota": false
},
{
"ServiceCode": "apigateway",
"ServiceName": "Amazon API Gateway",
"QuotaArn": "arn:aws:servicequotas:ap-northeast-1::apigateway/L-E5AE38E3",
"QuotaCode": "L-E5AE38E3",
"QuotaName": "Maximum integration timeout in milliseconds",
"Value": 29000.0,
"Unit": "Milliseconds",
"Adjustable": true,
"GlobalQuota": false
},
{
"ServiceCode": "apigateway",
"ServiceName": "Amazon API Gateway",
"QuotaArn": "arn:aws:servicequotas:ap-northeast-1::apigateway/L-95BA6EA5",
"QuotaCode": "L-95BA6EA5",
"QuotaName": "Stage variables per stage",
"Value": 100.0,
"Unit": "None",
"Adjustable": false,
"GlobalQuota": false
},
{
"ServiceCode": "apigateway",
"ServiceName": "Amazon API Gateway",
"QuotaArn": "arn:aws:servicequotas:ap-northeast-1::apigateway/L-B97207D0",
"QuotaCode": "L-B97207D0",
"QuotaName": "Edge-optimized APIs",
"Value": 120.0,
"Unit": "None",
"Adjustable": false,
"GlobalQuota": false
},
{
"ServiceCode": "apigateway",
"ServiceName": "Amazon API Gateway",
"QuotaArn": "arn:aws:servicequotas:ap-northeast-1::apigateway/L-46624B39",
"QuotaCode": "L-46624B39",
"QuotaName": "API Payload Size",
"Value": 10.0,
"Unit": "Megabytes",
"Adjustable": false,
"GlobalQuota": false
},
{
"ServiceCode": "apigateway",
"ServiceName": "Amazon API Gateway",
"QuotaArn": "arn:aws:servicequotas:ap-northeast-1::apigateway/L-5244589D",
"QuotaCode": "L-5244589D",
"QuotaName": "Method ARN Length",
"Value": 1600.0,
"Unit": "Bytes",
"Adjustable": false,
"GlobalQuota": false
},
{
"ServiceCode": "apigateway",
"ServiceName": "Amazon API Gateway",
"QuotaArn": "arn:aws:servicequotas:ap-northeast-1::apigateway/L-A9DBC573",
"QuotaCode": "L-A9DBC573",
"QuotaName": "API Stage throttles in a usage plan",
"Value": 20.0,
"Unit": "None",
"Adjustable": true,
"GlobalQuota": false
},
{
"ServiceCode": "apigateway",
"ServiceName": "Amazon API Gateway",
"QuotaArn": "arn:aws:servicequotas:ap-northeast-1::apigateway/L-9C147DE4",
"QuotaCode": "L-9C147DE4",
"QuotaName": "Edge API URL Length",
"Value": 8192.0,
"Unit": "None",
"Adjustable": false,
"GlobalQuota": false
},
{
"ServiceCode": "apigateway",
"ServiceName": "Amazon API Gateway",
"QuotaArn": "arn:aws:servicequotas:ap-northeast-1::apigateway/L-B2CF62DC",
"QuotaCode": "L-B2CF62DC",
"QuotaName": "Stage Variable Value Length",
"Value": 512.0,
"Unit": "None",
"Adjustable": false,
"GlobalQuota": false
},
{
"ServiceCode": "apigateway",
"ServiceName": "Amazon API Gateway",
"QuotaArn": "arn:aws:servicequotas:ap-northeast-1::apigateway/L-E11F7D5D",
"QuotaCode": "L-E11F7D5D",
"QuotaName": "WebSocket frame size",
"Value": 32.0,
"Unit": "Kilobytes",
"Adjustable": false,
"GlobalQuota": false
},
{
"ServiceCode": "apigateway",
"ServiceName": "Amazon API Gateway",
"QuotaArn": "arn:aws:servicequotas:ap-northeast-1::apigateway/L-20859C74",
"QuotaCode": "L-20859C74",
"QuotaName": "AWS Lambda authorizer result size",
"Value": 8.0,
"Unit": "Kilobytes",
"Adjustable": false,
"GlobalQuota": false
},
{
"ServiceCode": "apigateway",
"ServiceName": "Amazon API Gateway",
"QuotaArn": "arn:aws:servicequotas:ap-northeast-1::apigateway/L-9ED1E49A",
"QuotaCode": "L-9ED1E49A",
"QuotaName": "WebSocket new connections rate",
"Value": 500.0,
"Unit": "None",
"Adjustable": true,
"GlobalQuota": false
},
{
"ServiceCode": "apigateway",
"ServiceName": "Amazon API Gateway",
"QuotaArn": "arn:aws:servicequotas:ap-northeast-1::apigateway/L-379E48B0",
"QuotaCode": "L-379E48B0",
"QuotaName": "Stages per API",
"Value": 10.0,
"Unit": "None",
"Adjustable": true,
"GlobalQuota": false
},
{
"ServiceCode": "apigateway",
"ServiceName": "Amazon API Gateway",
"QuotaArn": "arn:aws:servicequotas:ap-northeast-1::apigateway/L-8A5B8E43",
"QuotaCode": "L-8A5B8E43",
"QuotaName": "Throttle rate",
"Value": 10000.0,
"Unit": "None",
"Adjustable": true,
"GlobalQuota": false
},
{
"ServiceCode": "apigateway",
"ServiceName": "Amazon API Gateway",
"QuotaArn": "arn:aws:servicequotas:ap-northeast-1::apigateway/L-985EB478",
"QuotaCode": "L-985EB478",
"QuotaName": "Usage plans per API key",
"Value": 10.0,
"Unit": "None",
"Adjustable": true,
"GlobalQuota": false
},
{
"ServiceCode": "apigateway",
"ServiceName": "Amazon API Gateway",
"QuotaArn": "arn:aws:servicequotas:ap-northeast-1::apigateway/L-824C9E42",
"QuotaCode": "L-824C9E42",
"QuotaName": "Client certificates",
"Value": 60.0,
"Unit": "None",
"Adjustable": true,
"GlobalQuota": false
},
{
"ServiceCode": "apigateway",
"ServiceName": "Amazon API Gateway",
"QuotaArn": "arn:aws:servicequotas:ap-northeast-1::apigateway/L-60AC41CD",
"QuotaCode": "L-60AC41CD",
"QuotaName": "WebSocket Idle Connection Timeout",
"Value": 600.0,
"Unit": "Seconds",
"Adjustable": false,
"GlobalQuota": false
},
{
"ServiceCode": "apigateway",
"ServiceName": "Amazon API Gateway",
"QuotaArn": "arn:aws:servicequotas:ap-northeast-1::apigateway/L-A6CCE716",
"QuotaCode": "L-A6CCE716",
"QuotaName": "Connection duration for WebSocket API",
"Value": 7200.0,
"Unit": "Seconds",
"Adjustable": false,
"GlobalQuota": false
},
{
"ServiceCode": "apigateway",
"ServiceName": "Amazon API Gateway",
"QuotaArn": "arn:aws:servicequotas:ap-northeast-1::apigateway/L-668C9B28",
"QuotaCode": "L-668C9B28",
"QuotaName": "Subnets per VPC link(V2)",
"Value": 10.0,
"Unit": "None",
"Adjustable": true,
"GlobalQuota": false
},
{
"ServiceCode": "apigateway",
"ServiceName": "Amazon API Gateway",
"QuotaArn": "arn:aws:servicequotas:ap-northeast-1::apigateway/L-FD0EB744",
"QuotaCode": "L-FD0EB744",
"QuotaName": "WebSocket message payload size",
"Value": 128.0,
"Unit": "Kilobytes",
"Adjustable": false,
"GlobalQuota": false
},
{
"ServiceCode": "apigateway",
"ServiceName": "Amazon API Gateway",
"QuotaArn": "arn:aws:servicequotas:ap-northeast-1::apigateway/L-8B81B02C",
"QuotaCode": "L-8B81B02C",
"QuotaName": "Maximum resource policy size in bytes",
"Value": 8192.0,
"Unit": "None",
"Adjustable": true,
"GlobalQuota": false
},
{
"ServiceCode": "apigateway",
"ServiceName": "Amazon API Gateway",
"QuotaArn": "arn:aws:servicequotas:ap-northeast-1::apigateway/L-A4C7274F",
"QuotaCode": "L-A4C7274F",
"QuotaName": "VPC links",
"Value": 20.0,
"Unit": "None",
"Adjustable": true,
"GlobalQuota": false
},
{
"ServiceCode": "apigateway",
"ServiceName": "Amazon API Gateway",
"QuotaArn": "arn:aws:servicequotas:ap-northeast-1::apigateway/L-8E6A5A87",
"QuotaCode": "L-8E6A5A87",
"QuotaName": "Maximum Iterations In Mapping Template",
"Value": 1000.0,
"Unit": "None",
"Adjustable": false,
"GlobalQuota": false
},
{
"ServiceCode": "apigateway",
"ServiceName": "Amazon API Gateway",
"QuotaArn": "arn:aws:servicequotas:ap-northeast-1::apigateway/L-608BDCD4",
"QuotaCode": "L-608BDCD4",
"QuotaName": "VPC links(V2)",
"Value": 10.0,
"Unit": "None",
"Adjustable": true,
"GlobalQuota": false
},
{
"ServiceCode": "apigateway",
"ServiceName": "Amazon API Gateway",
"QuotaArn": "arn:aws:servicequotas:ap-northeast-1::apigateway/L-24E7E662",
"QuotaCode": "L-24E7E662",
"QuotaName": "Private custom domain names",
"Value": 50.0,
"Unit": "None",
"Adjustable": false,
"GlobalQuota": false
},
{
"ServiceCode": "apigateway",
"ServiceName": "Amazon API Gateway",
"QuotaArn": "arn:aws:servicequotas:ap-northeast-1::apigateway/L-8C2F9A1D",
"QuotaCode": "L-8C2F9A1D",
"QuotaName": "Maximum API caching TTL",
"Value": 3600.0,
"Unit": "Seconds",
"Adjustable": false,
"GlobalQuota": false
},
{
"ServiceCode": "apigateway",
"ServiceName": "Amazon API Gateway",
"QuotaArn": "arn:aws:servicequotas:ap-northeast-1::apigateway/L-3A613F94",
"QuotaCode": "L-3A613F94",
"QuotaName": "Stage Variable Key Length",
"Value": 64.0,
"Unit": "None",
"Adjustable": false,
"GlobalQuota": false
},
{
"ServiceCode": "apigateway",
"ServiceName": "Amazon API Gateway",
"QuotaArn": "arn:aws:servicequotas:ap-northeast-1::apigateway/L-A7033131",
"QuotaCode": "L-A7033131",
"QuotaName": "Regional API URL Length",
"Value": 10240.0,
"Unit": "None",
"Adjustable": false,
"GlobalQuota": false
},
{
"ServiceCode": "apigateway",
"ServiceName": "Amazon API Gateway",
"QuotaArn": "arn:aws:servicequotas:ap-northeast-1::apigateway/L-CC2525B6",
"QuotaCode": "L-CC2525B6",
"QuotaName": "Maximum Cached Response Size",
"Value": 1048576.0,
"Unit": "Bytes",
"Adjustable": false,
"GlobalQuota": false
},
{
"ServiceCode": "apigateway",
"ServiceName": "Amazon API Gateway",
"QuotaArn": "arn:aws:servicequotas:ap-northeast-1::apigateway/L-FB4F0270",
"QuotaCode": "L-FB4F0270",
"QuotaName": "Tags Per Stage",
"Value": 50.0,
"Unit": "None",
"Adjustable": false,
"GlobalQuota": false
},
{
"ServiceCode": "apigateway",
"ServiceName": "Amazon API Gateway",
"QuotaArn": "arn:aws:servicequotas:ap-northeast-1::apigateway/L-CDF5615A",
"QuotaCode": "L-CDF5615A",
"QuotaName": "Throttle burst rate",
"Value": 5000.0,
"Unit": "None",
"Adjustable": false,
"GlobalQuota": false
},
{
"ServiceCode": "apigateway",
"ServiceName": "Amazon API Gateway",
"QuotaArn": "arn:aws:servicequotas:ap-northeast-1::apigateway/L-A966AB5C",
"QuotaCode": "L-A966AB5C",
"QuotaName": "Private APIs",
"Value": 600.0,
"Unit": "None",
"Adjustable": false,
"GlobalQuota": false
}
]
}