List Hub Contents
| sagemaker_list_hub_contents | R Documentation |
List the contents of a hub¶
Description¶
List the contents of a hub.
Usage¶
sagemaker_list_hub_contents(HubName, HubContentType, NameContains,
MaxSchemaVersion, CreationTimeBefore, CreationTimeAfter, SortBy,
SortOrder, MaxResults, NextToken)
Arguments¶
HubName[required] The name of the hub to list the contents of.
HubContentType[required] The type of hub content to list.
NameContainsOnly list hub content if the name contains the specified string.
MaxSchemaVersionThe upper bound of the hub content schema verion.
CreationTimeBeforeOnly list hub content that was created before the time specified.
CreationTimeAfterOnly list hub content that was created after the time specified.
SortBySort hub content versions by either name or creation time.
SortOrderSort hubs by ascending or descending order.
MaxResultsThe maximum amount of hub content to list.
NextTokenIf the response to a previous
list_hub_contentsrequest was truncated, the response includes aNextToken. To retrieve the next set of hub content, 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_contents(
HubName = "string",
HubContentType = "Model"|"Notebook"|"ModelReference",
NameContains = "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"
)