amazonka-sagemaker-1.6.0: 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 # 
Data UpdateEndpoint Source # 

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 # 
Show UpdateEndpoint Source # 
Generic UpdateEndpoint Source # 

Associated Types

type Rep UpdateEndpoint :: * -> * #

Hashable UpdateEndpoint Source # 
ToJSON UpdateEndpoint Source # 
NFData UpdateEndpoint Source # 

Methods

rnf :: UpdateEndpoint -> () #

AWSRequest UpdateEndpoint Source # 
ToHeaders UpdateEndpoint Source # 
ToPath UpdateEndpoint Source # 
ToQuery UpdateEndpoint Source # 
type Rep UpdateEndpoint Source # 
type Rep UpdateEndpoint = D1 * (MetaData "UpdateEndpoint" "Network.AWS.SageMaker.UpdateEndpoint" "amazonka-sagemaker-1.6.0-9oNc2IB3ZCo9VZHXZi5zcA" False) (C1 * (MetaCons "UpdateEndpoint'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_ueEndpointName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Text)) (S1 * (MetaSel (Just Symbol "_ueEndpointConfigName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Text))))
type Rs UpdateEndpoint Source # 

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 # 
Data UpdateEndpointResponse Source # 

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 # 
Show UpdateEndpointResponse Source # 
Generic UpdateEndpointResponse Source # 
NFData UpdateEndpointResponse Source # 

Methods

rnf :: UpdateEndpointResponse -> () #

type Rep UpdateEndpointResponse Source # 
type Rep UpdateEndpointResponse = D1 * (MetaData "UpdateEndpointResponse" "Network.AWS.SageMaker.UpdateEndpoint" "amazonka-sagemaker-1.6.0-9oNc2IB3ZCo9VZHXZi5zcA" False) (C1 * (MetaCons "UpdateEndpointResponse'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_uersResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Int)) (S1 * (MetaSel (Just Symbol "_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.