Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions docs/runtimes/function.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -248,6 +248,10 @@ You first need to install the AWS PHP SDK by running
$ composer require aws/aws-sdk-php
```

<Callout type="info">
Note: You can remove unused AWS services by following [Removing Unused Services guide](https://github.com/aws/aws-sdk-php/tree/master/src/Script/Composer) to reduce vendor size of your bundle.
</Callout>

```php
$lambda = new \Aws\Lambda\LambdaClient([
'version' => 'latest',
Expand Down