Interface RequestIdentityProviderResolver
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Callback interface for resolving the final identity providers considering request-level overrides.
This allows aws-core to provide AWS-specific logic for reading credential overrides
from AwsRequestOverrideConfiguration without sdk-core depending on aws-core.
-
Method Summary
Modifier and TypeMethodDescriptionresolve(SdkRequest request, IdentityProviders base, ExecutionAttributes executionAttributes) Resolves identity providers by applying request-level credential overrides or credentials set viaAwsSignerExecutionAttribute.AWS_CREDENTIALSby interceptors.
-
Method Details
-
resolve
IdentityProviders resolve(SdkRequest request, IdentityProviders base, ExecutionAttributes executionAttributes) Resolves identity providers by applying request-level credential overrides or credentials set viaAwsSignerExecutionAttribute.AWS_CREDENTIALSby interceptors.- Parameters:
request- The request (after interceptors have modified it)base- The base identity providers from client configurationexecutionAttributes- The execution attributes, checked for interceptor-set AWS_CREDENTIALS- Returns:
- Updated identity providers, or base if no overrides apply
-