amazonka-sagemaker-1.6.1: Amazon SageMaker Service SDK.

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

Network.AWS.SageMaker.CreateEndpoint

Contents

Description

Creates an endpoint using the endpoint configuration specified in the request. Amazon SageMaker uses the endpoint to provision resources and deploy models. You create the endpoint configuration with the CreateEndpointConfig API.

The endpoint name must be unique within an AWS Region in your AWS account.

When it receives the request, Amazon SageMaker creates the endpoint, launches the resources (ML compute instances), and deploys the model(s) on them.

When Amazon SageMaker receives the request, it sets the endpoint status to Creating . After it creates the endpoint, it sets the status to InService . Amazon SageMaker can then process incoming requests for inferences. To check the status of an endpoint, use the DescribeEndpoint API.

For an example, see Exercise 1: Using the K-Means Algorithm Provided by Amazon SageMaker .

Synopsis

Creating a Request

createEndpoint Source #

Creates a value of CreateEndpoint with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

data CreateEndpoint Source #

See: createEndpoint smart constructor.

Instances
Eq CreateEndpoint Source # 
Instance details

Defined in Network.AWS.SageMaker.CreateEndpoint

Data CreateEndpoint Source # 
Instance details

Defined in Network.AWS.SageMaker.CreateEndpoint

Methods

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

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

toConstr :: CreateEndpoint -> Constr #

dataTypeOf :: CreateEndpoint -> DataType #

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

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

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

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

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

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

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

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

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

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

Read CreateEndpoint Source # 
Instance details

Defined in Network.AWS.SageMaker.CreateEndpoint

Show CreateEndpoint Source # 
Instance details

Defined in Network.AWS.SageMaker.CreateEndpoint

Generic CreateEndpoint Source # 
Instance details

Defined in Network.AWS.SageMaker.CreateEndpoint

Associated Types

type Rep CreateEndpoint :: Type -> Type #

Hashable CreateEndpoint Source # 
Instance details

Defined in Network.AWS.SageMaker.CreateEndpoint

ToJSON CreateEndpoint Source # 
Instance details

Defined in Network.AWS.SageMaker.CreateEndpoint

AWSRequest CreateEndpoint Source # 
Instance details

Defined in Network.AWS.SageMaker.CreateEndpoint

Associated Types

type Rs CreateEndpoint :: Type #

ToHeaders CreateEndpoint Source # 
Instance details

Defined in Network.AWS.SageMaker.CreateEndpoint

ToPath CreateEndpoint Source # 
Instance details

Defined in Network.AWS.SageMaker.CreateEndpoint

ToQuery CreateEndpoint Source # 
Instance details

Defined in Network.AWS.SageMaker.CreateEndpoint

NFData CreateEndpoint Source # 
Instance details

Defined in Network.AWS.SageMaker.CreateEndpoint

Methods

rnf :: CreateEndpoint -> () #

type Rep CreateEndpoint Source # 
Instance details

Defined in Network.AWS.SageMaker.CreateEndpoint

type Rep CreateEndpoint = D1 (MetaData "CreateEndpoint" "Network.AWS.SageMaker.CreateEndpoint" "amazonka-sagemaker-1.6.1-KSR3FgWuE9u23bvJsHopKu" False) (C1 (MetaCons "CreateEndpoint'" PrefixI True) (S1 (MetaSel (Just "_ceTags") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Tag])) :*: (S1 (MetaSel (Just "_ceEndpointName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_ceEndpointConfigName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))))
type Rs CreateEndpoint Source # 
Instance details

Defined in Network.AWS.SageMaker.CreateEndpoint

Request Lenses

ceTags :: Lens' CreateEndpoint [Tag] Source #

An array of key-value pairs. For more information, see Using Cost Allocation Tags in the AWS Billing and Cost Management User Guide .

ceEndpointName :: Lens' CreateEndpoint Text Source #

The name of the endpoint. The name must be unique within an AWS Region in your AWS account.

ceEndpointConfigName :: Lens' CreateEndpoint Text Source #

The name of an endpoint configuration. For more information, see CreateEndpointConfig .

Destructuring the Response

createEndpointResponse Source #

Creates a value of CreateEndpointResponse with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

data CreateEndpointResponse Source #

See: createEndpointResponse smart constructor.

Instances
Eq CreateEndpointResponse Source # 
Instance details

Defined in Network.AWS.SageMaker.CreateEndpoint

Data CreateEndpointResponse Source # 
Instance details

Defined in Network.AWS.SageMaker.CreateEndpoint

Methods

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

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

toConstr :: CreateEndpointResponse -> Constr #

dataTypeOf :: CreateEndpointResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read CreateEndpointResponse Source # 
Instance details

Defined in Network.AWS.SageMaker.CreateEndpoint

Show CreateEndpointResponse Source # 
Instance details

Defined in Network.AWS.SageMaker.CreateEndpoint

Generic CreateEndpointResponse Source # 
Instance details

Defined in Network.AWS.SageMaker.CreateEndpoint

Associated Types

type Rep CreateEndpointResponse :: Type -> Type #

NFData CreateEndpointResponse Source # 
Instance details

Defined in Network.AWS.SageMaker.CreateEndpoint

Methods

rnf :: CreateEndpointResponse -> () #

type Rep CreateEndpointResponse Source # 
Instance details

Defined in Network.AWS.SageMaker.CreateEndpoint

type Rep CreateEndpointResponse = D1 (MetaData "CreateEndpointResponse" "Network.AWS.SageMaker.CreateEndpoint" "amazonka-sagemaker-1.6.1-KSR3FgWuE9u23bvJsHopKu" False) (C1 (MetaCons "CreateEndpointResponse'" PrefixI True) (S1 (MetaSel (Just "_cersResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int) :*: S1 (MetaSel (Just "_cersEndpointARN") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)))

Response Lenses

cersResponseStatus :: Lens' CreateEndpointResponse Int Source #

  • - | The response status code.

cersEndpointARN :: Lens' CreateEndpointResponse Text Source #

The Amazon Resource Name (ARN) of the endpoint.