npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

@datafire/amazonaws_codeguru_reviewer

v5.0.0

Published

DataFire integration for Amazon CodeGuru Reviewer

Downloads

7

Readme

@datafire/amazonaws_codeguru_reviewer

Client library for Amazon CodeGuru Reviewer

Installation and Usage

npm install --save @datafire/amazonaws_codeguru_reviewer
let amazonaws_codeguru_reviewer = require('@datafire/amazonaws_codeguru_reviewer').create({
  accessKeyId: "",
  secretAccessKey: "",
  region: ""
});

.then(data => {
  console.log(data);
});

Description

Actions

ListRepositoryAssociations

amazonaws_codeguru_reviewer.ListRepositoryAssociations({}, context)

Input

  • input object
    • ProviderType array
    • State array
    • Name array
    • Owner array
    • MaxResults integer
    • NextToken string

Output

AssociateRepository

amazonaws_codeguru_reviewer.AssociateRepository({
  "Repository": {}
}, context)

Input

  • input object
    • ClientRequestToken string: Amazon CodeGuru Reviewer uses this value to prevent the accidental creation of duplicate repository associations if there are failures and retries.
    • Repository required object: Information about an associated AWS CodeCommit repository or an associated repository that is managed by AWS CodeStar Connections (for example, Bitbucket). This Repository object is not used if your source code is in an associated GitHub repository.
      • Bitbucket
        • ConnectionArn required
        • Name required
        • Owner required
      • CodeCommit
        • Name required
      • GitHubEnterpriseServer
        • ConnectionArn required
        • Name required
        • Owner required
    • Tags object: An array of key-value pairs used to tag an associated repository. A tag is a custom attribute label with two parts: A tag key (for example, CostCenter, Environment, Project, or Secret). Tag keys are case sensitive. An optional field known as a tag value (for example, 111122223333, Production, or a team name). Omitting the tag value is the same as using an empty string. Like tag keys, tag values are case sensitive.

Output

DisassociateRepository

amazonaws_codeguru_reviewer.DisassociateRepository({
  "AssociationArn": ""
}, context)

Input

  • input object
    • AssociationArn required string

Output

DescribeRepositoryAssociation

amazonaws_codeguru_reviewer.DescribeRepositoryAssociation({
  "AssociationArn": ""
}, context)

Input

  • input object
    • AssociationArn required string

Output

CreateCodeReview

amazonaws_codeguru_reviewer.CreateCodeReview({
  "Name": "",
  "RepositoryAssociationArn": "",
  "Type": {}
}, context)

Input

  • input object
    • ClientRequestToken string: Amazon CodeGuru Reviewer uses this value to prevent the accidental creation of duplicate code reviews if there are failures and retries.
    • Name required string: The name of the code review. The name of each code review in your AWS account must be unique.
    • RepositoryAssociationArn required string: The Amazon Resource Name (ARN) of the RepositoryAssociation object. You can retrieve this ARN by calling ListRepositoryAssociations . A code review can only be created on an associated repository. This is the ARN of the associated repository.
    • Type required object: 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 assocaited repository. Because this type of code review is automatically generated, you cannot specify this code review type using CreateCodeReview . RepositoryAnalysis - A code review that analyzes all code under a specified branch in an associated respository. The assocated repository is specified using its ARN in CreateCodeReview .
      • RepositoryAnalysis
        • RepositoryHead required
          • BranchName required

Output

ListCodeReviews

amazonaws_codeguru_reviewer.ListCodeReviews({
  "Type": ""
}, context)

Input

  • input object
    • ProviderTypes array
    • States array
    • RepositoryNames array
    • Type required string
    • MaxResults integer
    • NextToken string

Output

DescribeCodeReview

amazonaws_codeguru_reviewer.DescribeCodeReview({
  "CodeReviewArn": ""
}, context)

Input

  • input object
    • CodeReviewArn required string

Output

ListRecommendations

amazonaws_codeguru_reviewer.ListRecommendations({
  "CodeReviewArn": ""
}, context)

Input

  • input object
    • NextToken string
    • MaxResults integer
    • CodeReviewArn required string

Output

PutRecommendationFeedback

