UpdatePackageVersionsStatusRequest
public struct UpdatePackageVersionsStatusRequest : AWSShape
Undocumented
-
Declaration
Swift
public static var _members: [AWSShapeMember]
-
The domain that contains the repository that contains the package versions with a status to be updated.
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 package version’s expected status before it is updated. If expectedStatus is provided, the package version’s status is updated only if its status at the time UpdatePackageVersionsStatus is called matches expectedStatus.
Declaration
Swift
public let expectedStatus: PackageVersionStatus?
-
A format that specifies the type of the package with the statuses to update. 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 version statuses to update.
Declaration
Swift
public let package: String
-
The repository that contains the package versions with the status you want to update.
Declaration
Swift
public let repository: String
-
The status you want to change the package version status to.
Declaration
Swift
public let targetStatus: PackageVersionStatus
-
A map of package versions and package version revisions. The map key is the package version (for example, 3.5.2), and the map value is the package version revision.
Declaration
Swift
public let versionRevisions: [String : String]?
-
An array of strings that specify the versions of the package with the statuses to update.
Declaration
Swift
public let versions: [String]
-
init(domain:domainOwner:expectedStatus:format:namespace:package:repository:targetStatus:versionRevisions:versions:)
Undocumented
Declaration
Swift
public init(domain: String, domainOwner: String? = nil, expectedStatus: PackageVersionStatus? = nil, format: PackageFormat, namespace: String? = nil, package: String, repository: String, targetStatus: PackageVersionStatus, versionRevisions: [String : String]? = nil, versions: [String])
-
Declaration
Swift
public func validate(name: String) throws