/AWS1/CL_LMWREVISIONWEIGHT¶
Specifies a revision and its traffic weight for an endpoint. Up to two revisions can be assigned weights to split traffic for canary or blue-green deployments.
CONSTRUCTOR¶
IMPORTING¶
Required arguments:¶
iv_revisionid TYPE /AWS1/LMWREVISIONID /AWS1/LMWREVISIONID¶
The identifier of the revision.
iv_weight TYPE /AWS1/LMWINTEGER /AWS1/LMWINTEGER¶
The percentage of traffic to route to this revision. Minimum value of 1, maximum value of 100.
Queryable Attributes¶
revisionId¶
The identifier of the revision.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_REVISIONID() |
Getter for REVISIONID, with configurable default |
ASK_REVISIONID() |
Getter for REVISIONID w/ exceptions if field has no value |
HAS_REVISIONID() |
Determine if REVISIONID has a value |
weight¶
The percentage of traffic to route to this revision. Minimum value of 1, maximum value of 100.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_WEIGHT() |
Getter for WEIGHT, with configurable default |
ASK_WEIGHT() |
Getter for WEIGHT w/ exceptions if field has no value |
HAS_WEIGHT() |
Determine if WEIGHT 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_REVISIONWEIGHTLIST¶
TYPES TT_REVISIONWEIGHTLIST TYPE STANDARD TABLE OF REF TO /AWS1/CL_LMWREVISIONWEIGHT WITH DEFAULT KEY
.