GetPackageVersionAssetRequest
public struct GetPackageVersionAssetRequest : AWSShape
Undocumented
-
Declaration
Swift
public static var _members: [AWSShapeMember]
-
The name of the requested asset.
Declaration
Swift
public let asset: String
-
The domain that contains the repository that contains the package version with the requested asset.
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?
-
A format that specifies the type of the package version with the requested asset file. The valid values are: npm pypi maven
Declaration
Swift
public let format: PackageFormat
-
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 package that contains the requested asset.
Declaration
Swift
public let package: String
-
A string that contains the package version (for example, 3.5.2).
Declaration
Swift
public let packageVersion: String
-
The name of the package version revision that contains the requested asset.
Declaration
Swift
public let packageVersionRevision: String?
-
The repository that contains the package version with the requested asset.
Declaration
Swift
public let repository: String
-
init(asset:domain:domainOwner:format:namespace:package:packageVersion:packageVersionRevision:repository:)
Undocumented
Declaration
Swift
public init(asset: String, domain: String, domainOwner: String? = nil, format: PackageFormat, namespace: String? = nil, package: String, packageVersion: String, packageVersionRevision: String? = nil, repository: String)
-
Declaration
Swift
public func validate(name: String) throws