libZSservicesZSamazonka-codeguru-reviewerZSamazonka-codeguru-reviewer
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.CodeGuruReviewer.Types.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
Eq CodeReviewSummary Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.CodeReviewSummary

Read CodeReviewSummary Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.CodeReviewSummary

Show CodeReviewSummary Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.CodeReviewSummary

Generic CodeReviewSummary Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.CodeReviewSummary

Associated Types

type Rep CodeReviewSummary :: Type -> Type #

NFData CodeReviewSummary Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.CodeReviewSummary

Methods

rnf :: CodeReviewSummary -> () #

Hashable CodeReviewSummary Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.CodeReviewSummary

FromJSON CodeReviewSummary Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.CodeReviewSummary

type Rep CodeReviewSummary Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.CodeReviewSummary

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

newCodeReviewSummary :: CodeReviewSummary Source #

Create a value of CodeReviewSummary with all optional fields omitted.

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

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

$sel:state:CodeReviewSummary', codeReviewSummary_state - The state of the code review.

The valid code review states are:

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

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

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

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

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

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

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

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

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

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

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

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

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

The state of the code review.

The valid code review states are:

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

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

The pull request ID for the code review.

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

The provider type of the repository association.

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

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

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

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

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

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

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

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