| Server IP : 3.96.16.70 / Your IP : 216.73.216.15 Web Server : Apache System : Linux ip-172-31-26-103.ca-central-1.compute.internal 6.1.163-186.299.amzn2023.x86_64 #1 SMP PREEMPT_DYNAMIC Tue Feb 24 16:35:42 UTC 2026 x86_64 User : ec2-user ( 1000) PHP Version : 8.4.18 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : OFF Directory : /lib/python3.9/site-packages/cfnbootstrap/__pycache__/ |
Upload File : |
a
��0i�+ � @ 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<