ApiGatewayManagementApi Documentation Improvement
See original GitHub issueDocumentation should specify that the endpoint argument of client object has to be set manually to https://{api-id}.execute-api.{region}.amazonaws.com/{stage}
, or otherwise the post_to_connection
function will timeout and do nothing, or cause an internal error.
Example:
# from
client = boto3.client('apigatewaymanagementapi')
# to
client = boto3.client('apigatewaymanagementapi', endpoint_url='https://{api-id}.execute-api.{region}.amazonaws.com/{stage}')
This will save a lot of time and nerve for people developing API gateway web socket integrations
Issue Analytics
- State:
- Created 4 years ago
- Reactions:101
- Comments:12 (3 by maintainers)
Top Results From Across the Web
Class: AWS.ApiGatewayManagementApi - AWS Documentation
Constructs a service interface object. Each API operation is exposed as a function on service. Service Description. The Amazon API Gateway ...
Read more >ApiGatewayManagementApi — Boto3 Docs 1.26.34 ... - AWS
The Amazon API Gateway Management API allows you to directly manage runtime aspects of your deployed APIs. To use it, you must explicitly...
Read more >Micronaut AWS SDK v2
For example, for AWS SQS, you can set aws.services.sqs.endpoint-override=https://localhost:1234 . 7.5 API Gateway Management API Client. Improve this doc.
Read more >@aws-sdk/client-apigatewaymanagementapi - npm
Visit Developer Guide or API Reference. Check out the blog posts tagged with aws-sdk-js on AWS Developer Blog. Ask a question on StackOverflow...
Read more >websocket - Lambda times out when calling post_to_connection
I found [this post][1] asking for a clearer boto3 documentation. It turns out that if you instantiate apigatewaymanagementapi client you ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
id just like to bump this as it caused me a lot of issues since the documentation is so unclear.
@swetashre I think that including the
endpoint_url
optional parameter to the client constructor in the documentation might be more easily skimmable and more clear given it seems like it’s necessary for a good number of people from the likes and very vibrant comments.