libZSservicesZSamazonka-codeguru-reviewerZSamazonka-codeguru-reviewer
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.CodeGuruReviewer.Types

Description

 
Synopsis

Service Configuration

defaultService :: Service Source #

API version 2019-09-19 of the Amazon CodeGuru Reviewer SDK configuration.

Errors

_ValidationException :: AsError a => Getting (First ServiceError) a ServiceError Source #

The input fails to satisfy the specified constraints.

_AccessDeniedException :: AsError a => Getting (First ServiceError) a ServiceError Source #

You do not have sufficient access to perform this action.

_ConflictException :: AsError a => Getting (First ServiceError) a ServiceError Source #

The requested operation would cause a conflict with the current state of a service resource associated with the request. Resolve the conflict before retrying this request.

_NotFoundException :: AsError a => Getting (First ServiceError) a ServiceError Source #

The resource specified in the request was not found.

_ThrottlingException :: AsError a => Getting (First ServiceError) a ServiceError Source #

The request was denied due to request throttling.

_InternalServerException :: AsError a => Getting (First ServiceError) a ServiceError Source #

The server encountered an internal error and is unable to complete the request.

_ResourceNotFoundException :: AsError a => Getting (First ServiceError) a ServiceError Source #

The resource specified in the request was not found.

AnalysisType

newtype AnalysisType Source #

Constructors

AnalysisType' 

Instances

Instances details
Eq AnalysisType Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.AnalysisType

Ord AnalysisType Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.AnalysisType

Read AnalysisType Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.AnalysisType

Show AnalysisType Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.AnalysisType

Generic AnalysisType Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.AnalysisType

Associated Types

type Rep AnalysisType :: Type -> Type #

NFData AnalysisType Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.AnalysisType

Methods

rnf :: AnalysisType -> () #

Hashable AnalysisType Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.AnalysisType

ToJSON AnalysisType Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.AnalysisType

ToJSONKey AnalysisType Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.AnalysisType

FromJSON AnalysisType Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.AnalysisType

FromJSONKey AnalysisType Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.AnalysisType

ToLog AnalysisType Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.AnalysisType

ToHeader AnalysisType Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.AnalysisType

ToQuery AnalysisType Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.AnalysisType

FromXML AnalysisType Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.AnalysisType

ToXML AnalysisType Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.AnalysisType

Methods

toXML :: AnalysisType -> XML #

ToByteString AnalysisType Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.AnalysisType

FromText AnalysisType Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.AnalysisType

ToText AnalysisType Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.AnalysisType

Methods

toText :: AnalysisType -> Text #

type Rep AnalysisType Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.AnalysisType

