Smaws_Client_CodeCommit.CreateCommitCreates a commit for a repository on the tip of a specified branch.
val error_to_string :
[ Smaws_Lib.Protocols.AwsJson.error
| `BranchDoesNotExistException of Types.branch_does_not_exist_exception
| `BranchNameIsTagNameException of Types.branch_name_is_tag_name_exception
| `BranchNameRequiredException of Types.branch_name_required_exception
| `CommitMessageLengthExceededException of
Types.commit_message_length_exceeded_exception
| `DirectoryNameConflictsWithFileNameException of
Types.directory_name_conflicts_with_file_name_exception
| `EncryptionIntegrityChecksFailedException of
Types.encryption_integrity_checks_failed_exception
| `EncryptionKeyAccessDeniedException of
Types.encryption_key_access_denied_exception
| `EncryptionKeyDisabledException of Types.encryption_key_disabled_exception
| `EncryptionKeyNotFoundException of Types.encryption_key_not_found_exception
| `EncryptionKeyUnavailableException of
Types.encryption_key_unavailable_exception
| `FileContentAndSourceFileSpecifiedException of
Types.file_content_and_source_file_specified_exception
| `FileContentSizeLimitExceededException of
Types.file_content_size_limit_exceeded_exception
| `FileDoesNotExistException of Types.file_does_not_exist_exception
| `FileEntryRequiredException of Types.file_entry_required_exception
| `FileModeRequiredException of Types.file_mode_required_exception
| `FileNameConflictsWithDirectoryNameException of
Types.file_name_conflicts_with_directory_name_exception
| `FilePathConflictsWithSubmodulePathException of
Types.file_path_conflicts_with_submodule_path_exception
| `FolderContentSizeLimitExceededException of
Types.folder_content_size_limit_exceeded_exception
| `InvalidBranchNameException of Types.invalid_branch_name_exception
| `InvalidDeletionParameterException of
Types.invalid_deletion_parameter_exception
| `InvalidEmailException of Types.invalid_email_exception
| `InvalidFileModeException of Types.invalid_file_mode_exception
| `InvalidParentCommitIdException of Types.invalid_parent_commit_id_exception
| `InvalidPathException of Types.invalid_path_exception
| `InvalidRepositoryNameException of Types.invalid_repository_name_exception
| `MaximumFileEntriesExceededException of
Types.maximum_file_entries_exceeded_exception
| `NameLengthExceededException of Types.name_length_exceeded_exception
| `NoChangeException of Types.no_change_exception
| `ParentCommitDoesNotExistException of
Types.parent_commit_does_not_exist_exception
| `ParentCommitIdOutdatedException of
Types.parent_commit_id_outdated_exception
| `ParentCommitIdRequiredException of
Types.parent_commit_id_required_exception
| `PathRequiredException of Types.path_required_exception
| `PutFileEntryConflictException of Types.put_file_entry_conflict_exception
| `RepositoryDoesNotExistException of
Types.repository_does_not_exist_exception
| `RepositoryNameRequiredException of
Types.repository_name_required_exception
| `RestrictedSourceFileException of Types.restricted_source_file_exception
| `SamePathRequestException of Types.same_path_request_exception
| `SourceFileOrContentRequiredException of
Types.source_file_or_content_required_exception ] ->
stringval request :
'http_type Smaws_Lib.Context.t ->
Types.create_commit_input ->
(Types.create_commit_output,
[> Smaws_Lib.Protocols.AwsJson.error
| `BranchDoesNotExistException of Types.branch_does_not_exist_exception
| `BranchNameIsTagNameException of Types.branch_name_is_tag_name_exception
| `BranchNameRequiredException of Types.branch_name_required_exception
| `CommitMessageLengthExceededException of
Types.commit_message_length_exceeded_exception
| `DirectoryNameConflictsWithFileNameException of
Types.directory_name_conflicts_with_file_name_exception
| `EncryptionIntegrityChecksFailedException of
Types.encryption_integrity_checks_failed_exception
| `EncryptionKeyAccessDeniedException of
Types.encryption_key_access_denied_exception
| `EncryptionKeyDisabledException of
Types.encryption_key_disabled_exception
| `EncryptionKeyNotFoundException of
Types.encryption_key_not_found_exception
| `EncryptionKeyUnavailableException of
Types.encryption_key_unavailable_exception
| `FileContentAndSourceFileSpecifiedException of
Types.file_content_and_source_file_specified_exception
| `FileContentSizeLimitExceededException of
Types.file_content_size_limit_exceeded_exception
| `FileDoesNotExistException of Types.file_does_not_exist_exception
| `FileEntryRequiredException of Types.file_entry_required_exception
| `FileModeRequiredException of Types.file_mode_required_exception
| `FileNameConflictsWithDirectoryNameException of
Types.file_name_conflicts_with_directory_name_exception
| `FilePathConflictsWithSubmodulePathException of
Types.file_path_conflicts_with_submodule_path_exception
| `FolderContentSizeLimitExceededException of
Types.folder_content_size_limit_exceeded_exception
| `InvalidBranchNameException of Types.invalid_branch_name_exception
| `InvalidDeletionParameterException of
Types.invalid_deletion_parameter_exception
| `InvalidEmailException of Types.invalid_email_exception
| `InvalidFileModeException of Types.invalid_file_mode_exception
| `InvalidParentCommitIdException of
Types.invalid_parent_commit_id_exception
| `InvalidPathException of Types.invalid_path_exception
| `InvalidRepositoryNameException of
Types.invalid_repository_name_exception
| `MaximumFileEntriesExceededException of
Types.maximum_file_entries_exceeded_exception
| `NameLengthExceededException of Types.name_length_exceeded_exception
| `NoChangeException of Types.no_change_exception
| `ParentCommitDoesNotExistException of
Types.parent_commit_does_not_exist_exception
| `ParentCommitIdOutdatedException of
Types.parent_commit_id_outdated_exception
| `ParentCommitIdRequiredException of
Types.parent_commit_id_required_exception
| `PathRequiredException of Types.path_required_exception
| `PutFileEntryConflictException of Types.put_file_entry_conflict_exception
| `RepositoryDoesNotExistException of
Types.repository_does_not_exist_exception
| `RepositoryNameRequiredException of
Types.repository_name_required_exception
| `RestrictedSourceFileException of Types.restricted_source_file_exception
| `SamePathRequestException of Types.same_path_request_exception
| `SourceFileOrContentRequiredException of
Types.source_file_or_content_required_exception ])
Stdlib.resultval request_with_metadata :
'http_type Smaws_Lib.Context.t ->
Types.create_commit_input ->
(Types.create_commit_output Smaws_Lib.Response.t,
[> Smaws_Lib.Protocols.AwsJson.error
| `BranchDoesNotExistException of Types.branch_does_not_exist_exception
| `BranchNameIsTagNameException of Types.branch_name_is_tag_name_exception
| `BranchNameRequiredException of Types.branch_name_required_exception
| `CommitMessageLengthExceededException of
Types.commit_message_length_exceeded_exception
| `DirectoryNameConflictsWithFileNameException of
Types.directory_name_conflicts_with_file_name_exception
| `EncryptionIntegrityChecksFailedException of
Types.encryption_integrity_checks_failed_exception
| `EncryptionKeyAccessDeniedException of
Types.encryption_key_access_denied_exception
| `EncryptionKeyDisabledException of
Types.encryption_key_disabled_exception
| `EncryptionKeyNotFoundException of
Types.encryption_key_not_found_exception
| `EncryptionKeyUnavailableException of
Types.encryption_key_unavailable_exception
| `FileContentAndSourceFileSpecifiedException of
Types.file_content_and_source_file_specified_exception
| `FileContentSizeLimitExceededException of
Types.file_content_size_limit_exceeded_exception
| `FileDoesNotExistException of Types.file_does_not_exist_exception
| `FileEntryRequiredException of Types.file_entry_required_exception
| `FileModeRequiredException of Types.file_mode_required_exception
| `FileNameConflictsWithDirectoryNameException of
Types.file_name_conflicts_with_directory_name_exception
| `FilePathConflictsWithSubmodulePathException of
Types.file_path_conflicts_with_submodule_path_exception
| `FolderContentSizeLimitExceededException of
Types.folder_content_size_limit_exceeded_exception
| `InvalidBranchNameException of Types.invalid_branch_name_exception
| `InvalidDeletionParameterException of
Types.invalid_deletion_parameter_exception
| `InvalidEmailException of Types.invalid_email_exception
| `InvalidFileModeException of Types.invalid_file_mode_exception
| `InvalidParentCommitIdException of
Types.invalid_parent_commit_id_exception
| `InvalidPathException of Types.invalid_path_exception
| `InvalidRepositoryNameException of
Types.invalid_repository_name_exception
| `MaximumFileEntriesExceededException of
Types.maximum_file_entries_exceeded_exception
| `NameLengthExceededException of Types.name_length_exceeded_exception
| `NoChangeException of Types.no_change_exception
| `ParentCommitDoesNotExistException of
Types.parent_commit_does_not_exist_exception
| `ParentCommitIdOutdatedException of
Types.parent_commit_id_outdated_exception
| `ParentCommitIdRequiredException of
Types.parent_commit_id_required_exception
| `PathRequiredException of Types.path_required_exception
| `PutFileEntryConflictException of Types.put_file_entry_conflict_exception
| `RepositoryDoesNotExistException of
Types.repository_does_not_exist_exception
| `RepositoryNameRequiredException of
Types.repository_name_required_exception
| `RestrictedSourceFileException of Types.restricted_source_file_exception
| `SamePathRequestException of Types.same_path_request_exception
| `SourceFileOrContentRequiredException of
Types.source_file_or_content_required_exception ]
* Smaws_Lib.Response.metadata)
Stdlib.result