/5L
a 4 d dl mZ d dlmZ d dlmZmZ d dlmZm Z d dl
mZ d dlm
Z
d dlmZ d dlmZmZmZ erd d lmZ d d
lmZ d dlmZ d dlmZ d d
lmZ d dlmZ d dlmZ d dl m!Z! n# e"$ r e d w xY w G d de Z#d Z$d Z%d Z&dS ) )absolute_import)Hub)OPSPANDATA)IntegrationDidNotEnable)Span)partial)
TYPE_CHECKING)capture_internal_exceptions parse_url
parse_version)Any)Dict)Optional)Type)__version__)
BaseClient)
StreamingBody)
AWSRequestzbotocore is not installedc ( e Zd ZdZed ZdS )Boto3Integrationboto3c t t } | 't d t | dk rt d t j fd}|t _ d S )NzUnparsable botocore version: {}) z#Botocore 1.12 or newer is required.c H | g|R i | | j }|j j }|j dt
t | |j dt |j dt d S )Nzrequest-created)
service_idz
after-callzafter-call-error)
meta
service_modelr hyphenizeeventsregisterr
_sentry_request_created_sentry_after_call_sentry_after_call_error)selfargskwargsr r orig_inits o/builddir/build/BUILD/cloudlinux-venv-1.0.10/venv/lib/python3.11/site-packages/sentry_sdk/integrations/boto3.pysentry_patched_initz8Boto3Integration.setup_once.