title: Boto3 Filter out ACM response to find particular certificate ARN
body: <p>I'm writing a Lambda to lookup the expiry of a certificate in ACM (It's imported so won't auto-renew)</p>
  
  <p>I can pull down the full list of certs in ACM fine, but what I need to do is to get the ARN of a certificate that matches a particular domain name. The response dict has both but I want to be able to filter the response dict to only show the domain name and ARN of the entry matching a given domain name.</p>
  
  <p>I have written a function as below:</p>
  
  <pre><code> def list_certs(self):
      try:
        response = client.list_certificates(
        CertificateStatuses=[
            'ISSUED',
        ],
      )
        print(json.dumps(response["CertificateSummaryList"], indent=4))
        certs = jmespath.search("CertificateSummaryList[?DomainName == '*.example.com'] | [?DomainName == '*.example.com'].stringValue",response)
  
        print(certs)
        return response
      except ClientError as err:
        print(err)
      else:
        print("Something Possibly wrong") 
  </code></pre>