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.PackageVersionDescription

Description

 
Synopsis

Documentation

data PackageVersionDescription Source #

Details about a package version.

See: newPackageVersionDescription smart constructor.

Constructors

PackageVersionDescription' 

Fields

  • summary :: Maybe Text

    A summary of the package version. The summary is extracted from the package. The information in and detail level of the summary depends on the package version's format.

  • homePage :: Maybe Text

    The homepage associated with the package.

  • status :: Maybe PackageVersionStatus

    A string that contains the status of the package version. It can be one of the following:

    • Published
    • Unfinished
    • Unlisted
    • Archived
    • Disposed
  • sourceCodeRepository :: Maybe Text

    The repository for the source code in the package version, or the source code used to build it.

  • packageName :: Maybe Text

    The name of the requested package.

  • publishedTime :: Maybe POSIX

    A timestamp that contains the date and time the package version was published.

  • format :: Maybe PackageFormat

    The format of the package version. The valid package formats 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.
  • 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.
  • version :: Maybe Text

    The version of the package.

  • displayName :: Maybe Text

    The name of the package that is displayed. The displayName varies depending on the package version's format. For example, if an npm package is named ui, is in the namespace vue, and has the format npm, then the displayName is @vue/ui.

  • licenses :: Maybe [LicenseInfo]

    Information about licenses associated with the package version.

  • revision :: Maybe Text

    The revision of the package version.

Instances

Instances details
Eq PackageVersionDescription Source # 
Instance details

Defined in Amazonka.CodeArtifact.Types.PackageVersionDescription

Read PackageVersionDescription Source # 
Instance details

Defined in Amazonka.CodeArtifact.Types.PackageVersionDescription

Show PackageVersionDescription Source # 
Instance details

Defined in Amazonka.CodeArtifact.Types.PackageVersionDescription

Generic PackageVersionDescription Source # 
Instance details

Defined in Amazonka.CodeArtifact.Types.PackageVersionDescription

Associated Types

type Rep PackageVersionDescription :: Type -> Type #

NFData PackageVersionDescription Source # 
Instance details

Defined in Amazonka.CodeArtifact.Types.PackageVersionDescription

Hashable PackageVersionDescription Source # 
Instance details

Defined in Amazonka.CodeArtifact.Types.PackageVersionDescription

FromJSON PackageVersionDescription Source # 
Instance details

Defined in Amazonka.CodeArtifact.Types.PackageVersionDescription

type Rep PackageVersionDescription Source # 
Instance details

Defined in Amazonka.CodeArtifact.Types.PackageVersionDescription

type Rep PackageVersionDescription = D1 ('MetaData "PackageVersionDescription" "Amazonka.CodeArtifact.Types.PackageVersionDescription" "libZSservicesZSamazonka-codeartifactZSamazonka-codeartifact" 'False) (C1 ('MetaCons "PackageVersionDescription'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "summary") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "homePage") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "status") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe PackageVersionStatus)))) :*: (S1 ('MetaSel ('Just "sourceCodeRepository") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "packageName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "publishedTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX))))) :*: ((S1 ('MetaSel ('Just "format") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe PackageFormat)) :*: (S1 ('MetaSel ('Just "namespace") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "version") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 ('MetaSel ('Just "displayName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "licenses") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [LicenseInfo])) :*: S1 ('MetaSel ('Just "revision") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))))

newPackageVersionDescription :: PackageVersionDescription Source #

Create a value of PackageVersionDescription 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:summary:PackageVersionDescription', packageVersionDescription_summary - A summary of the package version. The summary is extracted from the package. The information in and detail level of the summary depends on the package version's format.

$sel:homePage:PackageVersionDescription', packageVersionDescription_homePage - The homepage associated with the package.

$sel:status:PackageVersionDescription', packageVersionDescription_status - A string that contains the status of the package version. It can be one of the following:

  • Published
  • Unfinished
  • Unlisted
  • Archived
  • Disposed

$sel:sourceCodeRepository:PackageVersionDescription', packageVersionDescription_sourceCodeRepository - The repository for the source code in the package version, or the source code used to build it.

$sel:packageName:PackageVersionDescription', packageVersionDescription_packageName - The name of the requested package.

$sel:publishedTime:PackageVersionDescription', packageVersionDescription_publishedTime - A timestamp that contains the date and time the package version was published.

$sel:format:PackageVersionDescription', packageVersionDescription_format - The format of the package version. The valid package formats 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.

$sel:namespace:PackageVersionDescription', packageVersionDescription_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:version:PackageVersionDescription', packageVersionDescription_version - The version of the package.

$sel:displayName:PackageVersionDescription', packageVersionDescription_displayName - The name of the package that is displayed. The displayName varies depending on the package version's format. For example, if an npm package is named ui, is in the namespace vue, and has the format npm, then the displayName is @vue/ui.

$sel:licenses:PackageVersionDescription', packageVersionDescription_licenses - Information about licenses associated with the package version.

$sel:revision:PackageVersionDescription', packageVersionDescription_revision - The revision of the package version.

packageVersionDescription_summary :: Lens' PackageVersionDescription (Maybe Text) Source #

A summary of the package version. The summary is extracted from the package. The information in and detail level of the summary depends on the package version's format.

packageVersionDescription_status :: Lens' PackageVersionDescription (Maybe PackageVersionStatus) Source #

A string that contains the status of the package version. It can be one of the following:

  • Published
  • Unfinished
  • Unlisted
  • Archived
  • Disposed

packageVersionDescription_sourceCodeRepository :: Lens' PackageVersionDescription (Maybe Text) Source #

The repository for the source code in the package version, or the source code used to build it.

packageVersionDescription_publishedTime :: Lens' PackageVersionDescription (Maybe UTCTime) Source #

A timestamp that contains the date and time the package version was published.

packageVersionDescription_format :: Lens' PackageVersionDescription (Maybe PackageFormat) Source #

The format of the package version. The valid package formats 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.

packageVersionDescription_namespace :: Lens' PackageVersionDescription (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.

packageVersionDescription_displayName :: Lens' PackageVersionDescription (Maybe Text) Source #

The name of the package that is displayed. The displayName varies depending on the package version's format. For example, if an npm package is named ui, is in the namespace vue, and has the format npm, then the displayName is @vue/ui.

packageVersionDescription_licenses :: Lens' PackageVersionDescription (Maybe [LicenseInfo]) Source #

Information about licenses associated with the package version.