Module Values.PutFileOutputSource

Adds or updates a file in a branch in an CodeCommit repository, and generates a commit for the addition in the specified branch.

Sourcetype nonrec t = {
  1. commitId : ObjectId.t option;
    (*

    The full SHA ID of the commit that contains this file change.

    *)
  2. blobId : ObjectId.t option;
    (*

    The ID of the blob, which is its SHA-1 pointer.

    *)
  3. treeId : ObjectId.t option;
    (*

    The full SHA-1 pointer of the tree information for the commit that contains this file change.

    *)
}
Sourcetype nonrec error = [
  1. | `BranchDoesNotExistException of BranchDoesNotExistException.t
  2. | `BranchNameIsTagNameException of BranchNameIsTagNameException.t
  3. | `BranchNameRequiredException of BranchNameRequiredException.t
  4. | `CommitMessageLengthExceededException of CommitMessageLengthExceededException.t
  5. | `DirectoryNameConflictsWithFileNameException of DirectoryNameConflictsWithFileNameException.t
  6. | `EncryptionIntegrityChecksFailedException of EncryptionIntegrityChecksFailedException.t
  7. | `EncryptionKeyAccessDeniedException of EncryptionKeyAccessDeniedException.t
  8. | `EncryptionKeyDisabledException of EncryptionKeyDisabledException.t
  9. | `EncryptionKeyNotFoundException of EncryptionKeyNotFoundException.t
  10. | `EncryptionKeyUnavailableException of EncryptionKeyUnavailableException.t
  11. | `FileContentRequiredException of FileContentRequiredException.t
  12. | `FileContentSizeLimitExceededException of FileContentSizeLimitExceededException.t
  13. | `FileNameConflictsWithDirectoryNameException of FileNameConflictsWithDirectoryNameException.t
  14. | `FilePathConflictsWithSubmodulePathException of FilePathConflictsWithSubmodulePathException.t
  15. | `FolderContentSizeLimitExceededException of FolderContentSizeLimitExceededException.t
  16. | `InvalidBranchNameException of InvalidBranchNameException.t
  17. | `InvalidDeletionParameterException of InvalidDeletionParameterException.t
  18. | `InvalidEmailException of InvalidEmailException.t
  19. | `InvalidFileModeException of InvalidFileModeException.t
  20. | `InvalidParentCommitIdException of InvalidParentCommitIdException.t
  21. | `InvalidPathException of InvalidPathException.t
  22. | `InvalidRepositoryNameException of InvalidRepositoryNameException.t
  23. | `NameLengthExceededException of NameLengthExceededException.t
  24. | `ParentCommitDoesNotExistException of ParentCommitDoesNotExistException.t
  25. | `ParentCommitIdOutdatedException of ParentCommitIdOutdatedException.t
  26. | `ParentCommitIdRequiredException of ParentCommitIdRequiredException.t
  27. | `PathRequiredException of PathRequiredException.t
  28. | `RepositoryDoesNotExistException of RepositoryDoesNotExistException.t
  29. | `RepositoryNameRequiredException of RepositoryNameRequiredException.t
  30. | `SameFileContentException of SameFileContentException.t
  31. | `Unknown_operation_error of string * string option
]
Sourceval make : ?commitId:??? -> ?blobId:??? -> ?treeId:??? -> unit -> t
Sourceval error_of_json : string -> Yojson.Safe.t -> [> `BranchDoesNotExistException of unit | `BranchNameIsTagNameException of unit | `BranchNameRequiredException of unit | `CommitMessageLengthExceededException of unit | `DirectoryNameConflictsWithFileNameException of unit | `EncryptionIntegrityChecksFailedException of unit | `EncryptionKeyAccessDeniedException of unit | `EncryptionKeyDisabledException of unit | `EncryptionKeyNotFoundException of unit | `EncryptionKeyUnavailableException of unit | `FileContentRequiredException of unit | `FileContentSizeLimitExceededException of unit | `FileNameConflictsWithDirectoryNameException of unit | `FilePathConflictsWithSubmodulePathException of unit | `FolderContentSizeLimitExceededException of unit | `InvalidBranchNameException of unit | `InvalidDeletionParameterException of unit | `InvalidEmailException of unit | `InvalidFileModeException of unit | `InvalidParentCommitIdException of unit | `InvalidPathException of unit | `InvalidRepositoryNameException of unit | `NameLengthExceededException of unit | `ParentCommitDoesNotExistException of unit | `ParentCommitIdOutdatedException of unit | `ParentCommitIdRequiredException of unit | `PathRequiredException of unit | `RepositoryDoesNotExistException of unit | `RepositoryNameRequiredException of unit | `SameFileContentException of unit | `Unknown_operation_error of string * string option ]
Sourceval error_of_xml : string -> Awso.Xml.t -> [> `BranchDoesNotExistException of unit | `BranchNameIsTagNameException of unit | `BranchNameRequiredException of unit | `CommitMessageLengthExceededException of unit | `DirectoryNameConflictsWithFileNameException of unit | `EncryptionIntegrityChecksFailedException of unit | `EncryptionKeyAccessDeniedException of unit | `EncryptionKeyDisabledException of unit | `EncryptionKeyNotFoundException of unit | `EncryptionKeyUnavailableException of unit | `FileContentRequiredException of unit | `FileContentSizeLimitExceededException of unit | `FileNameConflictsWithDirectoryNameException of unit | `FilePathConflictsWithSubmodulePathException of unit | `FolderContentSizeLimitExceededException of unit | `InvalidBranchNameException of unit | `InvalidDeletionParameterException of unit | `InvalidEmailException of unit | `InvalidFileModeException of unit | `InvalidParentCommitIdException of unit | `InvalidPathException of unit | `InvalidRepositoryNameException of unit | `NameLengthExceededException of unit | `ParentCommitDoesNotExistException of unit | `ParentCommitIdOutdatedException of unit | `ParentCommitIdRequiredException of unit | `PathRequiredException of unit | `RepositoryDoesNotExistException of unit | `RepositoryNameRequiredException of unit | `SameFileContentException of unit | `Unknown_operation_error of string * string option ]
Sourceval error_to_json : error -> Yojson.Safe.t
Sourceval to_value : t -> [> `Structure of (string * [> `String of ObjectId.t ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t