Module Smaws_Client_CodeCommit.PutFile

Adds or updates a file in a branch in an CodeCommit repository, and generates a commit for the addition in the 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 | `FileContentRequiredException of Types.file_content_required_exception | `FileContentSizeLimitExceededException of Types.file_content_size_limit_exceeded_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 | `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 | `SameFileContentException of Types.same_file_content_exception ] -> string
val request : 'http_type Smaws_Lib.Context.t -> Types.put_file_input -> (Types.put_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 | `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 | `FileContentRequiredException of Types.file_content_required_exception | `FileContentSizeLimitExceededException of Types.file_content_size_limit_exceeded_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 | `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 | `SameFileContentException of Types.same_file_content_exception ]) Stdlib.result
val request_with_metadata : 'http_type Smaws_Lib.Context.t -> Types.put_file_input -> (Types.put_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 | `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 | `FileContentRequiredException of Types.file_content_required_exception | `FileContentSizeLimitExceededException of Types.file_content_size_limit_exceeded_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 | `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 | `SameFileContentException of Types.same_file_content_exception ] * Smaws_Lib.Response.metadata) Stdlib.result