@@ -6,25 +6,26 @@ Copyright 2025 Vlad Emelianov
66
77from typing import Any , Mapping
88
9+ from aiobotocore .awsrequest import AioAWSResponse
910from aiobotocore .httpsession import AIOHTTPSession as AIOHTTPSession
1011from aiobotocore .response import StreamingBody as StreamingBody
12+ from botocore .awsrequest import AWSPreparedRequest
1113from botocore .endpoint import DEFAULT_TIMEOUT as DEFAULT_TIMEOUT
1214from botocore .endpoint import MAX_POOL_CONNECTIONS as MAX_POOL_CONNECTIONS
1315from botocore .endpoint import Endpoint , EndpointCreator
1416from botocore .model import OperationModel , ServiceModel
15- from requests .models import Request , Response
1617
1718DEFAULT_HTTP_SESSION_CLS : type [AIOHTTPSession ] = ...
1819
1920async def convert_to_response_dict (
20- http_response : Response , operation_model : OperationModel
21+ http_response : AioAWSResponse , operation_model : OperationModel
2122) -> dict [str , Any ]: ...
2223
2324class AioEndpoint (Endpoint ):
2425 async def close (self ) -> None : ... # type: ignore[override]
2526 async def create_request (
2627 self , params : Mapping [str , Any ], operation_model : OperationModel | None = ...
27- ) -> Request : ...
28+ ) -> AWSPreparedRequest : ...
2829
2930class AioEndpointCreator (EndpointCreator ):
3031 def create_endpoint ( # type: ignore[override]
0 commit comments