class Aws::Plugins::Retries::ErrorInspector

def endpoint_discovery?(context)

def endpoint_discovery?(context)
  return false unless context.operation.endpoint_discovery
  @http_status_code == 421 ||
    @name == 'InvalidEndpointException' ||
    @error.is_a?(Errors::EndpointDiscoveryError)
end