| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.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.
Synopsis
- data CreateRealtimeEndpoint = CreateRealtimeEndpoint' {}
- newCreateRealtimeEndpoint :: Text -> CreateRealtimeEndpoint
- createRealtimeEndpoint_mLModelId :: Lens' CreateRealtimeEndpoint Text
- data CreateRealtimeEndpointResponse = CreateRealtimeEndpointResponse' {}
- newCreateRealtimeEndpointResponse :: Int -> CreateRealtimeEndpointResponse
- createRealtimeEndpointResponse_mLModelId :: Lens' CreateRealtimeEndpointResponse (Maybe Text)
- createRealtimeEndpointResponse_realtimeEndpointInfo :: Lens' CreateRealtimeEndpointResponse (Maybe RealtimeEndpointInfo)
- createRealtimeEndpointResponse_httpStatus :: Lens' CreateRealtimeEndpointResponse Int
Creating a Request
data CreateRealtimeEndpoint Source #
See: newCreateRealtimeEndpoint smart constructor.
Constructors
| CreateRealtimeEndpoint' | |
Instances
newCreateRealtimeEndpoint Source #
Arguments
| :: Text | |
| -> CreateRealtimeEndpoint |
Create a value of CreateRealtimeEndpoint with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
CreateRealtimeEndpoint, createRealtimeEndpoint_mLModelId - The ID assigned to the MLModel during creation.
Request Lenses
createRealtimeEndpoint_mLModelId :: Lens' CreateRealtimeEndpoint Text Source #
The ID assigned to the MLModel during creation.
Destructuring the Response
data CreateRealtimeEndpointResponse Source #
Represents the output of an CreateRealtimeEndpoint operation.
The result contains the MLModelId and the endpoint information for the
MLModel.
Note: The endpoint information includes the URI of the MLModel;
that is, the location to send online prediction requests for the
specified MLModel.
See: newCreateRealtimeEndpointResponse smart constructor.
Constructors
| CreateRealtimeEndpointResponse' | |
Fields
| |
Instances
newCreateRealtimeEndpointResponse Source #
Create a value of CreateRealtimeEndpointResponse with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
CreateRealtimeEndpoint, createRealtimeEndpointResponse_mLModelId - A user-supplied ID that uniquely identifies the MLModel. This value
should be identical to the value of the MLModelId in the request.
$sel:realtimeEndpointInfo:CreateRealtimeEndpointResponse', createRealtimeEndpointResponse_realtimeEndpointInfo - The endpoint information of the MLModel
$sel:httpStatus:CreateRealtimeEndpointResponse', createRealtimeEndpointResponse_httpStatus - The response's http status code.
Response Lenses
createRealtimeEndpointResponse_mLModelId :: 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.
createRealtimeEndpointResponse_realtimeEndpointInfo :: Lens' CreateRealtimeEndpointResponse (Maybe RealtimeEndpointInfo) Source #
The endpoint information of the MLModel
createRealtimeEndpointResponse_httpStatus :: Lens' CreateRealtimeEndpointResponse Int Source #
The response's http status code.