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.

@FunctionalInterface @SdkProtectedApi public interface RequestIdentityProviderResolver
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 Type
    Method
    Description
    resolve(SdkRequest request, IdentityProviders base, ExecutionAttributes executionAttributes)
    Resolves identity providers by applying request-level credential overrides or credentials set via AwsSignerExecutionAttribute.AWS_CREDENTIALS by interceptors.
  • Method Details

    • resolve

      IdentityProviders resolve(SdkRequest request, IdentityProviders base, ExecutionAttributes executionAttributes)
      Resolves identity providers by applying request-level credential overrides or credentials set via AwsSignerExecutionAttribute.AWS_CREDENTIALS by interceptors.
      Parameters:
      request - The request (after interceptors have modified it)
      base - The base identity providers from client configuration
      executionAttributes - The execution attributes, checked for interceptor-set AWS_CREDENTIALS
      Returns:
      Updated identity providers, or base if no overrides apply