class Aws::CodeCommit::Types::PutFileInput
@see docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/PutFileInput AWS API Documentation
@return [String]
An email address for the person adding or updating the file.
@!attribute [rw] email
@return [String]
useful commit history for your repository.
adding a name is strongly encouraged in order to provide a more
The name of the person adding or updating the file. While optional,
@!attribute [rw] name
@return [String]
useful commit history for your repository.
adding a message is strongly encouraged in order to provide a more
A message about why this file was added or updated. While optional,
@!attribute [rw] commit_message
@return [String]
added or updated.
the operation, or an error will occur, and the file will not be
The commit ID must match the ID of the head commit at the time of
required.
ID is required. If this is not an empty repository, a commit ID is
to add or update the file. If this is an empty repository, no commit
The full commit ID of the head commit in the branch where you want
@!attribute [rw] parent_commit_id
@return [String]
are listed below.
The file mode permissions of the blob. Valid file mode permissions
@!attribute [rw] file_mode
@return [String]
</note>
will be created as part of adding the file.
<note markdown=“1”> If the path does not currently exist in the repository, the path
relative path to the file in the repository.
The name of the file you want to add or update, including the
@!attribute [rw] file_path
@return [String]
The content of the file, in binary object format.
@!attribute [rw] file_content
@return [String]
this is an empty repository, this branch will be created.
The name of the branch where you want to add or update the file. If
@!attribute [rw] branch_name
@return [String]
The name of the repository where you want to add or update the file.
@!attribute [rw] repository_name
}
email: “Email”,
name: “Name”,
commit_message: “Message”,
parent_commit_id: “CommitId”,
file_mode: “EXECUTABLE”, # accepts EXECUTABLE, NORMAL, SYMLINK
file_path: “Path”, # required
file_content: “data”, # required
branch_name: “BranchName”, # required
repository_name: “RepositoryName”, # required
{
data as a hash:
@note When making an API call, you may pass PutFileInput