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

Amazonka.SageMaker.UpdateEndpointWeightsAndCapacities

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

data UpdateEndpointWeightsAndCapacities Source #

Constructors

UpdateEndpointWeightsAndCapacities' 

Fields

Instances

Instances details
Eq UpdateEndpointWeightsAndCapacities Source # 
Instance details

Defined in Amazonka.SageMaker.UpdateEndpointWeightsAndCapacities

Read UpdateEndpointWeightsAndCapacities Source # 
Instance details

Defined in Amazonka.SageMaker.UpdateEndpointWeightsAndCapacities

Show UpdateEndpointWeightsAndCapacities Source # 
Instance details

Defined in Amazonka.SageMaker.UpdateEndpointWeightsAndCapacities

Generic UpdateEndpointWeightsAndCapacities Source # 
Instance details

Defined in Amazonka.SageMaker.UpdateEndpointWeightsAndCapacities

Associated Types

type Rep UpdateEndpointWeightsAndCapacities :: Type -> Type #

NFData UpdateEndpointWeightsAndCapacities Source # 
Instance details

Defined in Amazonka.SageMaker.UpdateEndpointWeightsAndCapacities

Hashable UpdateEndpointWeightsAndCapacities Source # 
Instance details

Defined in Amazonka.SageMaker.UpdateEndpointWeightsAndCapacities

ToJSON UpdateEndpointWeightsAndCapacities Source # 
Instance details

Defined in Amazonka.SageMaker.UpdateEndpointWeightsAndCapacities

AWSRequest UpdateEndpointWeightsAndCapacities Source # 
Instance details

Defined in Amazonka.SageMaker.UpdateEndpointWeightsAndCapacities

ToHeaders UpdateEndpointWeightsAndCapacities Source # 
Instance details

Defined in Amazonka.SageMaker.UpdateEndpointWeightsAndCapacities

ToPath UpdateEndpointWeightsAndCapacities Source # 
Instance details

Defined in Amazonka.SageMaker.UpdateEndpointWeightsAndCapacities

ToQuery UpdateEndpointWeightsAndCapacities Source # 
Instance details

Defined in Amazonka.SageMaker.UpdateEndpointWeightsAndCapacities

type Rep UpdateEndpointWeightsAndCapacities Source # 
Instance details

Defined in Amazonka.SageMaker.UpdateEndpointWeightsAndCapacities

type Rep UpdateEndpointWeightsAndCapacities = D1 ('MetaData "UpdateEndpointWeightsAndCapacities" "Amazonka.SageMaker.UpdateEndpointWeightsAndCapacities" "libZSservicesZSamazonka-sagemakerZSamazonka-sagemaker" 'False) (C1 ('MetaCons "UpdateEndpointWeightsAndCapacities'" 'PrefixI 'True) (S1 ('MetaSel ('Just "endpointName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "desiredWeightsAndCapacities") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (NonEmpty DesiredWeightAndCapacity))))
type AWSResponse UpdateEndpointWeightsAndCapacities Source # 
Instance details

Defined in Amazonka.SageMaker.UpdateEndpointWeightsAndCapacities

newUpdateEndpointWeightsAndCapacities Source #

Create a value of UpdateEndpointWeightsAndCapacities with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:endpointName:UpdateEndpointWeightsAndCapacities', updateEndpointWeightsAndCapacities_endpointName - The name of an existing Amazon SageMaker endpoint.

$sel:desiredWeightsAndCapacities:UpdateEndpointWeightsAndCapacities', updateEndpointWeightsAndCapacities_desiredWeightsAndCapacities - An object that provides new capacity and weight values for a variant.

Request Lenses

Destructuring the Response

data UpdateEndpointWeightsAndCapacitiesResponse Source #

Constructors

UpdateEndpointWeightsAndCapacitiesResponse' 

Fields

Instances

Instances details
Eq UpdateEndpointWeightsAndCapacitiesResponse Source # 
Instance details

Defined in Amazonka.SageMaker.UpdateEndpointWeightsAndCapacities

Read UpdateEndpointWeightsAndCapacitiesResponse Source # 
Instance details

Defined in Amazonka.SageMaker.UpdateEndpointWeightsAndCapacities

Show UpdateEndpointWeightsAndCapacitiesResponse Source # 
Instance details

Defined in Amazonka.SageMaker.UpdateEndpointWeightsAndCapacities

Generic UpdateEndpointWeightsAndCapacitiesResponse Source # 
Instance details

Defined in Amazonka.SageMaker.UpdateEndpointWeightsAndCapacities

NFData UpdateEndpointWeightsAndCapacitiesResponse Source # 
Instance details

Defined in Amazonka.SageMaker.UpdateEndpointWeightsAndCapacities

type Rep UpdateEndpointWeightsAndCapacitiesResponse Source # 
Instance details

Defined in Amazonka.SageMaker.UpdateEndpointWeightsAndCapacities

type Rep UpdateEndpointWeightsAndCapacitiesResponse = D1 ('MetaData "UpdateEndpointWeightsAndCapacitiesResponse" "Amazonka.SageMaker.UpdateEndpointWeightsAndCapacities" "libZSservicesZSamazonka-sagemakerZSamazonka-sagemaker" 'False) (C1 ('MetaCons "UpdateEndpointWeightsAndCapacitiesResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: S1 ('MetaSel ('Just "endpointArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

Response Lenses