| Copyright | (c) 2013-2018 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay <brendan.g.hay+amazonka@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 .
- 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
createRealtimeEndpoint Source #
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:
creMLModelId- The ID assigned to theMLModelduring creation.
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:
crersRealtimeEndpointInfo- The endpoint information of theMLModelcrersMLModelId- A user-supplied ID that uniquely identifies theMLModel. This value should be identical to the value of theMLModelIdin the request.crersResponseStatus- -- | The response status code.
data CreateRealtimeEndpointResponse Source #
Represents the output of an CreateRealtimeEndpoint operation.
The result contains the MLModelId and the endpoint information for the MLModel .
See: createRealtimeEndpointResponse smart constructor.
Instances
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.