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.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 # 
Instance details

Defined in Network.AWS.SageMaker.UpdateEndpointWeightsAndCapacities

Data UpdateEndpointWeightsAndCapacities Source # 
Instance details

Defined in Network.AWS.SageMaker.UpdateEndpointWeightsAndCapacities

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 # 
Instance details

Defined in Network.AWS.SageMaker.UpdateEndpointWeightsAndCapacities

Show UpdateEndpointWeightsAndCapacities Source # 
Instance details

Defined in Network.AWS.SageMaker.UpdateEndpointWeightsAndCapacities

Generic UpdateEndpointWeightsAndCapacities Source # 
Instance details

Defined in Network.AWS.SageMaker.UpdateEndpointWeightsAndCapacities

Associated Types

type Rep UpdateEndpointWeightsAndCapacities :: Type -> Type #

Hashable UpdateEndpointWeightsAndCapacities Source # 
Instance details

Defined in Network.AWS.SageMaker.UpdateEndpointWeightsAndCapacities

ToJSON UpdateEndpointWeightsAndCapacities Source # 
Instance details

Defined in Network.AWS.SageMaker.UpdateEndpointWeightsAndCapacities

AWSRequest UpdateEndpointWeightsAndCapacities Source # 
Instance details

Defined in Network.AWS.SageMaker.UpdateEndpointWeightsAndCapacities

ToHeaders UpdateEndpointWeightsAndCapacities Source # 
Instance details

Defined in Network.AWS.SageMaker.UpdateEndpointWeightsAndCapacities

ToPath UpdateEndpointWeightsAndCapacities Source # 
Instance details

Defined in Network.AWS.SageMaker.UpdateEndpointWeightsAndCapacities

ToQuery UpdateEndpointWeightsAndCapacities Source # 
Instance details

Defined in Network.AWS.SageMaker.UpdateEndpointWeightsAndCapacities

NFData UpdateEndpointWeightsAndCapacities Source # 
Instance details

Defined in Network.AWS.SageMaker.UpdateEndpointWeightsAndCapacities

type Rep UpdateEndpointWeightsAndCapacities Source # 
Instance details

Defined in Network.AWS.SageMaker.UpdateEndpointWeightsAndCapacities

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

Defined in Network.AWS.SageMaker.UpdateEndpointWeightsAndCapacities

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 # 
Instance details

Defined in Network.AWS.SageMaker.UpdateEndpointWeightsAndCapacities

Data UpdateEndpointWeightsAndCapacitiesResponse Source # 
Instance details

Defined in Network.AWS.SageMaker.UpdateEndpointWeightsAndCapacities

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 # 
Instance details

Defined in Network.AWS.SageMaker.UpdateEndpointWeightsAndCapacities

Show UpdateEndpointWeightsAndCapacitiesResponse Source # 
Instance details

Defined in Network.AWS.SageMaker.UpdateEndpointWeightsAndCapacities

Generic UpdateEndpointWeightsAndCapacitiesResponse Source # 
Instance details

Defined in Network.AWS.SageMaker.UpdateEndpointWeightsAndCapacities

NFData UpdateEndpointWeightsAndCapacitiesResponse Source # 
Instance details

Defined in Network.AWS.SageMaker.UpdateEndpointWeightsAndCapacities

type Rep UpdateEndpointWeightsAndCapacitiesResponse Source # 
Instance details

Defined in Network.AWS.SageMaker.UpdateEndpointWeightsAndCapacities

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

Response Lenses

uewacrsEndpointARN :: Lens' UpdateEndpointWeightsAndCapacitiesResponse Text Source #

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