/AWS1/CL_BTCCAPACITYLIMIT¶
Defines the capacity limit for a service environment. This structure specifies the maximum amount of resources that can be used by service jobs in the environment.
CONSTRUCTOR
¶
IMPORTING¶
Optional arguments:¶
iv_maxcapacity
TYPE /AWS1/BTCINTEGER
/AWS1/BTCINTEGER
¶
The maximum capacity available for the service environment. This value represents the maximum amount of resources that can be allocated to service jobs.
For example,
maxCapacity=50
,capacityUnit=NUM_INSTANCES
. This indicates that the maximum number of instances that can be run on this service environment is 50. You could then run 5 SageMaker Training jobs that each use 10 instances. However, if you submit another job that requires 10 instances, it will wait in the queue.
iv_capacityunit
TYPE /AWS1/BTCSTRING
/AWS1/BTCSTRING
¶
The unit of measure for the capacity limit. This defines how the maxCapacity value should be interpreted. For
SAGEMAKER_TRAINING
jobs, useNUM_INSTANCES
.
Queryable Attributes¶
maxCapacity¶
The maximum capacity available for the service environment. This value represents the maximum amount of resources that can be allocated to service jobs.
For example,
maxCapacity=50
,capacityUnit=NUM_INSTANCES
. This indicates that the maximum number of instances that can be run on this service environment is 50. You could then run 5 SageMaker Training jobs that each use 10 instances. However, if you submit another job that requires 10 instances, it will wait in the queue.
Accessible with the following methods¶
Method | Description |
---|---|
GET_MAXCAPACITY() |
Getter for MAXCAPACITY, with configurable default |
ASK_MAXCAPACITY() |
Getter for MAXCAPACITY w/ exceptions if field has no value |
HAS_MAXCAPACITY() |
Determine if MAXCAPACITY has a value |
capacityUnit¶
The unit of measure for the capacity limit. This defines how the maxCapacity value should be interpreted. For
SAGEMAKER_TRAINING
jobs, useNUM_INSTANCES
.
Accessible with the following methods¶
Method | Description |
---|---|
GET_CAPACITYUNIT() |
Getter for CAPACITYUNIT, with configurable default |
ASK_CAPACITYUNIT() |
Getter for CAPACITYUNIT w/ exceptions if field has no value |
HAS_CAPACITYUNIT() |
Determine if CAPACITYUNIT has a value |
Public Local Types In This Class¶
Internal table types, representing arrays and maps of this class, are defined as local types:
TT_CAPACITYLIMITS
¶
TYPES TT_CAPACITYLIMITS TYPE STANDARD TABLE OF REF TO /AWS1/CL_BTCCAPACITYLIMIT WITH DEFAULT KEY
.