Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
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. Valid values are:
npm
pypi
maven
$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
. - A Python package does not contain a corresponding component, so Python packages do not have a namespace.
$sel:package:PackageSummary'
, packageSummary_package
- The name of the package.
packageSummary_format :: Lens' PackageSummary (Maybe PackageFormat) Source #
The format of the package. Valid values are:
npm
pypi
maven
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
. - A Python package does not contain a corresponding component, so Python packages do not have a namespace.
packageSummary_package :: Lens' PackageSummary (Maybe Text) Source #
The name of the package.