PackageVersionDescription
public struct PackageVersionDescription : AWSShape
Undocumented
-
Declaration
Swift
public static var _members: [AWSShapeMember]
-
The name of the package that is displayed. The displayName varies depending on the package version’s format. For example, if an npm package is named ui, is in the namespace vue, and has the format npm, then the displayName is @vue/ui.
Declaration
Swift
public let displayName: String?
-
The format of the package version. The valid package formats are: npm: A Node Package Manager (npm) package. pypi: A Python Package Index (PyPI) package. maven: A Maven package that contains compiled code in a distributable format, such as a JAR file.
Declaration
Swift
public let format: PackageFormat?
-
The homepage associated with the package.
Declaration
Swift
public let homePage: String?
-
Information about licenses associated with the package version.
Declaration
Swift
public let licenses: [LicenseInfo]?
-
The namespace of the package. The package component that specifies its namespace depends on its type. For example: The namespace of a Maven package is its groupId. The namespace of an npm package is its scope. A Python package does not contain a corresponding component, so Python packages do not have a namespace.
Declaration
Swift
public let namespace: String?
-
The name of the requested package.
Declaration
Swift
public let packageName: String?
-
A timestamp that contains the date and time the package version was published.
Declaration
Swift
public let publishedTime: TimeStamp?
-
The revision of the package version.
Declaration
Swift
public let revision: String?
-
The repository for the source code in the package version, or the source code used to build it.
Declaration
Swift
public let sourceCodeRepository: String?
-
A string that contains the status of the package version. It can be one of the following: Published Unfinished Unlisted Archived Disposed
Declaration
Swift
public let status: PackageVersionStatus?
-
A summary of the package version. The summary is extracted from the package. The information in and detail level of the summary depends on the package version’s format.
Declaration
Swift
public let summary: String?
-
The version of the package.
Declaration
Swift
public let version: String?
-
init(displayName:format:homePage:licenses:namespace:packageName:publishedTime:revision:sourceCodeRepository:status:summary:version:)
Undocumented
Declaration
Swift
public init(displayName: String? = nil, format: PackageFormat? = nil, homePage: String? = nil, licenses: [LicenseInfo]? = nil, namespace: String? = nil, packageName: String? = nil, publishedTime: TimeStamp? = nil, revision: String? = nil, sourceCodeRepository: String? = nil, status: PackageVersionStatus? = nil, summary: String? = nil, version: String? = nil)