Interface EndpointResolver

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 EndpointResolver
Callback interface for resolving endpoints from the request and execution context.
  • Method Summary

    Modifier and Type
    Method
    Description
    resolve(SdkRequest request, ExecutionAttributes executionAttributes)
    Resolves the endpoint for the given request.
  • Method Details

    • resolve

      Endpoint resolve(SdkRequest request, ExecutionAttributes executionAttributes)
      Resolves the endpoint for the given request.
      Parameters:
      request - The SDK request (after interceptors have modified it)
      executionAttributes - The execution attributes containing client config, region, etc.
      Returns:
      The resolved endpoint