Skip to content

List all existing hubs

Description

List all existing hubs.

Usage

sagemaker_list_hubs(NameContains, CreationTimeBefore, CreationTimeAfter,
  LastModifiedTimeBefore, LastModifiedTimeAfter, SortBy, SortOrder,
  MaxResults, NextToken)

Arguments

  • NameContains

    Only list hubs with names that contain the specified string.

  • CreationTimeBefore

    Only list hubs that were created before the time specified.

  • CreationTimeAfter

    Only list hubs that were created after the time specified.

  • LastModifiedTimeBefore

    Only list hubs that were last modified before the time specified.

  • LastModifiedTimeAfter

    Only list hubs that were last modified after the time specified.

  • SortBy

    Sort hubs by either name or creation time.

  • SortOrder

    Sort hubs by ascending or descending order.

  • MaxResults

    The maximum number of hubs to list.

  • NextToken

    If the response to a previous list_hubs request was truncated, the response includes a NextToken. To retrieve the next set of hubs, use the token in the next request.

Value

A list with the following syntax:

list(
  HubSummaries = list(
    list(
      HubName = "string",
      HubArn = "string",
      HubDisplayName = "string",
      HubDescription = "string",
      HubSearchKeywords = list(
        "string"
      ),
      HubStatus = "InService"|"Creating"|"Updating"|"Deleting"|"CreateFailed"|"UpdateFailed"|"DeleteFailed",
      CreationTime = as.POSIXct(
        "2015-01-01"
      ),
      LastModifiedTime = as.POSIXct(
        "2015-01-01"
      )
    )
  ),
  NextToken = "string"
)

Request syntax

svc$list_hubs(
  NameContains = "string",
  CreationTimeBefore = as.POSIXct(
    "2015-01-01"
  ),
  CreationTimeAfter = as.POSIXct(
    "2015-01-01"
  ),
  LastModifiedTimeBefore = as.POSIXct(
    "2015-01-01"
  ),
  LastModifiedTimeAfter = as.POSIXct(
    "2015-01-01"
  ),
  SortBy = "HubName"|"CreationTime"|"HubStatus"|"AccountIdOwner",
  SortOrder = "Ascending"|"Descending",
  MaxResults = 123,
  NextToken = "string"
)