libZSservicesZSamazonka-codeartifactZSamazonka-codeartifact
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.CodeArtifact.Types.PackageSummary

Description

 
Synopsis

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.

Constructors

PackageSummary' 

Fields

  • format :: Maybe PackageFormat

    The format of the package. Valid values are:

    • npm
    • pypi
    • maven
  • namespace :: Maybe Text

    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.
  • package :: Maybe Text

    The name of the package.

Instances

Instances details
Eq PackageSummary Source # 
Instance details

Defined in Amazonka.CodeArtifact.Types.PackageSummary

Read PackageSummary Source # 
Instance details

Defined in Amazonka.CodeArtifact.Types.PackageSummary

Show PackageSummary Source # 
Instance details

Defined in Amazonka.CodeArtifact.Types.PackageSummary

Generic PackageSummary Source # 
Instance details

Defined in Amazonka.CodeArtifact.Types.PackageSummary

Associated Types

type Rep PackageSummary :: Type -> Type #

NFData PackageSummary Source # 
Instance details

Defined in Amazonka.CodeArtifact.Types.PackageSummary

Methods

rnf :: PackageSummary -> () #

Hashable PackageSummary Source # 
Instance details

Defined in Amazonka.CodeArtifact.Types.PackageSummary

FromJSON PackageSummary Source # 
Instance details

Defined in Amazonka.CodeArtifact.Types.PackageSummary

type Rep PackageSummary Source # 
Instance details

Defined in Amazonka.CodeArtifact.Types.PackageSummary

type Rep PackageSummary = D1 ('MetaData "PackageSummary" "Amazonka.CodeArtifact.Types.PackageSummary" "libZSservicesZSamazonka-codeartifactZSamazonka-codeartifact" 'False) (C1 ('MetaCons "PackageSummary'" 'PrefixI 'True) (S1 ('MetaSel ('Just "format") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe PackageFormat)) :*: (S1 ('MetaSel ('Just "namespace") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "package") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))

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.