Submit
Path:
~
/
/
proc
/
thread-self
/
root
/
usr
/
lib
/
python2.7
/
site-packages
/
botocore
/
File Content:
signers.pyc
� ?��Xc @ s6 d d l Z d d l Z d d l Z d d l Z d d l Z d d l Z d d l m Z m Z d d l m Z m Z d d l m Z d d l m Z d d l m Z d d l m Z m Z d e f d � � YZ d e f d � � YZ d e f d � � YZ d � Z d d d d � Z d � Z d d d d � Z d S( i����N( t sixt OrderedDict( t create_request_objectt prepare_request_dict( t UnknownSignatureVersionError( t UnknownClientMethodError( t UnsupportedSignatureVersionError( t fix_s3_hostt datetime2timestampt RequestSignerc B s� e Z d Z d � Z e d � � Z e d � � Z e d � � Z d d d � Z d d d d � Z d � Z d d � Z e Z d d d � Z RS( s An object to sign requests before they go out over the wire using one of the authentication mechanisms defined in ``auth.py``. This class fires two events scoped to a service and operation name: * choose-signer: Allows overriding the auth signer name. * before-sign: Allows mutating the request before signing. Together these events allow for customization of the request signing pipeline, including overrides, request path manipulation, and disabling signing per operation. :type service_name: string :param service_name: Name of the service, e.g. ``S3`` :type region_name: string :param region_name: Name of the service region, e.g. ``us-east-1`` :type signing_name: string :param signing_name: Service signing name. This is usually the same as the service name, but can differ. E.g. ``emr`` vs. ``elasticmapreduce``. :type signature_version: string :param signature_version: Signature name like ``v4``. :type credentials: :py:class:`~botocore.credentials.Credentials` :param credentials: User credentials with which to sign requests. :type event_emitter: :py:class:`~botocore.hooks.BaseEventHooks` :param event_emitter: Extension mechanism to fire events. c C sC | | _ | | _ | | _ | | _ | | _ t j | � | _ d S( N( t _service_namet _region_namet _signing_namet _signature_versiont _credentialst weakreft proxyt _event_emitter( t selft service_namet region_namet signing_namet signature_versiont credentialst event_emitter( ( s2 /tmp/pip-build-uEGWVr/botocore/botocore/signers.pyt __init__>