type Rep AnalysisType = D1 ('MetaData "AnalysisType" "Amazonka.CodeGuruReviewer.Types.AnalysisType" "libZSservicesZSamazonka-codeguru-reviewerZSamazonka-codeguru-reviewer" 'True) (C1 ('MetaCons "AnalysisType'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromAnalysisType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

EncryptionOption

newtype EncryptionOption Source #

Instances

Instances details
Eq EncryptionOption Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.EncryptionOption

Ord EncryptionOption Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.EncryptionOption

Read EncryptionOption Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.EncryptionOption

Show EncryptionOption Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.EncryptionOption

Generic EncryptionOption Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.EncryptionOption

Associated Types

type Rep EncryptionOption :: Type -> Type #

NFData EncryptionOption Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.EncryptionOption

Methods

rnf :: EncryptionOption -> () #

Hashable EncryptionOption Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.EncryptionOption

ToJSON EncryptionOption Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.EncryptionOption

ToJSONKey EncryptionOption Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.EncryptionOption

FromJSON EncryptionOption Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.EncryptionOption

FromJSONKey EncryptionOption Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.EncryptionOption

ToLog EncryptionOption Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.EncryptionOption

ToHeader EncryptionOption Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.EncryptionOption

ToQuery EncryptionOption Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.EncryptionOption

FromXML EncryptionOption Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.EncryptionOption

ToXML EncryptionOption Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.EncryptionOption

ToByteString EncryptionOption Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.EncryptionOption

FromText EncryptionOption Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.EncryptionOption

ToText EncryptionOption Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.EncryptionOption

type Rep EncryptionOption Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.EncryptionOption

type Rep EncryptionOption = D1 ('MetaData "EncryptionOption" "Amazonka.CodeGuruReviewer.Types.EncryptionOption" "libZSservicesZSamazonka-codeguru-reviewerZSamazonka-codeguru-reviewer" 'True) (C1 ('MetaCons "EncryptionOption'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromEncryptionOption") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

JobState

newtype JobState Source #

Constructors

JobState' 

Fields

Bundled Patterns

pattern JobState_Completed :: JobState 
pattern JobState_Deleting :: JobState 
pattern JobState_Failed :: JobState 
pattern JobState_Pending :: JobState 

Instances

Instances details
Eq JobState Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.JobState

Ord JobState Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.JobState

Read JobState Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.JobState

Show JobState Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.JobState

Generic JobState Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.JobState

Associated Types

type Rep JobState :: Type -> Type #

Methods

from :: JobState -> Rep JobState x #

to :: Rep JobState x -> JobState #

NFData JobState Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.JobState

Methods

rnf :: JobState -> () #

Hashable JobState Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.JobState

Methods

hashWithSalt :: Int -> JobState -> Int #

hash :: JobState -> Int #

ToJSON JobState Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.JobState

ToJSONKey JobState Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.JobState

FromJSON JobState Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.JobState

FromJSONKey JobState Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.JobState

ToLog JobState Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.JobState

ToHeader JobState Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.JobState

Methods

toHeader :: HeaderName -> JobState -> [Header] #

ToQuery JobState Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.JobState

FromXML JobState Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.JobState

ToXML JobState Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.JobState

Methods

toXML :: JobState -> XML #

ToByteString JobState Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.JobState

Methods

toBS :: JobState -> ByteString #

FromText JobState Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.JobState

ToText JobState Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.JobState

Methods

toText :: JobState -> Text #

type Rep JobState Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.JobState

type Rep JobState = D1 ('MetaData "JobState" "Amazonka.CodeGuruReviewer.Types.JobState" "libZSservicesZSamazonka-codeguru-reviewerZSamazonka-codeguru-reviewer" 'True) (C1 ('MetaCons "JobState'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromJobState") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

ProviderType

newtype ProviderType Source #

Constructors

ProviderType' 

Instances

Instances details
Eq ProviderType Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.ProviderType

Ord ProviderType Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.ProviderType

Read ProviderType Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.ProviderType

Show ProviderType Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.ProviderType

Generic ProviderType Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.ProviderType

Associated Types

type Rep ProviderType :: Type -> Type #

NFData ProviderType Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.ProviderType

Methods

rnf :: ProviderType -> () #

Hashable ProviderType Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.ProviderType

ToJSON ProviderType Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.ProviderType

ToJSONKey ProviderType Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.ProviderType

FromJSON ProviderType Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.ProviderType

FromJSONKey ProviderType Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.ProviderType

ToLog ProviderType Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.ProviderType

ToHeader ProviderType Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.ProviderType

ToQuery ProviderType Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.ProviderType

FromXML ProviderType Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.ProviderType

ToXML ProviderType Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.ProviderType

Methods

toXML :: ProviderType -> XML #

ToByteString ProviderType Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.ProviderType

FromText ProviderType Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.ProviderType

ToText ProviderType Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.ProviderType

Methods

toText :: ProviderType -> Text #

type Rep ProviderType Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.ProviderType

type Rep ProviderType = D1 ('MetaData "ProviderType" "Amazonka.CodeGuruReviewer.Types.ProviderType" "libZSservicesZSamazonka-codeguru-reviewerZSamazonka-codeguru-reviewer" 'True) (C1 ('MetaCons "ProviderType'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromProviderType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

Reaction

newtype Reaction Source #

Constructors

Reaction' 

Fields

Bundled Patterns

pattern Reaction_ThumbsDown :: Reaction 
pattern Reaction_ThumbsUp :: Reaction 

Instances

Instances details
Eq Reaction Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.Reaction

Ord Reaction Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.Reaction

Read Reaction Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.Reaction

Show Reaction Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.Reaction

Generic Reaction Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.Reaction

Associated Types

type Rep Reaction :: Type -> Type #

Methods

from :: Reaction -> Rep Reaction x #

to :: Rep Reaction x -> Reaction #

NFData Reaction Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.Reaction

Methods

rnf :: Reaction -> () #

Hashable Reaction Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.Reaction

Methods

hashWithSalt :: Int -> Reaction -> Int #

hash :: Reaction -> Int #

ToJSON Reaction Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.Reaction

ToJSONKey Reaction Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.Reaction

FromJSON Reaction Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.Reaction

FromJSONKey Reaction Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.Reaction

ToLog Reaction Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.Reaction

ToHeader Reaction Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.Reaction

Methods

toHeader :: HeaderName -> Reaction -> [Header] #

ToQuery Reaction Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.Reaction

FromXML Reaction Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.Reaction

ToXML Reaction Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.Reaction

Methods

toXML :: Reaction -> XML #

ToByteString Reaction Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.Reaction

Methods

toBS :: Reaction -> ByteString #

FromText Reaction Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.Reaction

ToText Reaction Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.Reaction

Methods

toText :: Reaction -> Text #

type Rep Reaction Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.Reaction

type Rep Reaction = D1 ('MetaData "Reaction" "Amazonka.CodeGuruReviewer.Types.Reaction" "libZSservicesZSamazonka-codeguru-reviewerZSamazonka-codeguru-reviewer" 'True) (C1 ('MetaCons "Reaction'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromReaction") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

RecommendationCategory

newtype RecommendationCategory Source #

Instances

Instances details
Eq RecommendationCategory Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.RecommendationCategory

Ord RecommendationCategory Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.RecommendationCategory

Read RecommendationCategory Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.RecommendationCategory

Show RecommendationCategory Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.RecommendationCategory

Generic RecommendationCategory Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.RecommendationCategory

Associated Types

type Rep RecommendationCategory :: Type -> Type #

NFData RecommendationCategory Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.RecommendationCategory

Methods

rnf :: RecommendationCategory -> () #

Hashable RecommendationCategory Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.RecommendationCategory

ToJSON RecommendationCategory Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.RecommendationCategory

ToJSONKey RecommendationCategory Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.RecommendationCategory

FromJSON RecommendationCategory Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.RecommendationCategory

FromJSONKey RecommendationCategory Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.RecommendationCategory

ToLog RecommendationCategory Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.RecommendationCategory

ToHeader RecommendationCategory Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.RecommendationCategory

ToQuery RecommendationCategory Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.RecommendationCategory

FromXML RecommendationCategory Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.RecommendationCategory

ToXML RecommendationCategory Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.RecommendationCategory

ToByteString RecommendationCategory Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.RecommendationCategory

FromText RecommendationCategory Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.RecommendationCategory

ToText RecommendationCategory Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.RecommendationCategory

type Rep RecommendationCategory Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.RecommendationCategory

type Rep RecommendationCategory = D1 ('MetaData "RecommendationCategory" "Amazonka.CodeGuruReviewer.Types.RecommendationCategory" "libZSservicesZSamazonka-codeguru-reviewerZSamazonka-codeguru-reviewer" 'True) (C1 ('MetaCons "RecommendationCategory'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromRecommendationCategory") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

RepositoryAssociationState

newtype RepositoryAssociationState Source #

Instances

Instances details
Eq RepositoryAssociationState Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.RepositoryAssociationState

Ord RepositoryAssociationState Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.RepositoryAssociationState

Read RepositoryAssociationState Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.RepositoryAssociationState

Show RepositoryAssociationState Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.RepositoryAssociationState

Generic RepositoryAssociationState Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.RepositoryAssociationState

Associated Types

type Rep RepositoryAssociationState :: Type -> Type #

NFData RepositoryAssociationState Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.RepositoryAssociationState

Hashable RepositoryAssociationState Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.RepositoryAssociationState

ToJSON RepositoryAssociationState Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.RepositoryAssociationState

ToJSONKey RepositoryAssociationState Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.RepositoryAssociationState

FromJSON RepositoryAssociationState Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.RepositoryAssociationState

FromJSONKey RepositoryAssociationState Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.RepositoryAssociationState

ToLog RepositoryAssociationState Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.RepositoryAssociationState

ToHeader RepositoryAssociationState Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.RepositoryAssociationState

ToQuery RepositoryAssociationState Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.RepositoryAssociationState

FromXML RepositoryAssociationState Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.RepositoryAssociationState

ToXML RepositoryAssociationState Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.RepositoryAssociationState

ToByteString RepositoryAssociationState Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.RepositoryAssociationState

FromText RepositoryAssociationState Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.RepositoryAssociationState

ToText RepositoryAssociationState Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.RepositoryAssociationState

type Rep RepositoryAssociationState Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.RepositoryAssociationState

type Rep RepositoryAssociationState = D1 ('MetaData "RepositoryAssociationState" "Amazonka.CodeGuruReviewer.Types.RepositoryAssociationState" "libZSservicesZSamazonka-codeguru-reviewerZSamazonka-codeguru-reviewer" 'True) (C1 ('MetaCons "RepositoryAssociationState'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromRepositoryAssociationState") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

Severity

newtype Severity Source #

Constructors

Severity' 

Fields

Bundled Patterns

pattern Severity_Critical :: Severity 
pattern Severity_High :: Severity 
pattern Severity_Info :: Severity 
pattern Severity_Low :: Severity 
pattern Severity_Medium :: Severity 

Instances

Instances details
Eq Severity Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.Severity

Ord Severity Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.Severity

Read Severity Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.Severity

Show Severity Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.Severity

Generic Severity Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.Severity

Associated Types

type Rep Severity :: Type -> Type #

Methods

from :: Severity -> Rep Severity x #

to :: Rep Severity x -> Severity #

NFData Severity Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.Severity

Methods

rnf :: Severity -> () #

Hashable Severity Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.Severity

Methods

hashWithSalt :: Int -> Severity -> Int #

hash :: Severity -> Int #

ToJSON Severity Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.Severity

ToJSONKey Severity Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.Severity

FromJSON Severity Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.Severity

FromJSONKey Severity Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.Severity

ToLog Severity Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.Severity

ToHeader Severity Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.Severity

Methods

toHeader :: HeaderName -> Severity -> [Header] #

ToQuery Severity Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.Severity

FromXML Severity Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.Severity

ToXML Severity Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.Severity

Methods

toXML :: Severity -> XML #

ToByteString Severity Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.Severity

Methods

toBS :: Severity -> ByteString #

FromText Severity Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.Severity

ToText Severity Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.Severity

Methods

toText :: Severity -> Text #

type Rep Severity Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.Severity

type Rep Severity = D1 ('MetaData "Severity" "Amazonka.CodeGuruReviewer.Types.Severity" "libZSservicesZSamazonka-codeguru-reviewerZSamazonka-codeguru-reviewer" 'True) (C1 ('MetaCons "Severity'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromSeverity") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

Type

newtype Type Source #

Constructors

Type' 

Fields

Bundled Patterns

pattern Type_PullRequest :: Type 
pattern Type_RepositoryAnalysis :: Type 

Instances

Instances details
Eq Type Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.Type

Methods

(==) :: Type -> Type -> Bool #

(/=) :: Type -> Type -> Bool #

Ord Type Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.Type

Methods

compare :: Type -> Type -> Ordering #

(<) :: Type -> Type -> Bool #

(<=) :: Type -> Type -> Bool #

(>) :: Type -> Type -> Bool #

(>=) :: Type -> Type -> Bool #

max :: Type -> Type -> Type #

min :: Type -> Type -> Type #

Read Type Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.Type

Show Type Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.Type

Methods

showsPrec :: Int -> Type -> ShowS #

show :: Type -> String #

showList :: [Type] -> ShowS #

Generic Type Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.Type

Associated Types

type Rep Type :: Type -> Type #

Methods

from :: Type -> Rep Type x #

to :: Rep Type x -> Type #

NFData Type Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.Type

Methods

rnf :: Type -> () #

Hashable Type Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.Type

Methods

hashWithSalt :: Int -> Type -> Int #

hash :: Type -> Int #

ToJSON Type Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.Type

ToJSONKey Type Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.Type

FromJSON Type Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.Type

FromJSONKey Type Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.Type

ToLog Type Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.Type

ToHeader Type Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.Type

Methods

toHeader :: HeaderName -> Type -> [Header] #

ToQuery Type Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.Type

Methods

toQuery :: Type -> QueryString #

FromXML Type Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.Type

Methods

parseXML :: [Node] -> Either String Type #

ToXML Type Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.Type

Methods

toXML :: Type -> XML #

ToByteString Type Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.Type

Methods

toBS :: Type -> ByteString #

FromText Type Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.Type

ToText Type Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.Type

Methods

toText :: Type -> Text #

type Rep Type Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.Type

type Rep Type = D1 ('MetaData "Type" "Amazonka.CodeGuruReviewer.Types.Type" "libZSservicesZSamazonka-codeguru-reviewerZSamazonka-codeguru-reviewer" 'True) (C1 ('MetaCons "Type'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

VendorName

newtype VendorName Source #

Constructors

VendorName' 

Fields

Bundled Patterns

pattern VendorName_GitHub :: VendorName 
pattern VendorName_GitLab :: VendorName 
pattern VendorName_NativeS3 :: VendorName 

Instances

Instances details
Eq VendorName Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.VendorName

Ord VendorName Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.VendorName

Read VendorName Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.VendorName

Show VendorName Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.VendorName

Generic VendorName Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.VendorName

Associated Types

type Rep VendorName :: Type -> Type #

NFData VendorName Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.VendorName

Methods

rnf :: VendorName -> () #

Hashable VendorName Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.VendorName

ToJSON VendorName Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.VendorName

ToJSONKey VendorName Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.VendorName

FromJSON VendorName Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.VendorName

FromJSONKey VendorName Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.VendorName

ToLog VendorName Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.VendorName

ToHeader VendorName Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.VendorName

ToQuery VendorName Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.VendorName

FromXML VendorName Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.VendorName

ToXML VendorName Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.VendorName

Methods

toXML :: VendorName -> XML #

ToByteString VendorName Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.VendorName

FromText VendorName Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.VendorName

ToText VendorName Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.VendorName

Methods

toText :: VendorName -> Text #

type Rep VendorName Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.VendorName

type Rep VendorName = D1 ('MetaData "VendorName" "Amazonka.CodeGuruReviewer.Types.VendorName" "libZSservicesZSamazonka-codeguru-reviewerZSamazonka-codeguru-reviewer" 'True) (C1 ('MetaCons "VendorName'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromVendorName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

BranchDiffSourceCodeType

data BranchDiffSourceCodeType Source #

A type of SourceCodeType that specifies a code diff between a source and destination branch in an associated repository.

See: newBranchDiffSourceCodeType smart constructor.

Constructors

BranchDiffSourceCodeType' 

Fields

Instances

Instances details
Eq BranchDiffSourceCodeType Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.BranchDiffSourceCodeType

Read BranchDiffSourceCodeType Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.BranchDiffSourceCodeType

Show BranchDiffSourceCodeType Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.BranchDiffSourceCodeType

Generic BranchDiffSourceCodeType Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.BranchDiffSourceCodeType

Associated Types

type Rep BranchDiffSourceCodeType :: Type -> Type #

NFData BranchDiffSourceCodeType Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.BranchDiffSourceCodeType

Hashable BranchDiffSourceCodeType Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.BranchDiffSourceCodeType

ToJSON BranchDiffSourceCodeType Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.BranchDiffSourceCodeType

FromJSON BranchDiffSourceCodeType Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.BranchDiffSourceCodeType

type Rep BranchDiffSourceCodeType Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.BranchDiffSourceCodeType

type Rep BranchDiffSourceCodeType = D1 ('MetaData "BranchDiffSourceCodeType" "Amazonka.CodeGuruReviewer.Types.BranchDiffSourceCodeType" "libZSservicesZSamazonka-codeguru-reviewerZSamazonka-codeguru-reviewer" 'False) (C1 ('MetaCons "BranchDiffSourceCodeType'" 'PrefixI 'True) (S1 ('MetaSel ('Just "sourceBranchName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "destinationBranchName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newBranchDiffSourceCodeType Source #

Create a value of BranchDiffSourceCodeType 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:sourceBranchName:BranchDiffSourceCodeType', branchDiffSourceCodeType_sourceBranchName - The source branch for a diff in an associated repository.

$sel:destinationBranchName:BranchDiffSourceCodeType', branchDiffSourceCodeType_destinationBranchName - The destination branch for a diff in an associated repository.

branchDiffSourceCodeType_sourceBranchName :: Lens' BranchDiffSourceCodeType Text Source #

The source branch for a diff in an associated repository.

branchDiffSourceCodeType_destinationBranchName :: Lens' BranchDiffSourceCodeType Text Source #

The destination branch for a diff in an associated repository.

CodeArtifacts

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
Eq CodeArtifacts Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.CodeArtifacts

Read CodeArtifacts Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.CodeArtifacts

Show 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 #

NFData CodeArtifacts Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.CodeArtifacts

Methods

rnf :: CodeArtifacts -> () #

Hashable CodeArtifacts Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.CodeArtifacts

ToJSON CodeArtifacts Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.CodeArtifacts

FromJSON 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" "libZSservicesZSamazonka-codeguru-reviewerZSamazonka-codeguru-reviewer" '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 security analysis 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 security analysis 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.

CodeCommitRepository

data CodeCommitRepository Source #

Information about an Amazon Web Services CodeCommit repository. The CodeCommit repository must be in the same Amazon Web Services Region and Amazon Web Services account where its CodeGuru Reviewer code reviews are configured.

See: newCodeCommitRepository smart constructor.

Constructors

CodeCommitRepository' 

Fields

  • name :: Text

    The name of the Amazon Web Services CodeCommit repository. For more information, see repositoryName in the Amazon Web Services CodeCommit API Reference.

Instances

Instances details
Eq CodeCommitRepository Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.CodeCommitRepository

Read CodeCommitRepository Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.CodeCommitRepository

Show CodeCommitRepository Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.CodeCommitRepository

Generic CodeCommitRepository Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.CodeCommitRepository

Associated Types

type Rep CodeCommitRepository :: Type -> Type #

NFData CodeCommitRepository Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.CodeCommitRepository

Methods

rnf :: CodeCommitRepository -> () #

Hashable CodeCommitRepository Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.CodeCommitRepository

ToJSON CodeCommitRepository Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.CodeCommitRepository

type Rep CodeCommitRepository Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.CodeCommitRepository

type Rep CodeCommitRepository = D1 ('MetaData "CodeCommitRepository" "Amazonka.CodeGuruReviewer.Types.CodeCommitRepository" "libZSservicesZSamazonka-codeguru-reviewerZSamazonka-codeguru-reviewer" 'False) (C1 ('MetaCons "CodeCommitRepository'" 'PrefixI 'True) (S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newCodeCommitRepository Source #

Create a value of CodeCommitRepository 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:name:CodeCommitRepository', codeCommitRepository_name - The name of the Amazon Web Services CodeCommit repository. For more information, see repositoryName in the Amazon Web Services CodeCommit API Reference.

codeCommitRepository_name :: Lens' CodeCommitRepository Text Source #

The name of the Amazon Web Services CodeCommit repository. For more information, see repositoryName in the Amazon Web Services CodeCommit API Reference.

CodeReview

data CodeReview Source #

Information about a code review. A code review belongs to the associated repository that contains the reviewed code.

See: newCodeReview smart constructor.

Constructors

CodeReview' 

Fields

Instances

Instances details
Eq CodeReview Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.CodeReview

Read CodeReview Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.CodeReview

Show CodeReview Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.CodeReview

Generic CodeReview Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.CodeReview

Associated Types

type Rep CodeReview :: Type -> Type #

NFData CodeReview Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.CodeReview

Methods

rnf :: CodeReview -> () #

Hashable CodeReview Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.CodeReview

FromJSON CodeReview Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.CodeReview

type Rep CodeReview Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.CodeReview

type Rep CodeReview = D1 ('MetaData "CodeReview" "Amazonka.CodeGuruReviewer.Types.CodeReview" "libZSservicesZSamazonka-codeguru-reviewerZSamazonka-codeguru-reviewer" 'False) (C1 ('MetaCons "CodeReview'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "associationArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "state") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe JobState)) :*: S1 ('MetaSel ('Just "metrics") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Metrics)))) :*: ((S1 ('MetaSel ('Just "pullRequestId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "providerType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ProviderType))) :*: (S1 ('MetaSel ('Just "owner") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))) :*: (((S1 ('MetaSel ('Just "codeReviewArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "repositoryName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "type'") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Type)) :*: S1 ('MetaSel ('Just "sourceCodeType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe SourceCodeType)))) :*: ((S1 ('MetaSel ('Just "stateReason") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "createdTimeStamp") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX))) :*: (S1 ('MetaSel ('Just "analysisTypes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [AnalysisType])) :*: S1 ('MetaSel ('Just "lastUpdatedTimeStamp") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)))))))

newCodeReview :: CodeReview Source #

Create a value of CodeReview 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:associationArn:CodeReview', codeReview_associationArn - The Amazon Resource Name (ARN) of the RepositoryAssociation that contains the reviewed source code. You can retrieve associated repository ARNs by calling ListRepositoryAssociations .

$sel:state:CodeReview', codeReview_state - The valid code review states are:

  • Completed: The code review is complete.
  • Pending: The code review started and has not completed or failed.
  • Failed: The code review failed.
  • Deleting: The code review is being deleted.

$sel:metrics:CodeReview', codeReview_metrics - The statistics from the code review.

$sel:pullRequestId:CodeReview', codeReview_pullRequestId - The pull request ID for the code review.

$sel:providerType:CodeReview', codeReview_providerType - The type of repository that contains the reviewed code (for example, GitHub or Bitbucket).

$sel:owner:CodeReview', codeReview_owner - The owner of the repository. For an Amazon Web Services CodeCommit repository, this is the Amazon Web Services account ID of the account that owns the repository. For a GitHub, GitHub Enterprise Server, or Bitbucket repository, this is the username for the account that owns the repository. For an S3 repository, it can be the username or Amazon Web Services account ID.

$sel:name:CodeReview', codeReview_name - The name of the code review.

$sel:codeReviewArn:CodeReview', codeReview_codeReviewArn - The Amazon Resource Name (ARN) of the CodeReview object.

$sel:repositoryName:CodeReview', codeReview_repositoryName - The name of the repository.

$sel:type':CodeReview', codeReview_type - The type of code review.

$sel:sourceCodeType:CodeReview', codeReview_sourceCodeType - The type of the source code for the code review.

$sel:stateReason:CodeReview', codeReview_stateReason - The reason for the state of the code review.

$sel:createdTimeStamp:CodeReview', codeReview_createdTimeStamp - The time, in milliseconds since the epoch, when the code review was created.

$sel:analysisTypes:CodeReview', codeReview_analysisTypes - They types of analysis performed during a repository analysis or a pull request review. You can specify either Security, CodeQuality, or both.

$sel:lastUpdatedTimeStamp:CodeReview', codeReview_lastUpdatedTimeStamp - The time, in milliseconds since the epoch, when the code review was last updated.

codeReview_associationArn :: Lens' CodeReview (Maybe Text) Source #

The Amazon Resource Name (ARN) of the RepositoryAssociation that contains the reviewed source code. You can retrieve associated repository ARNs by calling ListRepositoryAssociations .

codeReview_state :: Lens' CodeReview (Maybe JobState) Source #

The valid code review states are:

  • Completed: The code review is complete.
  • Pending: The code review started and has not completed or failed.
  • Failed: The code review failed.
  • Deleting: The code review is being deleted.

codeReview_metrics :: Lens' CodeReview (Maybe Metrics) Source #

The statistics from the code review.

codeReview_pullRequestId :: Lens' CodeReview (Maybe Text) Source #

The pull request ID for the code review.

codeReview_providerType :: Lens' CodeReview (Maybe ProviderType) Source #

The type of repository that contains the reviewed code (for example, GitHub or Bitbucket).

codeReview_owner :: Lens' CodeReview (Maybe Text) Source #

The owner of the repository. For an Amazon Web Services CodeCommit repository, this is the Amazon Web Services account ID of the account that owns the repository. For a GitHub, GitHub Enterprise Server, or Bitbucket repository, this is the username for the account that owns the repository. For an S3 repository, it can be the username or Amazon Web Services account ID.

codeReview_name :: Lens' CodeReview (Maybe Text) Source #

The name of the code review.

codeReview_codeReviewArn :: Lens' CodeReview (Maybe Text) Source #

The Amazon Resource Name (ARN) of the CodeReview object.

codeReview_repositoryName :: Lens' CodeReview (Maybe Text) Source #

The name of the repository.

codeReview_type :: Lens' CodeReview (Maybe Type) Source #

The type of code review.

codeReview_sourceCodeType :: Lens' CodeReview (Maybe SourceCodeType) Source #

The type of the source code for the code review.

codeReview_stateReason :: Lens' CodeReview (Maybe Text) Source #

The reason for the state of the code review.

codeReview_createdTimeStamp :: Lens' CodeReview (Maybe UTCTime) Source #

The time, in milliseconds since the epoch, when the code review was created.

codeReview_analysisTypes :: Lens' CodeReview (Maybe [AnalysisType]) Source #

They types of analysis performed during a repository analysis or a pull request review. You can specify either Security, CodeQuality, or both.

codeReview_lastUpdatedTimeStamp :: Lens' CodeReview (Maybe UTCTime) Source #

The time, in milliseconds since the epoch, when the code review was last updated.

CodeReviewSummary

data CodeReviewSummary Source #

Information about the summary of the code review.

See: newCodeReviewSummary smart constructor.

Constructors

CodeReviewSummary' 

Fields

Instances

Instances details
Eq CodeReviewSummary Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.CodeReviewSummary

Read CodeReviewSummary Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.CodeReviewSummary

Show CodeReviewSummary Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.CodeReviewSummary

Generic CodeReviewSummary Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.CodeReviewSummary

Associated Types

type Rep CodeReviewSummary :: Type -> Type #

NFData CodeReviewSummary Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.CodeReviewSummary

Methods

rnf :: CodeReviewSummary -> () #

Hashable CodeReviewSummary Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.CodeReviewSummary

FromJSON CodeReviewSummary Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.CodeReviewSummary

type Rep CodeReviewSummary Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.CodeReviewSummary

type Rep CodeReviewSummary = D1 ('MetaData "CodeReviewSummary" "Amazonka.CodeGuruReviewer.Types.CodeReviewSummary" "libZSservicesZSamazonka-codeguru-reviewerZSamazonka-codeguru-reviewer" 'False) (C1 ('MetaCons "CodeReviewSummary'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "state") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe JobState)) :*: (S1 ('MetaSel ('Just "pullRequestId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "providerType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ProviderType)))) :*: (S1 ('MetaSel ('Just "owner") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "codeReviewArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))) :*: ((S1 ('MetaSel ('Just "repositoryName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "type'") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Type)) :*: S1 ('MetaSel ('Just "sourceCodeType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe SourceCodeType)))) :*: (S1 ('MetaSel ('Just "metricsSummary") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe MetricsSummary)) :*: (S1 ('MetaSel ('Just "createdTimeStamp") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: S1 ('MetaSel ('Just "lastUpdatedTimeStamp") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)))))))

newCodeReviewSummary :: CodeReviewSummary Source #

Create a value of CodeReviewSummary 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:state:CodeReviewSummary', codeReviewSummary_state - The state of the code review.

The valid code review states are:

  • Completed: The code review is complete.
  • Pending: The code review started and has not completed or failed.
  • Failed: The code review failed.
  • Deleting: The code review is being deleted.

$sel:pullRequestId:CodeReviewSummary', codeReviewSummary_pullRequestId - The pull request ID for the code review.

$sel:providerType:CodeReviewSummary', codeReviewSummary_providerType - The provider type of the repository association.

$sel:owner:CodeReviewSummary', codeReviewSummary_owner - The owner of the repository. For an Amazon Web Services CodeCommit repository, this is the Amazon Web Services account ID of the account that owns the repository. For a GitHub, GitHub Enterprise Server, or Bitbucket repository, this is the username for the account that owns the repository. For an S3 repository, it can be the username or Amazon Web Services account ID.

$sel:name:CodeReviewSummary', codeReviewSummary_name - The name of the code review.

$sel:codeReviewArn:CodeReviewSummary', codeReviewSummary_codeReviewArn - The Amazon Resource Name (ARN) of the CodeReview object.

$sel:repositoryName:CodeReviewSummary', codeReviewSummary_repositoryName - The name of the repository.

$sel:type':CodeReviewSummary', codeReviewSummary_type - The type of the code review.

$sel:sourceCodeType:CodeReviewSummary', codeReviewSummary_sourceCodeType - Undocumented member.

$sel:metricsSummary:CodeReviewSummary', codeReviewSummary_metricsSummary - The statistics from the code review.

$sel:createdTimeStamp:CodeReviewSummary', codeReviewSummary_createdTimeStamp - The time, in milliseconds since the epoch, when the code review was created.

$sel:lastUpdatedTimeStamp:CodeReviewSummary', codeReviewSummary_lastUpdatedTimeStamp - The time, in milliseconds since the epoch, when the code review was last updated.

codeReviewSummary_state :: Lens' CodeReviewSummary (Maybe JobState) Source #

The state of the code review.

The valid code review states are:

  • Completed: The code review is complete.
  • Pending: The code review started and has not completed or failed.
  • Failed: The code review failed.
  • Deleting: The code review is being deleted.

codeReviewSummary_pullRequestId :: Lens' CodeReviewSummary (Maybe Text) Source #

The pull request ID for the code review.

codeReviewSummary_providerType :: Lens' CodeReviewSummary (Maybe ProviderType) Source #

The provider type of the repository association.

codeReviewSummary_owner :: Lens' CodeReviewSummary (Maybe Text) Source #

The owner of the repository. For an Amazon Web Services CodeCommit repository, this is the Amazon Web Services account ID of the account that owns the repository. For a GitHub, GitHub Enterprise Server, or Bitbucket repository, this is the username for the account that owns the repository. For an S3 repository, it can be the username or Amazon Web Services account ID.

codeReviewSummary_codeReviewArn :: Lens' CodeReviewSummary (Maybe Text) Source #

The Amazon Resource Name (ARN) of the CodeReview object.

codeReviewSummary_createdTimeStamp :: Lens' CodeReviewSummary (Maybe UTCTime) Source #

The time, in milliseconds since the epoch, when the code review was created.

codeReviewSummary_lastUpdatedTimeStamp :: Lens' CodeReviewSummary (Maybe UTCTime) Source #

The time, in milliseconds since the epoch, when the code review was last updated.

CodeReviewType

data CodeReviewType Source #

The type of a code review. There are two code review types:

  • PullRequest - A code review that is automatically triggered by a pull request on an associated repository.
  • RepositoryAnalysis - A code review that analyzes all code under a specified branch in an associated repository. The associated repository is specified using its ARN in CreateCodeReview .

See: newCodeReviewType smart constructor.

Constructors

CodeReviewType' 

Fields

Instances

Instances details
Eq CodeReviewType Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.CodeReviewType

Read CodeReviewType Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.CodeReviewType

Show CodeReviewType Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.CodeReviewType

Generic CodeReviewType Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.CodeReviewType

Associated Types

type Rep CodeReviewType :: Type -> Type #

NFData CodeReviewType Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.CodeReviewType

Methods

rnf :: CodeReviewType -> () #

Hashable CodeReviewType Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.CodeReviewType

ToJSON CodeReviewType Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.CodeReviewType

type Rep CodeReviewType Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.CodeReviewType

type Rep CodeReviewType = D1 ('MetaData "CodeReviewType" "Amazonka.CodeGuruReviewer.Types.CodeReviewType" "libZSservicesZSamazonka-codeguru-reviewerZSamazonka-codeguru-reviewer" 'False) (C1 ('MetaCons "CodeReviewType'" 'PrefixI 'True) (S1 ('MetaSel ('Just "analysisTypes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [AnalysisType])) :*: S1 ('MetaSel ('Just "repositoryAnalysis") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 RepositoryAnalysis)))

newCodeReviewType Source #

Create a value of CodeReviewType 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:analysisTypes:CodeReviewType', codeReviewType_analysisTypes - They types of analysis performed during a repository analysis or a pull request review. You can specify either Security, CodeQuality, or both.

$sel:repositoryAnalysis:CodeReviewType', codeReviewType_repositoryAnalysis - A code review that analyzes all code under a specified branch in an associated repository. The associated repository is specified using its ARN in CreateCodeReview .

codeReviewType_analysisTypes :: Lens' CodeReviewType (Maybe [AnalysisType]) Source #

They types of analysis performed during a repository analysis or a pull request review. You can specify either Security, CodeQuality, or both.

codeReviewType_repositoryAnalysis :: Lens' CodeReviewType RepositoryAnalysis Source #

A code review that analyzes all code under a specified branch in an associated repository. The associated repository is specified using its ARN in CreateCodeReview .

CommitDiffSourceCodeType

data CommitDiffSourceCodeType Source #

A type of SourceCodeType that specifies the commit diff for a pull request on an associated repository. The SourceCommit and DestinationCommit fields are required to do a pull request code review.

See: newCommitDiffSourceCodeType smart constructor.

Constructors

CommitDiffSourceCodeType' 

Fields

  • sourceCommit :: Maybe Text

    The SHA of the source commit used to generate a commit diff. This field is required for a pull request code review.

  • mergeBaseCommit :: Maybe Text

    The SHA of the merge base of a commit.

  • destinationCommit :: Maybe Text

    The SHA of the destination commit used to generate a commit diff. This field is required for a pull request code review.

Instances

Instances details
Eq CommitDiffSourceCodeType Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.CommitDiffSourceCodeType

Read CommitDiffSourceCodeType Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.CommitDiffSourceCodeType

Show CommitDiffSourceCodeType Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.CommitDiffSourceCodeType

Generic CommitDiffSourceCodeType Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.CommitDiffSourceCodeType

Associated Types

type Rep CommitDiffSourceCodeType :: Type -> Type #

NFData CommitDiffSourceCodeType Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.CommitDiffSourceCodeType

Hashable CommitDiffSourceCodeType Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.CommitDiffSourceCodeType

ToJSON CommitDiffSourceCodeType Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.CommitDiffSourceCodeType

FromJSON CommitDiffSourceCodeType Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.CommitDiffSourceCodeType

type Rep CommitDiffSourceCodeType Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.CommitDiffSourceCodeType

type Rep CommitDiffSourceCodeType = D1 ('MetaData "CommitDiffSourceCodeType" "Amazonka.CodeGuruReviewer.Types.CommitDiffSourceCodeType" "libZSservicesZSamazonka-codeguru-reviewerZSamazonka-codeguru-reviewer" 'False) (C1 ('MetaCons "CommitDiffSourceCodeType'" 'PrefixI 'True) (S1 ('MetaSel ('Just "sourceCommit") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "mergeBaseCommit") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "destinationCommit") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))

newCommitDiffSourceCodeType :: CommitDiffSourceCodeType Source #

Create a value of CommitDiffSourceCodeType 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:sourceCommit:CommitDiffSourceCodeType', commitDiffSourceCodeType_sourceCommit - The SHA of the source commit used to generate a commit diff. This field is required for a pull request code review.

$sel:mergeBaseCommit:CommitDiffSourceCodeType', commitDiffSourceCodeType_mergeBaseCommit - The SHA of the merge base of a commit.

$sel:destinationCommit:CommitDiffSourceCodeType', commitDiffSourceCodeType_destinationCommit - The SHA of the destination commit used to generate a commit diff. This field is required for a pull request code review.

commitDiffSourceCodeType_sourceCommit :: Lens' CommitDiffSourceCodeType (Maybe Text) Source #

The SHA of the source commit used to generate a commit diff. This field is required for a pull request code review.

commitDiffSourceCodeType_destinationCommit :: Lens' CommitDiffSourceCodeType (Maybe Text) Source #

The SHA of the destination commit used to generate a commit diff. This field is required for a pull request code review.

EventInfo

data EventInfo Source #

Information about an event. The event might be a push, pull request, scheduled request, or another type of event.

See: newEventInfo smart constructor.

Constructors

EventInfo' 

Fields

  • state :: Maybe Text

    The state of an event. The state might be open, closed, or another state.

  • name :: Maybe Text

    The name of the event. The possible names are pull_request, workflow_dispatch, schedule, and push

Instances

Instances details
Eq EventInfo Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.EventInfo

Read EventInfo Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.EventInfo

Show EventInfo Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.EventInfo

Generic EventInfo Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.EventInfo

Associated Types

type Rep EventInfo :: Type -> Type #

NFData EventInfo Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.EventInfo

Methods

rnf :: EventInfo -> () #

Hashable EventInfo Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.EventInfo

ToJSON EventInfo Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.EventInfo

FromJSON EventInfo Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.EventInfo

type Rep EventInfo Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.EventInfo

type Rep EventInfo = D1 ('MetaData "EventInfo" "Amazonka.CodeGuruReviewer.Types.EventInfo" "libZSservicesZSamazonka-codeguru-reviewerZSamazonka-codeguru-reviewer" 'False) (C1 ('MetaCons "EventInfo'" 'PrefixI 'True) (S1 ('MetaSel ('Just "state") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))

newEventInfo :: EventInfo Source #

Create a value of EventInfo 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:state:EventInfo', eventInfo_state - The state of an event. The state might be open, closed, or another state.

$sel:name:EventInfo', eventInfo_name - The name of the event. The possible names are pull_request, workflow_dispatch, schedule, and push

eventInfo_state :: Lens' EventInfo (Maybe Text) Source #

The state of an event. The state might be open, closed, or another state.

eventInfo_name :: Lens' EventInfo (Maybe Text) Source #

The name of the event. The possible names are pull_request, workflow_dispatch, schedule, and push

KMSKeyDetails

data KMSKeyDetails Source #

An object that contains:

  • The encryption option for a repository association. It is either owned by Amazon Web Services Key Management Service (KMS) (AWS_OWNED_CMK) or customer managed (CUSTOMER_MANAGED_CMK).
  • The ID of the Amazon Web Services KMS key that is associated with a respository association.

See: newKMSKeyDetails smart constructor.

Constructors

KMSKeyDetails' 

Fields

  • encryptionOption :: Maybe EncryptionOption

    The encryption option for a repository association. It is either owned by Amazon Web Services Key Management Service (KMS) (AWS_OWNED_CMK) or customer managed (CUSTOMER_MANAGED_CMK).

  • kmsKeyId :: Maybe Text

    The ID of the Amazon Web Services KMS key that is associated with a respository association.

Instances

Instances details
Eq KMSKeyDetails Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.KMSKeyDetails

Read KMSKeyDetails Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.KMSKeyDetails

Show KMSKeyDetails Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.KMSKeyDetails

Generic KMSKeyDetails Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.KMSKeyDetails

Associated Types

type Rep KMSKeyDetails :: Type -> Type #

NFData KMSKeyDetails Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.KMSKeyDetails

Methods

rnf :: KMSKeyDetails -> () #

Hashable KMSKeyDetails Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.KMSKeyDetails

ToJSON KMSKeyDetails Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.KMSKeyDetails

FromJSON KMSKeyDetails Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.KMSKeyDetails

type Rep KMSKeyDetails Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.KMSKeyDetails

type Rep KMSKeyDetails = D1 ('MetaData "KMSKeyDetails" "Amazonka.CodeGuruReviewer.Types.KMSKeyDetails" "libZSservicesZSamazonka-codeguru-reviewerZSamazonka-codeguru-reviewer" 'False) (C1 ('MetaCons "KMSKeyDetails'" 'PrefixI 'True) (S1 ('MetaSel ('Just "encryptionOption") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe EncryptionOption)) :*: S1 ('MetaSel ('Just "kmsKeyId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))

newKMSKeyDetails :: KMSKeyDetails Source #

Create a value of KMSKeyDetails 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:encryptionOption:KMSKeyDetails', kmsKeyDetails_encryptionOption - The encryption option for a repository association. It is either owned by Amazon Web Services Key Management Service (KMS) (AWS_OWNED_CMK) or customer managed (CUSTOMER_MANAGED_CMK).

$sel:kmsKeyId:KMSKeyDetails', kmsKeyDetails_kmsKeyId - The ID of the Amazon Web Services KMS key that is associated with a respository association.

kmsKeyDetails_encryptionOption :: Lens' KMSKeyDetails (Maybe EncryptionOption) Source #

The encryption option for a repository association. It is either owned by Amazon Web Services Key Management Service (KMS) (AWS_OWNED_CMK) or customer managed (CUSTOMER_MANAGED_CMK).

kmsKeyDetails_kmsKeyId :: Lens' KMSKeyDetails (Maybe Text) Source #

The ID of the Amazon Web Services KMS key that is associated with a respository association.

Metrics

data Metrics Source #

Information about the statistics from the code review.

See: newMetrics smart constructor.

Constructors

Metrics' 

Fields

Instances

Instances details
Eq Metrics Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.Metrics

Methods

(==) :: Metrics -> Metrics -> Bool #

(/=) :: Metrics -> Metrics -> Bool #

Read Metrics Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.Metrics

Show Metrics Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.Metrics

Generic Metrics Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.Metrics

Associated Types

type Rep Metrics :: Type -> Type #

Methods

from :: Metrics -> Rep Metrics x #

to :: Rep Metrics x -> Metrics #

NFData Metrics Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.Metrics

Methods

rnf :: Metrics -> () #

Hashable Metrics Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.Metrics

Methods

hashWithSalt :: Int -> Metrics -> Int #

hash :: Metrics -> Int #

FromJSON Metrics Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.Metrics

type Rep Metrics Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.Metrics

type Rep Metrics = D1 ('MetaData "Metrics" "Amazonka.CodeGuruReviewer.Types.Metrics" "libZSservicesZSamazonka-codeguru-reviewerZSamazonka-codeguru-reviewer" 'False) (C1 ('MetaCons "Metrics'" 'PrefixI 'True) (S1 ('MetaSel ('Just "findingsCount") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Integer)) :*: S1 ('MetaSel ('Just "meteredLinesOfCodeCount") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Integer))))

newMetrics :: Metrics Source #

Create a value of Metrics 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:findingsCount:Metrics', metrics_findingsCount - Total number of recommendations found in the code review.

$sel:meteredLinesOfCodeCount:Metrics', metrics_meteredLinesOfCodeCount - MeteredLinesOfCode is the number of lines of code in the repository where the code review happened. This does not include non-code lines such as comments and blank lines.

metrics_findingsCount :: Lens' Metrics (Maybe Integer) Source #

Total number of recommendations found in the code review.

metrics_meteredLinesOfCodeCount :: Lens' Metrics (Maybe Integer) Source #

MeteredLinesOfCode is the number of lines of code in the repository where the code review happened. This does not include non-code lines such as comments and blank lines.

MetricsSummary

data MetricsSummary Source #

Information about metrics summaries.

See: newMetricsSummary smart constructor.

Constructors

MetricsSummary' 

Fields

  • findingsCount :: Maybe Integer

    Total number of recommendations found in the code review.

  • meteredLinesOfCodeCount :: Maybe Integer

    Lines of code metered in the code review. For the initial code review pull request and all subsequent revisions, this includes all lines of code in the files added to the pull request. In subsequent revisions, for files that already existed in the pull request, this includes only the changed lines of code. In both cases, this does not include non-code lines such as comments and import statements. For example, if you submit a pull request containing 5 files, each with 500 lines of code, and in a subsequent revision you added a new file with 200 lines of code, and also modified a total of 25 lines across the initial 5 files, MeteredLinesOfCodeCount includes the first 5 files (5 * 500 = 2,500 lines), the new file (200 lines) and the 25 changed lines of code for a total of 2,725 lines of code.

Instances

Instances details
Eq MetricsSummary Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.MetricsSummary

Read MetricsSummary Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.MetricsSummary

Show MetricsSummary Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.MetricsSummary

Generic MetricsSummary Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.MetricsSummary

Associated Types

type Rep MetricsSummary :: Type -> Type #

NFData MetricsSummary Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.MetricsSummary

Methods

rnf :: MetricsSummary -> () #

Hashable MetricsSummary Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.MetricsSummary

FromJSON MetricsSummary Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.MetricsSummary

type Rep MetricsSummary Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.MetricsSummary

type Rep MetricsSummary = D1 ('MetaData "MetricsSummary" "Amazonka.CodeGuruReviewer.Types.MetricsSummary" "libZSservicesZSamazonka-codeguru-reviewerZSamazonka-codeguru-reviewer" 'False) (C1 ('MetaCons "MetricsSummary'" 'PrefixI 'True) (S1 ('MetaSel ('Just "findingsCount") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Integer)) :*: S1 ('MetaSel ('Just "meteredLinesOfCodeCount") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Integer))))

newMetricsSummary :: MetricsSummary Source #

Create a value of MetricsSummary 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:findingsCount:MetricsSummary', metricsSummary_findingsCount - Total number of recommendations found in the code review.

$sel:meteredLinesOfCodeCount:MetricsSummary', metricsSummary_meteredLinesOfCodeCount - Lines of code metered in the code review. For the initial code review pull request and all subsequent revisions, this includes all lines of code in the files added to the pull request. In subsequent revisions, for files that already existed in the pull request, this includes only the changed lines of code. In both cases, this does not include non-code lines such as comments and import statements. For example, if you submit a pull request containing 5 files, each with 500 lines of code, and in a subsequent revision you added a new file with 200 lines of code, and also modified a total of 25 lines across the initial 5 files, MeteredLinesOfCodeCount includes the first 5 files (5 * 500 = 2,500 lines), the new file (200 lines) and the 25 changed lines of code for a total of 2,725 lines of code.

metricsSummary_findingsCount :: Lens' MetricsSummary (Maybe Integer) Source #

Total number of recommendations found in the code review.

metricsSummary_meteredLinesOfCodeCount :: Lens' MetricsSummary (Maybe Integer) Source #

Lines of code metered in the code review. For the initial code review pull request and all subsequent revisions, this includes all lines of code in the files added to the pull request. In subsequent revisions, for files that already existed in the pull request, this includes only the changed lines of code. In both cases, this does not include non-code lines such as comments and import statements. For example, if you submit a pull request containing 5 files, each with 500 lines of code, and in a subsequent revision you added a new file with 200 lines of code, and also modified a total of 25 lines across the initial 5 files, MeteredLinesOfCodeCount includes the first 5 files (5 * 500 = 2,500 lines), the new file (200 lines) and the 25 changed lines of code for a total of 2,725 lines of code.

RecommendationFeedback

data RecommendationFeedback Source #

Information about the recommendation feedback.

See: newRecommendationFeedback smart constructor.

Constructors

RecommendationFeedback' 

Fields

Instances

Instances details
Eq RecommendationFeedback Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.RecommendationFeedback

Read RecommendationFeedback Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.RecommendationFeedback

Show RecommendationFeedback Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.RecommendationFeedback

Generic RecommendationFeedback Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.RecommendationFeedback

Associated Types

type Rep RecommendationFeedback :: Type -> Type #

NFData RecommendationFeedback Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.RecommendationFeedback

Methods

rnf :: RecommendationFeedback -> () #

Hashable RecommendationFeedback Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.RecommendationFeedback

FromJSON RecommendationFeedback Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.RecommendationFeedback

type Rep RecommendationFeedback Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.RecommendationFeedback

type Rep RecommendationFeedback = D1 ('MetaData "RecommendationFeedback" "Amazonka.CodeGuruReviewer.Types.RecommendationFeedback" "libZSservicesZSamazonka-codeguru-reviewerZSamazonka-codeguru-reviewer" 'False) (C1 ('MetaCons "RecommendationFeedback'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "recommendationId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "userId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "reactions") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Reaction])))) :*: (S1 ('MetaSel ('Just "codeReviewArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "createdTimeStamp") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: S1 ('MetaSel ('Just "lastUpdatedTimeStamp") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX))))))

newRecommendationFeedback :: RecommendationFeedback Source #

Create a value of RecommendationFeedback 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:recommendationId:RecommendationFeedback', recommendationFeedback_recommendationId - The recommendation ID that can be used to track the provided recommendations. Later on it can be used to collect the feedback.

$sel:userId:RecommendationFeedback', recommendationFeedback_userId - The ID of the user that made the API call.

The UserId is an IAM principal that can be specified as an Amazon Web Services account ID or an Amazon Resource Name (ARN). For more information, see Specifying a Principal in the Amazon Web Services Identity and Access Management User Guide.

$sel:reactions:RecommendationFeedback', recommendationFeedback_reactions - List for storing reactions. Reactions are utf-8 text code for emojis. You can send an empty list to clear off all your feedback.

$sel:codeReviewArn:RecommendationFeedback', recommendationFeedback_codeReviewArn - The Amazon Resource Name (ARN) of the CodeReview object.

$sel:createdTimeStamp:RecommendationFeedback', recommendationFeedback_createdTimeStamp - The time at which the feedback was created.

$sel:lastUpdatedTimeStamp:RecommendationFeedback', recommendationFeedback_lastUpdatedTimeStamp - The time at which the feedback was last updated.

recommendationFeedback_recommendationId :: Lens' RecommendationFeedback (Maybe Text) Source #

The recommendation ID that can be used to track the provided recommendations. Later on it can be used to collect the feedback.

recommendationFeedback_userId :: Lens' RecommendationFeedback (Maybe Text) Source #

The ID of the user that made the API call.

The UserId is an IAM principal that can be specified as an Amazon Web Services account ID or an Amazon Resource Name (ARN). For more information, see Specifying a Principal in the Amazon Web Services Identity and Access Management User Guide.

recommendationFeedback_reactions :: Lens' RecommendationFeedback (Maybe [Reaction]) Source #

List for storing reactions. Reactions are utf-8 text code for emojis. You can send an empty list to clear off all your feedback.

RecommendationFeedbackSummary

data RecommendationFeedbackSummary Source #

Information about recommendation feedback summaries.

See: newRecommendationFeedbackSummary smart constructor.

Constructors

RecommendationFeedbackSummary' 

Fields

  • recommendationId :: Maybe Text

    The recommendation ID that can be used to track the provided recommendations. Later on it can be used to collect the feedback.

  • userId :: Maybe Text

    The ID of the user that gave the feedback.

    The UserId is an IAM principal that can be specified as an Amazon Web Services account ID or an Amazon Resource Name (ARN). For more information, see Specifying a Principal in the Amazon Web Services Identity and Access Management User Guide.

  • reactions :: Maybe [Reaction]

    List for storing reactions. Reactions are utf-8 text code for emojis.

Instances

Instances details
Eq RecommendationFeedbackSummary Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.RecommendationFeedbackSummary

Read RecommendationFeedbackSummary Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.RecommendationFeedbackSummary

Show RecommendationFeedbackSummary Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.RecommendationFeedbackSummary

Generic RecommendationFeedbackSummary Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.RecommendationFeedbackSummary

Associated Types

type Rep RecommendationFeedbackSummary :: Type -> Type #

NFData RecommendationFeedbackSummary Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.RecommendationFeedbackSummary

Hashable RecommendationFeedbackSummary Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.RecommendationFeedbackSummary

FromJSON RecommendationFeedbackSummary Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.RecommendationFeedbackSummary

type Rep RecommendationFeedbackSummary Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.RecommendationFeedbackSummary

type Rep RecommendationFeedbackSummary = D1 ('MetaData "RecommendationFeedbackSummary" "Amazonka.CodeGuruReviewer.Types.RecommendationFeedbackSummary" "libZSservicesZSamazonka-codeguru-reviewerZSamazonka-codeguru-reviewer" 'False) (C1 ('MetaCons "RecommendationFeedbackSummary'" 'PrefixI 'True) (S1 ('MetaSel ('Just "recommendationId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "userId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "reactions") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Reaction])))))

newRecommendationFeedbackSummary :: RecommendationFeedbackSummary Source #

Create a value of RecommendationFeedbackSummary 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:recommendationId:RecommendationFeedbackSummary', recommendationFeedbackSummary_recommendationId - The recommendation ID that can be used to track the provided recommendations. Later on it can be used to collect the feedback.

$sel:userId:RecommendationFeedbackSummary', recommendationFeedbackSummary_userId - The ID of the user that gave the feedback.

The UserId is an IAM principal that can be specified as an Amazon Web Services account ID or an Amazon Resource Name (ARN). For more information, see Specifying a Principal in the Amazon Web Services Identity and Access Management User Guide.

$sel:reactions:RecommendationFeedbackSummary', recommendationFeedbackSummary_reactions - List for storing reactions. Reactions are utf-8 text code for emojis.

recommendationFeedbackSummary_recommendationId :: Lens' RecommendationFeedbackSummary (Maybe Text) Source #

The recommendation ID that can be used to track the provided recommendations. Later on it can be used to collect the feedback.

recommendationFeedbackSummary_userId :: Lens' RecommendationFeedbackSummary (Maybe Text) Source #

The ID of the user that gave the feedback.

The UserId is an IAM principal that can be specified as an Amazon Web Services account ID or an Amazon Resource Name (ARN). For more information, see Specifying a Principal in the Amazon Web Services Identity and Access Management User Guide.

recommendationFeedbackSummary_reactions :: Lens' RecommendationFeedbackSummary (Maybe [Reaction]) Source #

List for storing reactions. Reactions are utf-8 text code for emojis.

RecommendationSummary

data RecommendationSummary Source #

Information about recommendations.

See: newRecommendationSummary smart constructor.

Constructors

RecommendationSummary' 

Fields

  • recommendationId :: Maybe Text

    The recommendation ID that can be used to track the provided recommendations. Later on it can be used to collect the feedback.

  • filePath :: Maybe Text

    Name of the file on which a recommendation is provided.

  • severity :: Maybe Severity

    The severity of the issue in the code that generated this recommendation.

  • ruleMetadata :: Maybe RuleMetadata

    Metadata about a rule. Rule metadata includes an ID, a name, a list of tags, and a short and long description. CodeGuru Reviewer uses rules to analyze code. A rule's recommendation is included in analysis results if code is detected that violates the rule.

  • startLine :: Maybe Int

    Start line from where the recommendation is applicable in the source commit or source branch.

  • endLine :: Maybe Int

    Last line where the recommendation is applicable in the source commit or source branch. For a single line comment the start line and end line values are the same.

  • description :: Maybe Text

    A description of the recommendation generated by CodeGuru Reviewer for the lines of code between the start line and the end line.

  • recommendationCategory :: Maybe RecommendationCategory

    The type of a recommendation.

Instances

Instances details
Eq RecommendationSummary Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.RecommendationSummary

Read RecommendationSummary Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.RecommendationSummary

Show RecommendationSummary Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.RecommendationSummary

Generic RecommendationSummary Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.RecommendationSummary

Associated Types

type Rep RecommendationSummary :: Type -> Type #

NFData RecommendationSummary Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.RecommendationSummary

Methods

rnf :: RecommendationSummary -> () #

Hashable RecommendationSummary Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.RecommendationSummary

FromJSON RecommendationSummary Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.RecommendationSummary

type Rep RecommendationSummary Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.RecommendationSummary

type Rep RecommendationSummary = D1 ('MetaData "RecommendationSummary" "Amazonka.CodeGuruReviewer.Types.RecommendationSummary" "libZSservicesZSamazonka-codeguru-reviewerZSamazonka-codeguru-reviewer" 'False) (C1 ('MetaCons "RecommendationSummary'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "recommendationId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "filePath") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "severity") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Severity)) :*: S1 ('MetaSel ('Just "ruleMetadata") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe RuleMetadata)))) :*: ((S1 ('MetaSel ('Just "startLine") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: S1 ('MetaSel ('Just "endLine") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int))) :*: (S1 ('MetaSel ('Just "description") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "recommendationCategory") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe RecommendationCategory))))))

newRecommendationSummary :: RecommendationSummary Source #

Create a value of RecommendationSummary 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:recommendationId:RecommendationSummary', recommendationSummary_recommendationId - The recommendation ID that can be used to track the provided recommendations. Later on it can be used to collect the feedback.

$sel:filePath:RecommendationSummary', recommendationSummary_filePath - Name of the file on which a recommendation is provided.

$sel:severity:RecommendationSummary', recommendationSummary_severity - The severity of the issue in the code that generated this recommendation.

$sel:ruleMetadata:RecommendationSummary', recommendationSummary_ruleMetadata - Metadata about a rule. Rule metadata includes an ID, a name, a list of tags, and a short and long description. CodeGuru Reviewer uses rules to analyze code. A rule's recommendation is included in analysis results if code is detected that violates the rule.

$sel:startLine:RecommendationSummary', recommendationSummary_startLine - Start line from where the recommendation is applicable in the source commit or source branch.

$sel:endLine:RecommendationSummary', recommendationSummary_endLine - Last line where the recommendation is applicable in the source commit or source branch. For a single line comment the start line and end line values are the same.

$sel:description:RecommendationSummary', recommendationSummary_description - A description of the recommendation generated by CodeGuru Reviewer for the lines of code between the start line and the end line.

$sel:recommendationCategory:RecommendationSummary', recommendationSummary_recommendationCategory - The type of a recommendation.

recommendationSummary_recommendationId :: Lens' RecommendationSummary (Maybe Text) Source #

The recommendation ID that can be used to track the provided recommendations. Later on it can be used to collect the feedback.

recommendationSummary_filePath :: Lens' RecommendationSummary (Maybe Text) Source #

Name of the file on which a recommendation is provided.

recommendationSummary_severity :: Lens' RecommendationSummary (Maybe Severity) Source #

The severity of the issue in the code that generated this recommendation.

recommendationSummary_ruleMetadata :: Lens' RecommendationSummary (Maybe RuleMetadata) Source #

Metadata about a rule. Rule metadata includes an ID, a name, a list of tags, and a short and long description. CodeGuru Reviewer uses rules to analyze code. A rule's recommendation is included in analysis results if code is detected that violates the rule.

recommendationSummary_startLine :: Lens' RecommendationSummary (Maybe Int) Source #

Start line from where the recommendation is applicable in the source commit or source branch.

recommendationSummary_endLine :: Lens' RecommendationSummary (Maybe Int) Source #

Last line where the recommendation is applicable in the source commit or source branch. For a single line comment the start line and end line values are the same.

recommendationSummary_description :: Lens' RecommendationSummary (Maybe Text) Source #

A description of the recommendation generated by CodeGuru Reviewer for the lines of code between the start line and the end line.

Repository

data Repository Source #

Information about an associated Amazon Web Services CodeCommit repository or an associated repository that is managed by Amazon Web Services CodeStar Connections (for example, Bitbucket). This Repository object is not used if your source code is in an associated GitHub repository.

See: newRepository smart constructor.

Constructors

Repository' 

Fields

Instances

Instances details
Eq Repository Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.Repository

Read Repository Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.Repository

Show Repository Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.Repository

Generic Repository Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.Repository

Associated Types

type Rep Repository :: Type -> Type #

NFData Repository Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.Repository

Methods

rnf :: Repository -> () #

Hashable Repository Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.Repository

ToJSON Repository Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.Repository

type Rep Repository Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.Repository

type Rep Repository = D1 ('MetaData "Repository" "Amazonka.CodeGuruReviewer.Types.Repository" "libZSservicesZSamazonka-codeguru-reviewerZSamazonka-codeguru-reviewer" 'False) (C1 ('MetaCons "Repository'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "codeCommit") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe CodeCommitRepository)) :*: S1 ('MetaSel ('Just "gitHubEnterpriseServer") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ThirdPartySourceRepository))) :*: (S1 ('MetaSel ('Just "s3Bucket") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe S3Repository)) :*: S1 ('MetaSel ('Just "bitbucket") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ThirdPartySourceRepository)))))

newRepository :: Repository Source #

Create a value of Repository 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:codeCommit:Repository', repository_codeCommit - Information about an Amazon Web Services CodeCommit repository.

$sel:gitHubEnterpriseServer:Repository', repository_gitHubEnterpriseServer - Information about a GitHub Enterprise Server repository.

$sel:s3Bucket:Repository', repository_s3Bucket - Undocumented member.

$sel:bitbucket:Repository', repository_bitbucket - Information about a Bitbucket repository.

repository_codeCommit :: Lens' Repository (Maybe CodeCommitRepository) Source #

Information about an Amazon Web Services CodeCommit repository.

repository_gitHubEnterpriseServer :: Lens' Repository (Maybe ThirdPartySourceRepository) Source #

Information about a GitHub Enterprise Server repository.

repository_bitbucket :: Lens' Repository (Maybe ThirdPartySourceRepository) Source #

Information about a Bitbucket repository.

RepositoryAnalysis

data RepositoryAnalysis Source #

A code review type that analyzes all code under a specified branch in an associated repository. The associated repository is specified using its ARN when you call CreateCodeReview .

See: newRepositoryAnalysis smart constructor.

Constructors

RepositoryAnalysis' 

Fields

Instances

Instances details
Eq RepositoryAnalysis Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.RepositoryAnalysis

Read RepositoryAnalysis Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.RepositoryAnalysis

Show RepositoryAnalysis Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.RepositoryAnalysis

Generic RepositoryAnalysis Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.RepositoryAnalysis

Associated Types

type Rep RepositoryAnalysis :: Type -> Type #

NFData RepositoryAnalysis Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.RepositoryAnalysis

Methods

rnf :: RepositoryAnalysis -> () #

Hashable RepositoryAnalysis Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.RepositoryAnalysis

ToJSON RepositoryAnalysis Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.RepositoryAnalysis

type Rep RepositoryAnalysis Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.RepositoryAnalysis

type Rep RepositoryAnalysis = D1 ('MetaData "RepositoryAnalysis" "Amazonka.CodeGuruReviewer.Types.RepositoryAnalysis" "libZSservicesZSamazonka-codeguru-reviewerZSamazonka-codeguru-reviewer" 'False) (C1 ('MetaCons "RepositoryAnalysis'" 'PrefixI 'True) (S1 ('MetaSel ('Just "repositoryHead") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe RepositoryHeadSourceCodeType)) :*: S1 ('MetaSel ('Just "sourceCodeType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe SourceCodeType))))

newRepositoryAnalysis :: RepositoryAnalysis Source #

Create a value of RepositoryAnalysis 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:repositoryHead:RepositoryAnalysis', repositoryAnalysis_repositoryHead - A SourceCodeType that specifies the tip of a branch in an associated repository.

$sel:sourceCodeType:RepositoryAnalysis', repositoryAnalysis_sourceCodeType - Undocumented member.

repositoryAnalysis_repositoryHead :: Lens' RepositoryAnalysis (Maybe RepositoryHeadSourceCodeType) Source #

A SourceCodeType that specifies the tip of a branch in an associated repository.

RepositoryAssociation

data RepositoryAssociation Source #

Information about a repository association. The DescribeRepositoryAssociation operation returns a RepositoryAssociation object.

See: newRepositoryAssociation smart constructor.

Constructors

RepositoryAssociation' 

Fields

  • associationArn :: Maybe Text

    The Amazon Resource Name (ARN) identifying the repository association.

  • associationId :: Maybe Text

    The ID of the repository association.

  • state :: Maybe RepositoryAssociationState

    The state of the repository association.

    The valid repository association states are:

    • Associated: The repository association is complete.
    • Associating: CodeGuru Reviewer is:

      • Setting up pull request notifications. This is required for pull requests to trigger a CodeGuru Reviewer review.

        If your repository ProviderType is GitHub, GitHub Enterprise Server, or Bitbucket, CodeGuru Reviewer creates webhooks in your repository to trigger CodeGuru Reviewer reviews. If you delete these webhooks, reviews of code in your repository cannot be triggered.

      • Setting up source code access. This is required for CodeGuru Reviewer to securely clone code in your repository.
    • Failed: The repository failed to associate or disassociate.
    • Disassociating: CodeGuru Reviewer is removing the repository's pull request notifications and source code access.
    • Disassociated: CodeGuru Reviewer successfully disassociated the repository. You can create a new association with this repository if you want to review source code in it later. You can control access to code reviews created in an associated repository with tags after it has been disassociated. For more information, see Using tags to control access to associated repositories in the Amazon CodeGuru Reviewer User Guide.
  • s3RepositoryDetails :: Maybe S3RepositoryDetails
     
  • providerType :: Maybe ProviderType

    The provider type of the repository association.

  • owner :: Maybe Text

    The owner of the repository. For an Amazon Web Services CodeCommit repository, this is the Amazon Web Services account ID of the account that owns the repository. For a GitHub, GitHub Enterprise Server, or Bitbucket repository, this is the username for the account that owns the repository. For an S3 repository, it can be the username or Amazon Web Services account ID.

  • name :: Maybe Text

    The name of the repository.

  • kmsKeyDetails :: Maybe KMSKeyDetails

    A KMSKeyDetails object that contains:

    • The encryption option for this repository association. It is either owned by Amazon Web Services Key Management Service (KMS) (AWS_OWNED_CMK) or customer managed (CUSTOMER_MANAGED_CMK).
    • The ID of the Amazon Web Services KMS key that is associated with this respository association.
  • connectionArn :: Maybe Text

    The Amazon Resource Name (ARN) of an Amazon Web Services CodeStar Connections connection. Its format is arn:aws:codestar-connections:region-id:aws-account_id:connection/connection-id. For more information, see Connection in the Amazon Web Services CodeStar Connections API Reference.

  • stateReason :: Maybe Text

    A description of why the repository association is in the current state.

  • createdTimeStamp :: Maybe POSIX

    The time, in milliseconds since the epoch, when the repository association was created.

  • lastUpdatedTimeStamp :: Maybe POSIX

    The time, in milliseconds since the epoch, when the repository association was last updated.

Instances

Instances details
Eq RepositoryAssociation Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.RepositoryAssociation

Read RepositoryAssociation Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.RepositoryAssociation

Show RepositoryAssociation Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.RepositoryAssociation

Generic RepositoryAssociation Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.RepositoryAssociation

Associated Types

type Rep RepositoryAssociation :: Type -> Type #

NFData RepositoryAssociation Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.RepositoryAssociation

Methods

rnf :: RepositoryAssociation -> () #

Hashable RepositoryAssociation Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.RepositoryAssociation

FromJSON RepositoryAssociation Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.RepositoryAssociation

type Rep RepositoryAssociation Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.RepositoryAssociation

type Rep RepositoryAssociation = D1 ('MetaData "RepositoryAssociation" "Amazonka.CodeGuruReviewer.Types.RepositoryAssociation" "libZSservicesZSamazonka-codeguru-reviewerZSamazonka-codeguru-reviewer" 'False) (C1 ('MetaCons "RepositoryAssociation'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "associationArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "associationId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "state") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe RepositoryAssociationState)))) :*: (S1 ('MetaSel ('Just "s3RepositoryDetails") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe S3RepositoryDetails)) :*: (S1 ('MetaSel ('Just "providerType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ProviderType)) :*: S1 ('MetaSel ('Just "owner") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))) :*: ((S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "kmsKeyDetails") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe KMSKeyDetails)) :*: S1 ('MetaSel ('Just "connectionArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 ('MetaSel ('Just "stateReason") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "createdTimeStamp") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: S1 ('MetaSel ('Just "lastUpdatedTimeStamp") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)))))))

newRepositoryAssociation :: RepositoryAssociation Source #

Create a value of RepositoryAssociation 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:associationArn:RepositoryAssociation', repositoryAssociation_associationArn - The Amazon Resource Name (ARN) identifying the repository association.

$sel:associationId:RepositoryAssociation', repositoryAssociation_associationId - The ID of the repository association.

$sel:state:RepositoryAssociation', repositoryAssociation_state - The state of the repository association.

The valid repository association states are:

  • Associated: The repository association is complete.
  • Associating: CodeGuru Reviewer is:

    • Setting up pull request notifications. This is required for pull requests to trigger a CodeGuru Reviewer review.

      If your repository ProviderType is GitHub, GitHub Enterprise Server, or Bitbucket, CodeGuru Reviewer creates webhooks in your repository to trigger CodeGuru Reviewer reviews. If you delete these webhooks, reviews of code in your repository cannot be triggered.

    • Setting up source code access. This is required for CodeGuru Reviewer to securely clone code in your repository.
  • Failed: The repository failed to associate or disassociate.
  • Disassociating: CodeGuru Reviewer is removing the repository's pull request notifications and source code access.
  • Disassociated: CodeGuru Reviewer successfully disassociated the repository. You can create a new association with this repository if you want to review source code in it later. You can control access to code reviews created in an associated repository with tags after it has been disassociated. For more information, see Using tags to control access to associated repositories in the Amazon CodeGuru Reviewer User Guide.

$sel:s3RepositoryDetails:RepositoryAssociation', repositoryAssociation_s3RepositoryDetails - Undocumented member.

$sel:providerType:RepositoryAssociation', repositoryAssociation_providerType - The provider type of the repository association.

$sel:owner:RepositoryAssociation', repositoryAssociation_owner - The owner of the repository. For an Amazon Web Services CodeCommit repository, this is the Amazon Web Services account ID of the account that owns the repository. For a GitHub, GitHub Enterprise Server, or Bitbucket repository, this is the username for the account that owns the repository. For an S3 repository, it can be the username or Amazon Web Services account ID.

$sel:name:RepositoryAssociation', repositoryAssociation_name - The name of the repository.

$sel:kmsKeyDetails:RepositoryAssociation', repositoryAssociation_kmsKeyDetails - A KMSKeyDetails object that contains:

  • The encryption option for this repository association. It is either owned by Amazon Web Services Key Management Service (KMS) (AWS_OWNED_CMK) or customer managed (CUSTOMER_MANAGED_CMK).
  • The ID of the Amazon Web Services KMS key that is associated with this respository association.

$sel:connectionArn:RepositoryAssociation', repositoryAssociation_connectionArn - The Amazon Resource Name (ARN) of an Amazon Web Services CodeStar Connections connection. Its format is arn:aws:codestar-connections:region-id:aws-account_id:connection/connection-id. For more information, see Connection in the Amazon Web Services CodeStar Connections API Reference.

$sel:stateReason:RepositoryAssociation', repositoryAssociation_stateReason - A description of why the repository association is in the current state.

$sel:createdTimeStamp:RepositoryAssociation', repositoryAssociation_createdTimeStamp - The time, in milliseconds since the epoch, when the repository association was created.

$sel:lastUpdatedTimeStamp:RepositoryAssociation', repositoryAssociation_lastUpdatedTimeStamp - The time, in milliseconds since the epoch, when the repository association was last updated.

repositoryAssociation_associationArn :: Lens' RepositoryAssociation (Maybe Text) Source #

The Amazon Resource Name (ARN) identifying the repository association.

repositoryAssociation_state :: Lens' RepositoryAssociation (Maybe RepositoryAssociationState) Source #

The state of the repository association.

The valid repository association states are:

  • Associated: The repository association is complete.
  • Associating: CodeGuru Reviewer is:

    • Setting up pull request notifications. This is required for pull requests to trigger a CodeGuru Reviewer review.

      If your repository ProviderType is GitHub, GitHub Enterprise Server, or Bitbucket, CodeGuru Reviewer creates webhooks in your repository to trigger CodeGuru Reviewer reviews. If you delete these webhooks, reviews of code in your repository cannot be triggered.

    • Setting up source code access. This is required for CodeGuru Reviewer to securely clone code in your repository.
  • Failed: The repository failed to associate or disassociate.
  • Disassociating: CodeGuru Reviewer is removing the repository's pull request notifications and source code access.
  • Disassociated: CodeGuru Reviewer successfully disassociated the repository. You can create a new association with this repository if you want to review source code in it later. You can control access to code reviews created in an associated repository with tags after it has been disassociated. For more information, see Using tags to control access to associated repositories in the Amazon CodeGuru Reviewer User Guide.

repositoryAssociation_providerType :: Lens' RepositoryAssociation (Maybe ProviderType) Source #

The provider type of the repository association.

repositoryAssociation_owner :: Lens' RepositoryAssociation (Maybe Text) Source #

The owner of the repository. For an Amazon Web Services CodeCommit repository, this is the Amazon Web Services account ID of the account that owns the repository. For a GitHub, GitHub Enterprise Server, or Bitbucket repository, this is the username for the account that owns the repository. For an S3 repository, it can be the username or Amazon Web Services account ID.

repositoryAssociation_kmsKeyDetails :: Lens' RepositoryAssociation (Maybe KMSKeyDetails) Source #

A KMSKeyDetails object that contains:

  • The encryption option for this repository association. It is either owned by Amazon Web Services Key Management Service (KMS) (AWS_OWNED_CMK) or customer managed (CUSTOMER_MANAGED_CMK).
  • The ID of the Amazon Web Services KMS key that is associated with this respository association.

repositoryAssociation_connectionArn :: Lens' RepositoryAssociation (Maybe Text) Source #

The Amazon Resource Name (ARN) of an Amazon Web Services CodeStar Connections connection. Its format is arn:aws:codestar-connections:region-id:aws-account_id:connection/connection-id. For more information, see Connection in the Amazon Web Services CodeStar Connections API Reference.

repositoryAssociation_stateReason :: Lens' RepositoryAssociation (Maybe Text) Source #

A description of why the repository association is in the current state.

repositoryAssociation_createdTimeStamp :: Lens' RepositoryAssociation (Maybe UTCTime) Source #

The time, in milliseconds since the epoch, when the repository association was created.

repositoryAssociation_lastUpdatedTimeStamp :: Lens' RepositoryAssociation (Maybe UTCTime) Source #

The time, in milliseconds since the epoch, when the repository association was last updated.

RepositoryAssociationSummary

data RepositoryAssociationSummary Source #

Summary information about a repository association. The ListRepositoryAssociations operation returns a list of RepositoryAssociationSummary objects.

See: newRepositoryAssociationSummary smart constructor.

Constructors

RepositoryAssociationSummary' 

Fields

  • associationArn :: Maybe Text

    The Amazon Resource Name (ARN) of the RepositoryAssociation object. You can retrieve this ARN by calling ListRepositoryAssociations .

  • associationId :: Maybe Text

    The repository association ID.

  • state :: Maybe RepositoryAssociationState

    The state of the repository association.

    The valid repository association states are:

    • Associated: The repository association is complete.
    • Associating: CodeGuru Reviewer is:

      • Setting up pull request notifications. This is required for pull requests to trigger a CodeGuru Reviewer review.

        If your repository ProviderType is GitHub, GitHub Enterprise Server, or Bitbucket, CodeGuru Reviewer creates webhooks in your repository to trigger CodeGuru Reviewer reviews. If you delete these webhooks, reviews of code in your repository cannot be triggered.

      • Setting up source code access. This is required for CodeGuru Reviewer to securely clone code in your repository.
    • Failed: The repository failed to associate or disassociate.
    • Disassociating: CodeGuru Reviewer is removing the repository's pull request notifications and source code access.
    • Disassociated: CodeGuru Reviewer successfully disassociated the repository. You can create a new association with this repository if you want to review source code in it later. You can control access to code reviews created in an associated repository with tags after it has been disassociated. For more information, see Using tags to control access to associated repositories in the Amazon CodeGuru Reviewer User Guide.
  • providerType :: Maybe ProviderType

    The provider type of the repository association.

  • owner :: Maybe Text

    The owner of the repository. For an Amazon Web Services CodeCommit repository, this is the Amazon Web Services account ID of the account that owns the repository. For a GitHub, GitHub Enterprise Server, or Bitbucket repository, this is the username for the account that owns the repository. For an S3 repository, it can be the username or Amazon Web Services account ID.

  • name :: Maybe Text

    The name of the repository association.

  • connectionArn :: Maybe Text

    The Amazon Resource Name (ARN) of an Amazon Web Services CodeStar Connections connection. Its format is arn:aws:codestar-connections:region-id:aws-account_id:connection/connection-id. For more information, see Connection in the Amazon Web Services CodeStar Connections API Reference.

  • lastUpdatedTimeStamp :: Maybe POSIX

    The time, in milliseconds since the epoch, since the repository association was last updated.

Instances

Instances details
Eq RepositoryAssociationSummary Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.RepositoryAssociationSummary

Read RepositoryAssociationSummary Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.RepositoryAssociationSummary

Show RepositoryAssociationSummary Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.RepositoryAssociationSummary

Generic RepositoryAssociationSummary Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.RepositoryAssociationSummary

Associated Types

type Rep RepositoryAssociationSummary :: Type -> Type #

NFData RepositoryAssociationSummary Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.RepositoryAssociationSummary

Hashable RepositoryAssociationSummary Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.RepositoryAssociationSummary

FromJSON RepositoryAssociationSummary Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.RepositoryAssociationSummary

type Rep RepositoryAssociationSummary Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.RepositoryAssociationSummary

type Rep RepositoryAssociationSummary = D1 ('MetaData "RepositoryAssociationSummary" "Amazonka.CodeGuruReviewer.Types.RepositoryAssociationSummary" "libZSservicesZSamazonka-codeguru-reviewerZSamazonka-codeguru-reviewer" 'False) (C1 ('MetaCons "RepositoryAssociationSummary'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "associationArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "associationId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "state") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe RepositoryAssociationState)) :*: S1 ('MetaSel ('Just "providerType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ProviderType)))) :*: ((S1 ('MetaSel ('Just "owner") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "connectionArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "lastUpdatedTimeStamp") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX))))))

newRepositoryAssociationSummary :: RepositoryAssociationSummary Source #

Create a value of RepositoryAssociationSummary 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:associationArn:RepositoryAssociationSummary', repositoryAssociationSummary_associationArn - The Amazon Resource Name (ARN) of the RepositoryAssociation object. You can retrieve this ARN by calling ListRepositoryAssociations .

$sel:associationId:RepositoryAssociationSummary', repositoryAssociationSummary_associationId - The repository association ID.

$sel:state:RepositoryAssociationSummary', repositoryAssociationSummary_state - The state of the repository association.

The valid repository association states are:

  • Associated: The repository association is complete.
  • Associating: CodeGuru Reviewer is:

    • Setting up pull request notifications. This is required for pull requests to trigger a CodeGuru Reviewer review.

      If your repository ProviderType is GitHub, GitHub Enterprise Server, or Bitbucket, CodeGuru Reviewer creates webhooks in your repository to trigger CodeGuru Reviewer reviews. If you delete these webhooks, reviews of code in your repository cannot be triggered.

    • Setting up source code access. This is required for CodeGuru Reviewer to securely clone code in your repository.
  • Failed: The repository failed to associate or disassociate.
  • Disassociating: CodeGuru Reviewer is removing the repository's pull request notifications and source code access.
  • Disassociated: CodeGuru Reviewer successfully disassociated the repository. You can create a new association with this repository if you want to review source code in it later. You can control access to code reviews created in an associated repository with tags after it has been disassociated. For more information, see Using tags to control access to associated repositories in the Amazon CodeGuru Reviewer User Guide.

$sel:providerType:RepositoryAssociationSummary', repositoryAssociationSummary_providerType - The provider type of the repository association.

$sel:owner:RepositoryAssociationSummary', repositoryAssociationSummary_owner - The owner of the repository. For an Amazon Web Services CodeCommit repository, this is the Amazon Web Services account ID of the account that owns the repository. For a GitHub, GitHub Enterprise Server, or Bitbucket repository, this is the username for the account that owns the repository. For an S3 repository, it can be the username or Amazon Web Services account ID.

$sel:name:RepositoryAssociationSummary', repositoryAssociationSummary_name - The name of the repository association.

$sel:connectionArn:RepositoryAssociationSummary', repositoryAssociationSummary_connectionArn - The Amazon Resource Name (ARN) of an Amazon Web Services CodeStar Connections connection. Its format is arn:aws:codestar-connections:region-id:aws-account_id:connection/connection-id. For more information, see Connection in the Amazon Web Services CodeStar Connections API Reference.

$sel:lastUpdatedTimeStamp:RepositoryAssociationSummary', repositoryAssociationSummary_lastUpdatedTimeStamp - The time, in milliseconds since the epoch, since the repository association was last updated.

repositoryAssociationSummary_associationArn :: Lens' RepositoryAssociationSummary (Maybe Text) Source #

The Amazon Resource Name (ARN) of the RepositoryAssociation object. You can retrieve this ARN by calling ListRepositoryAssociations .

repositoryAssociationSummary_state :: Lens' RepositoryAssociationSummary (Maybe RepositoryAssociationState) Source #

The state of the repository association.

The valid repository association states are:

  • Associated: The repository association is complete.
  • Associating: CodeGuru Reviewer is:

    • Setting up pull request notifications. This is required for pull requests to trigger a CodeGuru Reviewer review.

      If your repository ProviderType is GitHub, GitHub Enterprise Server, or Bitbucket, CodeGuru Reviewer creates webhooks in your repository to trigger CodeGuru Reviewer reviews. If you delete these webhooks, reviews of code in your repository cannot be triggered.

    • Setting up source code access. This is required for CodeGuru Reviewer to securely clone code in your repository.
  • Failed: The repository failed to associate or disassociate.
  • Disassociating: CodeGuru Reviewer is removing the repository's pull request notifications and source code access.
  • Disassociated: CodeGuru Reviewer successfully disassociated the repository. You can create a new association with this repository if you want to review source code in it later. You can control access to code reviews created in an associated repository with tags after it has been disassociated. For more information, see Using tags to control access to associated repositories in the Amazon CodeGuru Reviewer User Guide.

repositoryAssociationSummary_owner :: Lens' RepositoryAssociationSummary (Maybe Text) Source #

The owner of the repository. For an Amazon Web Services CodeCommit repository, this is the Amazon Web Services account ID of the account that owns the repository. For a GitHub, GitHub Enterprise Server, or Bitbucket repository, this is the username for the account that owns the repository. For an S3 repository, it can be the username or Amazon Web Services account ID.

repositoryAssociationSummary_connectionArn :: Lens' RepositoryAssociationSummary (Maybe Text) Source #

The Amazon Resource Name (ARN) of an Amazon Web Services CodeStar Connections connection. Its format is arn:aws:codestar-connections:region-id:aws-account_id:connection/connection-id. For more information, see Connection in the Amazon Web Services CodeStar Connections API Reference.

repositoryAssociationSummary_lastUpdatedTimeStamp :: Lens' RepositoryAssociationSummary (Maybe UTCTime) Source #

The time, in milliseconds since the epoch, since the repository association was last updated.

RepositoryHeadSourceCodeType

data RepositoryHeadSourceCodeType Source #

A SourceCodeType that specifies the tip of a branch in an associated repository.

See: newRepositoryHeadSourceCodeType smart constructor.

Constructors

RepositoryHeadSourceCodeType' 

Fields

  • branchName :: Text

    The name of the branch in an associated repository. The RepositoryHeadSourceCodeType specifies the tip of this branch.

Instances

Instances details
Eq RepositoryHeadSourceCodeType Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.RepositoryHeadSourceCodeType

Read RepositoryHeadSourceCodeType Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.RepositoryHeadSourceCodeType

Show RepositoryHeadSourceCodeType Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.RepositoryHeadSourceCodeType

Generic RepositoryHeadSourceCodeType Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.RepositoryHeadSourceCodeType

Associated Types

type Rep RepositoryHeadSourceCodeType :: Type -> Type #

NFData RepositoryHeadSourceCodeType Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.RepositoryHeadSourceCodeType

Hashable RepositoryHeadSourceCodeType Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.RepositoryHeadSourceCodeType

ToJSON RepositoryHeadSourceCodeType Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.RepositoryHeadSourceCodeType

FromJSON RepositoryHeadSourceCodeType Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.RepositoryHeadSourceCodeType

type Rep RepositoryHeadSourceCodeType Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.RepositoryHeadSourceCodeType

type Rep RepositoryHeadSourceCodeType = D1 ('MetaData "RepositoryHeadSourceCodeType" "Amazonka.CodeGuruReviewer.Types.RepositoryHeadSourceCodeType" "libZSservicesZSamazonka-codeguru-reviewerZSamazonka-codeguru-reviewer" 'False) (C1 ('MetaCons "RepositoryHeadSourceCodeType'" 'PrefixI 'True) (S1 ('MetaSel ('Just "branchName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newRepositoryHeadSourceCodeType Source #

Create a value of RepositoryHeadSourceCodeType 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:branchName:RepositoryHeadSourceCodeType', repositoryHeadSourceCodeType_branchName - The name of the branch in an associated repository. The RepositoryHeadSourceCodeType specifies the tip of this branch.

repositoryHeadSourceCodeType_branchName :: Lens' RepositoryHeadSourceCodeType Text Source #

The name of the branch in an associated repository. The RepositoryHeadSourceCodeType specifies the tip of this branch.

RequestMetadata

data RequestMetadata Source #

Metadata that is associated with a code review. This applies to both pull request and repository analysis code reviews.

See: newRequestMetadata smart constructor.

Constructors

RequestMetadata' 

Fields

  • requestId :: Maybe Text

    The ID of the request. This is required for a pull request code review.

  • eventInfo :: Maybe EventInfo

    Information about the event associated with a code review.

  • vendorName :: Maybe VendorName

    The name of the repository vendor used to upload code to an S3 bucket for a CI/CD code review. For example, if code and artifacts are uploaded to an S3 bucket for a CI/CD code review by GitHub scripts from a GitHub repository, then the repository association's ProviderType is S3Bucket and the CI/CD repository vendor name is GitHub. For more information, see the definition for ProviderType in RepositoryAssociation.

  • requester :: Maybe Text

    An identifier, such as a name or account ID, that is associated with the requester. The Requester is used to capture the author/actor name of the event request.

Instances

Instances details
Eq RequestMetadata Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.RequestMetadata

Read RequestMetadata Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.RequestMetadata

Show RequestMetadata Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.RequestMetadata

Generic RequestMetadata Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.RequestMetadata

Associated Types

type Rep RequestMetadata :: Type -> Type #

NFData RequestMetadata Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.RequestMetadata

Methods

rnf :: RequestMetadata -> () #

Hashable RequestMetadata Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.RequestMetadata

ToJSON RequestMetadata Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.RequestMetadata

FromJSON RequestMetadata Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.RequestMetadata

type Rep RequestMetadata Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.RequestMetadata

type Rep RequestMetadata = D1 ('MetaData "RequestMetadata" "Amazonka.CodeGuruReviewer.Types.RequestMetadata" "libZSservicesZSamazonka-codeguru-reviewerZSamazonka-codeguru-reviewer" 'False) (C1 ('MetaCons "RequestMetadata'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "requestId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "eventInfo") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe EventInfo))) :*: (S1 ('MetaSel ('Just "vendorName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe VendorName)) :*: S1 ('MetaSel ('Just "requester") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))

newRequestMetadata :: RequestMetadata Source #

Create a value of RequestMetadata 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:requestId:RequestMetadata', requestMetadata_requestId - The ID of the request. This is required for a pull request code review.

$sel:eventInfo:RequestMetadata', requestMetadata_eventInfo - Information about the event associated with a code review.

$sel:vendorName:RequestMetadata', requestMetadata_vendorName - The name of the repository vendor used to upload code to an S3 bucket for a CI/CD code review. For example, if code and artifacts are uploaded to an S3 bucket for a CI/CD code review by GitHub scripts from a GitHub repository, then the repository association's ProviderType is S3Bucket and the CI/CD repository vendor name is GitHub. For more information, see the definition for ProviderType in RepositoryAssociation.

$sel:requester:RequestMetadata', requestMetadata_requester - An identifier, such as a name or account ID, that is associated with the requester. The Requester is used to capture the author/actor name of the event request.

requestMetadata_requestId :: Lens' RequestMetadata (Maybe Text) Source #

The ID of the request. This is required for a pull request code review.

requestMetadata_eventInfo :: Lens' RequestMetadata (Maybe EventInfo) Source #

Information about the event associated with a code review.

requestMetadata_vendorName :: Lens' RequestMetadata (Maybe VendorName) Source #

The name of the repository vendor used to upload code to an S3 bucket for a CI/CD code review. For example, if code and artifacts are uploaded to an S3 bucket for a CI/CD code review by GitHub scripts from a GitHub repository, then the repository association's ProviderType is S3Bucket and the CI/CD repository vendor name is GitHub. For more information, see the definition for ProviderType in RepositoryAssociation.

requestMetadata_requester :: Lens' RequestMetadata (Maybe Text) Source #

An identifier, such as a name or account ID, that is associated with the requester. The Requester is used to capture the author/actor name of the event request.

RuleMetadata

data RuleMetadata Source #

Metadata about a rule. Rule metadata includes an ID, a name, a list of tags, and a short and long description. CodeGuru Reviewer uses rules to analyze code. A rule's recommendation is included in analysis results if code is detected that violates the rule.

See: newRuleMetadata smart constructor.

Constructors

RuleMetadata' 

Fields

Instances

Instances details
Eq RuleMetadata Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.RuleMetadata

Read RuleMetadata Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.RuleMetadata

Show RuleMetadata Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.RuleMetadata

Generic RuleMetadata Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.RuleMetadata

Associated Types

type Rep RuleMetadata :: Type -> Type #

NFData RuleMetadata Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.RuleMetadata

Methods

rnf :: RuleMetadata -> () #

Hashable RuleMetadata Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.RuleMetadata

FromJSON RuleMetadata Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.RuleMetadata

type Rep RuleMetadata Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.RuleMetadata

type Rep RuleMetadata = D1 ('MetaData "RuleMetadata" "Amazonka.CodeGuruReviewer.Types.RuleMetadata" "libZSservicesZSamazonka-codeguru-reviewerZSamazonka-codeguru-reviewer" 'False) (C1 ('MetaCons "RuleMetadata'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "longDescription") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "ruleTags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (NonEmpty Text)))) :*: (S1 ('MetaSel ('Just "ruleId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "ruleName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "shortDescription") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))))

newRuleMetadata :: RuleMetadata Source #

Create a value of RuleMetadata 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:longDescription:RuleMetadata', ruleMetadata_longDescription - A long description of the rule.

$sel:ruleTags:RuleMetadata', ruleMetadata_ruleTags - Tags that are associated with the rule.

$sel:ruleId:RuleMetadata', ruleMetadata_ruleId - The ID of the rule.

$sel:ruleName:RuleMetadata', ruleMetadata_ruleName - The name of the rule.

$sel:shortDescription:RuleMetadata', ruleMetadata_shortDescription - A short description of the rule.

ruleMetadata_longDescription :: Lens' RuleMetadata (Maybe Text) Source #

A long description of the rule.

ruleMetadata_ruleTags :: Lens' RuleMetadata (Maybe (NonEmpty Text)) Source #

Tags that are associated with the rule.

ruleMetadata_shortDescription :: Lens' RuleMetadata (Maybe Text) Source #

A short description of the rule.

S3BucketRepository

data S3BucketRepository Source #

Information about an associated repository in an S3 bucket. The associated repository contains a source code .zip file and a build artifacts .zip file that contains .jar or .class files.

See: newS3BucketRepository smart constructor.

Constructors

S3BucketRepository' 

Fields

  • details :: Maybe S3RepositoryDetails

    An S3RepositoryDetails object that specifies the name of an S3 bucket and a CodeArtifacts object. The CodeArtifacts object includes the S3 object keys for a source code .zip file and for a build artifacts .zip file.

  • name :: Text

    The name of the repository when the ProviderType is S3Bucket.

Instances

Instances details
Eq S3BucketRepository Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.S3BucketRepository

Read S3BucketRepository Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.S3BucketRepository

Show S3BucketRepository Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.S3BucketRepository

Generic S3BucketRepository Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.S3BucketRepository

Associated Types

type Rep S3BucketRepository :: Type -> Type #

NFData S3BucketRepository Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.S3BucketRepository

Methods

rnf :: S3BucketRepository -> () #

Hashable S3BucketRepository Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.S3BucketRepository

ToJSON S3BucketRepository Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.S3BucketRepository

FromJSON S3BucketRepository Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.S3BucketRepository

type Rep S3BucketRepository Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.S3BucketRepository

type Rep S3BucketRepository = D1 ('MetaData "S3BucketRepository" "Amazonka.CodeGuruReviewer.Types.S3BucketRepository" "libZSservicesZSamazonka-codeguru-reviewerZSamazonka-codeguru-reviewer" 'False) (C1 ('MetaCons "S3BucketRepository'" 'PrefixI 'True) (S1 ('MetaSel ('Just "details") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe S3RepositoryDetails)) :*: S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newS3BucketRepository Source #

Create a value of S3BucketRepository 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:details:S3BucketRepository', s3BucketRepository_details - An S3RepositoryDetails object that specifies the name of an S3 bucket and a CodeArtifacts object. The CodeArtifacts object includes the S3 object keys for a source code .zip file and for a build artifacts .zip file.

$sel:name:S3BucketRepository', s3BucketRepository_name - The name of the repository when the ProviderType is S3Bucket.

s3BucketRepository_details :: Lens' S3BucketRepository (Maybe S3RepositoryDetails) Source #

An S3RepositoryDetails object that specifies the name of an S3 bucket and a CodeArtifacts object. The CodeArtifacts object includes the S3 object keys for a source code .zip file and for a build artifacts .zip file.

s3BucketRepository_name :: Lens' S3BucketRepository Text Source #

The name of the repository when the ProviderType is S3Bucket.

S3Repository

data S3Repository Source #

Information about a repository in an S3 bucket.

See: newS3Repository smart constructor.

Constructors

S3Repository' 

Fields

  • name :: Text

    The name of the repository in the S3 bucket.

  • bucketName :: Text

    The name of the S3 bucket used for associating a new S3 repository. It must begin with codeguru-reviewer-.

Instances

Instances details
Eq S3Repository Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.S3Repository

Read S3Repository Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.S3Repository

Show S3Repository Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.S3Repository

Generic S3Repository Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.S3Repository

Associated Types

type Rep S3Repository :: Type -> Type #

NFData S3Repository Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.S3Repository

Methods

rnf :: S3Repository -> () #

Hashable S3Repository Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.S3Repository

ToJSON S3Repository Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.S3Repository

type Rep S3Repository Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.S3Repository

type Rep S3Repository = D1 ('MetaData "S3Repository" "Amazonka.CodeGuruReviewer.Types.S3Repository" "libZSservicesZSamazonka-codeguru-reviewerZSamazonka-codeguru-reviewer" 'False) (C1 ('MetaCons "S3Repository'" 'PrefixI 'True) (S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "bucketName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newS3Repository Source #

Create a value of S3Repository 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:name:S3Repository', s3Repository_name - The name of the repository in the S3 bucket.

$sel:bucketName:S3Repository', s3Repository_bucketName - The name of the S3 bucket used for associating a new S3 repository. It must begin with codeguru-reviewer-.

s3Repository_name :: Lens' S3Repository Text Source #

The name of the repository in the S3 bucket.

s3Repository_bucketName :: Lens' S3Repository Text Source #

The name of the S3 bucket used for associating a new S3 repository. It must begin with codeguru-reviewer-.

S3RepositoryDetails

data S3RepositoryDetails Source #

Specifies the name of an S3 bucket and a CodeArtifacts object that contains the S3 object keys for a source code .zip file and for a build artifacts .zip file that contains .jar or .class files.

See: newS3RepositoryDetails smart constructor.

Constructors

S3RepositoryDetails' 

Fields

  • codeArtifacts :: Maybe CodeArtifacts

    A CodeArtifacts object. The CodeArtifacts object includes the S3 object key for a source code .zip file and for a build artifacts .zip file that contains .jar or .class files.

  • bucketName :: Maybe Text

    The name of the S3 bucket used for associating a new S3 repository. It must begin with codeguru-reviewer-.

Instances

Instances details
Eq S3RepositoryDetails Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.S3RepositoryDetails

Read S3RepositoryDetails Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.S3RepositoryDetails

Show S3RepositoryDetails Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.S3RepositoryDetails

Generic S3RepositoryDetails Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.S3RepositoryDetails

Associated Types

type Rep S3RepositoryDetails :: Type -> Type #

NFData S3RepositoryDetails Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.S3RepositoryDetails

Methods

rnf :: S3RepositoryDetails -> () #

Hashable S3RepositoryDetails Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.S3RepositoryDetails

ToJSON S3RepositoryDetails Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.S3RepositoryDetails

FromJSON S3RepositoryDetails Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.S3RepositoryDetails

type Rep S3RepositoryDetails Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.S3RepositoryDetails

type Rep S3RepositoryDetails = D1 ('MetaData "S3RepositoryDetails" "Amazonka.CodeGuruReviewer.Types.S3RepositoryDetails" "libZSservicesZSamazonka-codeguru-reviewerZSamazonka-codeguru-reviewer" 'False) (C1 ('MetaCons "S3RepositoryDetails'" 'PrefixI 'True) (S1 ('MetaSel ('Just "codeArtifacts") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe CodeArtifacts)) :*: S1 ('MetaSel ('Just "bucketName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))

newS3RepositoryDetails :: S3RepositoryDetails Source #

Create a value of S3RepositoryDetails 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:codeArtifacts:S3RepositoryDetails', s3RepositoryDetails_codeArtifacts - A CodeArtifacts object. The CodeArtifacts object includes the S3 object key for a source code .zip file and for a build artifacts .zip file that contains .jar or .class files.

$sel:bucketName:S3RepositoryDetails', s3RepositoryDetails_bucketName - The name of the S3 bucket used for associating a new S3 repository. It must begin with codeguru-reviewer-.

s3RepositoryDetails_codeArtifacts :: Lens' S3RepositoryDetails (Maybe CodeArtifacts) Source #

A CodeArtifacts object. The CodeArtifacts object includes the S3 object key for a source code .zip file and for a build artifacts .zip file that contains .jar or .class files.

s3RepositoryDetails_bucketName :: Lens' S3RepositoryDetails (Maybe Text) Source #

The name of the S3 bucket used for associating a new S3 repository. It must begin with codeguru-reviewer-.

SourceCodeType

data SourceCodeType Source #

Specifies the source code that is analyzed in a code review.

See: newSourceCodeType smart constructor.

Constructors

SourceCodeType' 

Fields

Instances

Instances details
Eq SourceCodeType Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.SourceCodeType

Read SourceCodeType Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.SourceCodeType

Show SourceCodeType Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.SourceCodeType

Generic SourceCodeType Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.SourceCodeType

Associated Types

type Rep SourceCodeType :: Type -> Type #

NFData SourceCodeType Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.SourceCodeType

Methods

rnf :: SourceCodeType -> () #

Hashable SourceCodeType Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.SourceCodeType

ToJSON SourceCodeType Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.SourceCodeType

FromJSON SourceCodeType Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.SourceCodeType

type Rep SourceCodeType Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.SourceCodeType

type Rep SourceCodeType = D1 ('MetaData "SourceCodeType" "Amazonka.CodeGuruReviewer.Types.SourceCodeType" "libZSservicesZSamazonka-codeguru-reviewerZSamazonka-codeguru-reviewer" 'False) (C1 ('MetaCons "SourceCodeType'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "s3BucketRepository") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe S3BucketRepository)) :*: S1 ('MetaSel ('Just "requestMetadata") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe RequestMetadata))) :*: (S1 ('MetaSel ('Just "repositoryHead") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe RepositoryHeadSourceCodeType)) :*: (S1 ('MetaSel ('Just "commitDiff") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe CommitDiffSourceCodeType)) :*: S1 ('MetaSel ('Just "branchDiff") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe BranchDiffSourceCodeType))))))

