Skip to content

List Ai Workload Configs

sagemaker_list_ai_workload_configs R Documentation

Returns a list of AI workload configurations in your account

Description

Returns a list of AI workload configurations in your account. You can filter the results by name and creation time, and sort the results. The response is paginated.

Usage

sagemaker_list_ai_workload_configs(MaxResults, NextToken, NameContains,
  CreationTimeAfter, CreationTimeBefore, SortBy, SortOrder)

Arguments

MaxResults

The maximum number of AI workload configurations to return in the response.

NextToken

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

NameContains

A string in the configuration name. This filter returns only configurations whose name contains the specified string.

CreationTimeAfter

A filter that returns only configurations created after the specified time.

CreationTimeBefore

A filter that returns only configurations created before the specified time.

SortBy

The field to sort results by. The default is CreationTime.

SortOrder

The sort order for results. The default is Descending.

Value

A list with the following syntax:

list(
  AIWorkloadConfigs = list(
    list(
      AIWorkloadConfigName = "string",
      AIWorkloadConfigArn = "string",
      CreationTime = as.POSIXct(
        "2015-01-01"
      )
    )
  ),
  NextToken = "string"
)

Request syntax

svc$list_ai_workload_configs(
  MaxResults = 123,
  NextToken = "string",
  NameContains = "string",
  CreationTimeAfter = as.POSIXct(
    "2015-01-01"
  ),
  CreationTimeBefore = as.POSIXct(
    "2015-01-01"
  ),
  SortBy = "Name"|"CreationTime",
  SortOrder = "Ascending"|"Descending"
)