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

Contents

Description

Updates variant weight of one or more variants associated with an existing endpoint, or capacity of one variant associated with an existing endpoint. When it receives the request, Amazon SageMaker 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

updateEndpointWeightsAndCapacities Source #

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

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

data UpdateEndpointWeightsAndCapacities Source #

See: updateEndpointWeightsAndCapacities smart constructor.

Instances

Eq UpdateEndpointWeightsAndCapacities Source # 
Data UpdateEndpointWeightsAndCapacities Source # 

Methods

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

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

toConstr :: UpdateEndpointWeightsAndCapacities -> Constr #

dataTypeOf :: UpdateEndpointWeightsAndCapacities -> DataType #

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

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

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

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

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

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

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

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

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

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

Read UpdateEndpointWeightsAndCapacities Source # 
Show UpdateEndpointWeightsAndCapacities Source # 
Generic UpdateEndpointWeightsAndCapacities Source # 
Hashable UpdateEndpointWeightsAndCapacities Source # 
ToJSON UpdateEndpointWeightsAndCapacities Source # 
NFData UpdateEndpointWeightsAndCapacities Source # 
AWSRequest UpdateEndpointWeightsAndCapacities Source # 
ToHeaders UpdateEndpointWeightsAndCapacities Source # 
ToPath UpdateEndpointWeightsAndCapacities Source # 
ToQuery UpdateEndpointWeightsAndCapacities Source # 
type Rep UpdateEndpointWeightsAndCapacities Source # 
type Rep UpdateEndpointWeightsAndCapacities = D1 * (MetaData "UpdateEndpointWeightsAndCapacities" "Network.AWS.SageMaker.UpdateEndpointWeightsAndCapacities" "amazonka-sagemaker-1.6.0-9oNc2IB3ZCo9VZHXZi5zcA" False) (C1 * (MetaCons "UpdateEndpointWeightsAndCapacities'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_uewacEndpointName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Text)) (S1 * (MetaSel (Just Symbol "_uewacDesiredWeightsAndCapacities") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (List1 DesiredWeightAndCapacity)))))
type Rs UpdateEndpointWeightsAndCapacities Source # 

Request Lenses

uewacEndpointName :: Lens' UpdateEndpointWeightsAndCapacities Text Source #

The name of an existing Amazon SageMaker endpoint.

uewacDesiredWeightsAndCapacities :: Lens' UpdateEndpointWeightsAndCapacities (NonEmpty DesiredWeightAndCapacity) Source #

An object that provides new capacity and weight values for a variant.

Destructuring the Response

updateEndpointWeightsAndCapacitiesResponse Source #

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

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

data UpdateEndpointWeightsAndCapacitiesResponse Source #

Instances

Eq UpdateEndpointWeightsAndCapacitiesResponse Source # 
Data UpdateEndpointWeightsAndCapacitiesResponse Source # 

Methods

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

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

toConstr :: UpdateEndpointWeightsAndCapacitiesResponse -> Constr #

dataTypeOf :: UpdateEndpointWeightsAndCapacitiesResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read UpdateEndpointWeightsAndCapacitiesResponse Source # 
Show UpdateEndpointWeightsAndCapacitiesResponse Source # 
Generic UpdateEndpointWeightsAndCapacitiesResponse Source # 
NFData UpdateEndpointWeightsAndCapacitiesResponse Source # 
type Rep UpdateEndpointWeightsAndCapacitiesResponse Source # 
type Rep UpdateEndpointWeightsAndCapacitiesResponse = D1 * (MetaData "UpdateEndpointWeightsAndCapacitiesResponse" "Network.AWS.SageMaker.UpdateEndpointWeightsAndCapacities" "amazonka-sagemaker-1.6.0-9oNc2IB3ZCo9VZHXZi5zcA" False) (C1 * (MetaCons "UpdateEndpointWeightsAndCapacitiesResponse'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_uewacrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Int)) (S1 * (MetaSel (Just Symbol "_uewacrsEndpointARN") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Text))))

Response Lenses

uewacrsEndpointARN :: Lens' UpdateEndpointWeightsAndCapacitiesResponse Text Source #

The Amazon Resource Name (ARN) of the updated endpoint.