newSourceCodeType :: SourceCodeType Source #

Create a value of SourceCodeType 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:s3BucketRepository:SourceCodeType', sourceCodeType_s3BucketRepository - Information about an associated repository in an S3 bucket that includes its name and an S3RepositoryDetails object. The S3RepositoryDetails object includes the name of an S3 bucket, an S3 key for a source code .zip file, and an S3 key for a build artifacts .zip file. S3BucketRepository is required in SourceCodeType for S3BucketRepository based code reviews.

$sel:requestMetadata:SourceCodeType', sourceCodeType_requestMetadata - Metadata that is associated with a code review. This applies to any type of code review supported by CodeGuru Reviewer. The RequestMetadaa field captures any event metadata. For example, it might capture metadata associated with an event trigger, such as a push or a pull request.

$sel:repositoryHead:SourceCodeType', sourceCodeType_repositoryHead - Undocumented member.

$sel:commitDiff:SourceCodeType', sourceCodeType_commitDiff - A SourceCodeType that specifies a commit diff created by a pull request on an associated repository.

$sel:branchDiff:SourceCodeType', sourceCodeType_branchDiff - A type of SourceCodeType that specifies a source branch name and a destination branch name in an associated repository.

sourceCodeType_s3BucketRepository :: Lens' SourceCodeType (Maybe S3BucketRepository) Source #

