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

Description

 
Synopsis

Documentation

data LicenseInfo Source #

Details of the license data.

See: newLicenseInfo smart constructor.

Constructors

LicenseInfo' 

Fields

Instances

Instances details
Eq LicenseInfo Source # 
Instance details

Defined in Amazonka.CodeArtifact.Types.LicenseInfo

Read LicenseInfo Source # 
Instance details

Defined in Amazonka.CodeArtifact.Types.LicenseInfo

Show LicenseInfo Source # 
Instance details

Defined in Amazonka.CodeArtifact.Types.LicenseInfo

Generic LicenseInfo Source # 
Instance details

Defined in Amazonka.CodeArtifact.Types.LicenseInfo

Associated Types

type Rep LicenseInfo :: Type -> Type #

NFData LicenseInfo Source # 
Instance details

Defined in Amazonka.CodeArtifact.Types.LicenseInfo

Methods

rnf :: LicenseInfo -> () #

Hashable LicenseInfo Source # 
Instance details

Defined in Amazonka.CodeArtifact.Types.LicenseInfo

FromJSON LicenseInfo Source # 
Instance details

Defined in Amazonka.CodeArtifact.Types.LicenseInfo

type Rep LicenseInfo Source # 
Instance details

Defined in Amazonka.CodeArtifact.Types.LicenseInfo

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

newLicenseInfo :: LicenseInfo Source #

Create a value of LicenseInfo 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:url:LicenseInfo', licenseInfo_url - The URL for license data.

$sel:name:LicenseInfo', licenseInfo_name - Name of the license.

licenseInfo_url :: Lens' LicenseInfo (Maybe Text) Source #

The URL for license data.