Copyright | (c) 2013-2021 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 |
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_realtimeEndpointInfo :: Lens' CreateRealtimeEndpointResponse (Maybe RealtimeEndpointInfo)
- createRealtimeEndpointResponse_mLModelId :: Lens' CreateRealtimeEndpointResponse (Maybe Text)
- createRealtimeEndpointResponse_httpStatus :: Lens' CreateRealtimeEndpointResponse Int
Creating a Request
data CreateRealtimeEndpoint Source #
See: newCreateRealtimeEndpoint
smart constructor.
Instances
newCreateRealtimeEndpoint Source #
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:
$sel:mLModelId: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.
CreateRealtimeEndpointResponse' | |
|
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:
$sel:realtimeEndpointInfo:CreateRealtimeEndpointResponse'
, createRealtimeEndpointResponse_realtimeEndpointInfo
- The endpoint information of the MLModel
$sel:mLModelId: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:httpStatus:CreateRealtimeEndpointResponse'
, createRealtimeEndpointResponse_httpStatus
- The response's http status code.
Response Lenses
createRealtimeEndpointResponse_realtimeEndpointInfo :: Lens' CreateRealtimeEndpointResponse (Maybe RealtimeEndpointInfo) Source #
The endpoint information of the MLModel
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_httpStatus :: Lens' CreateRealtimeEndpointResponse Int Source #
The response's http status code.