Information about an associated repository in an S3 bucket that includes its name and an S3RepositoryDetails object. The S3RepositoryDetails object includes the name of an S3 bucket, an S3 key for a source code .zip file, and an S3 key for a build artifacts .zip file. S3BucketRepository is required in SourceCodeType for S3BucketRepository based code reviews.

sourceCodeType_requestMetadata :: Lens' SourceCodeType (Maybe RequestMetadata) Source #

Metadata that is associated with a code review. This applies to any type of code review supported by CodeGuru Reviewer. The RequestMetadaa field captures any event metadata. For example, it might capture metadata associated with an event trigger, such as a push or a pull request.

sourceCodeType_commitDiff :: Lens' SourceCodeType (Maybe CommitDiffSourceCodeType) Source #

A SourceCodeType that specifies a commit diff created by a pull request on an associated repository.

sourceCodeType_branchDiff :: Lens' SourceCodeType (Maybe BranchDiffSourceCodeType) Source #

A type of SourceCodeType that specifies a source branch name and a destination branch name in an associated repository.

ThirdPartySourceRepository

data ThirdPartySourceRepository Source #

Information about a third-party source repository connected to CodeGuru Reviewer.

See: newThirdPartySourceRepository smart constructor.

Constructors

ThirdPartySourceRepository' 

