Skip to content

Creates a context

Description

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.

Usage

sagemaker_create_context(ContextName, Source, ContextType, Description,
  Properties, Tags)

Arguments

  • ContextName

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

  • Source

    [required] The source type, ID, and URI.

  • ContextType

    [required] The context type.

  • Description

    The description of the context.

  • Properties

    A list of properties to add to the context.

  • Tags

    A list of tags to apply to the context.

Value

A list with the following syntax:

list(
  ContextArn = "string"
)

Request syntax

svc$create_context(
  ContextName = "string",
  Source = list(
    SourceUri = "string",
    SourceType = "string",
    SourceId = "string"
  ),
  ContextType = "string",
  Description = "string",
  Properties = list(
    "string"
  ),
  Tags = list(
    list(
      Key = "string",
      Value = "string"
    )
  )
)