{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-sagemaker/json-schema/amazon-sagemaker-update-code-repository-input-schema.json",
  "title": "UpdateCodeRepositoryInput",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-sagemaker-code-repository-api-openapi.yml#/components/schemas/UpdateCodeRepositoryInput",
  "type": "object",
  "properties": {
    "CodeRepositoryName": {
      "type": "string",
      "description": "The name of the Git repository to update."
    },
    "GitConfig": {
      "$ref": "#/$defs/GitConfigForUpdate"
    }
  },
  "required": [
    "CodeRepositoryName"
  ],
  "$defs": {
    "GitConfigForUpdate": {
      "type": "object",
      "properties": {
        "SecretArn": {
          "type": "string",
          "description": "The Amazon Resource Name (ARN) of the Amazon Web Services Secrets Manager secret that contains the credentials used to access the git repository. The secret must have a staging label of AWSCURRENT and must be in the following format: {\"username\": UserName, \"password\": Password}"
        }
      }
    }
  }
}