From 4b2563ff4ee45f768f53cfe1007c2c55b260c233 Mon Sep 17 00:00:00 2001
From: "Ryan S. Brown" <sb@ryansb.com>
Date: Thu, 14 Jul 2016 16:21:18 -0400
Subject: [PATCH] iam_server_certificate_facts: Correct call to
 `get_server_certs`

---
 .../extras/cloud/amazon/iam_server_certificate_facts.py       | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/lib/ansible/modules/extras/cloud/amazon/iam_server_certificate_facts.py b/lib/ansible/modules/extras/cloud/amazon/iam_server_certificate_facts.py
index 088e88a3de..da0c0beabf 100644
--- a/lib/ansible/modules/extras/cloud/amazon/iam_server_certificate_facts.py
+++ b/lib/ansible/modules/extras/cloud/amazon/iam_server_certificate_facts.py
@@ -106,7 +106,7 @@ def get_server_certs(iam, name=None):
         >>> import boto3
         >>> iam = boto3.client('iam')
         >>> name = "server-cert-name"
-        >>> results = get_server_cert(iam, name)
+        >>> results = get_server_certs(iam, name)
         {
             "upload_date": "2015-04-25T00:36:40+00:00",
             "server_certificate_id": "ADWAJXWTZAXIPIMQHMJPO",
@@ -161,7 +161,7 @@ def main():
         module.fail_json(msg="Boto3 Client Error - " + str(e.msg))
 
     cert_name = module.params.get('name')
-    results = get_server_cert(iam, cert_name)
+    results = get_server_certs(iam, cert_name)
     module.exit_json(results=results)