Skip to content

Returns a list of AI recommendation jobs in your account

Description

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

Usage

sagemaker_list_ai_recommendation_jobs(MaxResults, NextToken,
  NameContains, StatusEquals, CreationTimeAfter, CreationTimeBefore,
  SortBy, SortOrder)

Arguments

  • MaxResults

    The maximum number of recommendation jobs to return in the response.

  • NextToken

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

  • NameContains

    A string in the job name. This filter returns only jobs whose name contains the specified string.

  • StatusEquals

    A filter that returns only recommendation jobs with the specified status.

  • CreationTimeAfter

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

  • CreationTimeBefore

    A filter that returns only jobs 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(
  AIRecommendationJobs = list(
    list(
      AIRecommendationJobName = "string",
      AIRecommendationJobArn = "string",
      AIRecommendationJobStatus = "InProgress"|"Completed"|"Failed"|"Stopping"|"Stopped",
      CreationTime = as.POSIXct(
        "2015-01-01"
      ),
      EndTime = as.POSIXct(
        "2015-01-01"
      )
    )
  ),
  NextToken = "string"
)

Request syntax

svc$list_ai_recommendation_jobs(
  MaxResults = 123,
  NextToken = "string",
  NameContains = "string",
  StatusEquals = "InProgress"|"Completed"|"Failed"|"Stopping"|"Stopped",
  CreationTimeAfter = as.POSIXct(
    "2015-01-01"
  ),
  CreationTimeBefore = as.POSIXct(
    "2015-01-01"
  ),
  SortBy = "Name"|"CreationTime"|"Status",
  SortOrder = "Ascending"|"Descending"
)