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.UpdateEndpoint

Contents

Description

Deploys the new EndpointConfig specified in the request, switches to using newly created endpoint, and then deletes resources provisioned for the endpoint using the previous EndpointConfig (there is no availability loss).

When Amazon SageMaker receives the request, it sets the endpoint status to Updating . After updating the endpoint, it sets the status to InService . To check the status of an endpoint, use the DescribeEndpoint API.

Synopsis

Creating a Request

updateEndpoint Source #

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

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

data UpdateEndpoint Source #

See: updateEndpoint smart constructor.

Instances
Eq UpdateEndpoint Source # 
Instance details

Defined in Network.AWS.SageMaker.UpdateEndpoint

Data UpdateEndpoint Source # 
Instance details

Defined in Network.AWS.SageMaker.UpdateEndpoint

Methods

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

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

toConstr :: UpdateEndpoint -> Constr #

dataTypeOf :: UpdateEndpoint -> DataType #

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

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

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

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

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

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

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

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

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

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

Read UpdateEndpoint Source # 
Instance details

Defined in Network.AWS.SageMaker.UpdateEndpoint

Show UpdateEndpoint Source # 
Instance details

Defined in Network.AWS.SageMaker.UpdateEndpoint

Generic UpdateEndpoint Source # 
Instance details

Defined in Network.AWS.SageMaker.UpdateEndpoint

Associated Types

type Rep UpdateEndpoint :: Type -> Type #

Hashable UpdateEndpoint Source # 
Instance details

Defined in Network.AWS.SageMaker.UpdateEndpoint

ToJSON UpdateEndpoint Source # 
Instance details

Defined in Network.AWS.SageMaker.UpdateEndpoint

AWSRequest UpdateEndpoint Source # 
Instance details

Defined in Network.AWS.SageMaker.UpdateEndpoint

Associated Types

type Rs UpdateEndpoint :: Type #

ToHeaders UpdateEndpoint Source # 
Instance details

Defined in Network.AWS.SageMaker.UpdateEndpoint

ToPath UpdateEndpoint Source # 
Instance details

Defined in Network.AWS.SageMaker.UpdateEndpoint

ToQuery UpdateEndpoint Source # 
Instance details

Defined in Network.AWS.SageMaker.UpdateEndpoint

NFData UpdateEndpoint Source # 
Instance details

Defined in Network.AWS.SageMaker.UpdateEndpoint

Methods

rnf :: UpdateEndpoint -> () #

type Rep UpdateEndpoint Source # 
Instance details

Defined in Network.AWS.SageMaker.UpdateEndpoint

type Rep UpdateEndpoint = D1 (MetaData "UpdateEndpoint" "Network.AWS.SageMaker.UpdateEndpoint" "amazonka-sagemaker-1.6.1-KSR3FgWuE9u23bvJsHopKu" False) (C1 (MetaCons "UpdateEndpoint'" PrefixI True) (S1 (MetaSel (Just "_ueEndpointName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_ueEndpointConfigName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)))
type Rs UpdateEndpoint Source # 
Instance details

Defined in Network.AWS.SageMaker.UpdateEndpoint

Request Lenses

ueEndpointName :: Lens' UpdateEndpoint Text Source #

The name of the endpoint whose configuration you want to update.

ueEndpointConfigName :: Lens' UpdateEndpoint Text Source #

The name of the new endpoint configuration.

Destructuring the Response

updateEndpointResponse Source #

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

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

data UpdateEndpointResponse Source #

See: updateEndpointResponse smart constructor.

Instances
Eq UpdateEndpointResponse Source # 
Instance details

Defined in Network.AWS.SageMaker.UpdateEndpoint

Data UpdateEndpointResponse Source # 
Instance details

Defined in Network.AWS.SageMaker.UpdateEndpoint

Methods

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

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

toConstr :: UpdateEndpointResponse -> Constr #

dataTypeOf :: UpdateEndpointResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read UpdateEndpointResponse Source # 
Instance details

Defined in Network.AWS.SageMaker.UpdateEndpoint

Show UpdateEndpointResponse Source # 
Instance details

Defined in Network.AWS.SageMaker.UpdateEndpoint

Generic UpdateEndpointResponse Source # 
Instance details

Defined in Network.AWS.SageMaker.UpdateEndpoint

Associated Types

type Rep UpdateEndpointResponse :: Type -> Type #

NFData UpdateEndpointResponse Source # 
Instance details

Defined in Network.AWS.SageMaker.UpdateEndpoint

Methods

rnf :: UpdateEndpointResponse -> () #

type Rep UpdateEndpointResponse Source # 
Instance details

Defined in Network.AWS.SageMaker.UpdateEndpoint

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

Response Lenses

uersResponseStatus :: Lens' UpdateEndpointResponse Int Source #

  • - | The response status code.

uersEndpointARN :: Lens' UpdateEndpointResponse Text Source #

The Amazon Resource Name (ARN) of the endpoint.