amazonka-codeguru-reviewer-2.0: Amazon CodeGuru Reviewer SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.CodeGuruReviewer.Types

Description

 
Synopsis

Service Configuration

defaultService :: Service Source #

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

Errors

_AccessDeniedException :: AsError a => Fold a ServiceError Source #

You do not have sufficient access to perform this action.

_ConflictException :: AsError a => Fold 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.

_InternalServerException :: AsError a => Fold a ServiceError Source #

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

_NotFoundException :: AsError a => Fold a ServiceError Source #

The resource specified in the request was not found.

_ResourceNotFoundException :: AsError a => Fold a ServiceError Source #

The resource specified in the request was not found.

_ThrottlingException :: AsError a => Fold a ServiceError Source #

The request was denied due to request throttling.

_ValidationException :: AsError a => Fold a ServiceError Source #

The input fails to satisfy the specified constraints.

AnalysisType

newtype AnalysisType Source #

Constructors

AnalysisType' 

Instances

Instances details
FromJSON AnalysisType Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.AnalysisType

FromJSONKey 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

ToByteString AnalysisType Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.AnalysisType

ToHeader AnalysisType Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.AnalysisType

ToLog AnalysisType Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.AnalysisType

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

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 #

Generic AnalysisType Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.AnalysisType

Associated Types

type Rep AnalysisType :: Type -> Type #

Read AnalysisType Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.AnalysisType

Show AnalysisType Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.AnalysisType

NFData AnalysisType Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.AnalysisType

Methods

rnf :: AnalysisType -> () #

Eq AnalysisType Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.AnalysisType

Ord AnalysisType Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.AnalysisType

Hashable AnalysisType Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.AnalysisType

type Rep AnalysisType Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.AnalysisType

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

ConfigFileState

newtype ConfigFileState Source #

Constructors

ConfigFileState' 

Instances

Instances details
FromJSON ConfigFileState Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.ConfigFileState

FromJSONKey ConfigFileState Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.ConfigFileState

ToJSON ConfigFileState Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.ConfigFileState

ToJSONKey ConfigFileState Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.ConfigFileState

ToByteString ConfigFileState Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.ConfigFileState

ToHeader ConfigFileState Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.ConfigFileState

ToLog ConfigFileState Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.ConfigFileState

ToQuery ConfigFileState Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.ConfigFileState

FromText ConfigFileState Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.ConfigFileState

ToText ConfigFileState Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.ConfigFileState

FromXML ConfigFileState Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.ConfigFileState

ToXML ConfigFileState Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.ConfigFileState

Methods

toXML :: ConfigFileState -> XML #

Generic ConfigFileState Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.ConfigFileState

Associated Types

type Rep ConfigFileState :: Type -> Type #

Read ConfigFileState Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.ConfigFileState

Show ConfigFileState Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.ConfigFileState

NFData ConfigFileState Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.ConfigFileState

Methods

rnf :: ConfigFileState -> () #

Eq ConfigFileState Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.ConfigFileState

Ord ConfigFileState Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.ConfigFileState

Hashable ConfigFileState Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.ConfigFileState

type Rep ConfigFileState Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.ConfigFileState

