| Copyright | (c) 2013-2015 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | None |
| Language | Haskell2010 |
Network.AWS.MachineLearning.CreateRealtimeEndpoint
Description
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.
See: AWS API Reference for CreateRealtimeEndpoint.
- createRealtimeEndpoint :: Text -> CreateRealtimeEndpoint
- data CreateRealtimeEndpoint
- creMLModelId :: Lens' CreateRealtimeEndpoint Text
- createRealtimeEndpointResponse :: Int -> CreateRealtimeEndpointResponse
- data CreateRealtimeEndpointResponse
- crersRealtimeEndpointInfo :: Lens' CreateRealtimeEndpointResponse (Maybe RealtimeEndpointInfo)
- crersMLModelId :: Lens' CreateRealtimeEndpointResponse (Maybe Text)
- crersResponseStatus :: Lens' CreateRealtimeEndpointResponse Int
Creating a Request
Arguments
| :: Text | |
| -> CreateRealtimeEndpoint |
Creates a value of CreateRealtimeEndpoint with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data CreateRealtimeEndpoint Source
See: createRealtimeEndpoint smart constructor.
Instances
Request Lenses
creMLModelId :: Lens' CreateRealtimeEndpoint Text Source
The ID assigned to the MLModel during creation.
Destructuring the Response
createRealtimeEndpointResponse Source
Arguments
| :: Int | |
| -> CreateRealtimeEndpointResponse |
Creates a value of CreateRealtimeEndpointResponse with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data CreateRealtimeEndpointResponse Source
Represents the output of an CreateRealtimeEndpoint operation.
The result contains the MLModelId and the endpoint information for the
MLModel.
The endpoint information includes the URI of the MLModel; that is, the
location to send online prediction requests for the specified MLModel.
See: createRealtimeEndpointResponse smart constructor.
Response Lenses
crersRealtimeEndpointInfo :: Lens' CreateRealtimeEndpointResponse (Maybe RealtimeEndpointInfo) Source
The endpoint information of the MLModel
crersMLModelId :: Lens' CreateRealtimeEndpointResponse (Maybe Text) Source
A user-supplied ID that uniquely identifies the MLModel. This value
should be identical to the value of the MLModelId in the request.
crersResponseStatus :: Lens' CreateRealtimeEndpointResponse Int Source
The response status code.