Update Endpoint Weights And Capacities
| sagemaker_update_endpoint_weights_and_capacities | R Documentation |
Updates variant weight of one or more variants associated with an existing endpoint, or capacity of one variant associated with an existing endpoint¶
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
describe_endpoint API.
Usage¶
sagemaker_update_endpoint_weights_and_capacities(EndpointName,
DesiredWeightsAndCapacities)
Arguments¶
EndpointName |
[required] The name of an existing SageMaker endpoint. |
DesiredWeightsAndCapacities |
[required] An object that provides new capacity and weight values for a variant. |
Value¶
A list with the following syntax:
list(
EndpointArn = "string"
)
Request syntax¶
svc$update_endpoint_weights_and_capacities(
EndpointName = "string",
DesiredWeightsAndCapacities = list(
list(
VariantName = "string",
DesiredWeight = 123.0,
DesiredInstanceCount = 123,
ServerlessUpdateConfig = list(
MaxConcurrency = 123,
ProvisionedConcurrency = 123
)
)
)
)