CreateCommitInput
public struct CreateCommitInput : AWSShape
Undocumented
-
Declaration
Swift
public static var _members: [AWSShapeMember]
-
The name of the author who created the commit. This information is used as both the author and committer for the commit.
Declaration
Swift
public let authorName: String?
-
The name of the branch where you create the commit.
Declaration
Swift
public let branchName: String
-
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.
Declaration
Swift
public let commitMessage: String?
-
The files to delete in this commit. These files still exist in earlier commits.
Declaration
Swift
public let deleteFiles: [DeleteFileEntry]?
-
The email address of the person who created the commit.
Declaration
Swift
public let email: String?
-
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.
Declaration
Swift
public let keepEmptyFolders: Bool?
-
The ID of the commit that is the parent of the commit you create. Not required if this is an empty repository.
Declaration
Swift
public let parentCommitId: String?
-
The files to add or update in this commit.
Declaration
Swift
public let putFiles: [PutFileEntry]?
-
The name of the repository where you create the commit.
Declaration
Swift
public let repositoryName: String
-
The file modes to update for files in this commit.
Declaration
Swift
public let setFileModes: [SetFileModeEntry]?
-
init(authorName:branchName:commitMessage:deleteFiles:email:keepEmptyFolders:parentCommitId:putFiles:repositoryName:setFileModes:)
Undocumented
Declaration
Swift
public init(authorName: String? = nil, branchName: String, commitMessage: String? = nil, deleteFiles: [DeleteFileEntry]? = nil, email: String? = nil, keepEmptyFolders: Bool? = nil, parentCommitId: String? = nil, putFiles: [PutFileEntry]? = nil, repositoryName: String, setFileModes: [SetFileModeEntry]? = nil)
-
Declaration
Swift
public func validate(name: String) throws