amazonka-sagemaker-2.0: Amazon SageMaker Service SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

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, 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
ToJSON 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

AWSRequest 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 #

Read UpdateEndpointWeightsAndCapacities Source # 
Instance details

Defined in Amazonka.SageMaker.UpdateEndpointWeightsAndCapacities

Show UpdateEndpointWeightsAndCapacities Source # 
Instance details

Defined in Amazonka.SageMaker.UpdateEndpointWeightsAndCapacities

NFData UpdateEndpointWeightsAndCapacities Source # 
Instance details

Defined in Amazonka.SageMaker.UpdateEndpointWeightsAndCapacities

Eq UpdateEndpointWeightsAndCapacities Source # 
Instance details

Defined in Amazonka.SageMaker.UpdateEndpointWeightsAndCapacities

Hashable UpdateEndpointWeightsAndCapacities Source # 
Instance details

Defined in Amazonka.SageMaker.UpdateEndpointWeightsAndCapacities

type AWSResponse 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" "amazonka-sagemaker-2.0-9SyrKZ4KqhsL1qX9u3ILA3" '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))))

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:

UpdateEndpointWeightsAndCapacities, updateEndpointWeightsAndCapacities_endpointName - The name of an existing 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
Generic 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

NFData UpdateEndpointWeightsAndCapacitiesResponse Source # 
Instance details

Defined in Amazonka.SageMaker.UpdateEndpointWeightsAndCapacities

Eq 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" "amazonka-sagemaker-2.0-9SyrKZ4KqhsL1qX9u3ILA3" 'False) (C1 ('MetaCons "UpdateEndpointWeightsAndCapacitiesResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: S1 ('MetaSel ('Just "endpointArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newUpdateEndpointWeightsAndCapacitiesResponse Source #

Create a value of UpdateEndpointWeightsAndCapacitiesResponse 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:httpStatus:UpdateEndpointWeightsAndCapacitiesResponse', updateEndpointWeightsAndCapacitiesResponse_httpStatus - The response's http status code.

UpdateEndpointWeightsAndCapacitiesResponse, updateEndpointWeightsAndCapacitiesResponse_endpointArn - The Amazon Resource Name (ARN) of the updated endpoint.

Response Lenses