Documentation

Overview

Package customizations provides customizations for the Machine Learning API client.

The Machine Learning API client uses one customization to support the PredictEndpoint input parameter.

Predict Endpoint

The predict endpoint customization runs after normal endpoint resolution happens. If the user has provided a value for PredictEndpoint then this customization will overwrite the request's endpoint with that value.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddPredictEndpointMiddleware

func AddPredictEndpointMiddleware(stack *middleware.Stack, endpoint func(interface{}) (*string, error)) error

    AddPredictEndpointMiddleware adds the middleware required to set the endpoint based on Predict's PredictEndpoint input member.

    Types

    This section is empty.