Skip to content

Commit 892bfd3

Browse files
authored
feat: Add profile name support to DefaultAWSCredentialsProviderChain (#3395) (#3492)
1 parent f6077ff commit 892bfd3

File tree

421 files changed

+502
-418
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

421 files changed

+502
-418
lines changed

generated/src/aws-cpp-sdk-AWSMigrationHub/source/MigrationHubClient.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ MigrationHubClient::MigrationHubClient(const MigrationHub::MigrationHubClientCon
7171
std::shared_ptr<MigrationHubEndpointProviderBase> endpointProvider) :
7272
BASECLASS(clientConfiguration,
7373
Aws::MakeShared<AWSAuthV4Signer>(ALLOCATION_TAG,
74-
Aws::MakeShared<DefaultAWSCredentialsProviderChain>(ALLOCATION_TAG),
74+
Aws::MakeShared<DefaultAWSCredentialsProviderChain>(ALLOCATION_TAG, clientConfiguration.credentialProviderConfig),
7575
SERVICE_NAME,
7676
Aws::Region::ComputeSignerRegion(clientConfiguration.region)),
7777
Aws::MakeShared<MigrationHubErrorMarshaller>(ALLOCATION_TAG)),

generated/src/aws-cpp-sdk-accessanalyzer/source/AccessAnalyzerClient.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ AccessAnalyzerClient::AccessAnalyzerClient(const AccessAnalyzer::AccessAnalyzerC
8787
std::shared_ptr<AccessAnalyzerEndpointProviderBase> endpointProvider) :
8888
BASECLASS(clientConfiguration,
8989
Aws::MakeShared<AWSAuthV4Signer>(ALLOCATION_TAG,
90-
Aws::MakeShared<DefaultAWSCredentialsProviderChain>(ALLOCATION_TAG),
90+
Aws::MakeShared<DefaultAWSCredentialsProviderChain>(ALLOCATION_TAG, clientConfiguration.credentialProviderConfig),
9191
SERVICE_NAME,
9292
Aws::Region::ComputeSignerRegion(clientConfiguration.region)),
9393
Aws::MakeShared<AccessAnalyzerErrorMarshaller>(ALLOCATION_TAG)),

generated/src/aws-cpp-sdk-account/source/AccountClient.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ AccountClient::AccountClient(const Account::AccountClientConfiguration& clientCo
6464
std::shared_ptr<AccountEndpointProviderBase> endpointProvider) :
6565
BASECLASS(clientConfiguration,
6666
Aws::MakeShared<AWSAuthV4Signer>(ALLOCATION_TAG,
67-
Aws::MakeShared<DefaultAWSCredentialsProviderChain>(ALLOCATION_TAG),
67+
Aws::MakeShared<DefaultAWSCredentialsProviderChain>(ALLOCATION_TAG, clientConfiguration.credentialProviderConfig),
6868
SERVICE_NAME,
6969
Aws::Region::ComputeSignerRegion(clientConfiguration.region)),
7070
Aws::MakeShared<AccountErrorMarshaller>(ALLOCATION_TAG)),

generated/src/aws-cpp-sdk-acm-pca/source/ACMPCAClient.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ ACMPCAClient::ACMPCAClient(const ACMPCA::ACMPCAClientConfiguration& clientConfig
7373
std::shared_ptr<ACMPCAEndpointProviderBase> endpointProvider) :
7474
BASECLASS(clientConfiguration,
7575
Aws::MakeShared<AWSAuthV4Signer>(ALLOCATION_TAG,
76-
Aws::MakeShared<DefaultAWSCredentialsProviderChain>(ALLOCATION_TAG),
76+
Aws::MakeShared<DefaultAWSCredentialsProviderChain>(ALLOCATION_TAG, clientConfiguration.credentialProviderConfig),
7777
SERVICE_NAME,
7878
Aws::Region::ComputeSignerRegion(clientConfiguration.region)),
7979
Aws::MakeShared<ACMPCAErrorMarshaller>(ALLOCATION_TAG)),

generated/src/aws-cpp-sdk-acm/source/ACMClient.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ ACMClient::ACMClient(const ACM::ACMClientConfiguration& clientConfiguration,
6666
std::shared_ptr<ACMEndpointProviderBase> endpointProvider) :
6767
BASECLASS(clientConfiguration,
6868
Aws::MakeShared<AWSAuthV4Signer>(ALLOCATION_TAG,
69-
Aws::MakeShared<DefaultAWSCredentialsProviderChain>(ALLOCATION_TAG),
69+
Aws::MakeShared<DefaultAWSCredentialsProviderChain>(ALLOCATION_TAG, clientConfiguration.credentialProviderConfig),
7070
SERVICE_NAME,
7171
Aws::Region::ComputeSignerRegion(clientConfiguration.region)),
7272
Aws::MakeShared<ACMErrorMarshaller>(ALLOCATION_TAG)),

generated/src/aws-cpp-sdk-aiops/source/AIOpsClient.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ AIOpsClient::AIOpsClient(const AIOps::AIOpsClientConfiguration& clientConfigurat
6161
std::shared_ptr<AIOpsEndpointProviderBase> endpointProvider) :
6262
BASECLASS(clientConfiguration,
6363
Aws::MakeShared<AWSAuthV4Signer>(ALLOCATION_TAG,
64-
Aws::MakeShared<DefaultAWSCredentialsProviderChain>(ALLOCATION_TAG),
64+
Aws::MakeShared<DefaultAWSCredentialsProviderChain>(ALLOCATION_TAG, clientConfiguration.credentialProviderConfig),
6565
SERVICE_NAME,
6666
Aws::Region::ComputeSignerRegion(clientConfiguration.region)),
6767
Aws::MakeShared<AIOpsErrorMarshaller>(ALLOCATION_TAG)),

generated/src/aws-cpp-sdk-amp/source/PrometheusServiceClient.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ PrometheusServiceClient::PrometheusServiceClient(const PrometheusService::Promet
8383
std::shared_ptr<PrometheusServiceEndpointProviderBase> endpointProvider) :
8484
BASECLASS(clientConfiguration,
8585
Aws::MakeShared<AWSAuthV4Signer>(ALLOCATION_TAG,
86-
Aws::MakeShared<DefaultAWSCredentialsProviderChain>(ALLOCATION_TAG),
86+
Aws::MakeShared<DefaultAWSCredentialsProviderChain>(ALLOCATION_TAG, clientConfiguration.credentialProviderConfig),
8787
SERVICE_NAME,
8888
Aws::Region::ComputeSignerRegion(clientConfiguration.region)),
8989
Aws::MakeShared<PrometheusServiceErrorMarshaller>(ALLOCATION_TAG)),

generated/src/aws-cpp-sdk-amplify/source/AmplifyClient.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ AmplifyClient::AmplifyClient(const Amplify::AmplifyClientConfiguration& clientCo
8787
std::shared_ptr<AmplifyEndpointProviderBase> endpointProvider) :
8888
BASECLASS(clientConfiguration,
8989
Aws::MakeShared<AWSAuthV4Signer>(ALLOCATION_TAG,
90-
Aws::MakeShared<DefaultAWSCredentialsProviderChain>(ALLOCATION_TAG),
90+
Aws::MakeShared<DefaultAWSCredentialsProviderChain>(ALLOCATION_TAG, clientConfiguration.credentialProviderConfig),
9191
SERVICE_NAME,
9292
Aws::Region::ComputeSignerRegion(clientConfiguration.region)),
9393
Aws::MakeShared<AmplifyErrorMarshaller>(ALLOCATION_TAG)),

generated/src/aws-cpp-sdk-amplifybackend/source/AmplifyBackendClient.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ AmplifyBackendClient::AmplifyBackendClient(const AmplifyBackend::AmplifyBackendC
8181
std::shared_ptr<AmplifyBackendEndpointProviderBase> endpointProvider) :
8282
BASECLASS(clientConfiguration,
8383
Aws::MakeShared<AWSAuthV4Signer>(ALLOCATION_TAG,
84-
Aws::MakeShared<DefaultAWSCredentialsProviderChain>(ALLOCATION_TAG),
84+
Aws::MakeShared<DefaultAWSCredentialsProviderChain>(ALLOCATION_TAG, clientConfiguration.credentialProviderConfig),
8585
SERVICE_NAME,
8686
Aws::Region::ComputeSignerRegion(clientConfiguration.region)),
8787
Aws::MakeShared<AmplifyBackendErrorMarshaller>(ALLOCATION_TAG)),

generated/src/aws-cpp-sdk-amplifyuibuilder/source/AmplifyUIBuilderClient.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ AmplifyUIBuilderClient::AmplifyUIBuilderClient(const AmplifyUIBuilder::AmplifyUI
7878
std::shared_ptr<AmplifyUIBuilderEndpointProviderBase> endpointProvider) :
7979
BASECLASS(clientConfiguration,
8080
Aws::MakeShared<AWSAuthV4Signer>(ALLOCATION_TAG,
81-
Aws::MakeShared<DefaultAWSCredentialsProviderChain>(ALLOCATION_TAG),
81+
Aws::MakeShared<DefaultAWSCredentialsProviderChain>(ALLOCATION_TAG, clientConfiguration.credentialProviderConfig),
8282
SERVICE_NAME,
8383
Aws::Region::ComputeSignerRegion(clientConfiguration.region)),
8484
Aws::MakeShared<AmplifyUIBuilderErrorMarshaller>(ALLOCATION_TAG)),

0 commit comments

Comments
 (0)