Different services and different API calls within services do different tasks. How long the API call takes to return is going to depend on how that particular API is implemented; the task it is performing; dependencies it has on other services that it has to call. So it's not surprising that some things take longer and that some calls take longer than others.
Is there a problem you're trying to solve here that we can help with?
If a Lambda @ Edge function calls DynamoDB, does the traffic stay within the AWS network?Accepted Answerasked 2 years ago
CloudWatch alarm for API calls without MFAasked 3 months ago
Agent can't accept callsasked 5 months ago
Static IP for all outbound calls from LambdaAccepted Answerasked 7 months ago
http lambda authorizer external api callsasked 4 months ago
API Gateway makes duplicate lambda function callsasked a year ago
Lambda billing duration for normal trafficAccepted Answerasked 7 months ago
Cross country outbound calls initiated from Lambda have issues.asked 4 months ago
Lambda API Calls durationAccepted Answerasked 3 months ago
Lambda using docker - Billed time very high for small durationAccepted Answerasked 5 months ago