func updatePredictEndpoint(r *request.Request) {
	if !r.ParamsFilled() {
		return
	}

	r.ClientInfo.Endpoint = *r.Params.(*PredictInput).PredictEndpoint

	uri, err := url.Parse(r.ClientInfo.Endpoint)
	if err != nil {
		r.Error = err
		return
	}
	r.HTTPRequest.URL = uri
}
// updatePredictEndpoint rewrites the request endpoint to use the
// "PredictEndpoint" parameter of the Predict operation.
updatePredictEndpoint rewrites the request endpoint to use the
"PredictEndpoint" parameter of the Predict operation.
// updatePredictEndpoint rewrites the request endpoint to use the // " PredictEndpoint " parameter of the Predict operation .
func updatePredictEndpoint(r *request.Request) {
	if !r.ParamsFilled() {
		return
	}
	r.ClientInfo.Endpoint = *r.Params.(*PredictInput).PredictEndpoint
	uri, err := url.Parse(r.ClientInfo.Endpoint)
	if err != nil {
		r.Error = err
		return
	}
	r.HTTPRequest.URL = uri
}
func updatePredictEndpoint ( r * request . Request ) { if ! r . ParamsFilled ( ) { return } r . ClientInfo . Endpoint = * r . Params . ( * PredictInput ) . PredictEndpoint uri , err := url . Parse ( r . ClientInfo . Endpoint ) if err != nil { r . Error = err return } r . HTTPRequest . URL = uri }
updatePredictEndpoint rewrites the request endpoint to use the
"PredictEndpoint" parameter of the Predict operation.
updatePredictEndpoint rewrites the request endpoint to use the " PredictEndpoint " parameter of the Predict operation .