Skip to content
This repository
Browse code

A few more docstring changes for route53 module.

  • Loading branch information...
commit de833d04b079a1384395beddecab20c930b240a3 1 parent e14ee80
Mitch Garnaat authored October 12, 2011

Showing 1 changed file with 23 additions and 27 deletions. Show diff stats Hide diff stats

  1. 50  boto/route53/connection.py
50  boto/route53/connection.py
@@ -81,7 +81,7 @@ def get_all_hosted_zones(self, start_marker=None, zone_list=None):
81 81
         Hosted Zones defined for the AWS account.
82 82
 
83 83
         :param int start_marker: start marker to pass when fetching additional
84  
-                                 results after a truncated list
  84
+            results after a truncated list
85 85
         :param list zone_list: a HostedZones list to prepend to results
86 86
         """
87 87
         params = {}
@@ -136,28 +136,25 @@ def create_hosted_zone(self, domain_name, caller_ref=None, comment=''):
136 136
         
137 137
         :type domain_name: str
138 138
         :param domain_name: The name of the domain. This should be a
139  
-                            fully-specified domain, and should end with
140  
-                            a final period as the last label indication.
141  
-                            If you omit the final period, Amazon Route 53
142  
-                            assumes the domain is relative to the root.
143  
-                            This is the name you have registered with your
144  
-                            DNS registrar. It is also the name you will
145  
-                            delegate from your registrar to the Amazon
146  
-                            Route 53 delegation servers returned in
147  
-                            response to this request.A list of strings
148  
-                            with the image IDs wanted
  139
+            fully-specified domain, and should end with a final period
  140
+            as the last label indication.  If you omit the final period,
  141
+            Amazon Route 53 assumes the domain is relative to the root.
  142
+            This is the name you have registered with your DNS registrar.
  143
+            It is also the name you will delegate from your registrar to
  144
+            the Amazon Route 53 delegation servers returned in
  145
+            response to this request.A list of strings with the image
  146
+            IDs wanted.
149 147
 
150 148
         :type caller_ref: str
151 149
         :param caller_ref: A unique string that identifies the request
152  
-                           and that allows failed CreateHostedZone requests
153  
-                           to be retried without the risk of executing the
154  
-                           operation twice.
155  
-                           If you don't provide a value for this, boto will
156  
-                           generate a Type 4 UUID and use that.
  150
+            and that allows failed CreateHostedZone requests to be retried
  151
+            without the risk of executing the operation twice.  If you don't
  152
+            provide a value for this, boto will generate a Type 4 UUID and
  153
+            use that.
157 154
 
158 155
         :type comment: str
159  
-        :param comment: Any comments you want to include about the hosted
160  
-                        zone.
  156
+        :param comment: Any comments you want to include about the hosted      
  157
+            zone.
161 158
 
162 159
         """
163 160
         if caller_ref is None:
@@ -240,12 +237,12 @@ def get_all_rrsets(self, hosted_zone_id, type=None,
240 237
                      names to be retrieved
241 238
 
242 239
         :type identifier: str
243  
-        :param identifier: In a hosted zone that includes weighted resource record
244  
-                           sets (multiple resource record sets with the same DNS
245  
-                           name and type that are differentiated only by SetIdentifier),
246  
-                           if results were truncated for a given DNS name and type,
247  
-                           the value of SetIdentifier for the next resource record
248  
-                           set that has the current DNS name and type
  240
+        :param identifier: In a hosted zone that includes weighted resource
  241
+            record sets (multiple resource record sets with the same DNS
  242
+            name and type that are differentiated only by SetIdentifier),
  243
+            if results were truncated for a given DNS name and type,
  244
+            the value of SetIdentifier for the next resource record
  245
+            set that has the current DNS name and type
249 246
 
250 247
         :type maxitems: int
251 248
         :param maxitems: The maximum number of records
@@ -279,7 +276,7 @@ def change_rrsets(self, hosted_zone_id, xml_body):
279 276
 
280 277
         :type xml_body: str
281 278
         :param xml_body: The list of changes to be made, defined in the
282  
-                         XML schema defined by the Route53 service.
  279
+            XML schema defined by the Route53 service.
283 280
 
284 281
         """
285 282
         uri = '/%s/hostedzone/%s/rrset' % (self.Version, hosted_zone_id)
@@ -306,8 +303,7 @@ def get_change(self, change_id):
306 303
 
307 304
         :type change_id: str
308 305
         :param change_id: The unique identifier for the set of changes.
309  
-                          This ID is returned in the response to the
310  
-                          change_rrsets method.
  306
+            This ID is returned in the response to the change_rrsets method.
311 307
 
312 308
         """
313 309
         uri = '/%s/change/%s' % (self.Version, change_id)

0 notes on commit de833d0

Please sign in to comment.
Something went wrong with that request. Please try again.