Reputation: 13923
I'm not familiar with AWS lambdas.
Does AWS provide swagger or anything similar to lambdas?
my use case doesn't require me to create rest endpoint to the lambdas. do I also need to play around with gateways as well?
Upvotes: 0
Views: 321
Reputation: 13108
Everything in AWS uses the same public API that AWS provides. How that's implemented depends on the service. The official SDKs/CLIs use that same API and abstract the implementation details for you, so I'd recommend sticking to those.
If you want to build your own tool to talk to the AWS APIs or more specifically Lambda, you can have a look at the official developer guide, which includes an API-Reference.
More specifically you're going to need these two actions:
You should be aware, that you need to implement the Signature v4 process to sign your requests with your AWS credentials yourself in that case, which is non-trivial. This signing process is used to authenticate yourself to AWS or more specifically to Identity and Access Management.
The API-Reference doesn't directly list the API-endpoints, but you're going to have to use the one for lambda in the region you want to create/delete your functions in, e.g. https://lambda.eu-central-1.amazonaws.com
, where eu-central-1
would be your region. For a full list of the service endpoints for Lambda take a look at this documentation.
I'd really recommend you stick to one of the official SDKs/CLIs - this will make your life much easier.
Upvotes: 1