Fields

  • name :: Text

    The name of the third party source repository.

  • connectionArn :: Text

    The Amazon Resource Name (ARN) of an Amazon Web Services CodeStar Connections connection. Its format is arn:aws:codestar-connections:region-id:aws-account_id:connection/connection-id. For more information, see Connection in the Amazon Web Services CodeStar Connections API Reference.

  • owner :: Text

    The owner of the repository. For a GitHub, GitHub Enterprise, or Bitbucket repository, this is the username for the account that owns the repository. For an S3 repository, this can be the username or Amazon Web Services account ID.

Instances

Instances details
Eq ThirdPartySourceRepository Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.ThirdPartySourceRepository

Read ThirdPartySourceRepository Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.ThirdPartySourceRepository

Show ThirdPartySourceRepository Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.ThirdPartySourceRepository

Generic ThirdPartySourceRepository Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.ThirdPartySourceRepository

Associated Types

type Rep ThirdPartySourceRepository :: Type -> Type #

NFData ThirdPartySourceRepository Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.ThirdPartySourceRepository

Hashable ThirdPartySourceRepository Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.ThirdPartySourceRepository

ToJSON ThirdPartySourceRepository Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.ThirdPartySourceRepository

type Rep ThirdPartySourceRepository Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.ThirdPartySourceRepository

type Rep ThirdPartySourceRepository = D1 ('MetaData "ThirdPartySourceRepository" "Amazonka.CodeGuruReviewer.Types.ThirdPartySourceRepository" "libZSservicesZSamazonka-codeguru-reviewerZSamazonka-codeguru-reviewer" 'False) (C1 ('MetaCons "ThirdPartySourceRepository'" 'PrefixI 'True) (S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: (S1 ('MetaSel ('Just "connectionArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "owner") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))

