amazonka-ml-1.4.1: Amazon Machine Learning SDK.

Copyright(c) 2013-2016 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.AWS.MachineLearning.CreateRealtimeEndpoint

Contents

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

Creating a Request

createRealtimeEndpoint Source #

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

Eq CreateRealtimeEndpoint Source # 
Data CreateRealtimeEndpoint Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> CreateRealtimeEndpoint -> c CreateRealtimeEndpoint #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c CreateRealtimeEndpoint #

toConstr :: CreateRealtimeEndpoint -> Constr #

dataTypeOf :: CreateRealtimeEndpoint -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c CreateRealtimeEndpoint) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c CreateRealtimeEndpoint) #

gmapT :: (forall b. Data b => b -> b) -> CreateRealtimeEndpoint -> CreateRealtimeEndpoint #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> CreateRealtimeEndpoint -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> CreateRealtimeEndpoint -> r #

gmapQ :: (forall d. Data d => d -> u) -> CreateRealtimeEndpoint -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> CreateRealtimeEndpoint -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> CreateRealtimeEndpoint -> m CreateRealtimeEndpoint #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> CreateRealtimeEndpoint -> m CreateRealtimeEndpoint #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> CreateRealtimeEndpoint -> m CreateRealtimeEndpoint #

Read CreateRealtimeEndpoint Source # 
Show CreateRealtimeEndpoint Source # 
Generic CreateRealtimeEndpoint Source # 
Hashable CreateRealtimeEndpoint Source # 
ToJSON CreateRealtimeEndpoint Source # 
NFData CreateRealtimeEndpoint Source # 

Methods

rnf :: CreateRealtimeEndpoint -> () #

AWSRequest CreateRealtimeEndpoint Source # 
ToQuery CreateRealtimeEndpoint Source # 
ToPath CreateRealtimeEndpoint Source # 
ToHeaders CreateRealtimeEndpoint Source # 
type Rep CreateRealtimeEndpoint Source # 
type Rep CreateRealtimeEndpoint = D1 (MetaData "CreateRealtimeEndpoint" "Network.AWS.MachineLearning.CreateRealtimeEndpoint" "amazonka-ml-1.4.1-5jDp9fGygLI17rP35njtq9" True) (C1 (MetaCons "CreateRealtimeEndpoint'" PrefixI True) (S1 (MetaSel (Just Symbol "_creMLModelId") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text)))
type Rs CreateRealtimeEndpoint Source # 

Request Lenses

creMLModelId :: Lens' CreateRealtimeEndpoint Text Source #

The ID assigned to the MLModel during creation.

Destructuring the Response

createRealtimeEndpointResponse Source #

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.

Instances

Eq CreateRealtimeEndpointResponse Source # 
Data CreateRealtimeEndpointResponse Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> CreateRealtimeEndpointResponse -> c CreateRealtimeEndpointResponse #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c CreateRealtimeEndpointResponse #

toConstr :: CreateRealtimeEndpointResponse -> Constr #

dataTypeOf :: CreateRealtimeEndpointResponse -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c CreateRealtimeEndpointResponse) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c CreateRealtimeEndpointResponse) #

gmapT :: (forall b. Data b => b -> b) -> CreateRealtimeEndpointResponse -> CreateRealtimeEndpointResponse #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> CreateRealtimeEndpointResponse -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> CreateRealtimeEndpointResponse -> r #

gmapQ :: (forall d. Data d => d -> u) -> CreateRealtimeEndpointResponse -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> CreateRealtimeEndpointResponse -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> CreateRealtimeEndpointResponse -> m CreateRealtimeEndpointResponse #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> CreateRealtimeEndpointResponse -> m CreateRealtimeEndpointResponse #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> CreateRealtimeEndpointResponse -> m CreateRealtimeEndpointResponse #

Read CreateRealtimeEndpointResponse Source # 
Show CreateRealtimeEndpointResponse Source # 
Generic CreateRealtimeEndpointResponse Source # 
NFData CreateRealtimeEndpointResponse Source # 
type Rep CreateRealtimeEndpointResponse Source # 
type Rep CreateRealtimeEndpointResponse = D1 (MetaData "CreateRealtimeEndpointResponse" "Network.AWS.MachineLearning.CreateRealtimeEndpoint" "amazonka-ml-1.4.1-5jDp9fGygLI17rP35njtq9" False) (C1 (MetaCons "CreateRealtimeEndpointResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_crersRealtimeEndpointInfo") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe RealtimeEndpointInfo))) ((:*:) (S1 (MetaSel (Just Symbol "_crersMLModelId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_crersResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int)))))

Response Lenses

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.