amazonaws_codeguru_reviewer.PutRecommendationFeedback({
  "CodeReviewArn": "",
  "RecommendationId": "",
  "Reactions": []
}, context)

Input

  • input object
    • CodeReviewArn required string: The Amazon Resource Name (ARN) of the CodeReview object.
    • Reactions required array: List for storing reactions. Reactions are utf-8 text code for emojis. If you send an empty list it clears all your feedback.
    • RecommendationId required string: The recommendation ID that can be used to track the provided recommendations and then to collect the feedback.

Output

DescribeRecommendationFeedback

amazonaws_codeguru_reviewer.DescribeRecommendationFeedback({
  "CodeReviewArn": "",
  "RecommendationId": ""
}, context)

Input

  • input object
    • CodeReviewArn required string
    • RecommendationId required string
    • UserId string

Output

ListRecommendationFeedback

amazonaws_codeguru_reviewer.ListRecommendationFeedback({
  "CodeReviewArn": ""
}, context)

Input

  • input object
    • NextToken string
    • MaxResults integer
    • CodeReviewArn required string
    • UserIds array
    • RecommendationIds array

Output

ListTagsForResource

amazonaws_codeguru_reviewer.ListTagsForResource({
  "resourceArn": ""
}, context)

Input

  • input object
    • resourceArn required string

Output

TagResource

amazonaws_codeguru_reviewer.TagResource({
  "resourceArn": "",
  "Tags": {}
}, context)

Input

  • input object
    • resourceArn required string
    • Tags required object: An array of key-value pairs used to tag an associated repository. A tag is a custom attribute label with two parts: A tag key (for example, CostCenter, Environment, Project, or Secret). Tag keys are case sensitive. An optional field known as a tag value (for example, 111122223333, Production, or a team name). Omitting the tag value is the same as using an empty string. Like tag keys, tag values are case sensitive.

Output

UntagResource

amazonaws_codeguru_reviewer.UntagResource({
  "resourceArn": "",
  "tagKeys": []
}, context)

Input

  • input object
    • resourceArn required string
    • tagKeys required array

Output

Definitions

AccessDeniedException

Arn

  • Arn string

AssociateRepositoryRequest

  • AssociateRepositoryRequest object
    • ClientRequestToken
    • Repository required
      • Bitbucket
        • ConnectionArn required
        • Name required
        • Owner required
      • CodeCommit
        • Name required
      • GitHubEnterpriseServer
        • ConnectionArn required
        • Name required
        • Owner required
    • Tags

AssociateRepositoryResponse

  • AssociateRepositoryResponse object
    • RepositoryAssociation
      • AssociationArn
      • AssociationId
      • ConnectionArn
      • CreatedTimeStamp
      • LastUpdatedTimeStamp
      • Name
      • Owner
      • ProviderType
      • State
      • StateReason
    • Tags

AssociationArn

  • AssociationArn string

AssociationId

  • AssociationId string

BranchName

  • BranchName string

ClientRequestToken

  • ClientRequestToken string

CodeCommitRepository

  • CodeCommitRepository object: Information about an AWS CodeCommit repository. The CodeCommit repository must be in the same AWS Region and AWS account where its CodeGuru Reviewer code reviews are configured.
    • Name required

CodeReview

  • CodeReview object: Information about a code review. A code review belongs to the associated repository that contains the reviewed code.
    • AssociationArn
    • CodeReviewArn
    • CreatedTimeStamp
    • LastUpdatedTimeStamp
    • Metrics
      • FindingsCount
      • MeteredLinesOfCodeCount
    • Name
    • Owner
    • ProviderType
    • PullRequestId
    • RepositoryName
    • SourceCodeType
    • State
    • StateReason
    • Type

CodeReviewName

  • CodeReviewName string

CodeReviewSummaries

CodeReviewSummary

  • CodeReviewSummary object: Information about the summary of the code review.
    • CodeReviewArn
    • CreatedTimeStamp
    • LastUpdatedTimeStamp
    • MetricsSummary
      • FindingsCount
      • MeteredLinesOfCodeCount
    • Name
    • Owner
    • ProviderType
    • PullRequestId
    • RepositoryName
    • State
    • Type

