You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

Class: Aws::SageMaker::Types::UpdateCodeRepositoryInput

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/types.rb

Overview

Note:

When making an API call, you may pass UpdateCodeRepositoryInput data as a hash:

{
  code_repository_name: "EntityName", # required
  git_config: {
    secret_arn: "SecretArn",
  },
}

Instance Attribute Summary collapse

Instance Attribute Details

#code_repository_nameString

The name of the Git repository to update.

Returns:

  • (String)


12042
12043
12044
12045
12046
# File 'gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/types.rb', line 12042

class UpdateCodeRepositoryInput < Struct.new(
  :code_repository_name,
  :git_config)
  include Aws::Structure
end

#git_configTypes::GitConfigForUpdate

The configuration of the git repository, including the URL and the Amazon Resource Name (ARN) of the AWS 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\}



12042
12043
12044
12045
12046
# File 'gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/types.rb', line 12042

class UpdateCodeRepositoryInput < Struct.new(
  :code_repository_name,
  :git_config)
  include Aws::Structure
end