Skip to content

List Artifacts

sagemaker_list_artifacts R Documentation

Lists the artifacts in your account and their properties

Description

Lists the artifacts in your account and their properties.

Usage

sagemaker_list_artifacts(SourceUri, ArtifactType, CreatedAfter,
  CreatedBefore, SortBy, SortOrder, NextToken, MaxResults)

Arguments

SourceUri

A filter that returns only artifacts with the specified source URI.

ArtifactType

A filter that returns only artifacts of the specified type.

CreatedAfter

A filter that returns only artifacts created on or after the specified time.

CreatedBefore

A filter that returns only artifacts created on or before the specified time.

SortBy

The property used to sort results. The default value is CreationTime.

SortOrder

The sort order. The default value is Descending.

NextToken

If the previous call to list_artifacts didn't return the full set of artifacts, the call returns a token for getting the next set of artifacts.

MaxResults

The maximum number of artifacts to return in the response. The default value is 10.

Value

A list with the following syntax:

list(
  ArtifactSummaries = list(
    list(
      ArtifactArn = "string",
      ArtifactName = "string",
      Source = list(
        SourceUri = "string",
        SourceTypes = list(
          list(
            SourceIdType = "MD5Hash"|"S3ETag"|"S3Version"|"Custom",
            Value = "string"
          )
        )
      ),
      ArtifactType = "string",
      CreationTime = as.POSIXct(
        "2015-01-01"
      ),
      LastModifiedTime = as.POSIXct(
        "2015-01-01"
      )
    )
  ),
  NextToken = "string"
)

Request syntax

svc$list_artifacts(
  SourceUri = "string",
  ArtifactType = "string",
  CreatedAfter = as.POSIXct(
    "2015-01-01"
  ),
  CreatedBefore = as.POSIXct(
    "2015-01-01"
  ),
  SortBy = "CreationTime",
  SortOrder = "Ascending"|"Descending",
  NextToken = "string",
  MaxResults = 123
)