CodeReviewType

  • CodeReviewType object: 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 assocaited repository. Because this type of code review is automatically generated, you cannot specify this code review type using CreateCodeReview . RepositoryAnalysis - A code review that analyzes all code under a specified branch in an associated respository. The assocated repository is specified using its ARN in CreateCodeReview .
    • RepositoryAnalysis required
      • RepositoryHead required
        • BranchName required

CommitDiffSourceCodeType

  • CommitDiffSourceCodeType object: A type of SourceCodeType that specifies the commit diff for a pull request on an associated repository.
    • DestinationCommit
    • SourceCommit

CommitId

  • CommitId string

ConflictException

ConnectionArn

  • ConnectionArn string

CreateCodeReviewRequest

  • CreateCodeReviewRequest object
    • ClientRequestToken
    • Name required
    • RepositoryAssociationArn required
    • Type required
      • RepositoryAnalysis required
        • RepositoryHead required
          • BranchName required

CreateCodeReviewResponse

  • CreateCodeReviewResponse object

DescribeCodeReviewRequest

  • DescribeCodeReviewRequest object

DescribeCodeReviewResponse

  • DescribeCodeReviewResponse object
    • CodeReview
      • AssociationArn
      • CodeReviewArn
      • CreatedTimeStamp
      • LastUpdatedTimeStamp
      • Metrics
        • FindingsCount
        • MeteredLinesOfCodeCount
      • Name
      • Owner
      • ProviderType
      • PullRequestId
      • RepositoryName
      • SourceCodeType
      • State
      • StateReason
      • Type

DescribeRecommendationFeedbackRequest

  • DescribeRecommendationFeedbackRequest object

DescribeRecommendationFeedbackResponse

  • DescribeRecommendationFeedbackResponse object
    • RecommendationFeedback
      • CodeReviewArn
      • CreatedTimeStamp
      • LastUpdatedTimeStamp
      • Reactions
      • RecommendationId
      • UserId

DescribeRepositoryAssociationRequest

  • DescribeRepositoryAssociationRequest object

DescribeRepositoryAssociationResponse

  • DescribeRepositoryAssociationResponse object
    • RepositoryAssociation
      • AssociationArn
      • AssociationId
      • ConnectionArn
      • CreatedTimeStamp
      • LastUpdatedTimeStamp
      • Name
      • Owner
      • ProviderType
      • State
      • StateReason
    • Tags

DisassociateRepositoryRequest

  • DisassociateRepositoryRequest object

DisassociateRepositoryResponse

  • DisassociateRepositoryResponse object
    • RepositoryAssociation
      • AssociationArn
      • AssociationId
      • ConnectionArn
      • CreatedTimeStamp
      • LastUpdatedTimeStamp
      • Name
      • Owner
      • ProviderType
      • State
      • StateReason
    • Tags

FilePath

  • FilePath string

FindingsCount

  • FindingsCount integer

InternalServerException

JobState

  • JobState string (values: Completed, Pending, Failed, Deleting)

JobStates

LineNumber

  • LineNumber integer

ListCodeReviewsMaxResults

  • ListCodeReviewsMaxResults integer

ListCodeReviewsRequest

  • ListCodeReviewsRequest object

ListCodeReviewsResponse

ListRecommendationFeedbackRequest

  • ListRecommendationFeedbackRequest object

ListRecommendationFeedbackResponse

ListRecommendationsRequest

  • ListRecommendationsRequest object

ListRecommendationsResponse

ListRepositoryAssociationsRequest

  • ListRepositoryAssociationsRequest object

ListRepositoryAssociationsResponse

ListTagsForResourceRequest

  • ListTagsForResourceRequest object

ListTagsForResourceResponse

  • ListTagsForResourceResponse object
    • Tags

MaxResults

  • MaxResults integer

MeteredLinesOfCodeCount

  • MeteredLinesOfCodeCount integer

Metrics

  • Metrics object: Information about the statistics from the code review.
    • FindingsCount
    • MeteredLinesOfCodeCount

MetricsSummary

  • MetricsSummary object: Information about metrics summaries.
    • FindingsCount
    • MeteredLinesOfCodeCount

Name

  • Name string

Names

  • Names array

NextToken

  • NextToken string

NotFoundException

Owner

  • Owner string

Owners

ProviderType

  • ProviderType string (values: CodeCommit, GitHub, Bitbucket, GitHubEnterpriseServer)

ProviderTypes

PullRequestId

  • PullRequestId string

PutRecommendationFeedbackRequest

  • PutRecommendationFeedbackRequest object
    • CodeReviewArn required
    • Reactions required
    • RecommendationId required

PutRecommendationFeedbackResponse

  • PutRecommendationFeedbackResponse object

Reaction

  • Reaction string (values: ThumbsUp, ThumbsDown)

Reactions

RecommendationFeedback

  • RecommendationFeedback object: Information about the recommendation feedback.
    • CodeReviewArn
    • CreatedTimeStamp
    • LastUpdatedTimeStamp
    • Reactions
    • RecommendationId
    • UserId

RecommendationFeedbackSummaries

RecommendationFeedbackSummary

  • RecommendationFeedbackSummary object: Information about recommendation feedback summaries.
    • Reactions
    • RecommendationId
    • UserId

RecommendationId

  • RecommendationId string

RecommendationIds

RecommendationSummaries

RecommendationSummary

  • RecommendationSummary object: Information about recommendations.
    • Description
    • EndLine
    • FilePath
    • RecommendationId
    • StartLine

Repository

  • Repository object: Information about an associated AWS CodeCommit repository or an associated repository that is managed by AWS CodeStar Connections (for example, Bitbucket). This Repository object is not used if your source code is in an associated GitHub repository.
    • Bitbucket
      • ConnectionArn required
      • Name required
      • Owner required
    • CodeCommit
      • Name required
    • GitHubEnterpriseServer
      • ConnectionArn required
      • Name required
      • Owner required

RepositoryAnalysis

  • RepositoryAnalysis object: A code review type that analyzes all code under a specified branch in an associated respository. The assocated repository is specified using its ARN when you call CreateCodeReview .
    • RepositoryHead required
      • BranchName required

RepositoryAssociation

  • RepositoryAssociation object: Information about a repository association. The DescribeRepositoryAssociation operation returns a RepositoryAssociation object.
    • AssociationArn
    • AssociationId
    • ConnectionArn
    • CreatedTimeStamp
    • LastUpdatedTimeStamp
    • Name
    • Owner
    • ProviderType
    • State
    • StateReason

RepositoryAssociationState

  • RepositoryAssociationState string (values: Associated, Associating, Failed, Disassociating, Disassociated)

RepositoryAssociationStates

RepositoryAssociationSummaries

RepositoryAssociationSummary

  • RepositoryAssociationSummary object: Summary information about a repository association. The ListRepositoryAssociations operation returns a list of RepositoryAssociationSummary objects.
    • AssociationArn
    • AssociationId
    • ConnectionArn
    • LastUpdatedTimeStamp
    • Name
    • Owner
    • ProviderType
    • State

RepositoryHeadSourceCodeType

  • RepositoryHeadSourceCodeType object: A SourceCodeType that specifies the tip of a branch in an associated repository.
    • BranchName required

RepositoryNames

  • RepositoryNames array

ResourceNotFoundException

SourceCodeType

  • SourceCodeType object: Specifies the source code that is analyzed in a code review. A code review can analyze the source code that is specified using a pull request diff or a branch in an associated repository.

StateReason

  • StateReason string

TagKey

  • TagKey string

TagKeyList

TagMap

  • TagMap object

TagResourceRequest

  • TagResourceRequest object
    • Tags required

TagResourceResponse

  • TagResourceResponse object

TagValue

  • TagValue string

Text

  • Text string

ThirdPartySourceRepository

  • ThirdPartySourceRepository object: Information about a third-party source repository connected to CodeGuru Reviewer.
    • ConnectionArn required
    • Name required
    • Owner required

ThrottlingException

TimeStamp

  • TimeStamp string

Type

  • Type string (values: PullRequest, RepositoryAnalysis)

UntagResourceRequest

  • UntagResourceRequest object

UntagResourceResponse

  • UntagResourceResponse object

UserId

  • UserId string

UserIds

ValidationException