ó 9(Zc@sÌddlZddlZddlZddlZddlmZddlmZddlm Z ddl m Z ddl m Z ddlmZddlmZdd lmZdd lmZdd lmZdd lmZdd lmZddlmZddlmZddlmZej e!ƒZ"eƒZ#dZ$dZ%eƒyddl&m'Z'e'j(ƒWne)k r|nXd„Z*defd„ƒYZ+de,fd„ƒYZ-de,fd„ƒYZ.dS(iÿÿÿÿN(t HTTPAdapter(tSession(tget_environ_proxies(tConnectionError(tsix(tcreate_request_object(tUnknownEndpointError(tEndpointConnectionError(tConnectionClosedError(tfilter_ssl_warnings(tis_valid_endpoint_url(tfirst_non_none_response(t StreamingBody(tget_global_history_recorder(tparsersi<i (t pyopensslcCszi|jd6|jd6}|ddkr:|j|dRARKRRRHR?RVRmRnRW(((s3/tmp/pip-build-wDUJoH/botocore/botocore/endpoint.pyR+is        9  tEndpointCreatorcBs;eZd„Zddeedd„Zd„Zd„ZRS(cCs ||_dS(N(R-(R R<((s3/tmp/pip-build-wDUJoH/botocore/botocore/endpoint.pyRsc Cs€t|ƒstd|ƒ‚n|dkr=|j|ƒ}nt|d|jd|jd|d|j|ƒd|d|d|ƒS( NsInvalid endpoint: %sR;R<R1R/R3R!R=(R t ValueErrorR0t _get_proxiesR+R;R-t_get_verify_value( R t service_modelt region_nameRcR/R=R3R!R1((s3/tmp/pip-build-wDUJoH/botocore/botocore/endpoint.pytcreate_endpoints    cCs t|ƒS(N(R(R R`((s3/tmp/pip-build-wDUJoH/botocore/botocore/endpoint.pyRˆ.scCs#|dk r|StjjdtƒS(NtREQUESTS_CA_BUNDLE(R0tostenvironRRl(R R/((s3/tmp/pip-build-wDUJoH/botocore/botocore/endpoint.pyR‰3s N( R'R(RR0R…R*RŒRˆR‰(((s3/tmp/pip-build-wDUJoH/botocore/botocore/endpoint.pyR†s   (/RŽtloggingRR6t#botocore.vendored.requests.adaptersRt#botocore.vendored.requests.sessionsRt botocore.vendored.requests.utilsRt%botocore.vendored.requests.exceptionsRtbotocore.vendoredRtbotocore.awsrequestRtbotocore.exceptionsRRRtbotocore.compatR tbotocore.utilsR tbotocore.hooksR tbotocore.responseR tbotocore.historyR tbotocoreRt getLoggerR'R4RhR…R*t3botocore.vendored.requests.packages.urllib3.contribRtextract_from_urllib3t ImportErrorRRtobjectR+R†(((s3/tmp/pip-build-wDUJoH/botocore/botocore/endpoint.pyts@       ­