Skip to content

List Code Repositories

sagemaker_list_code_repositories R Documentation

Gets a list of the Git repositories in your account

Description

Gets a list of the Git repositories in your account.

Usage

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

Arguments

CreationTimeAfter

A filter that returns only Git repositories that were created after the specified time.

CreationTimeBefore

A filter that returns only Git repositories that were created before the specified time.

LastModifiedTimeAfter

A filter that returns only Git repositories that were last modified after the specified time.

LastModifiedTimeBefore

A filter that returns only Git repositories that were last modified before the specified time.

MaxResults

The maximum number of Git repositories to return in the response.

NameContains

A string in the Git repositories name. This filter returns only repositories whose name contains the specified string.

NextToken

If the result of a ListCodeRepositoriesOutput request was truncated, the response includes a NextToken. To get the next set of Git repositories, use the token in the next request.

SortBy

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

SortOrder

The sort order for results. The default is Ascending.

Value

A list with the following syntax:

list(
  CodeRepositorySummaryList = list(
    list(
      CodeRepositoryName = "string",
      CodeRepositoryArn = "string",
      CreationTime = as.POSIXct(
        "2015-01-01"
      ),
      LastModifiedTime = as.POSIXct(
        "2015-01-01"
      ),
      GitConfig = list(
        RepositoryUrl = "string",
        Branch = "string",
        SecretArn = "string"
      )
    )
  ),
  NextToken = "string"
)

Request syntax

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