DeletePackageVersionsRequest
public struct DeletePackageVersionsRequest : AWSShape
Undocumented
-
Declaration
Swift
public static var _members: [AWSShapeMember] -
The name of the domain that contains the package to delete.
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 expected status of the package version to delete. Valid values are: Published Unfinished Unlisted Archived Disposed
Declaration
Swift
public let expectedStatus: PackageVersionStatus? -
The format of the package versions to delete. 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 with the versions to delete.
Declaration
Swift
public let package: String -
The name of the repository that contains the package versions to delete.
Declaration
Swift
public let repository: String -
An array of strings that specify the versions of the package to delete.
Declaration
Swift
public let versions: [String] -
Undocumented
Declaration
Swift
public init(domain: String, domainOwner: String? = nil, expectedStatus: PackageVersionStatus? = nil, format: PackageFormat, namespace: String? = nil, package: String, repository: String, versions: [String]) -
Declaration
Swift
public func validate(name: String) throws
View on GitHub
DeletePackageVersionsRequest Structure Reference