403Webshell
Server IP : 172.67.201.108  /  Your IP : 216.73.217.73
Web Server : Apache/2.4.68 (Amazon Linux) OpenSSL/3.5.5
System : Linux ip-172-31-69-123.ec2.internal 6.1.176-223.369.amzn2023.x86_64 #1 SMP PREEMPT_DYNAMIC Fri Jul 24 13:34:27 UTC 2026 x86_64
User : ec2-user ( 1000)
PHP Version : 8.4.23
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : ON
Directory :  /lib64/python3.9/site-packages/awscrt/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /lib64/python3.9/site-packages/awscrt/__pycache__/auth.cpython-39.pyc
a

ů�i\{�@s�dZddlZddlmZddlZddlmZmZddlm	Z	m
Z
ddlmZddl
Z
ddlmZddlmZmZmZGd	d
�d
e�ZGdd�de�ZGd
d�de�ZGdd�de�ZGdd�de�ZGdd�d�ZGdd�de�ZGdd�de�Zdd�ZdS)zM
AWS client-side authentication: standard credentials providers and signing.
�N)�NativeResource)�HttpRequest�HttpProxyOptions)�ClientBootstrap�ClientTlsContext)�Future)�IntEnum)�Optional�Sequence�TuplecsreZdZdZdZdZd�fdd�	Ze�fdd��Ze	d	d
��Z
e	dd��Ze	d
d��Ze	dd��Z
dd�Z�ZS)�AwsCredentialsa&
    AwsCredentials are the public/private data needed to sign an authenticated AWS request.

    AwsCredentials are immutable.

    Args:
        access_key_id (str): Access key ID
        secret_access_key (str): Secret access key
        session_token (Optional[str]): Optional security token associated with
            the credentials.
        expiration (Optional[datetime.datetime]): Optional expiration datetime,
            that the credentials will no longer be valid past.
            Converted to UTC timezone and rounded down to nearest second.
            If not set, then credentials do not expire.

    Attributes:
        access_key_id (str): Access key ID
        secret_access_key (str): Secret access key
        session_token (Optional[str]): Security token associated with
            the credentials. None if not set.
        expiration (Optional[datetime.datetime]): Expiration datetime,
            that the credentials will no longer be valid past.
            None if credentials do not expire.
            Timezone is always UTC.
    �l����Ncs�t|t�sJ�t|t�sJ�t|t�s2|dus2J�|durB|j}n&t|���}|dks`||jkrhtd��t���t�	||||�|_
dS)Nrz expiration datetime out of range)�
isinstance�str�_NONEXPIRING_TIMESTAMP�int�	timestamp�
OverflowError�super�__init__�_awscrtZcredentials_new�_binding)�self�
access_key_id�secret_access_key�
session_token�
expirationZexpiration_timestamp��	__class__r
�1/usr/lib64/python3.9/site-packages/awscrt/auth.pyr2s
�zAwsCredentials.__init__cs"|�|�}t||���||_|S)z+Construct from a pre-existing native object)�__new__rrr)�cls�binding�credentialsrr
r�
_from_bindingFs
zAwsCredentials._from_bindingcCst�|j�S�N)rZcredentials_access_key_idr�rr
r
rrNszAwsCredentials.access_key_idcCst�|j�Sr%)rZcredentials_secret_access_keyrr&r
r
rrRsz AwsCredentials.secret_access_keycCst�|j�Sr%)rZcredentials_session_tokenrr&r
r
rrVszAwsCredentials.session_tokencCs2t�|j�}||jkrdStjj|tjjd�SdS)N)Ztz)rZ(credentials_expiration_timestamp_secondsrr�datetimeZ
fromtimestamp�timezone�utc)rrr
r
rrZs
zAwsCredentials.expirationcCs|Sr%r
)r�memor
r
r�__deepcopy__cszAwsCredentials.__deepcopy__)NN)�__name__�
__module__�__qualname__�__doc__�	__slots__rr�classmethodr$�propertyrrrrr+�
__classcell__r
r
rrrs



rc@seZdZdS)�AwsCredentialsProviderBaseN)r,r-r.r
r
r
rr4hsr4c
seZdZdZdZ�fdd�Zeddd��Zeddd	��Zed d
d��Z	ed!dd
��Z
edd��Zedd��Zedd��Z
eddddd�eeejjeeeeefeeeeeed�dd��Zeddd�eeeejjeeeed�dd��Zdd�Z�ZS)"�AwsCredentialsProvidera
    Credentials providers source the AwsCredentials needed to sign an authenticated AWS request.

    This class provides `new_X()` functions for several built-in provider types.
    To define a custom provider, use the :meth:`new_delegate()` function.
    r
cst���||_dSr%)rrr)rr"rr
rr|s
zAwsCredentialsProvider.__init__NcCs8t|t�s|dusJ�|dur&t��}t�|�}||�S)a�
        Create the default provider chain used by most AWS SDKs.

        Generally:

        1.  Environment
        2.  Profile
        3.  (conditional, off by default) ECS
        4.  (conditional, on by default) EC2 Instance Metadata

        Args:
            client_bootstrap (Optional[ClientBootstrap]): Client bootstrap to use when initiating socket connection.
                If not set, uses the default static ClientBootstrap instead.

        Returns:
            AwsCredentialsProvider:
        N)rr�get_or_create_static_defaultrZ&credentials_provider_new_chain_default)r!�client_bootstrapr"r
r
r�new_default_chain�s

z(AwsCredentialsProvider.new_default_chaincCsHt|t�sJ�t|t�sJ�t|t�s2|dus2J�t�|||�}||�S)aE
        Create a simple provider that just returns a fixed set of credentials.

        Args:
            access_key_id (str): Access key ID
            secret_access_key (str): Secret access key
            session_token (Optional[str]): Optional session token

        Returns:
            AwsCredentialsProvider:
        N)rrrZcredentials_provider_new_static)r!rrrr"r
r
r�
new_static�s

z!AwsCredentialsProvider.new_staticcCs�t|t�s|dusJ�t|t�s,|dus,J�t|t�sB|dusBJ�t|t�sX|dusXJ�|durht��}t�||||�}||�S)a0
        Creates a provider that sources credentials from key-value profiles
        loaded from the aws credentials file.

        Args:
            client_bootstrap (Optional[ClientBootstrap]): Client bootstrap to use when initiating socket connection.
                If not set, uses the static default ClientBootstrap instead.

            profile_name (Optional[str]): Name of profile to use.
                If not set, uses value from AWS_PROFILE environment variable.
                If that is not set, uses value of "default"

            config_filepath (Optional[str]): Path to profile config file.
                If not set, uses value from AWS_CONFIG_FILE environment variable.
                If that is not set, uses value of "~/.aws/config"

            credentials_filepath (Optional[str]): Path to profile credentials file.
                If not set, uses value from AWS_SHARED_CREDENTIALS_FILE environment variable.
                If that is not set, uses value of "~/.aws/credentials"

        Returns:
            AwsCredentialsProvider:
        N)rrrr6rZ credentials_provider_new_profile)r!r7Zprofile_nameZconfig_filepathZcredentials_filepathr"r
r
r�new_profile�s�z"AwsCredentialsProvider.new_profilecCst�|�}||�S)a�
        Creates a provider that sources credentials from running an external command or process.

        The command to run is sourced from a profile in the AWS config file, using the standard
        profile selection rules. The profile key the command is read from is "credential_process."
        Example::

            [default]
            credential_process=/opt/amazon/bin/my-credential-fetcher --argsA=abc

        On successfully running the command, the output should be a json data with the following
        format::

            {
                "Version": 1,
                "AccessKeyId": "accesskey",
                "SecretAccessKey": "secretAccessKey"
                "SessionToken": "....",
                "Expiration": "2019-05-29T00:21:43Z"
            }

        Version here identifies the command output format version.
        This provider is not part of the default provider chain.

        Args:
            profile_to_use (Optional[str]): Name of profile in which to look for credential_process.
                If not set, uses value from AWS_PROFILE environment variable.
                If that is not set, uses value of "default"

        Returns:
            AwsCredentialsProvider:
        )rZ credentials_provider_new_process)r!Zprofile_to_user"r
r
r�new_process�s#
z"AwsCredentialsProvider.new_processcCst��}||�S)z�
        Creates a provider that returns credentials sourced from environment variables.

        * AWS_ACCESS_KEY_ID
        * AWS_SECRET_ACCESS_KEY
        * AWS_SESSION_TOKEN

        Returns:
            AwsCredentialsProvider:
        )rZ$credentials_provider_new_environment)r!r"r
r
r�new_environment�s
z&AwsCredentialsProvider.new_environmentcCst�|�}||�S)a�
        Creates a provider that sources credentials from an ordered sequence of providers.

        This provider uses the first set of credentials successfully queried.
        Providers are queried one at a time; a provider is not queried until the
        preceding provider has failed to source credentials.

        Args:
            providers (List[AwsCredentialsProvider]): List of credentials providers.

        Returns:
            AwsCredentialsProvider:
        )rZcredentials_provider_new_chain)r!Z	providersr"r
r
r�	new_chains
z AwsCredentialsProvider.new_chaincCst|�sJ�t�|�}||�S)a"
        Creates a provider that sources credentials from a custom
        synchronous callback.

        Args:
            get_credentials: Callable which takes no arguments and returns
                :class:`AwsCredentials`.

        Returns:
            AwsCredentialsProvider:
        )�callablerZ!credentials_provider_new_delegate)r!�get_credentialsr"r
r
r�new_delegate"s
z#AwsCredentialsProvider.new_delegate)�logins�custom_role_arnr7�http_proxy_options)�endpoint�identity�tls_ctxrArBr7rCc		Cs�t|t�sJ�t|t�sJ�t|t�s*J�t|t�s@|dus@J�t|t�sV|dusVJ�|durft��}t|t�stJ�t�|||||||�}||�S)a�
        Creates a provider that sources credentials from the AWS Cognito Identity service.

        Args:
            endpoint (str): Cognito Identity service regional endpoint to source credentials from.

            identity (str): Cognito identity to fetch credentials relative to.

            tls_ctx (ClientTlsContext): Client TLS context to use when querying cognito credentials by HTTP.

            logins (Optional[Sequence[tuple[str, str]]]): Sequence of tuples specifying pairs of identity provider name
                and token values, representing established login contexts for identity authentication purposes.

            custom_role_arn (Optional[str]): ARN of the role to be assumed when multiple roles were received in the
                token from the identity provider.

            client_bootstrap (Optional[ClientBootstrap]): Client bootstrap to use when initiating a socket connection.
                If not set, uses the static default ClientBootstrap instead.

            http_proxy_options (Optional[HttpProxyOptions]): Optional HTTP proxy options.
                If None is provided then an HTTP proxy is not used.

        Returns:
            AwsCredentialsProvider:
        N)rrrrrr6rZ credentials_provider_new_cognito)	r!rDrErFrArBr7rCr"r
r
r�new_cognito6s$%�z"AwsCredentialsProvider.new_cognito)r7rC)rD�
thing_name�
role_aliasrFr7rCcCs�t|t�sJ�t|t�sJ�t|t�s*J�t|t�s8J�t|t�sN|dusNJ�|dur^t��}t|t�slJ�t�||||||�}||�S)a[
        Creates a provider that sources credentials from IoT's X509 credentials service.

        Args:
            endpoint (str): X509 service regional endpoint to source credentials from.
                            This is a per-account value that can be determined via the CLI:
                            `aws iot describe-endpoint --endpoint-type iot:CredentialProvider`

            thing_name (str): The name of the IoT thing to use to fetch credentials.

            role_alias (str): The name of the role alias to fetch credentials through.

            tls_ctx (ClientTlsContext): The client TLS context to use when establishing the http connection to IoT's X509 credentials service.

            client_bootstrap (Optional[ClientBootstrap]): Client bootstrap to use when initiating a socket connection.
                If not set, uses the static default ClientBootstrap instead.

            http_proxy_options (Optional[HttpProxyOptions]): Optional HTTP proxy options.
                If None is provided then an HTTP proxy is not used.

        Returns:
            AwsCredentialsProvider:
        N)rrrrrr6rZcredentials_provider_new_x509)r!rDrHrIrFr7rCr"r
r
r�new_x509os""�zAwsCredentialsProvider.new_x509c
sXt���fdd�}zt�|j|�Wn.tyR}z��|�WYd}~n
d}~00�S)a
        Asynchronously fetch AwsCredentials.

        Returns:
            concurrent.futures.Future: A Future which will contain
            :class:`AwsCredentials` (or an exception) when the operation completes.
            The operation may complete on a different thread.
        c
sdz0|r��tj�|��nt�|�}��|�Wn.ty^}z��|�WYd}~n
d}~00dSr%)�
set_exception�awscrt�
exceptions�	from_coderr$�
set_result�	Exception)�
error_coder"r#�e��futurer
r�_on_complete�s
z<AwsCredentialsProvider.get_credentials.<locals>._on_completeN)rrZ$credentials_provider_get_credentialsrrPrK)rrUrRr
rSrr?�s	 z&AwsCredentialsProvider.get_credentials)N)N)NNNN)N)r,r-r.r/r0rr1r8r9r:r;r<r=r@rrL�iorr	r
rrrrGrJr?r3r
r
rrr5ss^�)%


��8��3r5c@seZdZdZdZdZdZdS)�AwsSigningAlgorithmz"AWS signing algorithm enumeration.r��N)r,r-r.r/�V4Z
V4_ASYMMETRICZV4_S3EXPRESSr
r
r
rrW�s
rWc@seZdZdZdZdZdS)�AwsSignatureTypez=Which sort of signature should be computed from the signable.rrXN)r,r-r.r/�HTTP_REQUEST_HEADERSZHTTP_REQUEST_QUERY_PARAMSr
r
r
rr[�sr[c@s eZdZdZdZdZdZdZdS)�AwsSignedBodyValuez�
    Values for use with :attr:`AwsSigningConfig.signed_body_value`.

    Some services use special values (e.g. "UNSIGNED-PAYLOAD") when the body
    is not being signed in the usual way.
    Z@e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855zUNSIGNED-PAYLOADz"STREAMING-AWS4-HMAC-SHA256-PAYLOADz!STREAMING-AWS4-HMAC-SHA256-EVENTSN)r,r-r.r/ZEMPTY_SHA256ZUNSIGNED_PAYLOADZ"STREAMING_AWS4_HMAC_SHA256_PAYLOADZ!STREAMING_AWS4_HMAC_SHA256_EVENTSr
r
r
rr]�sr]c@seZdZdZdZdZdS)�AwsSignedBodyHeaderTypez�
    Controls if signing adds a header containing the canonical request's signed body value.

    See :attr:`AwsSigningConfig.signed_body_value`.
    rrXN)r,r-r.r/�NONEZX_AMZ_CONTENT_SHA_256r
r
r
rr^�sr^c
s�eZdZdZdZdZejej	dddddddde
jddf
�fdd	�	Zd
d�Z
edd
��Zedd��Zedd��Zedd��Zedd��Zedd��Zedd��Zedd��Zedd��Zedd��Zed d!��Zed"d#��Zed$d%��Z�ZS)&�AwsSigningConfiga�

    Configuration for use in AWS-related signing.

    AwsSigningConfig is immutable.

    It is good practice to use a new config for each signature, or the date might get too old.

    Args:
        algorithm (AwsSigningAlgorithm): Which signing algorithm to use.

        signature_type (AwsSignatureType): Which sort of signature should be
            computed from the signable.

        credentials_provider (AwsCredentialsProvider): Credentials provider
            to fetch signing credentials with. If the algorithm is
            :attr:`AwsSigningAlgorithm.V4_ASYMMETRIC`, ECC-based credentials will be derived from the
            fetched credentials.

        region (str): If the algorithm is :attr:`AwsSigningAlgorithm.V4`, the region to sign against.
            If the algorithm is :attr:`AwsSigningAlgorithm.V4_ASYMMETRIC`, the value of the
            "X-amzn-region-set" header (added in signing).

        service (str): Name of service to sign a request for.

        date (Optional[datetime.datetime]): Date and time to use during the
            signing process. If None is provided then
            `datetime.datetime.now(datetime.timezone.utc)` is used.
            Naive dates (lacking timezone info) are assumed to be in local time.

        should_sign_header (Optional[Callable[[str], bool]]):
            Optional function to control which headers are
            a part of the canonical request.

            Skipping auth-required headers will result in an unusable signature.
            Headers injected by the signing process are not skippable.
            This function does not override the internal check function
            (x-amzn-trace-id, user-agent), but rather supplements it.
            In particular, a header will get signed if and only if it returns
            true to both the internal check (skips x-amzn-trace-id, user-agent)
            and this function (if defined).

        use_double_uri_encode (bool): Whether to double-encode the resource path
            when constructing the canonical request (assuming the path is already
            encoded). Default is True. All services except S3 use double encoding.

        should_normalize_uri_path (bool): Whether the resource paths are
            normalized when building the canonical request. Default is True.

        signed_body_value (Optional[str]): If set, this value is used as the
            canonical request's body value. Typically, this is the SHA-256
            of the payload, written as lowercase hex. If this has been
            precalculated, it can be set here. Special values used by certain
            services can also be set (see :class:`AwsSignedBodyValue`). If `None`
            is passed (the default), the typical value will be calculated from
            the payload during signing.

        signed_body_header_type (AwsSignedBodyHeaderType): Controls if signing
            adds a header containing the canonical request's signed body value.
            Default is to not add a header.

        expiration_in_seconds (Optional[int]): If set, and signature_type is
            :attr:`AwsSignatureType.HTTP_REQUEST_QUERY_PARAMS`, then signing will add "X-Amz-Expires"
            to the query string, equal to the value specified here.

        omit_session_token (bool): If set True, the "X-Amz-Security-Token"
            query param is omitted from the canonical request.
            The default False should be used for most services.
    �_priv_should_sign_cb)
�	algorithm�signature_type�credentials_provider�region�service�date�should_sign_header�use_double_uri_encode�should_normalize_uri_path�signed_body_value�signed_body_header_type�expiration_in_seconds�omit_session_tokenN�TFcs&t|t�sJ�t|t�sJ�t|t�s2|dus2J�t|t�s@J�t|t�sNJ�t��sb�dusbJ�|
dus�t|
t�r�t|
�dks�J�t|t�s�J�|dus�|dks�J�t��	�|dur�t
j
�t
jj
�}|��}�|_�dur�fdd�}nd}|dur�d}t�||||||||||	|
|||
�|_dS)Nrcs
�|d�S)N��namer
rp�rhr
r�should_sign_header_wrapper|sz=AwsSigningConfig.__init__.<locals>.should_sign_header_wrapper)rrWr[r5rr>�lenr^rrr'Znowr(r)rrarZsigning_config_newr)rrbrcrdrerfrgrhrirjrkrlrmrnrrsrrrrrXsF"
�zAwsSigningConfig.__init__cs$��fdd�tjD�}tfi|��S)z�
        Return an AwsSigningConfig with the same attributes, except for those
        attributes given new values by whichever keyword arguments are specified.
        c	s i|]}|��|t�|���qSr
)�get�getattr)�.0�x��kwargsrr
r�
<dictcomp>��z,AwsSigningConfig.replace.<locals>.<dictcomp>)r`�_attributes)rrz�argsr
ryr�replace�szAwsSigningConfig.replacecCstt�|j��S)z3AwsSigningAlgorithm: Which signing algorithm to use)rWrZsigning_config_get_algorithmrr&r
r
rrb�szAwsSigningConfig.algorithmcCstt�|j��S)zOAwsSignatureType: Which sort of signature should be computed from the signable.)r[rZ!signing_config_get_signature_typerr&r
r
rrc�szAwsSigningConfig.signature_typecCst�|j�S)z�
        AwsCredentialsProvider: Credentials provider to fetch signing credentials with.
        If the algorithm is :attr:`AwsSigningAlgorithm.V4_ASYMMETRIC`, ECC-based credentials will be derived
        from the fetched credentials.
        )rZ'signing_config_get_credentials_providerrr&r
