Submit
Path:
~
/
/
proc
/
thread-self
/
root
/
usr
/
lib
/
python2.7
/
site-packages
/
boto
/
route53
/
File Content:
connection.pyc
� �Xc @ s� d d l m Z d d l Z d d l Z d d l Z d d l Z d d l m Z d d l m Z d d l Z d d l m Z d d l m Z d d l m Z m Z d Z d Z d e f d � � YZ d S( i����( t exceptionN( t AWSAuthConnection( t handler( t ResourceRecordSets( t Zone( t sixt urllibs <?xml version="1.0" encoding="UTF-8"?> <CreateHostedZoneRequest xmlns="%(xmlns)s"> <Name>%(name)s</Name> <CallerReference>%(caller_ref)s</CallerReference> <HostedZoneConfig> <Comment>%(comment)s</Comment> </HostedZoneConfig> </CreateHostedZoneRequest>s` <?xml version="1.0" encoding="UTF-8"?> <CreateHostedZoneRequest xmlns="%(xmlns)s"> <Name>%(name)s</Name> <VPC> <VPCId>%(vpc_id)s</VPCId> <VPCRegion>%(vpc_region)s</VPCRegion> </VPC> <CallerReference>%(caller_ref)s</CallerReference> <HostedZoneConfig> <Comment>%(comment)s</Comment> </HostedZoneConfig> </CreateHostedZoneRequest>t Route53Connectionc B s1 e Z d Z d Z d Z d d d d d e d d e d d d � Z d � Z d d d d � Z d d d � Z d � Z d � Z d d e d d d � Z d � Z d Z d d � Z d d d � Z d � Z d � Z d d d d d � Z d � Z d � Z e d d d � Z d � Z d � Z d � Z d � Z RS( s route53.amazonaws.coms 2013-04-01s- https://route53.amazonaws.com/doc/2013-04-01/i c C sJ t t | � j | | | t | | | d | d | d | d | d | �d S( Nt debugt security_tokent validate_certst https_connection_factoryt profile_name( t superR t __init__t True( t selft aws_access_key_idt aws_secret_access_keyt portt proxyt proxy_portt hostR R R R R ( ( s; /usr/lib/python2.7/site-packages/boto/route53/connection.pyR L s c C s d g S( Nt route53( ( R ( ( s; /usr/lib/python2.7/site-packages/boto/route53/connection.pyt _required_auth_capabilityZ s t c C s� | r g } xV t j | � D]E \ } } | d k r: q n | j | d t j j t | � � � q W| d d j | � 7} n t t | � j | | | | d | j �S( Nt =t ?t &t retry_handler( R t iteritemst Nonet appendR t parset quotet strt joinR R t make_requestt _retry_handler( R t actiont patht headerst datat paramst pairst keyt val( ( s; /usr/lib/python2.7/site-packages/boto/route53/connection.pyR% ] s +c C s( i } | r i | d 6} n | j d d | j d | �} | j � } t j j | � | j d k r� t j | j | j | � � n t j j d d d d � } t j j | d � } | j | � | r� | d d j | � n xB d | d k r#| d d } | d d } | j | | � } q� W| S( sA Returns a Python data structure with information about all Hosted Zones defined for the AWS account. :param int start_marker: start marker to pass when fetching additional results after a truncated list :param list zone_list: a HostedZones list to prepend to results t markert GETs /%s/hostedzoneR+ i, t list_markert HostedZonest item_markert HostedZonet ListHostedZonesResponset NextMarker( R4 N( R% t Versiont readt botot logR t statusR t DNSServerErrort reasont jsonresponset Elementt XmlHandlerR R! t extendt get_all_hosted_zones( R t start_markert zone_listR+ t responset bodyt et ht next_marker( ( s; /usr/lib/python2.7/site-packages/boto/route53/connection.pyRB k s, c C s� d | j | f } | j d | � } | j � } t j j | � | j d k rn t j | j | j | � � n t j j d d d d � } t j j | d � } | j | � | S( s� Get detailed information about a particular Hosted Zone. :type hosted_zone_id: str :param hosted_zone_id: The unique identifier for the Hosted Zone s /%s/hostedzone/%sR0 i, R1 t NameServerst VPCsR3 t NameServert VPC( RJ RK ( RL RM N( R7 R% R8 R9 R: R R; R R<