ó 9(Zc@sddlZddlmZdZdZdad„Zdejdd„Z d„Z d „Z d „Z d ej fd „ƒYZejdƒjeƒƒdS( i’’’’N(tSessionsAmazon Web Servicess1.4.8cKst|adS(sā Set up a default session, passing through any parameters to the session constructor. There is no need to call this unless you wish to pass custom parameters, because a default session will be created for you. N(RtDEFAULT_SESSION(tkwargs((s-/tmp/pip-build-wDUJoH/boto3/boto3/__init__.pytsetup_default_sessionstboto3cCsw|dkrd}ntj|ƒ}|j|ƒtjƒ}|j|ƒtj|ƒ}|j|ƒ|j|ƒdS(sµ Add a stream handler for the given name and level to the logging module. By default, this logs all boto3 messages to ``stdout``. >>> import boto3 >>> boto3.set_stream_logger('boto3.resources', logging.INFO) :type name: string :param name: Log name :type level: int :param level: Logging level, e.g. ``logging.INFO`` :type format_string: str :param format_string: Log message format s0%(asctime)s %(name)s [%(levelname)s] %(message)sN(tNonetloggingt getLoggertsetLevelt StreamHandlert Formattert setFormattert addHandler(tnametlevelt format_stringtloggerthandlert formatter((s-/tmp/pip-build-wDUJoH/boto3/boto3/__init__.pytset_stream_logger%s      cCstdkrtƒntS(s‹ Get the default session, creating one if needed. :rtype: :py:class:`~boto3.session.Session` :return: The default session N(RRR(((s-/tmp/pip-build-wDUJoH/boto3/boto3/__init__.pyt_get_default_session@s  cOstƒj||ŽS(s€ Create a low-level service client by name using the default session. See :py:meth:`boto3.session.Session.client`. (Rtclient(targsR((s-/tmp/pip-build-wDUJoH/boto3/boto3/__init__.pyRMscOstƒj||ŽS(s Create a resource service client by name using the default session. See :py:meth:`boto3.session.Session.resource`. (Rtresource(RR((s-/tmp/pip-build-wDUJoH/boto3/boto3/__init__.pyRVst NullHandlercBseZd„ZRS(cCsdS(N((tselftrecord((s-/tmp/pip-build-wDUJoH/boto3/boto3/__init__.pytemitbs(t__name__t __module__R(((s-/tmp/pip-build-wDUJoH/boto3/boto3/__init__.pyRas(Rt boto3.sessionRt __author__t __version__RRRtDEBUGRRRRtHandlerRRR (((s-/tmp/pip-build-wDUJoH/boto3/boto3/__init__.pyts