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

Description

 
Synopsis

Documentation

data PackageVersionError Source #

An error associated with package.

See: newPackageVersionError smart constructor.

Constructors

PackageVersionError' 

Fields

Instances

Instances details
Eq PackageVersionError Source # 
Instance details

Defined in Amazonka.CodeArtifact.Types.PackageVersionError

Read PackageVersionError Source # 
Instance details

Defined in Amazonka.CodeArtifact.Types.PackageVersionError

Show PackageVersionError Source # 
Instance details

Defined in Amazonka.CodeArtifact.Types.PackageVersionError

Generic PackageVersionError Source # 
Instance details

Defined in Amazonka.CodeArtifact.Types.PackageVersionError

Associated Types

type Rep PackageVersionError :: Type -> Type #

NFData PackageVersionError Source # 
Instance details

Defined in Amazonka.CodeArtifact.Types.PackageVersionError

Methods

rnf :: PackageVersionError -> () #

Hashable PackageVersionError Source # 
Instance details

Defined in Amazonka.CodeArtifact.Types.PackageVersionError

FromJSON PackageVersionError Source # 
Instance details

Defined in Amazonka.CodeArtifact.Types.PackageVersionError

type Rep PackageVersionError Source # 
Instance details

Defined in Amazonka.CodeArtifact.Types.PackageVersionError

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

newPackageVersionError :: PackageVersionError Source #

Create a value of PackageVersionError 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:errorCode:PackageVersionError', packageVersionError_errorCode - The error code associated with the error. Valid error codes are:

  • ALREADY_EXISTS
  • MISMATCHED_REVISION
  • MISMATCHED_STATUS
  • NOT_ALLOWED
  • NOT_FOUND
  • SKIPPED

$sel:errorMessage:PackageVersionError', packageVersionError_errorMessage - The error message associated with the error.

packageVersionError_errorCode :: Lens' PackageVersionError (Maybe PackageVersionErrorCode) Source #

The error code associated with the error. Valid error codes are:

  • ALREADY_EXISTS
  • MISMATCHED_REVISION
  • MISMATCHED_STATUS
  • NOT_ALLOWED
  • NOT_FOUND
  • SKIPPED

packageVersionError_errorMessage :: Lens' PackageVersionError (Maybe Text) Source #

The error message associated with the error.