amazonka-codeartifact-2.0: Amazon CodeArtifact SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

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

Instances

Instances details
FromJSON 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 #

Read PackageSummary Source # 
Instance details

Defined in Amazonka.CodeArtifact.Types.PackageSummary

Show PackageSummary Source # 
Instance details

Defined in Amazonka.CodeArtifact.Types.PackageSummary

NFData PackageSummary Source # 
Instance details

Defined in Amazonka.CodeArtifact.Types.PackageSummary

Methods

rnf :: PackageSummary -> () #

Eq PackageSummary Source # 
Instance details

Defined in Amazonka.CodeArtifact.Types.PackageSummary

Hashable 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" "amazonka-codeartifact-2.0-CskMABZQLQJDgej73fXQxp" '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 "originConfiguration") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe PackageOriginConfiguration)) :*: 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.

$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_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.