DisposePackageVersionsRequest
public struct DisposePackageVersionsRequest : AWSShape
Undocumented
-
Declaration
Swift
public static var _members: [AWSShapeMember]
-
The name of the domain that contains the repository you want to dispose.
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 dispose. Valid values are: Published Unfinished Unlisted Archived Disposed
Declaration
Swift
public let expectedStatus: PackageVersionStatus?
-
A format that specifies the type of package versions you want to dispose. 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 you want to dispose.
Declaration
Swift
public let package: String
-
The name of the repository that contains the package versions you want to dispose.
Declaration
Swift
public let repository: String
-
The revisions of the package versions you want to dispose.
Declaration
Swift
public let versionRevisions: [String : String]?
-
The versions of the package you want to dispose.
Declaration
Swift
public let versions: [String]
-
init(domain:domainOwner:expectedStatus:format:namespace:package:repository:versionRevisions:versions:)
Undocumented
Declaration
Swift
public init(domain: String, domainOwner: String? = nil, expectedStatus: PackageVersionStatus? = nil, format: PackageFormat, namespace: String? = nil, package: String, repository: String, versionRevisions: [String : String]? = nil, versions: [String])
-
Declaration
Swift
public func validate(name: String) throws