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

Description

 
Synopsis

Documentation

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.