diff --git a/docs/runtimes/function.mdx b/docs/runtimes/function.mdx index 087c306c8..ffb41045d 100644 --- a/docs/runtimes/function.mdx +++ b/docs/runtimes/function.mdx @@ -248,6 +248,10 @@ You first need to install the AWS PHP SDK by running $ composer require aws/aws-sdk-php ``` + + 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. + + ```php $lambda = new \Aws\Lambda\LambdaClient([ 'version' => 'latest',