ListPackageVersionsRequest
public struct ListPackageVersionsRequest : AWSShape
extension CodeArtifact.ListPackageVersionsRequest: AWSPaginateStringToken
Undocumented
-
Declaration
Swift
public static var _members: [AWSShapeMember]
-
The name of the domain that contains the repository that contains the returned package versions.
Declaration
Swift
public let domain: String
-
The 12-digit account number of the AWS account that owns the domain. It does not include dashes or spaces.
Declaration
Swift
public let domainOwner: String?
-
The format of the returned packages. The valid package types 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 maximum number of results to return per page.
Declaration
Swift
public let maxResults: Int?
-
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 token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.
Declaration
Swift
public let nextToken: String?
-
The name of the package for which you want to return a list of package versions.
Declaration
Swift
public let package: String
-
The name of the repository that contains the package.
Declaration
Swift
public let repository: String
-
How to sort the returned list of package versions.
Declaration
Swift
public let sortBy: PackageVersionSortType?
-
A string that specifies the status of the package versions to include in the returned list. It can be one of the following: Published Unfinished Unlisted Archived Disposed
Declaration
Swift
public let status: PackageVersionStatus?
-
Undocumented
Declaration
Swift
public init(domain: String, domainOwner: String? = nil, format: PackageFormat, maxResults: Int? = nil, namespace: String? = nil, nextToken: String? = nil, package: String, repository: String, sortBy: PackageVersionSortType? = nil, status: PackageVersionStatus? = nil)
-
Declaration
Swift
public func validate(name: String) throws
-
Undocumented
Declaration
Swift
public func usingPaginationToken(_ token: String) -> CodeArtifact.ListPackageVersionsRequest