Skip to content

Create Action

sagemaker_create_action R Documentation

Creates an action

Description

Creates an action. An action is a lineage tracking entity that represents an action or activity. For example, a model deployment or an HPO job. Generally, an action involves at least one input or output artifact. For more information, see Amazon SageMaker ML Lineage Tracking.

Usage

sagemaker_create_action(ActionName, Source, ActionType, Description,
  Status, Properties, MetadataProperties, Tags)

Arguments

ActionName

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

Source

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

ActionType

[required] The action type.

Description

The description of the action.

Status

The status of the action.

Properties

A list of properties to add to the action.

Tags

A list of tags to apply to the action.

Value

A list with the following syntax:

list(
  ActionArn = "string"
)

Request syntax

svc$create_action(
  ActionName = "string",
  Source = list(
    SourceUri = "string",
    SourceType = "string",
    SourceId = "string"
  ),
  ActionType = "string",
  Description = "string",
  Status = "Unknown"|"InProgress"|"Completed"|"Failed"|"Stopping"|"Stopped",
  Properties = list(
    "string"
  ),
  MetadataProperties = list(
    CommitId = "string",
    Repository = "string",
    GeneratedBy = "string",
    ProjectId = "string"
  ),
  Tags = list(
    list(
      Key = "string",
      Value = "string"
    )
  )
)