pitrou commented on issue #40279:
URL: https://github.com/apache/arrow/issues/40279#issuecomment-1971619666

   Note to self: this is the construction path we go through currently:
   ```c++
   S3Client::S3Client(const std::shared_ptr<AWSCredentialsProvider>& 
credentialsProvider,
                      const Client::ClientConfiguration& clientConfiguration,
                      Aws::Client::AWSAuthV4Signer::PayloadSigningPolicy 
signPayloads /*= Never*/,
                      bool useVirtualAddressing /*= true*/,
                      Aws::S3::US_EAST_1_REGIONAL_ENDPOINT_OPTION 
USEast1RegionalEndPointOption) :
     BASECLASS(clientConfiguration,
               
Aws::MakeShared<Aws::Auth::S3ExpressSignerProvider>(ALLOCATION_TAG,
                                                                   
credentialsProvider,
                                                                   
Aws::MakeShared<DefaultS3ExpressIdentityProvider>(ALLOCATION_TAG, *this),
                                                                   SERVICE_NAME,
                                                                   
Aws::Region::ComputeSignerRegion(clientConfiguration.region),
                                                                   signPayloads,
                                                                   
/*doubleEncodeValue*/ false),
               Aws::MakeShared<S3ErrorMarshaller>(ALLOCATION_TAG)),
       m_clientConfiguration(clientConfiguration, signPayloads, 
useVirtualAddressing, USEast1RegionalEndPointOption),
       m_executor(clientConfiguration.executor),
       m_endpointProvider(Aws::MakeShared<S3EndpointProvider>(ALLOCATION_TAG))
   {
     init(m_clientConfiguration);
   }
   
   void S3Client::init(const S3::S3ClientConfiguration& config)
   {
     AWSClient::SetServiceClientName("S3");
     AWS_CHECK_PTR(SERVICE_NAME, m_endpointProvider);
     m_endpointProvider->InitBuiltInParameters(config);
   }
   ```
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to