r
rrd�sz%AwsSigningConfig.credentials_providercCst�|j�S)z�
        str: If signing algorithm is :attr:`AwsSigningAlgorithm.V4`, the region to sign against.
        If the algorithm is :attr:`AwsSigningAlgorithm.V4_ASYMMETRIC`, the value of the
        "X-amzn-region-set header" (added in signing).
        )rZsigning_config_get_regionrr&r
r
rre�szAwsSigningConfig.regioncCst�|j�S)z*str: Name of service to sign a request for)rZsigning_config_get_servicerr&r
r
rrf�szAwsSigningConfig.servicecCst�|j�S)a;
        datetime.datetime: Date and time to use during the signing process.

        If None is provided, then `datetime.datetime.now(datetime.timezone.utc)`
        at time of object construction is used.

        It is good practice to use a new config for each signature, or the date might get too old.
        )rZsigning_config_get_daterr&r
r
rrg�s
zAwsSigningConfig.datecCs|jS)aW
        Optional[Callable[[str], bool]]: Optional function to control which
        headers are a part of the canonical request.

        Skipping auth-required headers will result in an unusable signature.
        Headers injected by the signing process are not skippable.
        This function does not override the internal check function
        (x-amzn-trace-id, user-agent), but rather supplements it. In particular,
        a header will get signed if and only if it returns true to both
        the internal check (skips x-amzn-trace-id, user-agent) and this function (if defined).
        )rar&r
