Skip to content

List Hub Content Versions

sagemaker_list_hub_content_versions R Documentation

List hub content versions

Description

List hub content versions.

Usage

sagemaker_list_hub_content_versions(HubName, HubContentType,
  HubContentName, MinVersion, MaxSchemaVersion, CreationTimeBefore,
  CreationTimeAfter, SortBy, SortOrder, MaxResults, NextToken)

Arguments

HubName

[required] The name of the hub to list the content versions of.

HubContentType

[required] The type of hub content to list versions of.

HubContentName

[required] The name of the hub content.

MinVersion

The lower bound of the hub content versions to list.

MaxSchemaVersion

The upper bound of the hub content schema version.

CreationTimeBefore

Only list hub content versions that were created before the time specified.

CreationTimeAfter

Only list hub content versions that were created after the time specified.

SortBy

Sort hub content versions by either name or creation time.

SortOrder

Sort hub content versions by ascending or descending order.

MaxResults

The maximum number of hub content versions to list.

NextToken

If the response to a previous list_hub_content_versions request was truncated, the response includes a NextToken. To retrieve the next set of hub content versions, use the token in the next request.

Value

A list with the following syntax:

list(
  HubContentSummaries = list(
    list(
      HubContentName = "string",
      HubContentArn = "string",
      SageMakerPublicHubContentArn = "string",
      HubContentVersion = "string",
      HubContentType = "Model"|"Notebook"|"ModelReference",
      DocumentSchemaVersion = "string",
      HubContentDisplayName = "string",
      HubContentDescription = "string",
      SupportStatus = "Supported"|"Deprecated",
      HubContentSearchKeywords = list(
        "string"
      ),
      HubContentStatus = "Available"|"Importing"|"Deleting"|"ImportFailed"|"DeleteFailed",
      CreationTime = as.POSIXct(
        "2015-01-01"
      ),
      OriginalCreationTime = as.POSIXct(
        "2015-01-01"
      )
    )
  ),
  NextToken = "string"
)

Request syntax

svc$list_hub_content_versions(
  HubName = "string",
  HubContentType = "Model"|"Notebook"|"ModelReference",
  HubContentName = "string",
  MinVersion = "string",
  MaxSchemaVersion = "string",
  CreationTimeBefore = as.POSIXct(
    "2015-01-01"
  ),
  CreationTimeAfter = as.POSIXct(
    "2015-01-01"
  ),
  SortBy = "HubContentName"|"CreationTime"|"HubContentStatus",
  SortOrder = "Ascending"|"Descending",
  MaxResults = 123,
  NextToken = "string"
)