
    'wf                     r    d dl Z d dlZd dlZd dlmZ ddlmZ ddlm	Z	m
Z
 ddlmZ ddlmZ  G d d	e      Zy)
    N)ClientArgsCreator   )	AioConfig)DEFAULT_HTTP_SESSION_CLSAioEndpointCreator)AioEndpointRulesetResolver)AioRequestSignerc                        e Zd Z	 	 	 ddZd Zy)AioClientArgsCreatorNc                    | j                  |||	||||      }|d   }|d   }|d   }|d   }|d   }|d   }|d   j                  dd       }|d	   }|d
   }|d   }|d   }t        j                  | j                        }t	        |j
                  ||d   |d   |||
      }||d<   t        |t              r|j                  }|j                  }nd }t        }t        |fi |}t        |      }|j                  |||d   || j                  |j                  |j                  f|j                   ||j"                  ||j$                  |j&                  |j                        }t(        j*                  j-                  ||      } t(        j.                  j1                  |      }!| j3                  ||||||||||	|      }"| j4                  j7                  |      }#|r|j8                  nd }$|$|_        | ||!|||| j<                  ||| j>                  |"|#dS )Nservice_nameparameter_validationendpoint_configprotocolconfig_kwargs	s3_configmetadata	partitionsocket_optionsconfigured_endpoint_urlsigning_regionregion_namesigning_namesignature_versions3endpoint_url)r   r   verifyresponse_parser_factorytimeoutmax_pool_connectionshttp_session_clsproxiesr   client_certproxies_configconnector_args)
serializerendpointresponse_parserevent_emitterrequest_signerservice_modelloaderclient_configr   exceptions_factoryendpoint_ruleset_resolveruser_agent_creator) compute_client_argsgetcopy_event_emitterr	   
service_id
isinstancer   r%   r!   r   r   create_endpoint_response_parser_factoryconnect_timeoutread_timeoutr    r"   r#   r$   botocore	serializecreate_serializerparserscreate_parser_build_endpoint_resolver_session_ua_creatorwith_client_config
user_agent_supplied_user_agent_loader_exceptions_factory)%selfr+   r   	is_securer   r   credentialsscoped_configr-   endpoint_bridge
auth_tokenendpoints_ruleset_datapartition_data
final_argsr   r   r   r   r   r   r   r   r   r   endpoint_region_namer)   signerr%   r!   
new_configendpoint_creatorr'   r&   r(   ruleset_resolverclient_ua_creatorsupplied_uas%                                        d/home/panchajanya/Development/work/volatility3/venv/lib/python3.12/site-packages/aiobotocore/args.pyget_client_argsz$AioClientArgsCreator.get_client_args   s    --

 ".1)*@A$%67j)"?3{+	#J/33KF	#$45",-F"G()9:.}=		$"5"56!$$N+/0
 (d mY/*99N,==!N7~??
-m<#33,(8$($A$A//1H1HI!+!@!@-&&)"..%44%44 4 
  ''99*

 #**88B88" #
 !44GG
 3@m..T*5
' % .*$*ll'""&":":)9"3
 	
    c           
      V   |y | j                  |      xs i }|j                  }|dv s||}n|}| j                  ||||
||j                        }||j                  xs i }ni }| j                  |      r|j                  |       ||j                  nd }t        |||||||	|      S )N)r   sts)r   r   r   rK   client_endpoint_urllegacy_endpoint_url)endpoint_ruleset_datarN   r+   builtinsclient_contextr)   use_sslrequested_auth_scheme)	compute_s3_configendpoint_prefix*compute_endpoint_resolver_builtin_defaultshostclient_context_params_is_s3_serviceupdater   r   )rG   rM   rN   r-   r+   rP   r   r   r'   rH   rK   r)   s3_config_rawservice_name_raweprv2_region_nameresolver_builtinsr`   sig_versions                     rW   r@   z-AioClientArgsCreator._build_endpoint_resolver   s     ") ..}=C(88 },0C 4 + KK))#+ , ( L 
 $*@@FBNN/0!!-0 ( ++ 	
 *"8)'&)'"-	
 		
rY   )NNN)__name__
__module____qualname__rX   r@    rY   rW   r   r      s     #u
n>
rY   r   )r3   botocore.parsersr;   botocore.serializebotocore.argsr   configr   r'   r   r   regionsr   signersr	   r   rr   rY   rW   <module>ry      s,       +  B / %x
, x
rY   