Skip to content

/AWS1/CL_SGM=>CREATECONTEXT()

About CreateContext

Creates a context. A context is a lineage tracking entity that represents a logical grouping of other tracking or experiment entities. Some examples are an endpoint and a model package. For more information, see Amazon SageMaker ML Lineage Tracking.

Method Signature

IMPORTING

Required arguments:

IV_CONTEXTNAME TYPE /AWS1/SGMCONTEXTNAME /AWS1/SGMCONTEXTNAME

The name of the context. Must be unique to your account in an Amazon Web Services Region.

IO_SOURCE TYPE REF TO /AWS1/CL_SGMCONTEXTSOURCE /AWS1/CL_SGMCONTEXTSOURCE

The source type, ID, and URI.

IV_CONTEXTTYPE TYPE /AWS1/SGMSTRING256 /AWS1/SGMSTRING256

The context type.

Optional arguments:

IV_DESCRIPTION TYPE /AWS1/SGMEXPERIMENTDESCRIPTION /AWS1/SGMEXPERIMENTDESCRIPTION

The description of the context.

IT_PROPERTIES TYPE /AWS1/CL_SGMLINEAGEENTPARAMS_W=>TT_LINEAGEENTITYPARAMETERS TT_LINEAGEENTITYPARAMETERS

A list of properties to add to the context.

IT_TAGS TYPE /AWS1/CL_SGMTAG=>TT_TAGLIST TT_TAGLIST

A list of tags to apply to the context.

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_SGMCREATECONTEXTRSP /AWS1/CL_SGMCREATECONTEXTRSP