title: Retrieve AWS ssm parameter in bulk
body: <p>How can I retrieve parameters from AWS Systems Manager (parameter store) in bulk (or more than one parameter) at a time? Using aws-sdk, following is the Node.js code I have written to retrieve SSM parameter from parameter store:</p>
  
  <pre><code>      const ssm = new (require('aws-sdk/clients/ssm'))()
  
        const getSSMKey = async params =&gt; {
            const {Parameter: {Value: APIKey}} = await ssm.getParameter(params).promise()
            return APIKey
      }
  
      const [param1, param2, param3] = await Promise.all([
        getSSMKey({ Name: '/data/param/PARAM1', WithDecryption: true }),
        getSSMKey({ Name: '/data/param/PARAM2', WithDecryption: true }),
        getSSMKey({ Name: '/data/param/PARAM3', WithDecryption: true })
      ])
      console.log(param1, param2, param3)
  </code></pre>
  
  <p>But with this code, I am sending 3 request for getting 3 parameters which is inefficient in case of large number of parameters. Is there any way to retrieve more than one parameters in one request. if ssm.getParameters() is the method to do that then please give an example (particularly parameter to that method). I tried but I receive nothing.</p>