type Rep ConfigFileState = D1 ('MetaData "ConfigFileState" "Amazonka.CodeGuruReviewer.Types.ConfigFileState" "amazonka-codeguru-reviewer-2.0-5PMDLaQhmT9HEhVpSUty9z" 'True) (C1 ('MetaCons "ConfigFileState'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromConfigFileState") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

EncryptionOption

newtype EncryptionOption Source #

Instances

Instances details
FromJSON EncryptionOption Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.EncryptionOption

FromJSONKey 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

ToByteString EncryptionOption Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.EncryptionOption

ToHeader EncryptionOption Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.EncryptionOption

ToLog EncryptionOption Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.EncryptionOption

ToQuery 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

FromXML EncryptionOption Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.EncryptionOption

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

Read EncryptionOption Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.EncryptionOption

Show EncryptionOption Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.EncryptionOption

NFData EncryptionOption Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.EncryptionOption

Methods

rnf :: EncryptionOption -> () #

Eq EncryptionOption Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.EncryptionOption

Ord EncryptionOption Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.EncryptionOption

Hashable 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" "amazonka-codeguru-reviewer-2.0-5PMDLaQhmT9HEhVpSUty9z" '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
FromJSON JobState Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.JobState

FromJSONKey JobState Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.JobState

ToJSON JobState Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.JobState

ToJSONKey JobState Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.JobState

ToByteString JobState Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.JobState

Methods

toBS :: JobState -> ByteString #

ToHeader JobState Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.JobState

Methods

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

ToLog JobState Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.JobState

ToQuery JobState Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.JobState

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 #

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 #

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 #

Read JobState Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.JobState

Show JobState Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.JobState

NFData JobState Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.JobState

Methods

rnf :: JobState -> () #

Eq JobState Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.JobState

Ord JobState Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.JobState

Hashable JobState Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.JobState

Methods

hashWithSalt :: Int -> JobState -> Int #

hash :: JobState -> Int #

type Rep JobState Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.JobState

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

ProviderType

newtype ProviderType Source #

Constructors

ProviderType' 

Instances

Instances details
FromJSON ProviderType Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.ProviderType

FromJSONKey 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

ToByteString ProviderType Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.ProviderType

ToHeader ProviderType Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.ProviderType

ToLog ProviderType Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.ProviderType

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

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 #

Generic ProviderType Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.ProviderType

Associated Types

type Rep ProviderType :: Type -> Type #

Read ProviderType Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.ProviderType

Show ProviderType Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.ProviderType

NFData ProviderType Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.ProviderType

Methods

rnf :: ProviderType -> () #

Eq ProviderType Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.ProviderType

Ord ProviderType Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.ProviderType

Hashable ProviderType Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.ProviderType

type Rep ProviderType Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.ProviderType

type Rep ProviderType = D1 ('MetaData "ProviderType" "Amazonka.CodeGuruReviewer.Types.ProviderType" "amazonka-codeguru-reviewer-2.0-5PMDLaQhmT9HEhVpSUty9z" '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
FromJSON Reaction Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.Reaction

FromJSONKey Reaction Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.Reaction

ToJSON Reaction Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.Reaction

ToJSONKey Reaction Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.Reaction

ToByteString Reaction Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.Reaction

Methods

toBS :: Reaction -> ByteString #

ToHeader Reaction Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.Reaction

Methods

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

ToLog Reaction Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.Reaction

ToQuery Reaction Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.Reaction

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 #

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 #

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 #

Read Reaction Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.Reaction

Show Reaction Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.Reaction

NFData Reaction Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.Reaction

Methods

rnf :: Reaction -> () #

Eq Reaction Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.Reaction

Ord Reaction Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.Reaction

Hashable Reaction Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.Reaction

Methods

hashWithSalt :: Int -> Reaction -> Int #

hash :: Reaction -> Int #

type Rep Reaction Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.Reaction

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

RecommendationCategory

newtype RecommendationCategory Source #

Instances

Instances details
FromJSON RecommendationCategory Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.RecommendationCategory

FromJSONKey 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

ToByteString RecommendationCategory Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.RecommendationCategory

ToHeader RecommendationCategory Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.RecommendationCategory

ToLog RecommendationCategory Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.RecommendationCategory

ToQuery 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

FromXML RecommendationCategory Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.RecommendationCategory

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

Read RecommendationCategory Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.RecommendationCategory

Show RecommendationCategory Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.RecommendationCategory

NFData RecommendationCategory Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.RecommendationCategory

Methods

rnf :: RecommendationCategory -> () #

Eq RecommendationCategory Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.RecommendationCategory

Ord RecommendationCategory Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.RecommendationCategory

Hashable 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" "amazonka-codeguru-reviewer-2.0-5PMDLaQhmT9HEhVpSUty9z" 'True) (C1 ('MetaCons "RecommendationCategory'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromRecommendationCategory") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

RepositoryAssociationState

newtype RepositoryAssociationState Source #

Instances

Instances details
FromJSON RepositoryAssociationState Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.RepositoryAssociationState

FromJSONKey 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

ToByteString RepositoryAssociationState Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.RepositoryAssociationState

ToHeader RepositoryAssociationState Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.RepositoryAssociationState

ToLog RepositoryAssociationState Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.RepositoryAssociationState

ToQuery 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

FromXML RepositoryAssociationState Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.RepositoryAssociationState

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

Read RepositoryAssociationState Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.RepositoryAssociationState

Show RepositoryAssociationState Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.RepositoryAssociationState

NFData RepositoryAssociationState Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.RepositoryAssociationState

Eq RepositoryAssociationState Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.RepositoryAssociationState

Ord RepositoryAssociationState Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.RepositoryAssociationState

Hashable 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" "amazonka-codeguru-reviewer-2.0-5PMDLaQhmT9HEhVpSUty9z" '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
FromJSON Severity Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.Severity

FromJSONKey Severity Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.Severity

ToJSON Severity Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.Severity

ToJSONKey Severity Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.Severity

ToByteString Severity Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.Severity

Methods

toBS :: Severity -> ByteString #

ToHeader Severity Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.Severity

Methods

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

ToLog Severity Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.Severity

ToQuery Severity Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.Severity

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 #

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 #

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 #

Read Severity Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.Severity

Show Severity Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.Severity

NFData Severity Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.Severity

Methods

rnf :: Severity -> () #

Eq Severity Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.Severity

Ord Severity Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.Severity

Hashable Severity Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.Severity

Methods

hashWithSalt :: Int -> Severity -> Int #

hash :: Severity -> Int #

type Rep Severity Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.Severity

type Rep Severity = D1 ('MetaData "Severity" "Amazonka.CodeGuruReviewer.Types.Severity" "amazonka-codeguru-reviewer-2.0-5PMDLaQhmT9HEhVpSUty9z" '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
FromJSON Type Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.Type

FromJSONKey Type Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.Type

ToJSON Type Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.Type

ToJSONKey Type Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.Type

ToByteString Type Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.Type

Methods

toBS :: Type -> ByteString #

ToHeader Type Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.Type

Methods

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

ToLog Type Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.Type

ToQuery Type Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.Type

Methods

toQuery :: Type -> QueryString #

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 #

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 #

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 #

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 #

NFData Type Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.Type

Methods

rnf :: Type -> () #

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 #

Hashable Type Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.Type

Methods

hashWithSalt :: Int -> Type -> Int #

hash :: Type -> Int #

type Rep Type Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.Type

type Rep Type = D1 ('MetaData "Type" "Amazonka.CodeGuruReviewer.Types.Type" "amazonka-codeguru-reviewer-2.0-5PMDLaQhmT9HEhVpSUty9z" '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
FromJSON VendorName Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.VendorName

FromJSONKey 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

ToByteString VendorName Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.VendorName

ToHeader VendorName Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.VendorName

ToLog VendorName Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.VendorName

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

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 #

Generic VendorName Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.VendorName

Associated Types

type Rep VendorName :: Type -> Type #

Read VendorName Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.VendorName

Show VendorName Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.VendorName

NFData VendorName Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.VendorName

Methods

rnf :: VendorName -> () #

Eq VendorName Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.VendorName

Ord VendorName Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.VendorName

Hashable VendorName Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.VendorName

type Rep VendorName Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.VendorName

type Rep VendorName = D1 ('MetaData "VendorName" "Amazonka.CodeGuruReviewer.Types.VendorName" "amazonka-codeguru-reviewer-2.0-5PMDLaQhmT9HEhVpSUty9z" '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
FromJSON BranchDiffSourceCodeType Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.BranchDiffSourceCodeType

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

Read BranchDiffSourceCodeType Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.BranchDiffSourceCodeType

Show BranchDiffSourceCodeType Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.BranchDiffSourceCodeType

NFData BranchDiffSourceCodeType Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.BranchDiffSourceCodeType

Eq BranchDiffSourceCodeType Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.BranchDiffSourceCodeType

Hashable 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" "amazonka-codeguru-reviewer-2.0-5PMDLaQhmT9HEhVpSUty9z" '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
FromJSON CodeArtifacts Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.CodeArtifacts

ToJSON CodeArtifacts Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.CodeArtifacts

Generic CodeArtifacts Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.CodeArtifacts

Associated Types

type Rep CodeArtifacts :: Type -> Type #

Read CodeArtifacts Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.CodeArtifacts

Show CodeArtifacts Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.CodeArtifacts

NFData CodeArtifacts Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.CodeArtifacts

Methods

rnf :: CodeArtifacts -> () #

Eq CodeArtifacts Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.CodeArtifacts

Hashable CodeArtifacts Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.CodeArtifacts

type Rep CodeArtifacts Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.CodeArtifacts

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

newCodeArtifacts Source #

Create a value of CodeArtifacts with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

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

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

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

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

codeArtifacts_sourceCodeArtifactsObjectKey :: Lens' CodeArtifacts Text Source #

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

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

Read CodeCommitRepository Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.CodeCommitRepository

Show CodeCommitRepository Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.CodeCommitRepository

NFData CodeCommitRepository Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.CodeCommitRepository

Methods

rnf :: CodeCommitRepository -> () #

Eq CodeCommitRepository Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.CodeCommitRepository

Hashable 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" "amazonka-codeguru-reviewer-2.0-5PMDLaQhmT9HEhVpSUty9z" '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
FromJSON 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 #

Read CodeReview Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.CodeReview

Show CodeReview Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.CodeReview

NFData CodeReview Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.CodeReview

Methods

rnf :: CodeReview -> () #

Eq CodeReview Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.CodeReview

Hashable 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" "amazonka-codeguru-reviewer-2.0-5PMDLaQhmT9HEhVpSUty9z" 'False) (C1 ('MetaCons "CodeReview'" 'PrefixI 'True) ((((S1 ('MetaSel ('Just "analysisTypes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [AnalysisType])) :*: S1 ('MetaSel ('Just "associationArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "codeReviewArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "configFileState") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ConfigFileState)))) :*: ((S1 ('MetaSel ('Just "createdTimeStamp") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: S1 ('MetaSel ('Just "lastUpdatedTimeStamp") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX))) :*: (S1 ('MetaSel ('Just "metrics") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Metrics)) :*: S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))) :*: (((S1 ('MetaSel ('Just "owner") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "providerType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ProviderType))) :*: (S1 ('MetaSel ('Just "pullRequestId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "repositoryName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 ('MetaSel ('Just "sourceCodeType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe SourceCodeType)) :*: S1 ('MetaSel ('Just "state") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe JobState))) :*: (S1 ('MetaSel ('Just "stateReason") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "type'") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Type)))))))

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:analysisTypes:CodeReview', codeReview_analysisTypes - The types of analysis performed during a repository analysis or a pull request review. You can specify either Security, CodeQuality, or both.

$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:codeReviewArn:CodeReview', codeReview_codeReviewArn - The Amazon Resource Name (ARN) of the CodeReview object.

$sel:configFileState:CodeReview', codeReview_configFileState - The state of the aws-codeguru-reviewer.yml configuration file that allows the configuration of the CodeGuru Reviewer analysis. The file either exists, doesn't exist, or exists with errors at the root directory of your repository.

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

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

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

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

$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:providerType:CodeReview', codeReview_providerType - The type of repository that contains the reviewed code (for example, GitHub or Bitbucket).

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

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

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

$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:stateReason:CodeReview', codeReview_stateReason - The reason for the state of the code review.

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

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

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

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_codeReviewArn :: Lens' CodeReview (Maybe Text) Source #

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

codeReview_configFileState :: Lens' CodeReview (Maybe ConfigFileState) Source #

The state of the aws-codeguru-reviewer.yml configuration file that allows the configuration of the CodeGuru Reviewer analysis. The file either exists, doesn't exist, or exists with errors at the root directory of your repository.

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

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

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

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

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

The statistics from the code review.

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

The name of the code review.

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_providerType :: Lens' CodeReview (Maybe ProviderType) Source #

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

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

The pull request ID for the code review.

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

The name of the repository.

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

The type of the source code for the code review.

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_stateReason :: Lens' CodeReview (Maybe Text) Source #

The reason for the state of the code review.

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

The type of code review.

CodeReviewSummary

data CodeReviewSummary Source #

Information about the summary of the code review.

See: newCodeReviewSummary smart constructor.

Constructors

CodeReviewSummary' 

Fields

Instances

Instances details
FromJSON 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 #

Read CodeReviewSummary Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.CodeReviewSummary

Show CodeReviewSummary Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.CodeReviewSummary

NFData CodeReviewSummary Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.CodeReviewSummary

Methods

rnf :: CodeReviewSummary -> () #

Eq CodeReviewSummary Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.CodeReviewSummary

Hashable 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" "amazonka-codeguru-reviewer-2.0-5PMDLaQhmT9HEhVpSUty9z" 'False) (C1 ('MetaCons "CodeReviewSummary'" 'PrefixI 'True) (((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)))) :*: (S1 ('MetaSel ('Just "metricsSummary") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe MetricsSummary)) :*: (S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "owner") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))) :*: ((S1 ('MetaSel ('Just "providerType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ProviderType)) :*: (S1 ('MetaSel ('Just "pullRequestId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "repositoryName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 ('MetaSel ('Just "sourceCodeType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe SourceCodeType)) :*: (S1 ('MetaSel ('Just "state") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe JobState)) :*: S1 ('MetaSel ('Just "type'") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Type)))))))

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:codeReviewArn:CodeReviewSummary', codeReviewSummary_codeReviewArn - The Amazon Resource Name (ARN) of the CodeReview object.

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

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

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

$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:providerType:CodeReviewSummary', codeReviewSummary_providerType - The provider type of the repository association.

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

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

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

$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:type':CodeReviewSummary', codeReviewSummary_type - The type of the code review.

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.

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_providerType :: Lens' CodeReviewSummary (Maybe ProviderType) Source #

The provider type of the repository association.

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

The pull request ID for the code review.

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.

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

Read CodeReviewType Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.CodeReviewType

Show CodeReviewType Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.CodeReviewType

NFData CodeReviewType Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.CodeReviewType

Methods

rnf :: CodeReviewType -> () #

Eq CodeReviewType Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.CodeReviewType

Hashable 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" "amazonka-codeguru-reviewer-2.0-5PMDLaQhmT9HEhVpSUty9z" '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

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

  • mergeBaseCommit :: Maybe Text

    The SHA of the merge base of a commit.

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

Instances

Instances details
FromJSON CommitDiffSourceCodeType Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.CommitDiffSourceCodeType

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

Read CommitDiffSourceCodeType Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.CommitDiffSourceCodeType

Show CommitDiffSourceCodeType Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.CommitDiffSourceCodeType

NFData CommitDiffSourceCodeType Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.CommitDiffSourceCodeType

Eq CommitDiffSourceCodeType Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.CommitDiffSourceCodeType

Hashable 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" "amazonka-codeguru-reviewer-2.0-5PMDLaQhmT9HEhVpSUty9z" 'False) (C1 ('MetaCons "CommitDiffSourceCodeType'" 'PrefixI 'True) (S1 ('MetaSel ('Just "destinationCommit") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "mergeBaseCommit") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "sourceCommit") '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: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.

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

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

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.

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.

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

  • name :: Maybe Text

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

  • state :: Maybe Text

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

Instances

Instances details
FromJSON EventInfo Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.EventInfo

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

Read EventInfo Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.EventInfo

Show EventInfo Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.EventInfo

NFData EventInfo Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.EventInfo

Methods

rnf :: EventInfo -> () #

Eq EventInfo Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.EventInfo

Hashable 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" "amazonka-codeguru-reviewer-2.0-5PMDLaQhmT9HEhVpSUty9z" 'False) (C1 ('MetaCons "EventInfo'" 'PrefixI 'True) (S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "state") '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:name:EventInfo', eventInfo_name - The name of the event. The possible names are pull_request, workflow_dispatch, schedule, and push

$sel:state:EventInfo', eventInfo_state - 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

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

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

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 repository 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 repository association.

Instances

Instances details
FromJSON KMSKeyDetails Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.KMSKeyDetails

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

Read KMSKeyDetails Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.KMSKeyDetails

Show KMSKeyDetails Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.KMSKeyDetails

NFData KMSKeyDetails Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.KMSKeyDetails

Methods

rnf :: KMSKeyDetails -> () #

Eq KMSKeyDetails Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.KMSKeyDetails

Hashable 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" "amazonka-codeguru-reviewer-2.0-5PMDLaQhmT9HEhVpSUty9z" '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 repository 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 repository association.

Metrics

data Metrics Source #

Information about the statistics from the code review.

See: newMetrics smart constructor.

Constructors

Metrics' 

Fields

  • findingsCount :: Maybe Integer

    Total number of recommendations found in the code review.

  • meteredLinesOfCodeCount :: Maybe Integer

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

  • suppressedLinesOfCodeCount :: Maybe Integer

    SuppressedLinesOfCodeCount is the number of lines of code in the repository where the code review happened that CodeGuru Reviewer did not analyze. The lines suppressed in the analysis is based on the excludeFiles variable in the aws-codeguru-reviewer.yml file. This number does not include non-code lines such as comments and blank lines.

Instances

Instances details
FromJSON 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 #

Read Metrics Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.Metrics

Show Metrics Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.Metrics

NFData Metrics Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.Metrics

Methods

rnf :: Metrics -> () #

Eq Metrics Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.Metrics

Methods

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

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

Hashable Metrics Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.Metrics

Methods

hashWithSalt :: Int -> Metrics -> Int #

hash :: Metrics -> Int #

type Rep Metrics Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.Metrics

type Rep Metrics = D1 ('MetaData "Metrics" "Amazonka.CodeGuruReviewer.Types.Metrics" "amazonka-codeguru-reviewer-2.0-5PMDLaQhmT9HEhVpSUty9z" '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)) :*: S1 ('MetaSel ('Just "suppressedLinesOfCodeCount") '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 - MeteredLinesOfCodeCount 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.

$sel:suppressedLinesOfCodeCount:Metrics', metrics_suppressedLinesOfCodeCount - SuppressedLinesOfCodeCount is the number of lines of code in the repository where the code review happened that CodeGuru Reviewer did not analyze. The lines suppressed in the analysis is based on the excludeFiles variable in the aws-codeguru-reviewer.yml file. This number 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 #

MeteredLinesOfCodeCount 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_suppressedLinesOfCodeCount :: Lens' Metrics (Maybe Integer) Source #

SuppressedLinesOfCodeCount is the number of lines of code in the repository where the code review happened that CodeGuru Reviewer did not analyze. The lines suppressed in the analysis is based on the excludeFiles variable in the aws-codeguru-reviewer.yml file. This number 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.

  • suppressedLinesOfCodeCount :: Maybe Integer

    Lines of code suppressed in the code review based on the excludeFiles element in the aws-codeguru-reviewer.yml file. For full repository analyses, this number includes all lines of code in the files that are suppressed. For pull requests, this number only includes the changed lines of code that are suppressed. In both cases, this number does not include non-code lines such as comments and import statements. For example, if you initiate a full repository analysis on a repository containing 5 files, each file with 100 lines of code, and 2 files are listed as excluded in the aws-codeguru-reviewer.yml file, then SuppressedLinesOfCodeCount returns 200 (2 * 100) as the total number of lines of code suppressed. However, if you submit a pull request for the same repository, then SuppressedLinesOfCodeCount only includes the lines in the 2 files that changed. If only 1 of the 2 files changed in the pull request, then SuppressedLinesOfCodeCount returns 100 (1 * 100) as the total number of lines of code suppressed.

Instances

Instances details
FromJSON 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 #

Read MetricsSummary Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.MetricsSummary

Show MetricsSummary Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.MetricsSummary

NFData MetricsSummary Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.MetricsSummary

Methods

rnf :: MetricsSummary -> () #

Eq MetricsSummary Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.MetricsSummary

Hashable 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" "amazonka-codeguru-reviewer-2.0-5PMDLaQhmT9HEhVpSUty9z" '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)) :*: S1 ('MetaSel ('Just "suppressedLinesOfCodeCount") '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.

$sel:suppressedLinesOfCodeCount:MetricsSummary', metricsSummary_suppressedLinesOfCodeCount - Lines of code suppressed in the code review based on the excludeFiles element in the aws-codeguru-reviewer.yml file. For full repository analyses, this number includes all lines of code in the files that are suppressed. For pull requests, this number only includes the changed lines of code that are suppressed. In both cases, this number does not include non-code lines such as comments and import statements. For example, if you initiate a full repository analysis on a repository containing 5 files, each file with 100 lines of code, and 2 files are listed as excluded in the aws-codeguru-reviewer.yml file, then SuppressedLinesOfCodeCount returns 200 (2 * 100) as the total number of lines of code suppressed. However, if you submit a pull request for the same repository, then SuppressedLinesOfCodeCount only includes the lines in the 2 files that changed. If only 1 of the 2 files changed in the pull request, then SuppressedLinesOfCodeCount returns 100 (1 * 100) as the total number of lines of code suppressed.

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.

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

Lines of code suppressed in the code review based on the excludeFiles element in the aws-codeguru-reviewer.yml file. For full repository analyses, this number includes all lines of code in the files that are suppressed. For pull requests, this number only includes the changed lines of code that are suppressed. In both cases, this number does not include non-code lines such as comments and import statements. For example, if you initiate a full repository analysis on a repository containing 5 files, each file with 100 lines of code, and 2 files are listed as excluded in the aws-codeguru-reviewer.yml file, then SuppressedLinesOfCodeCount returns 200 (2 * 100) as the total number of lines of code suppressed. However, if you submit a pull request for the same repository, then SuppressedLinesOfCodeCount only includes the lines in the 2 files that changed. If only 1 of the 2 files changed in the pull request, then SuppressedLinesOfCodeCount returns 100 (1 * 100) as the total number of lines of code suppressed.

RecommendationFeedback

data RecommendationFeedback Source #

Information about the recommendation feedback.

See: newRecommendationFeedback smart constructor.

Constructors

RecommendationFeedback' 

Fields

Instances

Instances details
FromJSON 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 #

Read RecommendationFeedback Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.RecommendationFeedback

Show RecommendationFeedback Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.RecommendationFeedback

NFData RecommendationFeedback Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.RecommendationFeedback

Methods

rnf :: RecommendationFeedback -> () #

Eq RecommendationFeedback Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.RecommendationFeedback

Hashable 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" "amazonka-codeguru-reviewer-2.0-5PMDLaQhmT9HEhVpSUty9z" 'False) (C1 ('MetaCons "RecommendationFeedback'" 'PrefixI 'True) ((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)))) :*: (S1 ('MetaSel ('Just "reactions") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Reaction])) :*: (S1 ('MetaSel ('Just "recommendationId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "userId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))))

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

$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: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.

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.

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.

RecommendationFeedbackSummary

data RecommendationFeedbackSummary Source #

Information about recommendation feedback summaries.

See: newRecommendationFeedbackSummary smart constructor.

Constructors

RecommendationFeedbackSummary' 

Fields

  • reactions :: Maybe [Reaction]

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

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

Instances

Instances details
FromJSON 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 #

Read RecommendationFeedbackSummary Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.RecommendationFeedbackSummary

Show RecommendationFeedbackSummary Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.RecommendationFeedbackSummary

NFData RecommendationFeedbackSummary Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.RecommendationFeedbackSummary

Eq RecommendationFeedbackSummary Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.RecommendationFeedbackSummary

Hashable 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" "amazonka-codeguru-reviewer-2.0-5PMDLaQhmT9HEhVpSUty9z" 'False) (C1 ('MetaCons "RecommendationFeedbackSummary'" 'PrefixI 'True) (S1 ('MetaSel ('Just "reactions") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Reaction])) :*: (S1 ('MetaSel ('Just "recommendationId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "userId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))

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:reactions:RecommendationFeedbackSummary', recommendationFeedbackSummary_reactions - List for storing reactions. Reactions are utf-8 text code for emojis.

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

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

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.

RecommendationSummary

data RecommendationSummary Source #

Information about recommendations.

See: newRecommendationSummary smart constructor.

Constructors

RecommendationSummary' 

Fields

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

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

  • filePath :: Maybe Text

    Name of the file on which a recommendation is provided.

  • recommendationCategory :: Maybe RecommendationCategory

    The type of a recommendation.

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

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

  • severity :: Maybe Severity

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

  • startLine :: Maybe Int

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

Instances

Instances details
FromJSON 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 #

Read RecommendationSummary Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.RecommendationSummary

Show RecommendationSummary Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.RecommendationSummary

NFData RecommendationSummary Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.RecommendationSummary

Methods

rnf :: RecommendationSummary -> () #

Eq RecommendationSummary Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.RecommendationSummary

Hashable 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" "amazonka-codeguru-reviewer-2.0-5PMDLaQhmT9HEhVpSUty9z" 'False) (C1 ('MetaCons "RecommendationSummary'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "description") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "endLine") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int))) :*: (S1 ('MetaSel ('Just "filePath") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "recommendationCategory") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe RecommendationCategory)))) :*: ((S1 ('MetaSel ('Just "recommendationId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "ruleMetadata") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe RuleMetadata))) :*: (S1 ('MetaSel ('Just "severity") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Severity)) :*: S1 ('MetaSel ('Just "startLine") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int))))))

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: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: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:filePath:RecommendationSummary', recommendationSummary_filePath - Name of the file on which a recommendation is provided.

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

$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: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:severity:RecommendationSummary', recommendationSummary_severity - The severity of the issue in the code that generated this recommendation.

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

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.

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_filePath :: Lens' RecommendationSummary (Maybe Text) Source #

Name of the file on which a recommendation is provided.

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_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_severity :: Lens' RecommendationSummary (Maybe Severity) Source #

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

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

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

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

Read Repository Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.Repository

Show Repository Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.Repository

NFData Repository Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.Repository

Methods

rnf :: Repository -> () #

Eq Repository Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.Repository

Hashable 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" "amazonka-codeguru-reviewer-2.0-5PMDLaQhmT9HEhVpSUty9z" 'False) (C1 ('MetaCons "Repository'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "bitbucket") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ThirdPartySourceRepository)) :*: 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)))))

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:bitbucket:Repository', repository_bitbucket - Information about a Bitbucket repository.

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

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

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.

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

Read RepositoryAnalysis Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.RepositoryAnalysis

Show RepositoryAnalysis Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.RepositoryAnalysis

NFData RepositoryAnalysis Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.RepositoryAnalysis

Methods

rnf :: RepositoryAnalysis -> () #

Eq RepositoryAnalysis Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.RepositoryAnalysis

Hashable 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" "amazonka-codeguru-reviewer-2.0-5PMDLaQhmT9HEhVpSUty9z" '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:

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.

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

  • createdTimeStamp :: Maybe POSIX

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

  • 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 repository association.
  • lastUpdatedTimeStamp :: Maybe POSIX

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

  • name :: Maybe Text

    The name of the repository.

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

  • providerType :: Maybe ProviderType

    The provider type of the repository association.

  • s3RepositoryDetails :: Maybe S3RepositoryDetails
     
  • 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 anassociated 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.
  • stateReason :: Maybe Text

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

Instances

Instances details
FromJSON 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 #

Read RepositoryAssociation Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.RepositoryAssociation

Show RepositoryAssociation Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.RepositoryAssociation

NFData RepositoryAssociation Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.RepositoryAssociation

Methods

rnf :: RepositoryAssociation -> () #

Eq RepositoryAssociation Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.RepositoryAssociation

Hashable 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" "amazonka-codeguru-reviewer-2.0-5PMDLaQhmT9HEhVpSUty9z" '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 "connectionArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 ('MetaSel ('Just "createdTimeStamp") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: (S1 ('MetaSel ('Just "kmsKeyDetails") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe KMSKeyDetails)) :*: S1 ('MetaSel ('Just "lastUpdatedTimeStamp") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX))))) :*: ((S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "owner") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "providerType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ProviderType)))) :*: (S1 ('MetaSel ('Just "s3RepositoryDetails") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe S3RepositoryDetails)) :*: (S1 ('MetaSel ('Just "state") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe RepositoryAssociationState)) :*: S1 ('MetaSel ('Just "stateReason") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))))

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: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:createdTimeStamp:RepositoryAssociation', repositoryAssociation_createdTimeStamp - The time, in milliseconds since the epoch, when the repository association was created.

$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 repository association.

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

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

$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:providerType:RepositoryAssociation', repositoryAssociation_providerType - The provider type of the repository association.

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

$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 anassociated 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:stateReason:RepositoryAssociation', repositoryAssociation_stateReason - A description of why the repository association is in the current state.

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

The Amazon Resource Name (ARN) identifying the repository 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_createdTimeStamp :: Lens' RepositoryAssociation (Maybe UTCTime) Source #

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

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 repository association.

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

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

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_providerType :: Lens' RepositoryAssociation (Maybe ProviderType) Source #

The provider type of 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 anassociated 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_stateReason :: Lens' RepositoryAssociation (Maybe Text) Source #

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

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.

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

  • name :: Maybe Text

    The name 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.

  • providerType :: Maybe ProviderType

    The provider type 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 anassociated 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.

Instances

Instances details
FromJSON 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 #

Read RepositoryAssociationSummary Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.RepositoryAssociationSummary

Show RepositoryAssociationSummary Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.RepositoryAssociationSummary

NFData RepositoryAssociationSummary Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.RepositoryAssociationSummary

Eq RepositoryAssociationSummary Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.RepositoryAssociationSummary

Hashable 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" "amazonka-codeguru-reviewer-2.0-5PMDLaQhmT9HEhVpSUty9z" '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 "connectionArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "lastUpdatedTimeStamp") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)))) :*: ((S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "owner") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "providerType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ProviderType)) :*: S1 ('MetaSel ('Just "state") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe RepositoryAssociationState))))))

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

$sel:name:RepositoryAssociationSummary', repositoryAssociationSummary_name - The name 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:providerType:RepositoryAssociationSummary', repositoryAssociationSummary_providerType - The provider type of the repository association.

$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 anassociated 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_associationArn :: Lens' RepositoryAssociationSummary (Maybe Text) Source #

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

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.

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_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 anassociated 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.

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
FromJSON RepositoryHeadSourceCodeType Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.RepositoryHeadSourceCodeType

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

Read RepositoryHeadSourceCodeType Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.RepositoryHeadSourceCodeType

Show RepositoryHeadSourceCodeType Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.RepositoryHeadSourceCodeType

NFData RepositoryHeadSourceCodeType Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.RepositoryHeadSourceCodeType

Eq RepositoryHeadSourceCodeType Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.RepositoryHeadSourceCodeType

Hashable 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" "amazonka-codeguru-reviewer-2.0-5PMDLaQhmT9HEhVpSUty9z" '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

  • eventInfo :: Maybe EventInfo

    Information about the event associated with a code review.

  • requestId :: Maybe Text

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

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

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

Instances

Instances details
FromJSON RequestMetadata Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.RequestMetadata

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

Read RequestMetadata Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.RequestMetadata

Show RequestMetadata Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.RequestMetadata

NFData RequestMetadata Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.RequestMetadata

Methods

rnf :: RequestMetadata -> () #

Eq RequestMetadata Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.RequestMetadata

Hashable 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" "amazonka-codeguru-reviewer-2.0-5PMDLaQhmT9HEhVpSUty9z" 'False) (C1 ('MetaCons "RequestMetadata'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "eventInfo") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe EventInfo)) :*: S1 ('MetaSel ('Just "requestId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "requester") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "vendorName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe VendorName)))))

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:eventInfo:RequestMetadata', requestMetadata_eventInfo - Information about the event associated with a code review.

$sel:requestId:RequestMetadata', requestMetadata_requestId - The ID of the request. This is required for a pull request code review.

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

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

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

Information about the event associated with a code review.

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

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

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.

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.

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

Read RuleMetadata Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.RuleMetadata

Show RuleMetadata Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.RuleMetadata

NFData RuleMetadata Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.RuleMetadata

Methods

rnf :: RuleMetadata -> () #

Eq RuleMetadata Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.RuleMetadata

Hashable 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" "amazonka-codeguru-reviewer-2.0-5PMDLaQhmT9HEhVpSUty9z" 'False) (C1 ('MetaCons "RuleMetadata'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "longDescription") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "ruleId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "ruleName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "ruleTags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (NonEmpty 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:ruleId:RuleMetadata', ruleMetadata_ruleId - The ID of the rule.

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

$sel:ruleTags:RuleMetadata', ruleMetadata_ruleTags - Tags that are associated with 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
FromJSON S3BucketRepository Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.S3BucketRepository

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

Read S3BucketRepository Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.S3BucketRepository

Show S3BucketRepository Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.S3BucketRepository

NFData S3BucketRepository Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.S3BucketRepository

Methods

rnf :: S3BucketRepository -> () #

Eq S3BucketRepository Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.S3BucketRepository

Hashable 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" "amazonka-codeguru-reviewer-2.0-5PMDLaQhmT9HEhVpSUty9z" '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
ToJSON 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 #

Read S3Repository Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.S3Repository

Show S3Repository Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.S3Repository

NFData S3Repository Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.S3Repository

Methods

rnf :: S3Repository -> () #

Eq S3Repository Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.S3Repository

Hashable 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" "amazonka-codeguru-reviewer-2.0-5PMDLaQhmT9HEhVpSUty9z" '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

  • bucketName :: Maybe Text

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

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

Instances

Instances details
FromJSON S3RepositoryDetails Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.S3RepositoryDetails

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

Read S3RepositoryDetails Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.S3RepositoryDetails

Show S3RepositoryDetails Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.S3RepositoryDetails

NFData S3RepositoryDetails Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.S3RepositoryDetails

Methods

rnf :: S3RepositoryDetails -> () #

Eq S3RepositoryDetails Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.S3RepositoryDetails

Hashable 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" "amazonka-codeguru-reviewer-2.0-5PMDLaQhmT9HEhVpSUty9z" 'False) (C1 ('MetaCons "S3RepositoryDetails'" 'PrefixI 'True) (S1 ('MetaSel ('Just "bucketName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "codeArtifacts") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe CodeArtifacts))))

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:bucketName:S3RepositoryDetails', s3RepositoryDetails_bucketName - The name of the S3 bucket used for associating a new S3 repository. It must begin with codeguru-reviewer-.

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

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

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.

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
FromJSON SourceCodeType Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.SourceCodeType

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

Read SourceCodeType Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.SourceCodeType

Show SourceCodeType Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.SourceCodeType

NFData SourceCodeType Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.SourceCodeType

Methods

rnf :: SourceCodeType -> () #

Eq SourceCodeType Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.SourceCodeType

Hashable 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" "amazonka-codeguru-reviewer-2.0-5PMDLaQhmT9HEhVpSUty9z" 'False) (C1 ('MetaCons "SourceCodeType'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "branchDiff") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe BranchDiffSourceCodeType)) :*: S1 ('MetaSel ('Just "commitDiff") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe CommitDiffSourceCodeType))) :*: (S1 ('MetaSel ('Just "repositoryHead") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe RepositoryHeadSourceCodeType)) :*: (S1 ('MetaSel ('Just "requestMetadata") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe RequestMetadata)) :*: S1 ('MetaSel ('Just "s3BucketRepository") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe S3BucketRepository))))))

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:branchDiff:SourceCodeType', sourceCodeType_branchDiff - A type of SourceCodeType that specifies a source branch name and a destination branch name in an associated repository.

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

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

$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: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.

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.

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

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

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

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

Read ThirdPartySourceRepository Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.ThirdPartySourceRepository

Show ThirdPartySourceRepository Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.ThirdPartySourceRepository

NFData ThirdPartySourceRepository Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.ThirdPartySourceRepository

Eq ThirdPartySourceRepository Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.ThirdPartySourceRepository

Hashable 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" "amazonka-codeguru-reviewer-2.0-5PMDLaQhmT9HEhVpSUty9z" '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