|
Server : LiteSpeed System : Linux server51.dnsbootclub.com 4.18.0-553.62.1.lve.el8.x86_64 #1 SMP Mon Jul 21 17:50:35 UTC 2025 x86_64 User : nandedex ( 1060) PHP Version : 8.1.33 Disable Function : NONE Directory : /opt/cppython/lib/python3.8/site-packages/boto3/__pycache__/ |
U
Q��g � @ s� d Z ddlZddlZddlmZ ddlmZmZm Z m
Z
mZ dada
e�� ZdZdd� Zdd � Zd
d� Zdd
� Zdd� ZG dd� d�Zdd� Zdd� Zdd� ZdS )a6
This file contains private functionality for interacting with the AWS
Common Runtime library (awscrt) in boto3.
All code contained within this file is for internal usage within this
project and is not intended for external consumption. All interfaces
contained within are subject to abrupt breaking changes.
� N)�Session)�BotocoreCRTCredentialsWrapper�BotocoreCRTRequestSerializer�CRTTransferManager�acquire_crt_s3_process_lock�create_s3_crt_clientZboto3c C s |d|d�}t f |�S )z�Create a CRT S3 Client for file transfer.
Instantiating many of these may lead to degraded performance or
system resource exhaustion.
T)�regionZuse_sslZcrt_credentials_provider)r )�session�config�region_name�
cred_providerZcreate_crt_client_kwargs� r
�6/opt/cppython/lib/python3.8/site-packages/boto3/crt.py�_create_crt_client* s
�r c C s t | |d d��S )N)r Zendpoint_url)r )r r r
r
r �_create_crt_request_serializer8 s �r c K s( t |�}|�� }tt| |||�|||�S )zFCreate boto3 wrapper class to manage crt lock reference and S3 client.)r Zto_crt_credentials_provider�CRTS3Clientr )r r
r �credentials�lock�kwargsZcred_wrapperr r
r
r �_create_crt_s3_client>