/AWS1/CL_SGMPRODUCTIONVARIAN02¶
Describes weight and capacities for a production variant associated with an endpoint. If you sent a request to the UpdateEndpointWeightsAndCapacities API and the endpoint status is Updating, you get different desired and current values.
CONSTRUCTOR¶
IMPORTING¶
Required arguments:¶
iv_variantname TYPE /AWS1/SGMVARIANTNAME /AWS1/SGMVARIANTNAME¶
The name of the variant.
Optional arguments:¶
it_deployedimages TYPE /AWS1/CL_SGMDEPLOYEDIMAGE=>TT_DEPLOYEDIMAGES TT_DEPLOYEDIMAGES¶
An array of
DeployedImageobjects that specify the Amazon EC2 Container Registry paths of the inference images deployed on instances of thisProductionVariant.
iv_currentweight TYPE /AWS1/RT_FLOAT_AS_STRING /AWS1/RT_FLOAT_AS_STRING¶
The weight associated with the variant.
iv_desiredweight TYPE /AWS1/RT_FLOAT_AS_STRING /AWS1/RT_FLOAT_AS_STRING¶
The requested weight, as specified in the
UpdateEndpointWeightsAndCapacitiesrequest.
iv_currentinstancecount TYPE /AWS1/SGMTASKCOUNT /AWS1/SGMTASKCOUNT¶
The number of instances associated with the variant.
iv_desiredinstancecount TYPE /AWS1/SGMTASKCOUNT /AWS1/SGMTASKCOUNT¶
The number of instances requested in the
UpdateEndpointWeightsAndCapacitiesrequest.
it_variantstatus TYPE /AWS1/CL_SGMPRODUCTIONVARIAN03=>TT_PRODUCTIONVARIANTSTATUSLIST TT_PRODUCTIONVARIANTSTATUSLIST¶
The endpoint variant status which describes the current deployment stage status or operational status.
io_currentserverlessconfig TYPE REF TO /AWS1/CL_SGMPRODUCTIONVARIAN01 /AWS1/CL_SGMPRODUCTIONVARIAN01¶
The serverless configuration for the endpoint.
io_desiredserverlessconfig TYPE REF TO /AWS1/CL_SGMPRODUCTIONVARIAN01 /AWS1/CL_SGMPRODUCTIONVARIAN01¶
The serverless configuration requested for the endpoint update.
io_managedinstancescaling TYPE REF TO /AWS1/CL_SGMPRODUCTIONVARIAN05 /AWS1/CL_SGMPRODUCTIONVARIAN05¶
Settings that control the range in the number of instances that the endpoint provisions as it scales up or down to accommodate traffic.
io_routingconfig TYPE REF TO /AWS1/CL_SGMPRODUCTIONVARIAN06 /AWS1/CL_SGMPRODUCTIONVARIAN06¶
Settings that control how the endpoint routes incoming traffic to the instances that the endpoint hosts.
io_capacityreservationconfig TYPE REF TO /AWS1/CL_SGMPRODUCTIONVARIAN08 /AWS1/CL_SGMPRODUCTIONVARIAN08¶
Settings for the capacity reservation for the compute instances that SageMaker AI reserves for an endpoint.
Queryable Attributes¶
VariantName¶
The name of the variant.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_VARIANTNAME() |
Getter for VARIANTNAME, with configurable default |
ASK_VARIANTNAME() |
Getter for VARIANTNAME w/ exceptions if field has no value |
HAS_VARIANTNAME() |
Determine if VARIANTNAME has a value |
DeployedImages¶
An array of
DeployedImageobjects that specify the Amazon EC2 Container Registry paths of the inference images deployed on instances of thisProductionVariant.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_DEPLOYEDIMAGES() |
Getter for DEPLOYEDIMAGES, with configurable default |
ASK_DEPLOYEDIMAGES() |
Getter for DEPLOYEDIMAGES w/ exceptions if field has no valu |
HAS_DEPLOYEDIMAGES() |
Determine if DEPLOYEDIMAGES has a value |
CurrentWeight¶
The weight associated with the variant.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_CURRENTWEIGHT() |
Getter for CURRENTWEIGHT, with configurable default |
ASK_CURRENTWEIGHT() |
Getter for CURRENTWEIGHT w/ exceptions if field has no value |
STR_CURRENTWEIGHT() |
String format for CURRENTWEIGHT, with configurable default |
HAS_CURRENTWEIGHT() |
Determine if CURRENTWEIGHT has a value |
DesiredWeight¶
The requested weight, as specified in the
UpdateEndpointWeightsAndCapacitiesrequest.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_DESIREDWEIGHT() |
Getter for DESIREDWEIGHT, with configurable default |
ASK_DESIREDWEIGHT() |
Getter for DESIREDWEIGHT w/ exceptions if field has no value |
STR_DESIREDWEIGHT() |
String format for DESIREDWEIGHT, with configurable default |
HAS_DESIREDWEIGHT() |
Determine if DESIREDWEIGHT has a value |
CurrentInstanceCount¶
The number of instances associated with the variant.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_CURRENTINSTANCECOUNT() |
Getter for CURRENTINSTANCECOUNT, with configurable default |
ASK_CURRENTINSTANCECOUNT() |
Getter for CURRENTINSTANCECOUNT w/ exceptions if field has n |
HAS_CURRENTINSTANCECOUNT() |
Determine if CURRENTINSTANCECOUNT has a value |
DesiredInstanceCount¶
The number of instances requested in the
UpdateEndpointWeightsAndCapacitiesrequest.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_DESIREDINSTANCECOUNT() |
Getter for DESIREDINSTANCECOUNT, with configurable default |
ASK_DESIREDINSTANCECOUNT() |
Getter for DESIREDINSTANCECOUNT w/ exceptions if field has n |
HAS_DESIREDINSTANCECOUNT() |
Determine if DESIREDINSTANCECOUNT has a value |
VariantStatus¶
The endpoint variant status which describes the current deployment stage status or operational status.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_VARIANTSTATUS() |
Getter for VARIANTSTATUS, with configurable default |
ASK_VARIANTSTATUS() |
Getter for VARIANTSTATUS w/ exceptions if field has no value |
HAS_VARIANTSTATUS() |
Determine if VARIANTSTATUS has a value |
CurrentServerlessConfig¶
The serverless configuration for the endpoint.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_CURRENTSERVERLESSCONFIG() |
Getter for CURRENTSERVERLESSCONFIG |
DesiredServerlessConfig¶
The serverless configuration requested for the endpoint update.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_DESIREDSERVERLESSCONFIG() |
Getter for DESIREDSERVERLESSCONFIG |
ManagedInstanceScaling¶
Settings that control the range in the number of instances that the endpoint provisions as it scales up or down to accommodate traffic.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_MANAGEDINSTANCESCALING() |
Getter for MANAGEDINSTANCESCALING |
RoutingConfig¶
Settings that control how the endpoint routes incoming traffic to the instances that the endpoint hosts.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_ROUTINGCONFIG() |
Getter for ROUTINGCONFIG |
CapacityReservationConfig¶
Settings for the capacity reservation for the compute instances that SageMaker AI reserves for an endpoint.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_CAPRESERVATIONCONFIG() |
Getter for CAPACITYRESERVATIONCONFIG |
Public Local Types In This Class¶
Internal table types, representing arrays and maps of this class, are defined as local types:
TT_PRODUCTIONVARIANTSUMMLIST¶
TYPES TT_PRODUCTIONVARIANTSUMMLIST TYPE STANDARD TABLE OF REF TO /AWS1/CL_SGMPRODUCTIONVARIAN02 WITH DEFAULT KEY
.