Module Smaws_Client_CodeCommit.DeleteFile

Deletes a specified file from a specified branch. A commit is created on the branch that contains the revision. The file still exists in the commits earlier to the commit that contains the deletion.

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 | `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 | `FileDoesNotExistException of Types.file_does_not_exist_exception | `InvalidBranchNameException of Types.invalid_branch_name_exception | `InvalidEmailException of Types.invalid_email_exception | `InvalidParentCommitIdException of Types.invalid_parent_commit_id_exception | `InvalidPathException of Types.invalid_path_exception | `InvalidRepositoryNameException of Types.invalid_repository_name_exception | `NameLengthExceededException of Types.name_length_exceeded_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 | `RepositoryDoesNotExistException of Types.repository_does_not_exist_exception | `RepositoryNameRequiredException of Types.repository_name_required_exception ] -> string
val request : 'http_type Smaws_Lib.Context.t -> Types.delete_file_input -> (Types.delete_file_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 | `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 | `FileDoesNotExistException of Types.file_does_not_exist_exception | `InvalidBranchNameException of Types.invalid_branch_name_exception | `InvalidEmailException of Types.invalid_email_exception | `InvalidParentCommitIdException of Types.invalid_parent_commit_id_exception | `InvalidPathException of Types.invalid_path_exception | `InvalidRepositoryNameException of Types.invalid_repository_name_exception | `NameLengthExceededException of Types.name_length_exceeded_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 | `RepositoryDoesNotExistException of Types.repository_does_not_exist_exception | `RepositoryNameRequiredException of Types.repository_name_required_exception ]) Stdlib.result
val request_with_metadata : 'http_type Smaws_Lib.Context.t -> Types.delete_file_input -> (Types.delete_file_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 | `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 | `FileDoesNotExistException of Types.file_does_not_exist_exception | `InvalidBranchNameException of Types.invalid_branch_name_exception | `InvalidEmailException of Types.invalid_email_exception | `InvalidParentCommitIdException of Types.invalid_parent_commit_id_exception | `InvalidPathException of Types.invalid_path_exception | `InvalidRepositoryNameException of Types.invalid_repository_name_exception | `NameLengthExceededException of Types.name_length_exceeded_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 | `RepositoryDoesNotExistException of Types.repository_does_not_exist_exception | `RepositoryNameRequiredException of Types.repository_name_required_exception ] * Smaws_Lib.Response.metadata) Stdlib.result