r
rrh�s
z#AwsSigningConfig.should_sign_headercCst�|j�S)z�
        bool: Whether to double-encode the resource path when constructing
        the canonical request (assuming the path is already encoded).

        By default, all services except S3 use double encoding.
        )rZ(signing_config_get_use_double_uri_encoderr&r
r
rri�sz&AwsSigningConfig.use_double_uri_encodecCst�|j�S)zn
        bool: Whether the resource paths are normalized when building the
        canonical request.
        )rZ,signing_config_get_should_normalize_uri_pathrr&r
r
rrj�sz*AwsSigningConfig.should_normalize_uri_pathcCst�|j�S)a�
        Optional[str]: What to use as the canonical request's body value.
        If `None` is set (the default), a value will be calculated from
        the payload during signing. Typically, this is the SHA-256 of the
        payload, written as lowercase hex. If this has been precalculated,
        it can be set here. Special values used by certain services can also
        be set (see :class:`AwsSignedBodyValue`).
        )rZ$signing_config_get_signed_body_valuerr&r
r
rrk�s
z"AwsSigningConfig.signed_body_valuecCstt�|j��S)z�
        AwsSignedBodyHeaderType: Controls if signing adds a header containing
        the canonical request's signed body value.
        )r^rZ*signing_config_get_signed_body_header_typerr&r
