xp-forge / lambda

AWS Lambda for the XP Framework
3 stars 0 forks source link

Add Environment::endpoint() to return AWS service endpoints #20

Closed thekid closed 1 year ago

thekid commented 1 year ago

Makes it shorter to get AWS service endpoint instances:

- $endpoint= new ServiceEndpoint('execute-api', $this->environment->credentials());
+ $endpoint= $this->environment->endpoint('execute-api');
thekid commented 1 year ago

Released in https://github.com/xp-forge/lambda/releases/tag/v4.3.0