ó »z]c@sddlZddlmZdZdZdad„Zdejdd„Z d„Z d „Z d „Z d ej fd „ƒYZejdƒjeƒƒdS( i’’’’N(tSessionsAmazon Web Servicess1.9.230cKst|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-kBFYxq/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) For debugging purposes a good choice is to set the stream logger to ``''`` which is equivalent to saying "log everything". .. WARNING:: Be aware that when logging anything from ``'botocore'`` the full wire trace will appear in your logs. If your payloads contain sensitive data this should not be used in production. :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-kBFYxq/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-kBFYxq/boto3/boto3/__init__.pyt_get_default_sessionHs  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-kBFYxq/boto3/boto3/__init__.pyRUscOstƒ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-kBFYxq/boto3/boto3/__init__.pyR^st NullHandlercBseZd„ZRS(cCsdS(N((tselftrecord((s-/tmp/pip-build-kBFYxq/boto3/boto3/__init__.pytemitjs(t__name__t __module__R(((s-/tmp/pip-build-kBFYxq/boto3/boto3/__init__.pyRis(Rt boto3.sessionRt __author__t __version__RRRtDEBUGRRRRtHandlerRRR (((s-/tmp/pip-build-kBFYxq/boto3/boto3/__init__.pyts  #