amazonka-codeguru-reviewer-2.0: Amazon CodeGuru Reviewer 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.CodeGuruReviewer.Types.CodeArtifacts

Description

 
Synopsis

Documentation

data CodeArtifacts Source #

Code artifacts are source code artifacts and build artifacts used in a repository analysis or a pull request review.

  • Source code artifacts are source code files in a Git repository that are compressed into a .zip file.
  • Build artifacts are .jar or .class files that are compressed in a .zip file.

See: newCodeArtifacts smart constructor.

Constructors

CodeArtifacts' 

Fields

Instances

Instances details
FromJSON CodeArtifacts Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.CodeArtifacts

ToJSON CodeArtifacts Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.CodeArtifacts

Generic CodeArtifacts Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.CodeArtifacts

Associated Types

type Rep CodeArtifacts :: Type -> Type #

Read CodeArtifacts Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.CodeArtifacts

Show CodeArtifacts Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.CodeArtifacts

NFData CodeArtifacts Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.CodeArtifacts

Methods

rnf :: CodeArtifacts -> () #

Eq CodeArtifacts Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.CodeArtifacts

Hashable CodeArtifacts Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.CodeArtifacts

type Rep CodeArtifacts Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.CodeArtifacts

type Rep CodeArtifacts = D1 ('MetaData "CodeArtifacts" "Amazonka.CodeGuruReviewer.Types.CodeArtifacts" "amazonka-codeguru-reviewer-2.0-5PMDLaQhmT9HEhVpSUty9z" 'False) (C1 ('MetaCons "CodeArtifacts'" 'PrefixI 'True) (S1 ('MetaSel ('Just "buildArtifactsObjectKey") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "sourceCodeArtifactsObjectKey") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newCodeArtifacts Source #

Create a value of CodeArtifacts 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:buildArtifactsObjectKey:CodeArtifacts', codeArtifacts_buildArtifactsObjectKey - The S3 object key for a build artifacts .zip file that contains .jar or .class files. This is required for a code review with security analysis. For more information, see Create code reviews with GitHub Actions in the Amazon CodeGuru Reviewer User Guide.

$sel:sourceCodeArtifactsObjectKey:CodeArtifacts', codeArtifacts_sourceCodeArtifactsObjectKey - The S3 object key for a source code .zip file. This is required for all code reviews.

codeArtifacts_buildArtifactsObjectKey :: Lens' CodeArtifacts (Maybe Text) Source #

The S3 object key for a build artifacts .zip file that contains .jar or .class files. This is required for a code review with security analysis. For more information, see Create code reviews with GitHub Actions in the Amazon CodeGuru Reviewer User Guide.

codeArtifacts_sourceCodeArtifactsObjectKey :: Lens' CodeArtifacts Text Source #

The S3 object key for a source code .zip file. This is required for all code reviews.