Skip to content
awsclaw-apigateway logo

Awsclaw Apigateway

awsclaw-apigateway

Manage and inspect AWS API Gateway REST APIs, resources, methods, stages, authorizers, usage plans, and domain names using the awsclaw VS Code extension APIGatewayTool.

necatiarslan/awsclaw0installs1stars

SKILL.md

Full skill instructions

awsclaw-apigateway

Use the APIGatewayTool language tool in VS Code to manage, inspect, and test AWS API Gateway REST APIs — resources, methods, integrations, stages, authorizers, usage plans, and more.

When to Use

  • User wants to list or inspect REST APIs
  • User wants to view API resources, methods, and integrations
  • User wants to inspect stages, deployments, or stage variables
  • User wants to view or test authorizers
  • User wants to test invoke a method without deploying
  • User wants to inspect usage plans, API keys, or quotas
  • User wants to view custom domain names, base path mappings, or VPC links
  • User wants to view models, request validators, or documentation
  • User wants to export an API or get SDK artifacts
  • User wants to create or delete APIs, resources, stages, authorizers, or usage plans
  • User wants to update API definitions or stage settings

Tool Reference

Tool name: APIGatewayTool

Input Schema

{
  "command": "<CommandName>",
  "params": { ... }
}

Commands (68 total)

CommandDescription
GetAccountGet API Gateway account settings
GetApiKeyGet a specific API key
GetApiKeysList API keys
GetAuthorizerGet a specific authorizer
GetAuthorizersList authorizers for an API
GetBasePathMappingGet a base path mapping
GetBasePathMappingsList base path mappings for a domain
GetClientCertificateGet a specific client certificate
GetClientCertificatesList client certificates
GetDeploymentGet a specific deployment
GetDeploymentsList deployments for an API
GetDocumentationPartGet a documentation part
GetDocumentationPartsList documentation parts
GetDocumentationVersionGet a documentation version
GetDocumentationVersionsList documentation versions
GetDomainNameGet a custom domain name
GetDomainNamesList custom domain names
GetExportExport an API as a Swagger/​OAS file
GetGatewayResponseGet a gateway response
GetGatewayResponsesList gateway responses
GetIntegrationGet integration for a method
GetIntegrationResponseGet integration response
GetMethodGet a specific method
GetMethodResponseGet a method response
GetModelGet a specific model
GetModelsList models for an API
GetRequestValidatorGet a request validator
GetRequestValidatorsList request validators
GetResourceGet a specific resource
GetResourcesList resources for an API
GetRestApiGet a specific REST API
GetRestApisList all REST APIs
GetSdkGet SDK for an API stage
GetSdkTypeGet an SDK type
GetSdkTypesList available SDK types
GetStageGet a specific stage
GetStagesList stages for an API
GetTagsGet tags for a resource
GetUsageGet usage data for a plan
GetUsagePlanGet a specific usage plan
GetUsagePlanKeyGet a specific usage plan key
GetUsagePlanKeysList keys for a usage plan
GetUsagePlansList usage plans
GetVpcLinkGet a specific VPC link
GetVpcLinksList VPC links
TestInvokeAuthorizerTest invoke an authorizer
TestInvokeMethodTest invoke a method
CreateRestApiCreate a REST API
CreateResourceCreate a resource under a REST API
PutMethodCreate or update a method on a resource
CreateDeploymentCreate a deployment
CreateStageCreate a stage
CreateAuthorizerCreate an authorizer
CreateApiKeyCreate an API key
CreateUsagePlanCreate a usage plan
CreateDomainNameCreate a custom domain name
ImportRestApiImport a REST API from Swagger/​OAS
DeleteRestApiDelete a REST API
DeleteResourceDelete a resource
DeleteMethodDelete a method
DeleteStageDelete a stage
DeleteAuthorizerDelete an authorizer
DeleteApiKeyDelete an API key
DeleteUsagePlanDelete a usage plan
DeleteDomainNameDelete a custom domain name
UpdateRestApiUpdate a REST API
UpdateStageUpdate a stage
TagResourceTag an API Gateway resource
UntagResourceRemove tags from a resource

Parameters

