Skip to content

List Projects

sagemaker_list_projects R Documentation

Gets a list of the projects in an Amazon Web Services account

Description

Gets a list of the projects in an Amazon Web Services account.

Usage

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

Arguments

CreationTimeAfter

A filter that returns the projects that were created after a specified time.

CreationTimeBefore

A filter that returns the projects that were created before a specified time.

MaxResults

The maximum number of projects to return in the response.

NameContains

A filter that returns the projects whose name contains a specified string.

NextToken

If the result of the previous list_projects request was truncated, the response includes a NextToken. To retrieve the next set of projects, use the token in the next request.

SortBy

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

SortOrder

The sort order for results. The default is Ascending.

Value

A list with the following syntax:

list(
  ProjectSummaryList = list(
    list(
      ProjectName = "string",
      ProjectDescription = "string",
      ProjectArn = "string",
      ProjectId = "string",
      CreationTime = as.POSIXct(
        "2015-01-01"
      ),
      ProjectStatus = "Pending"|"CreateInProgress"|"CreateCompleted"|"CreateFailed"|"DeleteInProgress"|"DeleteFailed"|"DeleteCompleted"|"UpdateInProgress"|"UpdateCompleted"|"UpdateFailed"
    )
  ),
  NextToken = "string"
)

Request syntax

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