From 602915c2649868da7ec7a9bf5b76d9d8b24b16e8 Mon Sep 17 00:00:00 2001 From: Constantin Date: Fri, 1 Jul 2016 09:56:03 +0100 Subject: [PATCH] Documented returned structure. (#2510) --- cloud/amazon/route53_zone.py | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) diff --git a/cloud/amazon/route53_zone.py b/cloud/amazon/route53_zone.py index fa48b18e273..328d48dbf67 100644 --- a/cloud/amazon/route53_zone.py +++ b/cloud/amazon/route53_zone.py @@ -75,6 +75,39 @@ EXAMPLES = ''' ''' +RETURN=''' +comment: + description: optional hosted zone comment + returned: when hosted zone exists + type: string + sample: "Private zone" +name: + description: hosted zone name + returned: when hosted zone exists + type: string + sample: "private.local." +private_zone: + description: whether hosted zone is private or public + returned: when hosted zone exists + type: bool + sample: true +vpc_id: + description: id of vpc attached to private hosted zone + returned: for private hosted zone + type: string + sample: "vpc-1d36c84f" +vpc_region: + description: region of vpc attached to private hosted zone + returned: for private hosted zone + type: string + sample: "eu-west-1" +zone_id: + description: hosted zone id + returned: when hosted zone exists + type: string + sample: "Z6JQG9820BEFMW" +''' + import time try: