Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Synopsis
- data CodeReviewSummary = CodeReviewSummary' {
- codeReviewArn :: Maybe Text
- createdTimeStamp :: Maybe POSIX
- lastUpdatedTimeStamp :: Maybe POSIX
- metricsSummary :: Maybe MetricsSummary
- name :: Maybe Text
- owner :: Maybe Text
- providerType :: Maybe ProviderType
- pullRequestId :: Maybe Text
- repositoryName :: Maybe Text
- sourceCodeType :: Maybe SourceCodeType
- state :: Maybe JobState
- type' :: Maybe Type
- newCodeReviewSummary :: CodeReviewSummary
- codeReviewSummary_codeReviewArn :: Lens' CodeReviewSummary (Maybe Text)
- codeReviewSummary_createdTimeStamp :: Lens' CodeReviewSummary (Maybe UTCTime)
- codeReviewSummary_lastUpdatedTimeStamp :: Lens' CodeReviewSummary (Maybe UTCTime)
- codeReviewSummary_metricsSummary :: Lens' CodeReviewSummary (Maybe MetricsSummary)
- codeReviewSummary_name :: Lens' CodeReviewSummary (Maybe Text)
- codeReviewSummary_owner :: Lens' CodeReviewSummary (Maybe Text)
- codeReviewSummary_providerType :: Lens' CodeReviewSummary (Maybe ProviderType)
- codeReviewSummary_pullRequestId :: Lens' CodeReviewSummary (Maybe Text)
- codeReviewSummary_repositoryName :: Lens' CodeReviewSummary (Maybe Text)
- codeReviewSummary_sourceCodeType :: Lens' CodeReviewSummary (Maybe SourceCodeType)
- codeReviewSummary_state :: Lens' CodeReviewSummary (Maybe JobState)
- codeReviewSummary_type :: Lens' CodeReviewSummary (Maybe Type)
Documentation
data CodeReviewSummary Source #
Information about the summary of the code review.
See: newCodeReviewSummary
smart constructor.
CodeReviewSummary' | |
|
Instances
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_metricsSummary :: Lens' CodeReviewSummary (Maybe MetricsSummary) Source #
The statistics from the code review.
codeReviewSummary_name :: Lens' CodeReviewSummary (Maybe Text) Source #
The name of the code review.
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_repositoryName :: Lens' CodeReviewSummary (Maybe Text) Source #
The name of the repository.
codeReviewSummary_sourceCodeType :: Lens' CodeReviewSummary (Maybe SourceCodeType) Source #
Undocumented member.
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_type :: Lens' CodeReviewSummary (Maybe Type) Source #
The type of the code review.