File manager - Edit - /usr/local/CyberCP/lib/python3.10/site-packages/boto3/__pycache__/crt.cpython-310.pyc
Back
o �h � @ 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_client�boto3c C s |d|d�}t di |��S )z�Create a CRT S3 Client for file transfer. Instantiating many of these may lead to degraded performance or system resource exhaustion. T)�region�use_ssl�crt_credentials_providerN� )r )�session�config�region_name� cred_provider�create_crt_client_kwargsr r �</usr/local/CyberCP/lib/python3.10/site-packages/boto3/crt.py�_create_crt_client* s �r c C s t | |d d��S )N)r �endpoint_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 �to_crt_credentials_provider�CRTS3Clientr )r r r �credentials�lock�kwargs�cred_wrapperr r r r �_create_crt_s3_client>