package customizations

import "github.com/aws/aws-sdk-go-v2/service/machinelearning/internal/customizations"

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

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.

Source Files

doc.go predictendpoint.go

Version
v1.29.2 (latest)
Published
Apr 3, 2025
Platform
linux/amd64
Imports
6 packages
Last checked
5 hours ago

Tools for package owners.