AWS SDK Version 3 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

Creates a Git repository as a resource in your SageMaker account. You can associate the repository with notebook instances so that you can use Git source control for the notebooks you create. The Git repository is a resource in your SageMaker account, so it can be associated with more than one notebook instance, and it persists independently from the lifecycle of any notebook instances it is associated with.

The repository can be hosted either in Amazon Web Services CodeCommit or in any other Git repository.


For .NET Core this operation is only available in asynchronous form. Please refer to CreateCodeRepositoryAsync.

Namespace: Amazon.SageMaker
Assembly: AWSSDK.SageMaker.dll
Version: 3.x.y.z


public virtual CreateCodeRepositoryResponse CreateCodeRepository(
         CreateCodeRepositoryRequest request
Type: Amazon.SageMaker.Model.CreateCodeRepositoryRequest

Container for the necessary parameters to execute the CreateCodeRepository service method.

Return Value
The response from the CreateCodeRepository service method, as returned by SageMaker.

Version Information

.NET Framework:
Supported in: 4.5, 4.0, 3.5

See Also