ParameterTypeDescription
restApiIdstringREST API identifier (Required by: most Get commands that operate on a specific API)
resourceIdstringResource ID (Required by: GetIntegration, GetIntegrationResponse, GetMethod, GetMethodResponse, GetResource, TestInvokeMethod)
httpMethodstringHTTP method — GET, POST, PUT, DELETE, etc. (Required by: GetIntegration, GetIntegrationResponse, GetMethod, GetMethodResponse, TestInvokeMethod)
stageNamestringStage name (Required by: GetStage)
authorizerIdstringAuthorizer ID (Required by: GetAuthorizer, TestInvokeAuthorizer)
usagePlanIdstringUsage plan ID (Required by: GetUsagePlan, GetUsagePlanKey, GetUsagePlanKeys)
keyIdstringUsage plan key ID (Required by: GetUsagePlanKey)
domainNamestringCustom domain name (Required by: GetDomainName, GetBasePathMapping, GetBasePathMappings)
statusCodestringStatus code for GetMethodResponse (Required by: GetMethodResponse)
limitnumberMaximum results for list operations (Used by: all list/​get-multiple commands)
positionstringPagination position token (Used by: all list/​get-multiple commands)
namestringName filter (Used by: GetApiKeys, GetRestApis)
headersobjectRequest headers for test invocation (Used by: TestInvokeMethod, TestInvokeAuthorizer)
multiValueHeadersobjectMulti-value headers for test invocation (Used by: TestInvokeMethod, TestInvokeAuthorizer)
pathWithQueryStringstringPath with query string for test invocation (Used by: TestInvokeMethod, TestInvokeAuthorizer)
bodystringRequest body for test invocation (Used by: TestInvokeMethod, TestInvokeAuthorizer)
stageVariablesobjectStage variables for test invocation (Used by: TestInvokeMethod, TestInvokeAuthorizer)
additionalContextobjectAdditional context for authorizer test (Used by: TestInvokeAuthorizer)
includeCredentialsbooleanInclude credentials in export (Used by: GetExport)

Usage Examples

List all REST APIs

{ "command": "GetRestApis", "params": { "limit": 25 } }

Get details of a specific API

{ "command": "GetRestApi", "params": { "restApiId": "abc123def" } }

List resources for an API

{ "command": "GetResources", "params": { "restApiId": "abc123def", "limit": 100 } }

Get a specific method

{ "command": "GetMethod", "params": { "restApiId": "abc123def", "resourceId": "xyz789", "httpMethod": "GET" } }

Get integration details

{ "command": "GetIntegration", "params": { "restApiId": "abc123def", "resourceId": "xyz789", "httpMethod": "POST" } }

List stages

{ "command": "GetStages", "params": { "restApiId": "abc123def" } }

Get a specific stage

{ "command": "GetStage", "params": { "restApiId": "abc123def", "stageName": "prod" } }

List deployments

{ "command": "GetDeployments", "params": { "restApiId": "abc123def", "limit": 10 } }

Test invoke a method

{ "command": "TestInvokeMethod", "params": { "restApiId": "abc123def", "resourceId": "xyz789", "httpMethod": "GET", "pathWithQueryString": "/​items?category=books" } }

Test invoke a method with body

{ "command": "TestInvokeMethod", "params": { "restApiId": "abc123def", "resourceId": "xyz789", "httpMethod": "POST", "pathWithQueryString": "/​items", "body": "{\"name\": \"test\", \"price\": 9.99}", "headers": { "Content-Type": "application/​json" } } }

Test invoke an authorizer

{ "command": "TestInvokeAuthorizer", "params": { "restApiId": "abc123def", "authorizerId": "auth001", "headers": { "Authorization": "Bearer eyJ..." } } }

List authorizers

{ "command": "GetAuthorizers", "params": { "restApiId": "abc123def" } }

List usage plans

{ "command": "GetUsagePlans", "params": { "limit": 10 } }

List API keys

{ "command": "GetApiKeys", "params": { "limit": 20 } }

Get custom domain names

{ "command": "GetDomainNames", "params": { "limit": 10 } }

Get VPC links

{ "command": "GetVpcLinks", "params": { "limit": 10 } }

Related Services

API Gateway integrates with many AWS services:

RelationshipTool
Lambda integrations (proxy/​custom)LambdaTool
Execution logs in CloudWatchCloudWatchLogTool
IAM authorizers & execution rolesIAMTool
Deployed via CloudFormationCloudFormationTool
Orchestrated by Step FunctionsStepFuncTool
Backend on EC2 / VPC link targetsEC2Tool
DynamoDB direct integrationsDynamoDBTool
SNS direct integrationsSNSTool
SQS direct integrationsSQSTool

CloudWatch Log Group Naming

API Gateway execution logs use these log group patterns:

API-Gateway-Execution-Logs_<restApiId>/<stageName>

Access logs are configured per-stage and can go to a custom log group.

Use CloudWatchLogTool → DescribeLogGroups with logGroupNamePrefix: "API-Gateway-Execution-Logs_" to find them.

