Skip to content

/AWS1/CL_SGMPENDINGPRODUCTIO00

The production variant summary for a deployment when an endpoint is creating or updating with the CreateEndpoint or UpdateEndpoint operations. Describes the VariantStatus , weight and capacity for a production variant associated with an endpoint.

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 DeployedImage objects that specify the Amazon EC2 Container Registry paths of the inference images deployed on instances of this ProductionVariant.

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 for the variant in this deployment, as specified in the endpoint configuration for the endpoint. The value is taken from the request to the CreateEndpointConfig operation.

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 this deployment, as specified in the endpoint configuration for the endpoint. The value is taken from the request to the CreateEndpointConfig operation.

iv_instancetype TYPE /AWS1/SGMPRODUCTIONVARIANTIN00 /AWS1/SGMPRODUCTIONVARIANTIN00

The type of instances associated with the variant.

iv_acceleratortype TYPE /AWS1/SGMPRODUCTIONVARIANTAC00 /AWS1/SGMPRODUCTIONVARIANTAC00

This parameter is no longer supported. Elastic Inference (EI) is no longer available.

This parameter was used to specify the size of the EI instance to use for the production variant.

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 this deployment, as specified in the endpoint configuration for the endpoint.

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.


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 DeployedImage objects that specify the Amazon EC2 Container Registry paths of the inference images deployed on instances of this ProductionVariant.

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 for the variant in this deployment, as specified in the endpoint configuration for the endpoint. The value is taken from the request to the CreateEndpointConfig operation.

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 this deployment, as specified in the endpoint configuration for the endpoint. The value is taken from the request to the CreateEndpointConfig operation.

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

InstanceType

The type of instances associated with the variant.

Accessible with the following methods

Method Description
GET_INSTANCETYPE() Getter for INSTANCETYPE, with configurable default
ASK_INSTANCETYPE() Getter for INSTANCETYPE w/ exceptions if field has no value
HAS_INSTANCETYPE() Determine if INSTANCETYPE has a value

AcceleratorType

This parameter is no longer supported. Elastic Inference (EI) is no longer available.

This parameter was used to specify the size of the EI instance to use for the production variant.

Accessible with the following methods

Method Description
GET_ACCELERATORTYPE() Getter for ACCELERATORTYPE, with configurable default
ASK_ACCELERATORTYPE() Getter for ACCELERATORTYPE w/ exceptions if field has no val
HAS_ACCELERATORTYPE() Determine if ACCELERATORTYPE 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 this deployment, as specified in the endpoint configuration for the endpoint.

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

Public Local Types In This Class

Internal table types, representing arrays and maps of this class, are defined as local types:

TT_PENDINGPRODUCTIONVARIANTS00

TYPES TT_PENDINGPRODUCTIONVARIANTS00 TYPE STANDARD TABLE OF REF TO /AWS1/CL_SGMPENDINGPRODUCTIO00 WITH DEFAULT KEY
.