| Server IP : 104.21.21.239 / Your IP : 216.73.216.55 Web Server : Apache/2.4.68 (Amazon Linux) OpenSSL/3.5.7 System : Linux ip-172-31-69-123.ec2.internal 6.1.177-224.371.amzn2023.x86_64 #1 SMP PREEMPT_DYNAMIC Mon Jul 27 20:28:29 UTC 2026 x86_64 User : ec2-user ( 1000) PHP Version : 8.4.24 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /lib/python3.9/site-packages/cfnbootstrap/__pycache__/ |
Upload File : |
a
��Rj�, � @ s� d Z ddlmZmZ ddlmZ ddlmZ ddlZddl Z ddl
Z
ddlZddlZddl
Z
ddlZddlZddlZddlmZmZmZ ddlmZ e�d�ZG d d
� d
e�ZG dd� de�ZG d
d� de�ZG dd� dej�ZG dd� de�ZdS )ze
Base classes for AWS/QUERY clients
Classes:
AWSClient - an HTTP client that makes signed requests
� )�util�public_constants)�api)�ElementTreeN)�urlsplit�urljoin�quote)�StringIOz
cfn.clientc @ s e Zd Zddd�Zdd� ZdS )�SignerNc C s d S �N� )�self�verb�base_url�params�creds�
in_headers� timestampr r �;/usr/lib/python3.9/site-packages/cfnbootstrap/aws_client.py�sign+ s zSigner.signc C s |� d�r|S |d S )N�/)�endswith)r
r r r r �_normalize_url. s zSigner._normalize_url)NN)�__name__�
__module__�__qualname__r r r r r r r
) s
r
c @ s e Zd Zddd�ZdS )� CFNSignerNc
C st | � |�}t�� std��t�� �d�}t�� }t|d u r>i n|�} dt� |��
d�|�dd�f | d<