Amazon API Gateway · Arazzo Workflow
AWS API Gateway Provision a Metered REST API
Version 1.0.0
Create a REST API with a key-protected method and branch into usage-plan setup when an API key is required.
View Spec
View on GitHub
API GatewayCloudRESTHTTPWebSocketServerlessMCPAgentCoreDeveloper PortalArazzoWorkflows
Provider
Workflows
metered-rest-api
Create a REST API, attach a key-aware method, and branch into metering when required.
Creates a REST API and a method, branches on whether the method requires an API key to optionally set up a key and usage plan, then deploys.
1
createRestApi
createRestApi
Create the REST API container.
2
listResources
getResources
List resources to obtain the root resource id.
3
putMethod
putMethod
Attach the method to the root resource, honoring the api-key requirement.
4
createApiKey
createApiKey
Create an API key to meter access to the key-protected method.
5
createUsagePlan
createUsagePlan
Create a usage plan to govern the API key.
6
deploy
createDeployment
Create a deployment to publish the API to the named stage.