r
rrl�sz(AwsSigningConfig.signed_body_header_typecCst�|j�}|dkrdS|S)a
        Optional[int]: If set, and signature_type is :attr:`AwsSignatureType.HTTP_REQUEST_QUERY_PARAMS`,
        then signing will add "X-Amz-Expires" to the query string, equal to the
        value specified here. Otherwise, this is None has no effect.
        rN)rZ(signing_config_get_expiration_in_secondsr)rrr
r
rrm�sz&AwsSigningConfig.expiration_in_secondscCst�|j�S)z�
        bool: Whether the "X-Amz-Security-Token" query param is omitted
        from the canonical request. This should be False for most services.
        )rZ%signing_config_get_omit_session_tokenrr&r
r
rrn
sz#AwsSigningConfig.omit_session_token)r,r-r.r/r0r}rWrZr[r\r^r_rrr2rbrcrdrerfrgrhrirjrkrlrmrnr3r
r
rrr`sXD�=







	




r`csBt�t�sJ�t|t�sJ�t����fdd�}t��||��S)a$
    Perform AWS HTTP request signing.

    The :class:`awscrt.http.HttpRequest` is transformed asynchronously,
    according to the :class:`AwsSigningConfig`.

    When signing:

    1.  It is good practice to use a new config for each signature,
        or the date might get too old.

    2.  Do not add the following headers to requests before signing, they may be added by the signer:
        x-amz-content-sha256,
        X-Amz-Date,
        Authorization

    3.  Do not add the following query params to requests before signing, they may be added by the signer:
        X-Amz-Signature,
        X-Amz-Date,
        X-Amz-Credential,
        X-Amz-Algorithm,
        X-Amz-SignedHeaders

    Args:
        http_request (awscrt.http.HttpRequest): The HTTP request to sign.
        signing_config (AwsSigningConfig): Configuration for signing.

    Returns:
        concurrent.futures.Future: A Future whose result will be the signed
        :class:`awscrt.http.HttpRequest`. The future will contain an exception
        if the signing process fails.
    c
sZz&|r��tj�|��n
����Wn.tyT}z��|�WYd}~n
d}~00dSr%)rKrLrMrNrOrP)rQrR�rT�http_requestr
rrU:sz&aws_sign_request.<locals>._on_complete)rrr`rrZsign_request_aws)r�Zsigning_configrUr
r�r�aws_sign_requests"	r�)r/rrLrZawscrt.exceptionsZawscrt.httprrZ	awscrt.iorr�concurrent.futuresrr'�enumr�typingr	r
rrr4r5rWr[r]r^r`r�r
r
r
r�<module>s,UP


Youez - 2016 - github.com/yon3zu
LinuXploit