AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.
Container for the parameters to the CreateCommit operation. Creates a commit for a repository on the tip of a specified branch.
Namespace: Amazon.CodeCommit.Model
Assembly: AWSSDK.CodeCommit.dll
Version: 3.x.y.z
public class CreateCommitRequest : AmazonCodeCommitRequest IAmazonWebServiceRequest
The CreateCommitRequest type exposes the following members
Name | Description | |
---|---|---|
CreateCommitRequest() |
Name | Type | Description | |
---|---|---|---|
AuthorName | System.String |
Gets and sets the property AuthorName. The name of the author who created the commit. This information is used as both the author and committer for the commit. |
|
BranchName | System.String |
Gets and sets the property BranchName. The name of the branch where you create the commit. |
|
CommitMessage | System.String |
Gets and sets the property CommitMessage. The commit message you want to include in the commit. Commit messages are limited to 256 KB. If no message is specified, a default message is used. |
|
DeleteFiles | System.Collections.Generic.List<Amazon.CodeCommit.Model.DeleteFileEntry> |
Gets and sets the property DeleteFiles. The files to delete in this commit. These files still exist in earlier commits. |
|
System.String |
Gets and sets the property Email. The email address of the person who created the commit. |
||
KeepEmptyFolders | System.Boolean |
Gets and sets the property KeepEmptyFolders. If the commit contains deletions, whether to keep a folder or folder structure if the changes leave the folders empty. If true, a ..gitkeep file is created for empty folders. The default is false. |
|
ParentCommitId | System.String |
Gets and sets the property ParentCommitId. The ID of the commit that is the parent of the commit you create. Not required if this is an empty repository. |
|
PutFiles | System.Collections.Generic.List<Amazon.CodeCommit.Model.PutFileEntry> |
Gets and sets the property PutFiles. The files to add or update in this commit. |
|
RepositoryName | System.String |
Gets and sets the property RepositoryName. The name of the repository where you create the commit. |
|
SetFileModes | System.Collections.Generic.List<Amazon.CodeCommit.Model.SetFileModeEntry> |
Gets and sets the property SetFileModes. The file modes to update for files in this commit. |
.NET Core App:
Supported in: 3.1
.NET Standard:
Supported in: 2.0
.NET Framework:
Supported in: 4.5, 4.0, 3.5