Amazon.CodeCommit.AmazonCodeCommitClient.CreateRepository C# (CSharp) Method

CreateRepository() public method

Creates a new, empty repository.
/// An encryption integrity check failed. /// /// An encryption key could not be accessed. /// /// The encryption key is disabled. /// /// No encryption key was found. /// /// The encryption key is not available. /// /// The specified repository description is not valid. /// /// At least one specified repository name is not valid. /// /// /// /// This exception only occurs when a specified repository name is not valid. Other exceptions /// occur when a required repository parameter is missing, or when a specified repository /// does not exist. /// /// /// /// A repository resource limit was exceeded. /// /// The specified repository name already exists. /// /// A repository name is required but was not specified. ///
public CreateRepository ( CreateRepositoryRequest request ) : Amazon.CodeCommit.Model.CreateRepositoryResponse
request Amazon.CodeCommit.Model.CreateRepositoryRequest Container for the necessary parameters to execute the CreateRepository service method.
return Amazon.CodeCommit.Model.CreateRepositoryResponse
        public CreateRepositoryResponse CreateRepository(CreateRepositoryRequest request)
        {
            var marshaller = new CreateRepositoryRequestMarshaller();
            var unmarshaller = CreateRepositoryResponseUnmarshaller.Instance;

            return Invoke<CreateRepositoryRequest,CreateRepositoryResponse>(request, marshaller, unmarshaller);
        }