newThirdPartySourceRepository Source #

Create a value of ThirdPartySourceRepository 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:name:ThirdPartySourceRepository', thirdPartySourceRepository_name - The name of the third party source repository.

$sel:connectionArn:ThirdPartySourceRepository', thirdPartySourceRepository_connectionArn - The Amazon Resource Name (ARN) of an Amazon Web Services CodeStar Connections connection. Its format is arn:aws:codestar-connections:region-id:aws-account_id:connection/connection-id. For more information, see Connection in the Amazon Web Services CodeStar Connections API Reference.

$sel:owner:ThirdPartySourceRepository', thirdPartySourceRepository_owner - The owner of the repository. For a GitHub, GitHub Enterprise, or Bitbucket repository, this is the username for the account that owns the repository. For an S3 repository, this can be the username or Amazon Web Services account ID.

thirdPartySourceRepository_name :: Lens' ThirdPartySourceRepository Text Source #

The name of the third party source repository.

thirdPartySourceRepository_connectionArn :: Lens' ThirdPartySourceRepository Text Source #

The Amazon Resource Name (ARN) of an Amazon Web Services CodeStar Connections connection. Its format is arn:aws:codestar-connections:region-id:aws-account_id:connection/connection-id. For more information, see Connection in the Amazon Web Services CodeStar Connections API Reference.

thirdPartySourceRepository_owner :: Lens' ThirdPartySourceRepository Text Source #

The owner of the repository. For a GitHub, GitHub Enterprise, or Bitbucket repository, this is the username for the account that owns the repository. For an S3 repository, this can be the username or Amazon Web Services account ID.