Tips

  • Start with GetRestApis to discover APIs, then GetResources to see the resource tree.
  • Use GetMethod → GetIntegration to see how a method is wired to a backend.
  • TestInvokeMethod lets you test an API method without needing a deployment or stage — great for debugging.
  • TestInvokeAuthorizer validates authorizer behavior without making a real API call.
  • GetStages shows deployment history and stage variables for each stage.
  • Use GetUsagePlans + GetUsagePlanKeys to audit API key throttling and quotas.

More skills from necatiarslan

awsclaw-general logo
necatiarslan/awsclaw

awsclaw-general

General AWS management in VS Code using awsclaw extension. Covers AWS connectivity, session management, profiles, regions, endpoints, file operations, testing connections, safety model, cross-service discovery, and extension capabilities.

1 0
View
awsclaw-rds logo
necatiarslan/awsclaw

awsclaw-rds

Manage and inspect Amazon RDS instances, clusters, snapshots, parameter groups, logs, proxies, events, engine versions, subnet groups, security groups, certificates, recommendations, and more using awsclaw.

1 0
View
awsclaw-ec2 logo
necatiarslan/awsclaw

awsclaw-ec2

Manage and query AWS EC2 resources including launching/stopping/terminating instances, creating VPCs and subnets, managing security groups, volumes, snapshots, AMIs, and querying all EC2 resource types using awsclaw. Full lifecycle management.

1 0
View
awsclaw-lambda logo
necatiarslan/awsclaw

awsclaw-lambda

Manage AWS Lambda functions using awsclaw. Create, update, invoke, and delete functions, manage aliases/versions, event source mappings, layers, tags, function URLs, concurrency, and code signing.

1 0
View
tracing-downstream-lineage logo
necatiarslan/airflow-vscode-extension

tracing-downstream-lineage

Map downstream lineage and blast radius for Airflow data assets. Use when the user needs to know which DAGs, tables, dashboards, or models depend on a dataset and what could break after a change.

44 0
View
airflow logo
necatiarslan/airflow-vscode-extension

airflow

Manages Apache Airflow operations including listing, running, and debugging DAGs, viewing logs, and checking server status using the VS Code extension tools.

44 0
View
creating-openlineage-extractors logo
necatiarslan/airflow-vscode-extension

creating-openlineage-extractors

Create custom OpenLineage extractors for Airflow operators. Use when the user needs lineage from unsupported or third-party operators, wants column-level lineage, or needs complex extraction logic beyond what inlets/outlets provide.

44 0
View
setting-up-astro-project logo
necatiarslan/airflow-vscode-extension

setting-up-astro-project

Initialize and configure Astro/Airflow projects. Use when the user wants to create a new project, set up dependencies, configure connections/variables, or understand project structure. For running the local environment, see managing-astro-local-env.

44 0
View
tablefaker logo
necatiarslan/table-faker

tablefaker

Generate YAML configs for Tablefaker to create synthetic datasets with tables, relationships, and faker data.

19 0
View
awsclaw-s3-fileops logo
necatiarslan/awsclaw

awsclaw-s3-fileops

Upload and download files and folders to/from Amazon S3 with folder structure preservation using awsclaw. Bulk file transfers, folder uploads, folder downloads.

1 0
View
testing-dags logo
necatiarslan/airflow-vscode-extension

testing-dags

Complex DAG testing workflows with debugging and fixing cycles. Use for multi-step testing requests like "test this dag and fix it if it fails", "test and debug", "run the pipeline and troubleshoot issues".

44 0
View
managing-astro-local-env logo
necatiarslan/airflow-vscode-extension

managing-astro-local-env

Manage local Airflow environment with Astro CLI. Use when the user wants to start, stop, or restart Airflow, view logs, troubleshoot containers, or fix environment issues. For project setup, see setting-up-astro-project.

44 0
View

Popular AI tools

Kaiber logo
Video

Kaiber

Generate, edit, and beat-sync AI video with leading models in one workspace.

Paid
View
Vimcal logo
Productivity

Vimcal

The world's fastest calendar for remote work

Free
View

Transform Your Design with AI Designer by ImgCreator.ai

Freemium
View
Akool AI logo
Content & writing

Akool AI

Revolutionizing Video Production with AI-Powered Creativity

Paid
View

Extend an image past the frame and let AI fill the new aspect ratio.

Freemium
View
StarByFace logo
Security

StarByFace

Discover your celebrity doppelgänger with StarByFace!

Free
View
C

ChainClarity explains 700+ crypto whitepapers in plain English, with layered summaries, comparisons, research tools, alerts, and a $4.99 Pro plan.

Freemium
View
Opus Clip logo
Coding & apps

Opus Clip

Opus.ai: Revolutionize Your Web Experience

Free
View