Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Synopsis
- data PackageSummary = PackageSummary' {}
- newPackageSummary :: PackageSummary
- packageSummary_format :: Lens' PackageSummary (Maybe PackageFormat)
- packageSummary_namespace :: Lens' PackageSummary (Maybe Text)
- packageSummary_originConfiguration :: Lens' PackageSummary (Maybe PackageOriginConfiguration)
- packageSummary_package :: Lens' PackageSummary (Maybe Text)
Documentation
data PackageSummary Source #
Details about a package, including its format, namespace, and name. The
ListPackages
operation returns a list of PackageSummary
objects.
See: newPackageSummary
smart constructor.
PackageSummary' | |
|
Instances
newPackageSummary :: PackageSummary Source #
Create a value of PackageSummary
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:format:PackageSummary'
, packageSummary_format
- The format of the package.
$sel:namespace:PackageSummary'
, packageSummary_namespace
- 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
. - Python and NuGet packages do not contain a corresponding component, packages of those formats do not have a namespace.
$sel:originConfiguration:PackageSummary'
, packageSummary_originConfiguration
- A
PackageOriginConfiguration
object that contains a
PackageOriginRestrictions
object that contains information about the upstream and publish package
origin restrictions.
$sel:package:PackageSummary'
, packageSummary_package
- The name of the package.
packageSummary_format :: Lens' PackageSummary (Maybe PackageFormat) Source #
The format of the package.
packageSummary_namespace :: Lens' PackageSummary (Maybe Text) Source #
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
. - Python and NuGet packages do not contain a corresponding component, packages of those formats do not have a namespace.
packageSummary_originConfiguration :: Lens' PackageSummary (Maybe PackageOriginConfiguration) Source #
A PackageOriginConfiguration object that contains a PackageOriginRestrictions object that contains information about the upstream and publish package origin restrictions.
packageSummary_package :: Lens' PackageSummary (Maybe Text) Source #
The name of the package.