1919#include < aws/core/utils/logging/ErrorMacros.h>
2020#include < smithy/identity/resolver/built-in/SimpleAwsCredentialIdentityResolver.h>
2121#include < smithy/identity/resolver/built-in/AwsCredentialsProviderIdentityResolver.h>
22+ #include < smithy/identity/resolver/built-in/DefaultAwsCredentialIdentityResolver.h>
2223#include < aws/core/utils/event/EventStream.h>
2324#include < aws/core/platform/Environment.h>
2425
@@ -163,9 +164,9 @@ S3Client::S3Client(const S3::S3ClientConfiguration& clientConfiguration,
163164 endpointProvider ? endpointProvider : Aws::MakeShared<S3EndpointProvider>(ALLOCATION_TAG),
164165 Aws::MakeShared<smithy::SigV4MultiAuthSchemeResolver<>>(ALLOCATION_TAG),
165166 {
166- {smithy::SigV4AuthSchemeOption::sigV4AuthSchemeOption.schemeId , smithy::SigV4AuthScheme{Aws::MakeShared<DefaultS3ExpressIdentityResolver >(ALLOCATION_TAG, * this ), GetServiceName (), Aws::Region::ComputeSignerRegion (clientConfiguration.region ), clientConfiguration.payloadSigningPolicy , false }},
167+ {smithy::SigV4AuthSchemeOption::sigV4AuthSchemeOption.schemeId , smithy::SigV4AuthScheme{Aws::MakeShared<smithy::DefaultAwsCredentialIdentityResolver >(ALLOCATION_TAG), GetServiceName (), Aws::Region::ComputeSignerRegion (clientConfiguration.region ), clientConfiguration.payloadSigningPolicy , false }},
167168 {smithy::S3ExpressSigV4AuthSchemeOption::s3ExpressSigV4AuthSchemeOption.schemeId , smithy::S3ExpressSigV4AuthScheme{Aws::MakeShared<DefaultS3ExpressIdentityResolver>(ALLOCATION_TAG, *this ), GetServiceName (), Aws::Region::ComputeSignerRegion (clientConfiguration.region ), clientConfiguration.payloadSigningPolicy , false }},
168- {smithy::SigV4aAuthSchemeOption::sigV4aAuthSchemeOption.schemeId , smithy::SigV4aAuthScheme{Aws::MakeShared<DefaultS3ExpressIdentityResolver >(ALLOCATION_TAG, * this ), GetServiceName (), Aws::Region::ComputeSignerRegion (clientConfiguration.region ), clientConfiguration.payloadSigningPolicy , false }},
169+ {smithy::SigV4aAuthSchemeOption::sigV4aAuthSchemeOption.schemeId , smithy::SigV4aAuthScheme{Aws::MakeShared<smithy::DefaultAwsCredentialIdentityResolver >(ALLOCATION_TAG), GetServiceName (), Aws::Region::ComputeSignerRegion (clientConfiguration.region ), clientConfiguration.payloadSigningPolicy , false }},
169170 })
170171{}
171172
@@ -180,9 +181,9 @@ S3Client::S3Client(const AWSCredentials& credentials,
180181 endpointProvider ? endpointProvider : Aws::MakeShared<S3EndpointProvider>(ALLOCATION_TAG),
181182 Aws::MakeShared<smithy::SigV4MultiAuthSchemeResolver<>>(ALLOCATION_TAG),
182183 {
183- {smithy::SigV4AuthSchemeOption::sigV4AuthSchemeOption.schemeId , smithy::SigV4AuthScheme{Aws::MakeShared<DefaultS3ExpressIdentityResolver>(ALLOCATION_TAG, * this , Aws::MakeShared<SimpleAWSCredentialsProvider >(ALLOCATION_TAG, credentials) ), GetServiceName (), Aws::Region::ComputeSignerRegion (clientConfiguration.region ), clientConfiguration.payloadSigningPolicy , false }},
184+ {smithy::SigV4AuthSchemeOption::sigV4AuthSchemeOption.schemeId , smithy::SigV4AuthScheme{Aws::MakeShared<smithy::SimpleAwsCredentialIdentityResolver >(ALLOCATION_TAG, credentials ), GetServiceName (), Aws::Region::ComputeSignerRegion (clientConfiguration.region ), clientConfiguration.payloadSigningPolicy , false }},
184185 {smithy::S3ExpressSigV4AuthSchemeOption::s3ExpressSigV4AuthSchemeOption.schemeId , smithy::S3ExpressSigV4AuthScheme{Aws::MakeShared<DefaultS3ExpressIdentityResolver>(ALLOCATION_TAG, *this , Aws::MakeShared<SimpleAWSCredentialsProvider>(ALLOCATION_TAG, credentials) ), GetServiceName (), Aws::Region::ComputeSignerRegion (clientConfiguration.region ), clientConfiguration.payloadSigningPolicy , false }},
185- {smithy::SigV4aAuthSchemeOption::sigV4aAuthSchemeOption.schemeId , smithy::SigV4aAuthScheme{Aws::MakeShared<DefaultS3ExpressIdentityResolver>(ALLOCATION_TAG, * this , Aws::MakeShared<SimpleAWSCredentialsProvider >(ALLOCATION_TAG, credentials) ), GetServiceName (), Aws::Region::ComputeSignerRegion (clientConfiguration.region ), clientConfiguration.payloadSigningPolicy , false }},
186+ {smithy::SigV4aAuthSchemeOption::sigV4aAuthSchemeOption.schemeId , smithy::SigV4aAuthScheme{Aws::MakeShared<smithy::SimpleAwsCredentialIdentityResolver >(ALLOCATION_TAG, credentials ), GetServiceName (), Aws::Region::ComputeSignerRegion (clientConfiguration.region ), clientConfiguration.payloadSigningPolicy , false }},
186187 })
187188{}
188189
@@ -197,9 +198,9 @@ S3Client::S3Client(const std::shared_ptr<AWSCredentialsProvider>& credentialsPro
197198 endpointProvider ? endpointProvider : Aws::MakeShared<S3EndpointProvider>(ALLOCATION_TAG),
198199 Aws::MakeShared<smithy::SigV4MultiAuthSchemeResolver<>>(ALLOCATION_TAG),
199200 {
200- {smithy::SigV4AuthSchemeOption::sigV4AuthSchemeOption.schemeId , smithy::SigV4AuthScheme{Aws::MakeShared<DefaultS3ExpressIdentityResolver >(ALLOCATION_TAG, * this , credentialsProvider ), GetServiceName (), Aws::Region::ComputeSignerRegion (clientConfiguration.region ), clientConfiguration.payloadSigningPolicy , false }},
201- {smithy::S3ExpressSigV4AuthSchemeOption::s3ExpressSigV4AuthSchemeOption.schemeId , smithy::S3ExpressSigV4AuthScheme{Aws::MakeShared<DefaultS3ExpressIdentityResolver>(ALLOCATION_TAG, * this , credentialsProvider ), GetServiceName (), Aws::Region::ComputeSignerRegion (clientConfiguration.region ), clientConfiguration.payloadSigningPolicy , false }},
202- {smithy::SigV4aAuthSchemeOption::sigV4aAuthSchemeOption.schemeId , smithy::SigV4aAuthScheme{Aws::MakeShared<DefaultS3ExpressIdentityResolver >(ALLOCATION_TAG, * this , credentialsProvider ), GetServiceName (), Aws::Region::ComputeSignerRegion (clientConfiguration.region ), clientConfiguration.payloadSigningPolicy , false }},
201+ {smithy::SigV4AuthSchemeOption::sigV4AuthSchemeOption.schemeId , smithy::SigV4AuthScheme{Aws::MakeShared<smithy::AwsCredentialsProviderIdentityResolver >(ALLOCATION_TAG, credentialsProvider ), GetServiceName (), Aws::Region::ComputeSignerRegion (clientConfiguration.region ), clientConfiguration.payloadSigningPolicy , false }},
202+ {smithy::S3ExpressSigV4AuthSchemeOption::s3ExpressSigV4AuthSchemeOption.schemeId , smithy::S3ExpressSigV4AuthScheme{Aws::MakeShared<DefaultS3ExpressIdentityResolver>(ALLOCATION_TAG, credentialsProvider ), GetServiceName (), Aws::Region::ComputeSignerRegion (clientConfiguration.region ), clientConfiguration.payloadSigningPolicy , false }},
203+ {smithy::SigV4aAuthSchemeOption::sigV4aAuthSchemeOption.schemeId , smithy::SigV4aAuthScheme{Aws::MakeShared<smithy::AwsCredentialsProviderIdentityResolver >(ALLOCATION_TAG, credentialsProvider ), GetServiceName (), Aws::Region::ComputeSignerRegion (clientConfiguration.region ), clientConfiguration.payloadSigningPolicy , false }},
203204 })
204205{}
205206
@@ -217,9 +218,9 @@ S3Client::S3Client(const Client::ClientConfiguration& clientConfiguration,
217218 Aws::MakeShared<S3EndpointProvider>(ALLOCATION_TAG),
218219 Aws::MakeShared<smithy::SigV4MultiAuthSchemeResolver<>>(ALLOCATION_TAG),
219220 {
220- {smithy::SigV4AuthSchemeOption::sigV4AuthSchemeOption.schemeId , smithy::SigV4AuthScheme{Aws::MakeShared<DefaultS3ExpressIdentityResolver >(ALLOCATION_TAG, * this ), GetServiceName (), Aws::Region::ComputeSignerRegion (clientConfiguration.region ), signPayloads, false }},
221+ {smithy::SigV4AuthSchemeOption::sigV4AuthSchemeOption.schemeId , smithy::SigV4AuthScheme{Aws::MakeShared<smithy::DefaultAwsCredentialIdentityResolver >(ALLOCATION_TAG), GetServiceName (), Aws::Region::ComputeSignerRegion (clientConfiguration.region ), signPayloads, false }},
221222 {smithy::S3ExpressSigV4AuthSchemeOption::s3ExpressSigV4AuthSchemeOption.schemeId , smithy::S3ExpressSigV4AuthScheme{Aws::MakeShared<DefaultS3ExpressIdentityResolver>(ALLOCATION_TAG, *this ), GetServiceName (), Aws::Region::ComputeSignerRegion (clientConfiguration.region ), signPayloads, false }},
222- {smithy::SigV4aAuthSchemeOption::sigV4aAuthSchemeOption.schemeId , smithy::SigV4aAuthScheme{Aws::MakeShared<DefaultS3ExpressIdentityResolver >(ALLOCATION_TAG, * this ), GetServiceName (), Aws::Region::ComputeSignerRegion (clientConfiguration.region ), signPayloads, false }},
223+ {smithy::SigV4aAuthSchemeOption::sigV4aAuthSchemeOption.schemeId , smithy::SigV4aAuthScheme{Aws::MakeShared<smithy::DefaultAwsCredentialIdentityResolver >(ALLOCATION_TAG), GetServiceName (), Aws::Region::ComputeSignerRegion (clientConfiguration.region ), signPayloads, false }},
223224 })
224225{
225226}
@@ -239,9 +240,9 @@ S3Client::S3Client(
239240 Aws::MakeShared<S3EndpointProvider>(ALLOCATION_TAG),
240241 Aws::MakeShared<smithy::SigV4MultiAuthSchemeResolver<>>(ALLOCATION_TAG),
241242 {
242- {smithy::SigV4AuthSchemeOption::sigV4AuthSchemeOption.schemeId , smithy::SigV4AuthScheme{Aws::MakeShared<DefaultS3ExpressIdentityResolver>(ALLOCATION_TAG, * this , Aws::MakeShared<SimpleAWSCredentialsProvider >(ALLOCATION_TAG, credentials) ), GetServiceName (), Aws::Region::ComputeSignerRegion (clientConfiguration.region ), signPayloads, false }},
243+ {smithy::SigV4AuthSchemeOption::sigV4AuthSchemeOption.schemeId , smithy::SigV4AuthScheme{Aws::MakeShared<smithy::SimpleAwsCredentialIdentityResolver >(ALLOCATION_TAG, credentials ), GetServiceName (), Aws::Region::ComputeSignerRegion (clientConfiguration.region ), signPayloads, false }},
243244 {smithy::S3ExpressSigV4AuthSchemeOption::s3ExpressSigV4AuthSchemeOption.schemeId , smithy::S3ExpressSigV4AuthScheme{Aws::MakeShared<DefaultS3ExpressIdentityResolver>(ALLOCATION_TAG, *this , Aws::MakeShared<SimpleAWSCredentialsProvider>(ALLOCATION_TAG, credentials) ), GetServiceName (), Aws::Region::ComputeSignerRegion (clientConfiguration.region ), signPayloads, false }},
244- {smithy::SigV4aAuthSchemeOption::sigV4aAuthSchemeOption.schemeId , smithy::SigV4aAuthScheme{Aws::MakeShared<DefaultS3ExpressIdentityResolver>(ALLOCATION_TAG, * this , Aws::MakeShared<SimpleAWSCredentialsProvider >(ALLOCATION_TAG, credentials) ), GetServiceName (), Aws::Region::ComputeSignerRegion (clientConfiguration.region ), signPayloads, false }},
245+ {smithy::SigV4aAuthSchemeOption::sigV4aAuthSchemeOption.schemeId , smithy::SigV4aAuthScheme{Aws::MakeShared<smithy::SimpleAwsCredentialIdentityResolver >(ALLOCATION_TAG, credentials ), GetServiceName (), Aws::Region::ComputeSignerRegion (clientConfiguration.region ), signPayloads, false }},
245246 })
246247{
247248}
@@ -261,9 +262,9 @@ S3Client::S3Client(
261262 Aws::MakeShared<S3EndpointProvider>(ALLOCATION_TAG),
262263 Aws::MakeShared<smithy::SigV4MultiAuthSchemeResolver<>>(ALLOCATION_TAG),
263264 {
264- {smithy::SigV4AuthSchemeOption::sigV4AuthSchemeOption.schemeId , smithy::SigV4AuthScheme{Aws::MakeShared<DefaultS3ExpressIdentityResolver >(ALLOCATION_TAG, * this , credentialsProvider ), GetServiceName (), Aws::Region::ComputeSignerRegion (clientConfiguration.region ), signPayloads, false }},
265+ {smithy::SigV4AuthSchemeOption::sigV4AuthSchemeOption.schemeId , smithy::SigV4AuthScheme{Aws::MakeShared<smithy::AwsCredentialsProviderIdentityResolver >(ALLOCATION_TAG, credentialsProvider ), GetServiceName (), Aws::Region::ComputeSignerRegion (clientConfiguration.region ), signPayloads, false }},
265266 {smithy::S3ExpressSigV4AuthSchemeOption::s3ExpressSigV4AuthSchemeOption.schemeId , smithy::S3ExpressSigV4AuthScheme{Aws::MakeShared<DefaultS3ExpressIdentityResolver>(ALLOCATION_TAG, *this , credentialsProvider ), GetServiceName (), Aws::Region::ComputeSignerRegion (clientConfiguration.region ), signPayloads, false }},
266- {smithy::SigV4aAuthSchemeOption::sigV4aAuthSchemeOption.schemeId , smithy::SigV4aAuthScheme{Aws::MakeShared<DefaultS3ExpressIdentityResolver >(ALLOCATION_TAG, * this , credentialsProvider ), GetServiceName (), Aws::Region::ComputeSignerRegion (clientConfiguration.region ), signPayloads, false }},
267+ {smithy::SigV4aAuthSchemeOption::sigV4aAuthSchemeOption.schemeId , smithy::SigV4aAuthScheme{Aws::MakeShared<smithy::AwsCredentialsProviderIdentityResolver >(ALLOCATION_TAG, credentialsProvider ), GetServiceName (), Aws::Region::ComputeSignerRegion (clientConfiguration.region ), signPayloads, false }},
267268 })
268269{
269270}
0 commit comments