title: AWS Javascript SDK install only specific modules instead of entire SDK
body: <p>I'm using Lambda functions (Nodejs runtime) on my project and using some of the modules from <code>aws-sdk</code>.</p>
  
  <p>So far, I've installed the entire <code>aws-sdk</code> and I'm requiring each package separately like this:</p>
  
  <pre><code>const ApiGatewayManagementApi = require('aws-sdk/clients/apigatewaymanagementapi');
  </code></pre>
  
  <p>This works, but the issue is that I need to install the entire aws-sdk, which is big, and thus makes my function package big.</p>
  
  <p><strong>Is there a way to only install the modules I will actually use?</strong></p>
  
  <p>I've tried this:</p>
  
  <pre><code>$ npm install aws-sdk/clients/apigatewaymanagementapi --save
  </code></pre>
  
  <p>Which gives me the following errors:</p>
  
  <pre><code>npm ERR! code ENOLOCAL
  npm ERR! Could not install from "aws-sdk/clients/apigatewaymanagementapi" as it does not contain a package.json file.
  
  npm ERR! A complete log of this run can be found in:
  npm ERR!     /Users/gustavocsdc/.npm/_logs/2019-05-16T02_32_28_129Z-debug.log
  </code></pre>