Skip to content

Update Code Repository

sagemaker_update_code_repository R Documentation

Updates the specified Git repository with the specified values

Description

Updates the specified Git repository with the specified values.

Usage

sagemaker_update_code_repository(CodeRepositoryName, GitConfig)

Arguments

CodeRepositoryName

[required] The name of the Git repository to update.

GitConfig

The configuration of the git repository, including the URL and the Amazon Resource Name (ARN) of the Amazon Web Services Secrets Manager secret that contains the credentials used to access the repository. The secret must have a staging label of AWSCURRENT and must be in the following format:

⁠{"username": UserName, "password": Password}⁠

Value

A list with the following syntax:

list(
  CodeRepositoryArn = "string"
)

Request syntax

svc$update_code_repository(
  CodeRepositoryName = "string",
  GitConfig = list(
    SecretArn = "string"
  )
)