ListPackagesRequest

public struct ListPackagesRequest : AWSShape
extension CodeArtifact.ListPackagesRequest: AWSPaginateStringToken

Undocumented

  • Declaration

    Swift

    public static var _members: [AWSShapeMember]
  • The domain that contains the repository that contains the requested list of packages.

    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 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?
  • A prefix used to filter returned repositories. Only repositories with names that start with repositoryPrefix are returned.

    Declaration

    Swift

    public let packagePrefix: String?
  • The name of the repository from which packages are to be listed.

    Declaration

    Swift

    public let repository: String
  • Undocumented

    Declaration

    Swift

    public init(domain: String, domainOwner: String? = nil, format: PackageFormat? = nil, maxResults: Int? = nil, namespace: String? = nil, nextToken: String? = nil, packagePrefix: String? = nil, repository: String)
  • Declaration

    Swift

    public func validate(name: String) throws