// Creates a real-time endpoint for the MLModel. The endpoint contains the URI of
// the MLModel; that is, the location to send real-time prediction requests for the
// specified MLModel.
Creates a real-time endpoint for the MLModel. The endpoint contains the URI of
the MLModel; that is, the location to send real-time prediction requests for the
specified MLModel.
// Creates a real - time endpoint for the MLModel . The endpoint contains the URI of // the MLModel ; that is the location to send real - time prediction requests for the // specified MLModel .
func (c *Client) CreateRealtimeEndpoint(ctx context.Context, params *CreateRealtimeEndpointInput, optFns ...func(*Options)) (*CreateRealtimeEndpointOutput, error) {
	if params == nil {
		params = &CreateRealtimeEndpointInput{}
	}
	result, metadata, err := c.invokeOperation(ctx, "CreateRealtimeEndpoint", params, optFns, addOperationCreateRealtimeEndpointMiddlewares)
	if err != nil {
		return nil, err
	}
	out := result.(*CreateRealtimeEndpointOutput)
	out.ResultMetadata = metadata
	return out, nil
}
func ( c * Client ) CreateRealtimeEndpoint ( ctx context . Context , params * CreateRealtimeEndpointInput , optFns ... func ( * Options ) ) ( * CreateRealtimeEndpointOutput , error ) { if params == nil { params = & CreateRealtimeEndpointInput { } } result , metadata , err := c . invokeOperation ( ctx , " " , params , optFns , addOperationCreateRealtimeEndpointMiddlewares ) if err != nil { return nil , err } out := result . ( * CreateRealtimeEndpointOutput ) out . ResultMetadata = metadata return out , nil }
Creates a real-time endpoint for the MLModel.
Creates a real - time endpoint for the MLModel .