CreateRepositoryInput
public struct CreateRepositoryInput : AWSShape
Undocumented
-
Declaration
Swift
public static var _members: [AWSShapeMember]
-
A comment or description about the new repository. The description field for a repository accepts all HTML characters and all valid Unicode characters. Applications that do not HTML-encode the description and display it in a webpage can expose users to potentially malicious code. Make sure that you HTML-encode the description field in any application that uses this API to display the repository description on a webpage.
Declaration
Swift
public let repositoryDescription: String?
-
The name of the new repository to be created. The repository name must be unique across the calling AWS account. Repository names are limited to 100 alphanumeric, dash, and underscore characters, and cannot include certain characters. For more information about the limits on repository names, see Limits in the AWS CodeCommit User Guide. The suffix .git is prohibited.
Declaration
Swift
public let repositoryName: String
-
One or more tag key-value pairs to use when tagging this repository.
Declaration
Swift
public let tags: [String : String]?
-
Undocumented
Declaration
Swift
public init(repositoryDescription: String? = nil, repositoryName: String, tags: [String : String]? = nil)
-
Declaration
Swift
public func validate(name: String) throws