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

Description

 
Synopsis

Documentation

data PackageVersionOrigin Source #

Information about how a package version was added to a repository.

See: newPackageVersionOrigin smart constructor.

Constructors

PackageVersionOrigin' 

Fields

  • domainEntryPoint :: Maybe DomainEntryPoint

    A DomainEntryPoint object that contains information about from which repository or external connection the package version was added to the domain.

  • originType :: Maybe PackageVersionOriginType

    Describes how the package version was originally added to the domain. An INTERNAL origin type means the package version was published directly to a repository in the domain. An EXTERNAL origin type means the package version was ingested from an external connection.

Instances

Instances details
FromJSON PackageVersionOrigin Source # 
Instance details

Defined in Amazonka.CodeArtifact.Types.PackageVersionOrigin

Generic PackageVersionOrigin Source # 
Instance details

Defined in Amazonka.CodeArtifact.Types.PackageVersionOrigin

Associated Types

type Rep PackageVersionOrigin :: Type -> Type #

Read PackageVersionOrigin Source # 
Instance details

Defined in Amazonka.CodeArtifact.Types.PackageVersionOrigin

Show PackageVersionOrigin Source # 
Instance details

Defined in Amazonka.CodeArtifact.Types.PackageVersionOrigin

NFData PackageVersionOrigin Source # 
Instance details

Defined in Amazonka.CodeArtifact.Types.PackageVersionOrigin

Methods

rnf :: PackageVersionOrigin -> () #

Eq PackageVersionOrigin Source # 
Instance details

Defined in Amazonka.CodeArtifact.Types.PackageVersionOrigin

Hashable PackageVersionOrigin Source # 
Instance details

Defined in Amazonka.CodeArtifact.Types.PackageVersionOrigin

type Rep PackageVersionOrigin Source # 
Instance details

Defined in Amazonka.CodeArtifact.Types.PackageVersionOrigin

type Rep PackageVersionOrigin = D1 ('MetaData "PackageVersionOrigin" "Amazonka.CodeArtifact.Types.PackageVersionOrigin" "amazonka-codeartifact-2.0-CskMABZQLQJDgej73fXQxp" 'False) (C1 ('MetaCons "PackageVersionOrigin'" 'PrefixI 'True) (S1 ('MetaSel ('Just "domainEntryPoint") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe DomainEntryPoint)) :*: S1 ('MetaSel ('Just "originType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe PackageVersionOriginType))))

newPackageVersionOrigin :: PackageVersionOrigin Source #

Create a value of PackageVersionOrigin 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:domainEntryPoint:PackageVersionOrigin', packageVersionOrigin_domainEntryPoint - A DomainEntryPoint object that contains information about from which repository or external connection the package version was added to the domain.

$sel:originType:PackageVersionOrigin', packageVersionOrigin_originType - Describes how the package version was originally added to the domain. An INTERNAL origin type means the package version was published directly to a repository in the domain. An EXTERNAL origin type means the package version was ingested from an external connection.

packageVersionOrigin_domainEntryPoint :: Lens' PackageVersionOrigin (Maybe DomainEntryPoint) Source #

A DomainEntryPoint object that contains information about from which repository or external connection the package version was added to the domain.

packageVersionOrigin_originType :: Lens' PackageVersionOrigin (Maybe PackageVersionOriginType) Source #

Describes how the package version was originally added to the domain. An INTERNAL origin type means the package version was published directly to a repository in the domain. An EXTERNAL origin type means the package version was ingested from an external connection.