Documentation ¶
Overview ¶
Package codegurureviewer provides the client and types for making API requests to Amazon CodeGuru Reviewer.
This section provides documentation for the Amazon CodeGuru Reviewer API operations. CodeGuru Reviewer is a service that uses program analysis and machine learning to detect potential defects that are difficult for developers to find and recommends fixes in your Java and Python code.
By proactively detecting and providing recommendations for addressing code defects and implementing best practices, CodeGuru Reviewer improves the overall quality and maintainability of your code base during the code review stage. For more information about CodeGuru Reviewer, see the Amazon CodeGuru Reviewer User Guide (https://docs.aws.amazon.com/codeguru/latest/reviewer-ug/welcome.html).
To improve the security of your CodeGuru Reviewer API calls, you can establish a private connection between your VPC and CodeGuru Reviewer by creating an interface VPC endpoint. For more information, see CodeGuru Reviewer and interface VPC endpoints (Amazon Web Services PrivateLink) (https://docs.aws.amazon.com/codeguru/latest/reviewer-ug/vpc-interface-endpoints.html) in the Amazon CodeGuru Reviewer User Guide.
See https://docs.aws.amazon.com/goto/WebAPI/codeguru-reviewer-2019-09-19 for more information on this service.
See codegurureviewer package documentation for more information. https://docs.aws.amazon.com/sdk-for-go/api/service/codegurureviewer/
Using the Client ¶
To contact Amazon CodeGuru Reviewer with the SDK use the New function to create a new service client. With that client you can make API requests to the service. These clients are safe to use concurrently.
See the SDK's documentation for more information on how to use the SDK. https://docs.aws.amazon.com/sdk-for-go/api/
See aws.Config documentation for more information on configuring SDK clients. https://docs.aws.amazon.com/sdk-for-go/api/aws/#Config
See the Amazon CodeGuru Reviewer client CodeGuruReviewer for more information on creating client for this service. https://docs.aws.amazon.com/sdk-for-go/api/service/codegurureviewer/#New
Index ¶
- Constants
- func AnalysisType_Values() []string
- func EncryptionOption_Values() []string
- func JobState_Values() []string
- func ProviderType_Values() []string
- func Reaction_Values() []string
- func RecommendationCategory_Values() []string
- func RepositoryAssociationState_Values() []string
- func Severity_Values() []string
- func Type_Values() []string
- func VendorName_Values() []string
- type AccessDeniedException
- func (s *AccessDeniedException) Code() string
- func (s *AccessDeniedException) Error() string
- func (s AccessDeniedException) GoString() string
- func (s *AccessDeniedException) Message() string
- func (s *AccessDeniedException) OrigErr() error
- func (s *AccessDeniedException) RequestID() string
- func (s *AccessDeniedException) StatusCode() int
- func (s AccessDeniedException) String() string
- type AssociateRepositoryInput
- func (s AssociateRepositoryInput) GoString() string
- func (s *AssociateRepositoryInput) SetClientRequestToken(v string) *AssociateRepositoryInput
- func (s *AssociateRepositoryInput) SetKMSKeyDetails(v *KMSKeyDetails) *AssociateRepositoryInput
- func (s *AssociateRepositoryInput) SetRepository(v *Repository) *AssociateRepositoryInput
- func (s *AssociateRepositoryInput) SetTags(v map[string]*string) *AssociateRepositoryInput
- func (s AssociateRepositoryInput) String() string
- func (s *AssociateRepositoryInput) Validate() error
- type AssociateRepositoryOutput
- func (s AssociateRepositoryOutput) GoString() string
- func (s *AssociateRepositoryOutput) SetRepositoryAssociation(v *RepositoryAssociation) *AssociateRepositoryOutput
- func (s *AssociateRepositoryOutput) SetTags(v map[string]*string) *AssociateRepositoryOutput
- func (s AssociateRepositoryOutput) String() string
- type BranchDiffSourceCodeType
- func (s BranchDiffSourceCodeType) GoString() string
- func (s *BranchDiffSourceCodeType) SetDestinationBranchName(v string) *BranchDiffSourceCodeType
- func (s *BranchDiffSourceCodeType) SetSourceBranchName(v string) *BranchDiffSourceCodeType
- func (s BranchDiffSourceCodeType) String() string
- func (s *BranchDiffSourceCodeType) Validate() error
- type CodeArtifacts
- type CodeCommitRepository
- type CodeGuruReviewer
- func (c *CodeGuruReviewer) AssociateRepository(input *AssociateRepositoryInput) (*AssociateRepositoryOutput, error)
- func (c *CodeGuruReviewer) AssociateRepositoryRequest(input *AssociateRepositoryInput) (req *request.Request, output *AssociateRepositoryOutput)
- func (c *CodeGuruReviewer) AssociateRepositoryWithContext(ctx aws.Context, input *AssociateRepositoryInput, opts ...request.Option) (*AssociateRepositoryOutput, error)
- func (c *CodeGuruReviewer) CreateCodeReview(input *CreateCodeReviewInput) (*CreateCodeReviewOutput, error)
- func (c *CodeGuruReviewer) CreateCodeReviewRequest(input *CreateCodeReviewInput) (req *request.Request, output *CreateCodeReviewOutput)
- func (c *CodeGuruReviewer) CreateCodeReviewWithContext(ctx aws.Context, input *CreateCodeReviewInput, opts ...request.Option) (*CreateCodeReviewOutput, error)
- func (c *CodeGuruReviewer) DescribeCodeReview(input *DescribeCodeReviewInput) (*DescribeCodeReviewOutput, error)
- func (c *CodeGuruReviewer) DescribeCodeReviewRequest(input *DescribeCodeReviewInput) (req *request.Request, output *DescribeCodeReviewOutput)
- func (c *CodeGuruReviewer) DescribeCodeReviewWithContext(ctx aws.Context, input *DescribeCodeReviewInput, opts ...request.Option) (*DescribeCodeReviewOutput, error)
- func (c *CodeGuruReviewer) DescribeRecommendationFeedback(input *DescribeRecommendationFeedbackInput) (*DescribeRecommendationFeedbackOutput, error)
- func (c *CodeGuruReviewer) DescribeRecommendationFeedbackRequest(input *DescribeRecommendationFeedbackInput) (req *request.Request, output *DescribeRecommendationFeedbackOutput)
- func (c *CodeGuruReviewer) DescribeRecommendationFeedbackWithContext(ctx aws.Context, input *DescribeRecommendationFeedbackInput, ...) (*DescribeRecommendationFeedbackOutput, error)
- func (c *CodeGuruReviewer) DescribeRepositoryAssociation(input *DescribeRepositoryAssociationInput) (*DescribeRepositoryAssociationOutput, error)
- func (c *CodeGuruReviewer) DescribeRepositoryAssociationRequest(input *DescribeRepositoryAssociationInput) (req *request.Request, output *DescribeRepositoryAssociationOutput)
- func (c *CodeGuruReviewer) DescribeRepositoryAssociationWithContext(ctx aws.Context, input *DescribeRepositoryAssociationInput, ...) (*DescribeRepositoryAssociationOutput, error)
- func (c *CodeGuruReviewer) DisassociateRepository(input *DisassociateRepositoryInput) (*DisassociateRepositoryOutput, error)
- func (c *CodeGuruReviewer) DisassociateRepositoryRequest(input *DisassociateRepositoryInput) (req *request.Request, output *DisassociateRepositoryOutput)
- func (c *CodeGuruReviewer) DisassociateRepositoryWithContext(ctx aws.Context, input *DisassociateRepositoryInput, opts ...request.Option) (*DisassociateRepositoryOutput, error)
- func (c *CodeGuruReviewer) ListCodeReviews(input *ListCodeReviewsInput) (*ListCodeReviewsOutput, error)
- func (c *CodeGuruReviewer) ListCodeReviewsPages(input *ListCodeReviewsInput, fn func(*ListCodeReviewsOutput, bool) bool) error
- func (c *CodeGuruReviewer) ListCodeReviewsPagesWithContext(ctx aws.Context, input *ListCodeReviewsInput, ...) error
- func (c *CodeGuruReviewer) ListCodeReviewsRequest(input *ListCodeReviewsInput) (req *request.Request, output *ListCodeReviewsOutput)
- func (c *CodeGuruReviewer) ListCodeReviewsWithContext(ctx aws.Context, input *ListCodeReviewsInput, opts ...request.Option) (*ListCodeReviewsOutput, error)
- func (c *CodeGuruReviewer) ListRecommendationFeedback(input *ListRecommendationFeedbackInput) (*ListRecommendationFeedbackOutput, error)
- func (c *CodeGuruReviewer) ListRecommendationFeedbackPages(input *ListRecommendationFeedbackInput, ...) error
- func (c *CodeGuruReviewer) ListRecommendationFeedbackPagesWithContext(ctx aws.Context, input *ListRecommendationFeedbackInput, ...) error
- func (c *CodeGuruReviewer) ListRecommendationFeedbackRequest(input *ListRecommendationFeedbackInput) (req *request.Request, output *ListRecommendationFeedbackOutput)
- func (c *CodeGuruReviewer) ListRecommendationFeedbackWithContext(ctx aws.Context, input *ListRecommendationFeedbackInput, ...) (*ListRecommendationFeedbackOutput, error)
- func (c *CodeGuruReviewer) ListRecommendations(input *ListRecommendationsInput) (*ListRecommendationsOutput, error)
- func (c *CodeGuruReviewer) ListRecommendationsPages(input *ListRecommendationsInput, ...) error
- func (c *CodeGuruReviewer) ListRecommendationsPagesWithContext(ctx aws.Context, input *ListRecommendationsInput, ...) error
- func (c *CodeGuruReviewer) ListRecommendationsRequest(input *ListRecommendationsInput) (req *request.Request, output *ListRecommendationsOutput)
- func (c *CodeGuruReviewer) ListRecommendationsWithContext(ctx aws.Context, input *ListRecommendationsInput, opts ...request.Option) (*ListRecommendationsOutput, error)
- func (c *CodeGuruReviewer) ListRepositoryAssociations(input *ListRepositoryAssociationsInput) (*ListRepositoryAssociationsOutput, error)
- func (c *CodeGuruReviewer) ListRepositoryAssociationsPages(input *ListRepositoryAssociationsInput, ...) error
- func (c *CodeGuruReviewer) ListRepositoryAssociationsPagesWithContext(ctx aws.Context, input *ListRepositoryAssociationsInput, ...) error
- func (c *CodeGuruReviewer) ListRepositoryAssociationsRequest(input *ListRepositoryAssociationsInput) (req *request.Request, output *ListRepositoryAssociationsOutput)
- func (c *CodeGuruReviewer) ListRepositoryAssociationsWithContext(ctx aws.Context, input *ListRepositoryAssociationsInput, ...) (*ListRepositoryAssociationsOutput, error)
- func (c *CodeGuruReviewer) ListTagsForResource(input *ListTagsForResourceInput) (*ListTagsForResourceOutput, error)
- func (c *CodeGuruReviewer) ListTagsForResourceRequest(input *ListTagsForResourceInput) (req *request.Request, output *ListTagsForResourceOutput)
- func (c *CodeGuruReviewer) ListTagsForResourceWithContext(ctx aws.Context, input *ListTagsForResourceInput, opts ...request.Option) (*ListTagsForResourceOutput, error)
- func (c *CodeGuruReviewer) PutRecommendationFeedback(input *PutRecommendationFeedbackInput) (*PutRecommendationFeedbackOutput, error)
- func (c *CodeGuruReviewer) PutRecommendationFeedbackRequest(input *PutRecommendationFeedbackInput) (req *request.Request, output *PutRecommendationFeedbackOutput)
- func (c *CodeGuruReviewer) PutRecommendationFeedbackWithContext(ctx aws.Context, input *PutRecommendationFeedbackInput, opts ...request.Option) (*PutRecommendationFeedbackOutput, error)
- func (c *CodeGuruReviewer) TagResource(input *TagResourceInput) (*TagResourceOutput, error)
- func (c *CodeGuruReviewer) TagResourceRequest(input *TagResourceInput) (req *request.Request, output *TagResourceOutput)
- func (c *CodeGuruReviewer) TagResourceWithContext(ctx aws.Context, input *TagResourceInput, opts ...request.Option) (*TagResourceOutput, error)
- func (c *CodeGuruReviewer) UntagResource(input *UntagResourceInput) (*UntagResourceOutput, error)
- func (c *CodeGuruReviewer) UntagResourceRequest(input *UntagResourceInput) (req *request.Request, output *UntagResourceOutput)
- func (c *CodeGuruReviewer) UntagResourceWithContext(ctx aws.Context, input *UntagResourceInput, opts ...request.Option) (*UntagResourceOutput, error)
- func (c *CodeGuruReviewer) WaitUntilCodeReviewCompleted(input *DescribeCodeReviewInput) error
- func (c *CodeGuruReviewer) WaitUntilCodeReviewCompletedWithContext(ctx aws.Context, input *DescribeCodeReviewInput, opts ...request.WaiterOption) error
- func (c *CodeGuruReviewer) WaitUntilRepositoryAssociationSucceeded(input *DescribeRepositoryAssociationInput) error
- func (c *CodeGuruReviewer) WaitUntilRepositoryAssociationSucceededWithContext(ctx aws.Context, input *DescribeRepositoryAssociationInput, ...) error
- type CodeReview
- func (s CodeReview) GoString() string
- func (s *CodeReview) SetAnalysisTypes(v []*string) *CodeReview
- func (s *CodeReview) SetAssociationArn(v string) *CodeReview
- func (s *CodeReview) SetCodeReviewArn(v string) *CodeReview
- func (s *CodeReview) SetCreatedTimeStamp(v time.Time) *CodeReview
- func (s *CodeReview) SetLastUpdatedTimeStamp(v time.Time) *CodeReview
- func (s *CodeReview) SetMetrics(v *Metrics) *CodeReview
- func (s *CodeReview) SetName(v string) *CodeReview
- func (s *CodeReview) SetOwner(v string) *CodeReview
- func (s *CodeReview) SetProviderType(v string) *CodeReview
- func (s *CodeReview) SetPullRequestId(v string) *CodeReview
- func (s *CodeReview) SetRepositoryName(v string) *CodeReview
- func (s *CodeReview) SetSourceCodeType(v *SourceCodeType) *CodeReview
- func (s *CodeReview) SetState(v string) *CodeReview
- func (s *CodeReview) SetStateReason(v string) *CodeReview
- func (s *CodeReview) SetType(v string) *CodeReview
- func (s CodeReview) String() string
- type CodeReviewSummary
- func (s CodeReviewSummary) GoString() string
- func (s *CodeReviewSummary) SetCodeReviewArn(v string) *CodeReviewSummary
- func (s *CodeReviewSummary) SetCreatedTimeStamp(v time.Time) *CodeReviewSummary
- func (s *CodeReviewSummary) SetLastUpdatedTimeStamp(v time.Time) *CodeReviewSummary
- func (s *CodeReviewSummary) SetMetricsSummary(v *MetricsSummary) *CodeReviewSummary
- func (s *CodeReviewSummary) SetName(v string) *CodeReviewSummary
- func (s *CodeReviewSummary) SetOwner(v string) *CodeReviewSummary
- func (s *CodeReviewSummary) SetProviderType(v string) *CodeReviewSummary
- func (s *CodeReviewSummary) SetPullRequestId(v string) *CodeReviewSummary
- func (s *CodeReviewSummary) SetRepositoryName(v string) *CodeReviewSummary
- func (s *CodeReviewSummary) SetSourceCodeType(v *SourceCodeType) *CodeReviewSummary
- func (s *CodeReviewSummary) SetState(v string) *CodeReviewSummary
- func (s *CodeReviewSummary) SetType(v string) *CodeReviewSummary
- func (s CodeReviewSummary) String() string
- type CodeReviewType
- type CommitDiffSourceCodeType
- func (s CommitDiffSourceCodeType) GoString() string
- func (s *CommitDiffSourceCodeType) SetDestinationCommit(v string) *CommitDiffSourceCodeType
- func (s *CommitDiffSourceCodeType) SetMergeBaseCommit(v string) *CommitDiffSourceCodeType
- func (s *CommitDiffSourceCodeType) SetSourceCommit(v string) *CommitDiffSourceCodeType
- func (s CommitDiffSourceCodeType) String() string
- func (s *CommitDiffSourceCodeType) Validate() error
- type ConflictException
- func (s *ConflictException) Code() string
- func (s *ConflictException) Error() string
- func (s ConflictException) GoString() string
- func (s *ConflictException) Message() string
- func (s *ConflictException) OrigErr() error
- func (s *ConflictException) RequestID() string
- func (s *ConflictException) StatusCode() int
- func (s ConflictException) String() string
- type CreateCodeReviewInput
- func (s CreateCodeReviewInput) GoString() string
- func (s *CreateCodeReviewInput) SetClientRequestToken(v string) *CreateCodeReviewInput
- func (s *CreateCodeReviewInput) SetName(v string) *CreateCodeReviewInput
- func (s *CreateCodeReviewInput) SetRepositoryAssociationArn(v string) *CreateCodeReviewInput
- func (s *CreateCodeReviewInput) SetType(v *CodeReviewType) *CreateCodeReviewInput
- func (s CreateCodeReviewInput) String() string
- func (s *CreateCodeReviewInput) Validate() error
- type CreateCodeReviewOutput
- type DescribeCodeReviewInput
- type DescribeCodeReviewOutput
- type DescribeRecommendationFeedbackInput
- func (s DescribeRecommendationFeedbackInput) GoString() string
- func (s *DescribeRecommendationFeedbackInput) SetCodeReviewArn(v string) *DescribeRecommendationFeedbackInput
- func (s *DescribeRecommendationFeedbackInput) SetRecommendationId(v string) *DescribeRecommendationFeedbackInput
- func (s *DescribeRecommendationFeedbackInput) SetUserId(v string) *DescribeRecommendationFeedbackInput
- func (s DescribeRecommendationFeedbackInput) String() string
- func (s *DescribeRecommendationFeedbackInput) Validate() error
- type DescribeRecommendationFeedbackOutput
- type DescribeRepositoryAssociationInput
- type DescribeRepositoryAssociationOutput
- func (s DescribeRepositoryAssociationOutput) GoString() string
- func (s *DescribeRepositoryAssociationOutput) SetRepositoryAssociation(v *RepositoryAssociation) *DescribeRepositoryAssociationOutput
- func (s *DescribeRepositoryAssociationOutput) SetTags(v map[string]*string) *DescribeRepositoryAssociationOutput
- func (s DescribeRepositoryAssociationOutput) String() string
- type DisassociateRepositoryInput
- type DisassociateRepositoryOutput
- func (s DisassociateRepositoryOutput) GoString() string
- func (s *DisassociateRepositoryOutput) SetRepositoryAssociation(v *RepositoryAssociation) *DisassociateRepositoryOutput
- func (s *DisassociateRepositoryOutput) SetTags(v map[string]*string) *DisassociateRepositoryOutput
- func (s DisassociateRepositoryOutput) String() string
- type EventInfo
- type InternalServerException
- func (s *InternalServerException) Code() string
- func (s *InternalServerException) Error() string
- func (s InternalServerException) GoString() string
- func (s *InternalServerException) Message() string
- func (s *InternalServerException) OrigErr() error
- func (s *InternalServerException) RequestID() string
- func (s *InternalServerException) StatusCode() int
- func (s InternalServerException) String() string
- type KMSKeyDetails
- type ListCodeReviewsInput
- func (s ListCodeReviewsInput) GoString() string
- func (s *ListCodeReviewsInput) SetMaxResults(v int64) *ListCodeReviewsInput
- func (s *ListCodeReviewsInput) SetNextToken(v string) *ListCodeReviewsInput
- func (s *ListCodeReviewsInput) SetProviderTypes(v []*string) *ListCodeReviewsInput
- func (s *ListCodeReviewsInput) SetRepositoryNames(v []*string) *ListCodeReviewsInput
- func (s *ListCodeReviewsInput) SetStates(v []*string) *ListCodeReviewsInput
- func (s *ListCodeReviewsInput) SetType(v string) *ListCodeReviewsInput
- func (s ListCodeReviewsInput) String() string
- func (s *ListCodeReviewsInput) Validate() error
- type ListCodeReviewsOutput
- type ListRecommendationFeedbackInput
- func (s ListRecommendationFeedbackInput) GoString() string
- func (s *ListRecommendationFeedbackInput) SetCodeReviewArn(v string) *ListRecommendationFeedbackInput
- func (s *ListRecommendationFeedbackInput) SetMaxResults(v int64) *ListRecommendationFeedbackInput
- func (s *ListRecommendationFeedbackInput) SetNextToken(v string) *ListRecommendationFeedbackInput
- func (s *ListRecommendationFeedbackInput) SetRecommendationIds(v []*string) *ListRecommendationFeedbackInput
- func (s *ListRecommendationFeedbackInput) SetUserIds(v []*string) *ListRecommendationFeedbackInput
- func (s ListRecommendationFeedbackInput) String() string
- func (s *ListRecommendationFeedbackInput) Validate() error
- type ListRecommendationFeedbackOutput
- func (s ListRecommendationFeedbackOutput) GoString() string
- func (s *ListRecommendationFeedbackOutput) SetNextToken(v string) *ListRecommendationFeedbackOutput
- func (s *ListRecommendationFeedbackOutput) SetRecommendationFeedbackSummaries(v []*RecommendationFeedbackSummary) *ListRecommendationFeedbackOutput
- func (s ListRecommendationFeedbackOutput) String() string
- type ListRecommendationsInput
- func (s ListRecommendationsInput) GoString() string
- func (s *ListRecommendationsInput) SetCodeReviewArn(v string) *ListRecommendationsInput
- func (s *ListRecommendationsInput) SetMaxResults(v int64) *ListRecommendationsInput
- func (s *ListRecommendationsInput) SetNextToken(v string) *ListRecommendationsInput
- func (s ListRecommendationsInput) String() string
- func (s *ListRecommendationsInput) Validate() error
- type ListRecommendationsOutput
- func (s ListRecommendationsOutput) GoString() string
- func (s *ListRecommendationsOutput) SetNextToken(v string) *ListRecommendationsOutput
- func (s *ListRecommendationsOutput) SetRecommendationSummaries(v []*RecommendationSummary) *ListRecommendationsOutput
- func (s ListRecommendationsOutput) String() string
- type ListRepositoryAssociationsInput
- func (s ListRepositoryAssociationsInput) GoString() string
- func (s *ListRepositoryAssociationsInput) SetMaxResults(v int64) *ListRepositoryAssociationsInput
- func (s *ListRepositoryAssociationsInput) SetNames(v []*string) *ListRepositoryAssociationsInput
- func (s *ListRepositoryAssociationsInput) SetNextToken(v string) *ListRepositoryAssociationsInput
- func (s *ListRepositoryAssociationsInput) SetOwners(v []*string) *ListRepositoryAssociationsInput
- func (s *ListRepositoryAssociationsInput) SetProviderTypes(v []*string) *ListRepositoryAssociationsInput
- func (s *ListRepositoryAssociationsInput) SetStates(v []*string) *ListRepositoryAssociationsInput
- func (s ListRepositoryAssociationsInput) String() string
- func (s *ListRepositoryAssociationsInput) Validate() error
- type ListRepositoryAssociationsOutput
- func (s ListRepositoryAssociationsOutput) GoString() string
- func (s *ListRepositoryAssociationsOutput) SetNextToken(v string) *ListRepositoryAssociationsOutput
- func (s *ListRepositoryAssociationsOutput) SetRepositoryAssociationSummaries(v []*RepositoryAssociationSummary) *ListRepositoryAssociationsOutput
- func (s ListRepositoryAssociationsOutput) String() string
- type ListTagsForResourceInput
- type ListTagsForResourceOutput
- type Metrics
- type MetricsSummary
- type NotFoundException
- func (s *NotFoundException) Code() string
- func (s *NotFoundException) Error() string
- func (s NotFoundException) GoString() string
- func (s *NotFoundException) Message() string
- func (s *NotFoundException) OrigErr() error
- func (s *NotFoundException) RequestID() string
- func (s *NotFoundException) StatusCode() int
- func (s NotFoundException) String() string
- type PutRecommendationFeedbackInput
- func (s PutRecommendationFeedbackInput) GoString() string
- func (s *PutRecommendationFeedbackInput) SetCodeReviewArn(v string) *PutRecommendationFeedbackInput
- func (s *PutRecommendationFeedbackInput) SetReactions(v []*string) *PutRecommendationFeedbackInput
- func (s *PutRecommendationFeedbackInput) SetRecommendationId(v string) *PutRecommendationFeedbackInput
- func (s PutRecommendationFeedbackInput) String() string
- func (s *PutRecommendationFeedbackInput) Validate() error
- type PutRecommendationFeedbackOutput
- type RecommendationFeedback
- func (s RecommendationFeedback) GoString() string
- func (s *RecommendationFeedback) SetCodeReviewArn(v string) *RecommendationFeedback
- func (s *RecommendationFeedback) SetCreatedTimeStamp(v time.Time) *RecommendationFeedback
- func (s *RecommendationFeedback) SetLastUpdatedTimeStamp(v time.Time) *RecommendationFeedback
- func (s *RecommendationFeedback) SetReactions(v []*string) *RecommendationFeedback
- func (s *RecommendationFeedback) SetRecommendationId(v string) *RecommendationFeedback
- func (s *RecommendationFeedback) SetUserId(v string) *RecommendationFeedback
- func (s RecommendationFeedback) String() string
- type RecommendationFeedbackSummary
- func (s RecommendationFeedbackSummary) GoString() string
- func (s *RecommendationFeedbackSummary) SetReactions(v []*string) *RecommendationFeedbackSummary
- func (s *RecommendationFeedbackSummary) SetRecommendationId(v string) *RecommendationFeedbackSummary
- func (s *RecommendationFeedbackSummary) SetUserId(v string) *RecommendationFeedbackSummary
- func (s RecommendationFeedbackSummary) String() string
- type RecommendationSummary
- func (s RecommendationSummary) GoString() string
- func (s *RecommendationSummary) SetDescription(v string) *RecommendationSummary
- func (s *RecommendationSummary) SetEndLine(v int64) *RecommendationSummary
- func (s *RecommendationSummary) SetFilePath(v string) *RecommendationSummary
- func (s *RecommendationSummary) SetRecommendationCategory(v string) *RecommendationSummary
- func (s *RecommendationSummary) SetRecommendationId(v string) *RecommendationSummary
- func (s *RecommendationSummary) SetRuleMetadata(v *RuleMetadata) *RecommendationSummary
- func (s *RecommendationSummary) SetSeverity(v string) *RecommendationSummary
- func (s *RecommendationSummary) SetStartLine(v int64) *RecommendationSummary
- func (s RecommendationSummary) String() string
- type Repository
- func (s Repository) GoString() string
- func (s *Repository) SetBitbucket(v *ThirdPartySourceRepository) *Repository
- func (s *Repository) SetCodeCommit(v *CodeCommitRepository) *Repository
- func (s *Repository) SetGitHubEnterpriseServer(v *ThirdPartySourceRepository) *Repository
- func (s *Repository) SetS3Bucket(v *S3Repository) *Repository
- func (s Repository) String() string
- func (s *Repository) Validate() error
- type RepositoryAnalysis
- func (s RepositoryAnalysis) GoString() string
- func (s *RepositoryAnalysis) SetRepositoryHead(v *RepositoryHeadSourceCodeType) *RepositoryAnalysis
- func (s *RepositoryAnalysis) SetSourceCodeType(v *SourceCodeType) *RepositoryAnalysis
- func (s RepositoryAnalysis) String() string
- func (s *RepositoryAnalysis) Validate() error
- type RepositoryAssociation
- func (s RepositoryAssociation) GoString() string
- func (s *RepositoryAssociation) SetAssociationArn(v string) *RepositoryAssociation
- func (s *RepositoryAssociation) SetAssociationId(v string) *RepositoryAssociation
- func (s *RepositoryAssociation) SetConnectionArn(v string) *RepositoryAssociation
- func (s *RepositoryAssociation) SetCreatedTimeStamp(v time.Time) *RepositoryAssociation
- func (s *RepositoryAssociation) SetKMSKeyDetails(v *KMSKeyDetails) *RepositoryAssociation
- func (s *RepositoryAssociation) SetLastUpdatedTimeStamp(v time.Time) *RepositoryAssociation
- func (s *RepositoryAssociation) SetName(v string) *RepositoryAssociation
- func (s *RepositoryAssociation) SetOwner(v string) *RepositoryAssociation
- func (s *RepositoryAssociation) SetProviderType(v string) *RepositoryAssociation
- func (s *RepositoryAssociation) SetS3RepositoryDetails(v *S3RepositoryDetails) *RepositoryAssociation
- func (s *RepositoryAssociation) SetState(v string) *RepositoryAssociation
- func (s *RepositoryAssociation) SetStateReason(v string) *RepositoryAssociation
- func (s RepositoryAssociation) String() string
- type RepositoryAssociationSummary
- func (s RepositoryAssociationSummary) GoString() string
- func (s *RepositoryAssociationSummary) SetAssociationArn(v string) *RepositoryAssociationSummary
- func (s *RepositoryAssociationSummary) SetAssociationId(v string) *RepositoryAssociationSummary
- func (s *RepositoryAssociationSummary) SetConnectionArn(v string) *RepositoryAssociationSummary
- func (s *RepositoryAssociationSummary) SetLastUpdatedTimeStamp(v time.Time) *RepositoryAssociationSummary
- func (s *RepositoryAssociationSummary) SetName(v string) *RepositoryAssociationSummary
- func (s *RepositoryAssociationSummary) SetOwner(v string) *RepositoryAssociationSummary
- func (s *RepositoryAssociationSummary) SetProviderType(v string) *RepositoryAssociationSummary
- func (s *RepositoryAssociationSummary) SetState(v string) *RepositoryAssociationSummary
- func (s RepositoryAssociationSummary) String() string
- type RepositoryHeadSourceCodeType
- type RequestMetadata
- func (s RequestMetadata) GoString() string
- func (s *RequestMetadata) SetEventInfo(v *EventInfo) *RequestMetadata
- func (s *RequestMetadata) SetRequestId(v string) *RequestMetadata
- func (s *RequestMetadata) SetRequester(v string) *RequestMetadata
- func (s *RequestMetadata) SetVendorName(v string) *RequestMetadata
- func (s RequestMetadata) String() string
- func (s *RequestMetadata) Validate() error
- type ResourceNotFoundException
- func (s *ResourceNotFoundException) Code() string
- func (s *ResourceNotFoundException) Error() string
- func (s ResourceNotFoundException) GoString() string
- func (s *ResourceNotFoundException) Message() string
- func (s *ResourceNotFoundException) OrigErr() error
- func (s *ResourceNotFoundException) RequestID() string
- func (s *ResourceNotFoundException) StatusCode() int
- func (s ResourceNotFoundException) String() string
- type RuleMetadata
- func (s RuleMetadata) GoString() string
- func (s *RuleMetadata) SetLongDescription(v string) *RuleMetadata
- func (s *RuleMetadata) SetRuleId(v string) *RuleMetadata
- func (s *RuleMetadata) SetRuleName(v string) *RuleMetadata
- func (s *RuleMetadata) SetRuleTags(v []*string) *RuleMetadata
- func (s *RuleMetadata) SetShortDescription(v string) *RuleMetadata
- func (s RuleMetadata) String() string
- type S3BucketRepository
- type S3Repository
- type S3RepositoryDetails
- type SourceCodeType
- func (s SourceCodeType) GoString() string
- func (s *SourceCodeType) SetBranchDiff(v *BranchDiffSourceCodeType) *SourceCodeType
- func (s *SourceCodeType) SetCommitDiff(v *CommitDiffSourceCodeType) *SourceCodeType
- func (s *SourceCodeType) SetRepositoryHead(v *RepositoryHeadSourceCodeType) *SourceCodeType
- func (s *SourceCodeType) SetRequestMetadata(v *RequestMetadata) *SourceCodeType
- func (s *SourceCodeType) SetS3BucketRepository(v *S3BucketRepository) *SourceCodeType
- func (s SourceCodeType) String() string
- func (s *SourceCodeType) Validate() error
- type TagResourceInput
- type TagResourceOutput
- type ThirdPartySourceRepository
- func (s ThirdPartySourceRepository) GoString() string
- func (s *ThirdPartySourceRepository) SetConnectionArn(v string) *ThirdPartySourceRepository
- func (s *ThirdPartySourceRepository) SetName(v string) *ThirdPartySourceRepository
- func (s *ThirdPartySourceRepository) SetOwner(v string) *ThirdPartySourceRepository
- func (s ThirdPartySourceRepository) String() string
- func (s *ThirdPartySourceRepository) Validate() error
- type ThrottlingException
- func (s *ThrottlingException) Code() string
- func (s *ThrottlingException) Error() string
- func (s ThrottlingException) GoString() string
- func (s *ThrottlingException) Message() string
- func (s *ThrottlingException) OrigErr() error
- func (s *ThrottlingException) RequestID() string
- func (s *ThrottlingException) StatusCode() int
- func (s ThrottlingException) String() string
- type UntagResourceInput
- type UntagResourceOutput
- type ValidationException
- func (s *ValidationException) Code() string
- func (s *ValidationException) Error() string
- func (s ValidationException) GoString() string
- func (s *ValidationException) Message() string
- func (s *ValidationException) OrigErr() error
- func (s *ValidationException) RequestID() string
- func (s *ValidationException) StatusCode() int
- func (s ValidationException) String() string
Constants ¶
const ( // AnalysisTypeSecurity is a AnalysisType enum value AnalysisTypeSecurity = "Security" // AnalysisTypeCodeQuality is a AnalysisType enum value AnalysisTypeCodeQuality = "CodeQuality" )
const ( // EncryptionOptionAwsOwnedCmk is a EncryptionOption enum value EncryptionOptionAwsOwnedCmk = "AWS_OWNED_CMK" // EncryptionOptionCustomerManagedCmk is a EncryptionOption enum value EncryptionOptionCustomerManagedCmk = "CUSTOMER_MANAGED_CMK" )
const ( // JobStateCompleted is a JobState enum value JobStateCompleted = "Completed" // JobStatePending is a JobState enum value JobStatePending = "Pending" // JobStateFailed is a JobState enum value JobStateFailed = "Failed" // JobStateDeleting is a JobState enum value JobStateDeleting = "Deleting" )
const ( // ProviderTypeCodeCommit is a ProviderType enum value ProviderTypeCodeCommit = "CodeCommit" // ProviderTypeGitHub is a ProviderType enum value ProviderTypeGitHub = "GitHub" // ProviderTypeBitbucket is a ProviderType enum value ProviderTypeBitbucket = "Bitbucket" // ProviderTypeGitHubEnterpriseServer is a ProviderType enum value ProviderTypeGitHubEnterpriseServer = "GitHubEnterpriseServer" // ProviderTypeS3bucket is a ProviderType enum value ProviderTypeS3bucket = "S3Bucket" )
const ( // ReactionThumbsUp is a Reaction enum value ReactionThumbsUp = "ThumbsUp" // ReactionThumbsDown is a Reaction enum value ReactionThumbsDown = "ThumbsDown" )
const ( // RecommendationCategoryAwsbestPractices is a RecommendationCategory enum value RecommendationCategoryAwsbestPractices = "AWSBestPractices" // RecommendationCategoryAwscloudFormationIssues is a RecommendationCategory enum value RecommendationCategoryAwscloudFormationIssues = "AWSCloudFormationIssues" // RecommendationCategoryDuplicateCode is a RecommendationCategory enum value RecommendationCategoryDuplicateCode = "DuplicateCode" // RecommendationCategoryCodeMaintenanceIssues is a RecommendationCategory enum value RecommendationCategoryCodeMaintenanceIssues = "CodeMaintenanceIssues" // RecommendationCategoryConcurrencyIssues is a RecommendationCategory enum value RecommendationCategoryConcurrencyIssues = "ConcurrencyIssues" // RecommendationCategoryInputValidations is a RecommendationCategory enum value RecommendationCategoryInputValidations = "InputValidations" // RecommendationCategoryPythonBestPractices is a RecommendationCategory enum value RecommendationCategoryPythonBestPractices = "PythonBestPractices" // RecommendationCategoryJavaBestPractices is a RecommendationCategory enum value RecommendationCategoryJavaBestPractices = "JavaBestPractices" // RecommendationCategoryResourceLeaks is a RecommendationCategory enum value RecommendationCategoryResourceLeaks = "ResourceLeaks" // RecommendationCategorySecurityIssues is a RecommendationCategory enum value RecommendationCategorySecurityIssues = "SecurityIssues" // RecommendationCategoryCodeInconsistencies is a RecommendationCategory enum value RecommendationCategoryCodeInconsistencies = "CodeInconsistencies" )
const ( // RepositoryAssociationStateAssociated is a RepositoryAssociationState enum value RepositoryAssociationStateAssociated = "Associated" // RepositoryAssociationStateAssociating is a RepositoryAssociationState enum value RepositoryAssociationStateAssociating = "Associating" // RepositoryAssociationStateFailed is a RepositoryAssociationState enum value RepositoryAssociationStateFailed = "Failed" // RepositoryAssociationStateDisassociating is a RepositoryAssociationState enum value RepositoryAssociationStateDisassociating = "Disassociating" // RepositoryAssociationStateDisassociated is a RepositoryAssociationState enum value RepositoryAssociationStateDisassociated = "Disassociated" )
const ( // SeverityInfo is a Severity enum value SeverityInfo = "Info" // SeverityLow is a Severity enum value SeverityLow = "Low" // SeverityMedium is a Severity enum value SeverityMedium = "Medium" // SeverityHigh is a Severity enum value SeverityHigh = "High" // SeverityCritical is a Severity enum value SeverityCritical = "Critical" )
const ( // TypePullRequest is a Type enum value TypePullRequest = "PullRequest" // TypeRepositoryAnalysis is a Type enum value TypeRepositoryAnalysis = "RepositoryAnalysis" )
const ( // VendorNameGitHub is a VendorName enum value VendorNameGitHub = "GitHub" // VendorNameGitLab is a VendorName enum value VendorNameGitLab = "GitLab" // VendorNameNativeS3 is a VendorName enum value VendorNameNativeS3 = "NativeS3" )
const ( // ErrCodeAccessDeniedException for service response error code // "AccessDeniedException". // // You do not have sufficient access to perform this action. ErrCodeAccessDeniedException = "AccessDeniedException" // ErrCodeConflictException for service response error code // "ConflictException". // // 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. ErrCodeConflictException = "ConflictException" // ErrCodeInternalServerException for service response error code // "InternalServerException". // // The server encountered an internal error and is unable to complete the request. ErrCodeInternalServerException = "InternalServerException" // ErrCodeNotFoundException for service response error code // "NotFoundException". // // The resource specified in the request was not found. ErrCodeNotFoundException = "NotFoundException" // ErrCodeResourceNotFoundException for service response error code // "ResourceNotFoundException". // // The resource specified in the request was not found. ErrCodeResourceNotFoundException = "ResourceNotFoundException" // ErrCodeThrottlingException for service response error code // "ThrottlingException". // // The request was denied due to request throttling. ErrCodeThrottlingException = "ThrottlingException" // ErrCodeValidationException for service response error code // "ValidationException". // // The input fails to satisfy the specified constraints. ErrCodeValidationException = "ValidationException" )
const ( ServiceName = "CodeGuru Reviewer" // Name of service. EndpointsID = "codeguru-reviewer" // ID to lookup a service endpoint with. ServiceID = "CodeGuru Reviewer" // ServiceID is a unique identifier of a specific service. )
Service information constants
Variables ¶
This section is empty.
Functions ¶
func AnalysisType_Values ¶
func AnalysisType_Values() []string
AnalysisType_Values returns all elements of the AnalysisType enum
func EncryptionOption_Values ¶
func EncryptionOption_Values() []string
EncryptionOption_Values returns all elements of the EncryptionOption enum
func JobState_Values ¶
func JobState_Values() []string
JobState_Values returns all elements of the JobState enum
func ProviderType_Values ¶
func ProviderType_Values() []string
ProviderType_Values returns all elements of the ProviderType enum
func Reaction_Values ¶
func Reaction_Values() []string
Reaction_Values returns all elements of the Reaction enum
func RecommendationCategory_Values ¶
func RecommendationCategory_Values() []string
RecommendationCategory_Values returns all elements of the RecommendationCategory enum
func RepositoryAssociationState_Values ¶
func RepositoryAssociationState_Values() []string
RepositoryAssociationState_Values returns all elements of the RepositoryAssociationState enum
func Severity_Values ¶
func Severity_Values() []string
Severity_Values returns all elements of the Severity enum
func VendorName_Values ¶
func VendorName_Values() []string
VendorName_Values returns all elements of the VendorName enum
Types ¶
type AccessDeniedException ¶
type AccessDeniedException struct { RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` Message_ *string `locationName:"Message" type:"string"` // contains filtered or unexported fields }
You do not have sufficient access to perform this action.
func (*AccessDeniedException) Code ¶
func (s *AccessDeniedException) Code() string
Code returns the exception type name.
func (*AccessDeniedException) Error ¶
func (s *AccessDeniedException) Error() string
func (AccessDeniedException) GoString ¶
func (s AccessDeniedException) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*AccessDeniedException) Message ¶
func (s *AccessDeniedException) Message() string
Message returns the exception's message.
func (*AccessDeniedException) OrigErr ¶
func (s *AccessDeniedException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (*AccessDeniedException) RequestID ¶
func (s *AccessDeniedException) RequestID() string
RequestID returns the service's response RequestID for request.
func (*AccessDeniedException) StatusCode ¶
func (s *AccessDeniedException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (AccessDeniedException) String ¶
func (s AccessDeniedException) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type AssociateRepositoryInput ¶
type AssociateRepositoryInput struct { // Amazon CodeGuru Reviewer uses this value to prevent the accidental creation // of duplicate repository associations if there are failures and retries. ClientRequestToken *string `min:"1" type:"string" idempotencyToken:"true"` // 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 // respository association. KMSKeyDetails *KMSKeyDetails `type:"structure"` // The repository to associate. // // Repository is a required field Repository *Repository `type:"structure" required:"true"` // 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. Tags map[string]*string `min:"1" type:"map"` // contains filtered or unexported fields }
func (AssociateRepositoryInput) GoString ¶
func (s AssociateRepositoryInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*AssociateRepositoryInput) SetClientRequestToken ¶
func (s *AssociateRepositoryInput) SetClientRequestToken(v string) *AssociateRepositoryInput
SetClientRequestToken sets the ClientRequestToken field's value.
func (*AssociateRepositoryInput) SetKMSKeyDetails ¶
func (s *AssociateRepositoryInput) SetKMSKeyDetails(v *KMSKeyDetails) *AssociateRepositoryInput
SetKMSKeyDetails sets the KMSKeyDetails field's value.
func (*AssociateRepositoryInput) SetRepository ¶
func (s *AssociateRepositoryInput) SetRepository(v *Repository) *AssociateRepositoryInput
SetRepository sets the Repository field's value.
func (*AssociateRepositoryInput) SetTags ¶
func (s *AssociateRepositoryInput) SetTags(v map[string]*string) *AssociateRepositoryInput
SetTags sets the Tags field's value.
func (AssociateRepositoryInput) String ¶
func (s AssociateRepositoryInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*AssociateRepositoryInput) Validate ¶
func (s *AssociateRepositoryInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type AssociateRepositoryOutput ¶
type AssociateRepositoryOutput struct { // Information about the repository association. RepositoryAssociation *RepositoryAssociation `type:"structure"` // 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. Tags map[string]*string `min:"1" type:"map"` // contains filtered or unexported fields }
func (AssociateRepositoryOutput) GoString ¶
func (s AssociateRepositoryOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*AssociateRepositoryOutput) SetRepositoryAssociation ¶
func (s *AssociateRepositoryOutput) SetRepositoryAssociation(v *RepositoryAssociation) *AssociateRepositoryOutput
SetRepositoryAssociation sets the RepositoryAssociation field's value.
func (*AssociateRepositoryOutput) SetTags ¶
func (s *AssociateRepositoryOutput) SetTags(v map[string]*string) *AssociateRepositoryOutput
SetTags sets the Tags field's value.
func (AssociateRepositoryOutput) String ¶
func (s AssociateRepositoryOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type BranchDiffSourceCodeType ¶
type BranchDiffSourceCodeType struct { // The destination branch for a diff in an associated repository. // // DestinationBranchName is a required field DestinationBranchName *string `min:"1" type:"string" required:"true"` // The source branch for a diff in an associated repository. // // SourceBranchName is a required field SourceBranchName *string `min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
A type of SourceCodeType (https://docs.aws.amazon.com/codeguru/latest/reviewer-api/API_SourceCodeType) that specifies a code diff between a source and destination branch in an associated repository.
func (BranchDiffSourceCodeType) GoString ¶
func (s BranchDiffSourceCodeType) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*BranchDiffSourceCodeType) SetDestinationBranchName ¶
func (s *BranchDiffSourceCodeType) SetDestinationBranchName(v string) *BranchDiffSourceCodeType
SetDestinationBranchName sets the DestinationBranchName field's value.
func (*BranchDiffSourceCodeType) SetSourceBranchName ¶
func (s *BranchDiffSourceCodeType) SetSourceBranchName(v string) *BranchDiffSourceCodeType
SetSourceBranchName sets the SourceBranchName field's value.
func (BranchDiffSourceCodeType) String ¶
func (s BranchDiffSourceCodeType) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*BranchDiffSourceCodeType) Validate ¶
func (s *BranchDiffSourceCodeType) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type CodeArtifacts ¶
type CodeArtifacts struct { // 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 security analysis (https://docs.aws.amazon.com/codeguru/latest/reviewer-ug/code-review-security.html) // in the Amazon CodeGuru Reviewer User Guide. BuildArtifactsObjectKey *string `min:"1" type:"string"` // The S3 object key for a source code .zip file. This is required for all code // reviews. // // SourceCodeArtifactsObjectKey is a required field SourceCodeArtifactsObjectKey *string `min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
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.
func (CodeArtifacts) GoString ¶
func (s CodeArtifacts) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*CodeArtifacts) SetBuildArtifactsObjectKey ¶
func (s *CodeArtifacts) SetBuildArtifactsObjectKey(v string) *CodeArtifacts
SetBuildArtifactsObjectKey sets the BuildArtifactsObjectKey field's value.
func (*CodeArtifacts) SetSourceCodeArtifactsObjectKey ¶
func (s *CodeArtifacts) SetSourceCodeArtifactsObjectKey(v string) *CodeArtifacts
SetSourceCodeArtifactsObjectKey sets the SourceCodeArtifactsObjectKey field's value.
func (CodeArtifacts) String ¶
func (s CodeArtifacts) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*CodeArtifacts) Validate ¶
func (s *CodeArtifacts) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type CodeCommitRepository ¶
type CodeCommitRepository struct { // The name of the Amazon Web Services CodeCommit repository. For more information, // see repositoryName (https://docs.aws.amazon.com/codecommit/latest/APIReference/API_GetRepository.html#CodeCommit-GetRepository-request-repositoryName) // in the Amazon Web Services CodeCommit API Reference. // // Name is a required field Name *string `min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
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.
func (CodeCommitRepository) GoString ¶
func (s CodeCommitRepository) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*CodeCommitRepository) SetName ¶
func (s *CodeCommitRepository) SetName(v string) *CodeCommitRepository
SetName sets the Name field's value.
func (CodeCommitRepository) String ¶
func (s CodeCommitRepository) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*CodeCommitRepository) Validate ¶
func (s *CodeCommitRepository) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type CodeGuruReviewer ¶
CodeGuruReviewer provides the API operation methods for making requests to Amazon CodeGuru Reviewer. See this package's package overview docs for details on the service.
CodeGuruReviewer methods are safe to use concurrently. It is not safe to modify mutate any of the struct's properties though.
func New ¶
func New(p client.ConfigProvider, cfgs ...*aws.Config) *CodeGuruReviewer
New creates a new instance of the CodeGuruReviewer client with a session. If additional configuration is needed for the client instance use the optional aws.Config parameter to add your extra config.
Example:
mySession := session.Must(session.NewSession()) // Create a CodeGuruReviewer client from just a session. svc := codegurureviewer.New(mySession) // Create a CodeGuruReviewer client with additional configuration svc := codegurureviewer.New(mySession, aws.NewConfig().WithRegion("us-west-2"))
func (*CodeGuruReviewer) AssociateRepository ¶
func (c *CodeGuruReviewer) AssociateRepository(input *AssociateRepositoryInput) (*AssociateRepositoryOutput, error)
AssociateRepository API operation for Amazon CodeGuru Reviewer.
Use to associate an Amazon Web Services CodeCommit repository or a repostory managed by Amazon Web Services CodeStar Connections with Amazon CodeGuru Reviewer. When you associate a repository, CodeGuru Reviewer reviews source code changes in the repository's pull requests and provides automatic recommendations. You can view recommendations using the CodeGuru Reviewer console. For more information, see Recommendations in Amazon CodeGuru Reviewer (https://docs.aws.amazon.com/codeguru/latest/reviewer-ug/recommendations.html) in the Amazon CodeGuru Reviewer User Guide.
If you associate a CodeCommit or S3 repository, it must be in the same Amazon Web Services Region and Amazon Web Services account where its CodeGuru Reviewer code reviews are configured.
Bitbucket and GitHub Enterprise Server repositories are managed by Amazon Web Services CodeStar Connections to connect to CodeGuru Reviewer. For more information, see Associate a repository (https://docs.aws.amazon.com/codeguru/latest/reviewer-ug/getting-started-associate-repository.html) in the Amazon CodeGuru Reviewer User Guide.
You cannot use the CodeGuru Reviewer SDK or the Amazon Web Services CLI to associate a GitHub repository with Amazon CodeGuru Reviewer. To associate a GitHub repository, use the console. For more information, see Getting started with CodeGuru Reviewer (https://docs.aws.amazon.com/codeguru/latest/reviewer-ug/getting-started-with-guru.html) in the CodeGuru Reviewer User Guide.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for Amazon CodeGuru Reviewer's API operation AssociateRepository for usage and error information.
Returned Error Types:
InternalServerException The server encountered an internal error and is unable to complete the request.
ValidationException The input fails to satisfy the specified constraints.
AccessDeniedException You do not have sufficient access to perform this action.
ConflictException 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.
ThrottlingException The request was denied due to request throttling.
See also, https://docs.aws.amazon.com/goto/WebAPI/codeguru-reviewer-2019-09-19/AssociateRepository
func (*CodeGuruReviewer) AssociateRepositoryRequest ¶
func (c *CodeGuruReviewer) AssociateRepositoryRequest(input *AssociateRepositoryInput) (req *request.Request, output *AssociateRepositoryOutput)
AssociateRepositoryRequest generates a "aws/request.Request" representing the client's request for the AssociateRepository operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See AssociateRepository for more information on using the AssociateRepository API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the AssociateRepositoryRequest method. req, resp := client.AssociateRepositoryRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/codeguru-reviewer-2019-09-19/AssociateRepository
func (*CodeGuruReviewer) AssociateRepositoryWithContext ¶
func (c *CodeGuruReviewer) AssociateRepositoryWithContext(ctx aws.Context, input *AssociateRepositoryInput, opts ...request.Option) (*AssociateRepositoryOutput, error)
AssociateRepositoryWithContext is the same as AssociateRepository with the addition of the ability to pass a context and additional request options.
See AssociateRepository for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*CodeGuruReviewer) CreateCodeReview ¶
func (c *CodeGuruReviewer) CreateCodeReview(input *CreateCodeReviewInput) (*CreateCodeReviewOutput, error)
CreateCodeReview API operation for Amazon CodeGuru Reviewer.
Use to create a code review with a CodeReviewType (https://docs.aws.amazon.com/codeguru/latest/reviewer-api/API_CodeReviewType.html) of RepositoryAnalysis. This type of code review analyzes all code under a specified branch in an associated repository. PullRequest code reviews are automatically triggered by a pull request.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for Amazon CodeGuru Reviewer's API operation CreateCodeReview for usage and error information.
Returned Error Types:
ResourceNotFoundException The resource specified in the request was not found.
InternalServerException The server encountered an internal error and is unable to complete the request.
ValidationException The input fails to satisfy the specified constraints.
ConflictException 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.
AccessDeniedException You do not have sufficient access to perform this action.
ThrottlingException The request was denied due to request throttling.
See also, https://docs.aws.amazon.com/goto/WebAPI/codeguru-reviewer-2019-09-19/CreateCodeReview
func (*CodeGuruReviewer) CreateCodeReviewRequest ¶
func (c *CodeGuruReviewer) CreateCodeReviewRequest(input *CreateCodeReviewInput) (req *request.Request, output *CreateCodeReviewOutput)
CreateCodeReviewRequest generates a "aws/request.Request" representing the client's request for the CreateCodeReview operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See CreateCodeReview for more information on using the CreateCodeReview API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the CreateCodeReviewRequest method. req, resp := client.CreateCodeReviewRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/codeguru-reviewer-2019-09-19/CreateCodeReview
func (*CodeGuruReviewer) CreateCodeReviewWithContext ¶
func (c *CodeGuruReviewer) CreateCodeReviewWithContext(ctx aws.Context, input *CreateCodeReviewInput, opts ...request.Option) (*CreateCodeReviewOutput, error)
CreateCodeReviewWithContext is the same as CreateCodeReview with the addition of the ability to pass a context and additional request options.
See CreateCodeReview for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*CodeGuruReviewer) DescribeCodeReview ¶
func (c *CodeGuruReviewer) DescribeCodeReview(input *DescribeCodeReviewInput) (*DescribeCodeReviewOutput, error)
DescribeCodeReview API operation for Amazon CodeGuru Reviewer.
Returns the metadata associated with the code review along with its status.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for Amazon CodeGuru Reviewer's API operation DescribeCodeReview for usage and error information.
Returned Error Types:
ResourceNotFoundException The resource specified in the request was not found.
InternalServerException The server encountered an internal error and is unable to complete the request.
ValidationException The input fails to satisfy the specified constraints.
AccessDeniedException You do not have sufficient access to perform this action.
ThrottlingException The request was denied due to request throttling.
See also, https://docs.aws.amazon.com/goto/WebAPI/codeguru-reviewer-2019-09-19/DescribeCodeReview
func (*CodeGuruReviewer) DescribeCodeReviewRequest ¶
func (c *CodeGuruReviewer) DescribeCodeReviewRequest(input *DescribeCodeReviewInput) (req *request.Request, output *DescribeCodeReviewOutput)
DescribeCodeReviewRequest generates a "aws/request.Request" representing the client's request for the DescribeCodeReview operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See DescribeCodeReview for more information on using the DescribeCodeReview API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the DescribeCodeReviewRequest method. req, resp := client.DescribeCodeReviewRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/codeguru-reviewer-2019-09-19/DescribeCodeReview
func (*CodeGuruReviewer) DescribeCodeReviewWithContext ¶
func (c *CodeGuruReviewer) DescribeCodeReviewWithContext(ctx aws.Context, input *DescribeCodeReviewInput, opts ...request.Option) (*DescribeCodeReviewOutput, error)
DescribeCodeReviewWithContext is the same as DescribeCodeReview with the addition of the ability to pass a context and additional request options.
See DescribeCodeReview for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*CodeGuruReviewer) DescribeRecommendationFeedback ¶
func (c *CodeGuruReviewer) DescribeRecommendationFeedback(input *DescribeRecommendationFeedbackInput) (*DescribeRecommendationFeedbackOutput, error)
DescribeRecommendationFeedback API operation for Amazon CodeGuru Reviewer.
Describes the customer feedback for a CodeGuru Reviewer recommendation.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for Amazon CodeGuru Reviewer's API operation DescribeRecommendationFeedback for usage and error information.
Returned Error Types:
ResourceNotFoundException The resource specified in the request was not found.
InternalServerException The server encountered an internal error and is unable to complete the request.
ValidationException The input fails to satisfy the specified constraints.
AccessDeniedException You do not have sufficient access to perform this action.
ThrottlingException The request was denied due to request throttling.
See also, https://docs.aws.amazon.com/goto/WebAPI/codeguru-reviewer-2019-09-19/DescribeRecommendationFeedback
func (*CodeGuruReviewer) DescribeRecommendationFeedbackRequest ¶
func (c *CodeGuruReviewer) DescribeRecommendationFeedbackRequest(input *DescribeRecommendationFeedbackInput) (req *request.Request, output *DescribeRecommendationFeedbackOutput)
DescribeRecommendationFeedbackRequest generates a "aws/request.Request" representing the client's request for the DescribeRecommendationFeedback operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See DescribeRecommendationFeedback for more information on using the DescribeRecommendationFeedback API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the DescribeRecommendationFeedbackRequest method. req, resp := client.DescribeRecommendationFeedbackRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/codeguru-reviewer-2019-09-19/DescribeRecommendationFeedback
func (*CodeGuruReviewer) DescribeRecommendationFeedbackWithContext ¶
func (c *CodeGuruReviewer) DescribeRecommendationFeedbackWithContext(ctx aws.Context, input *DescribeRecommendationFeedbackInput, opts ...request.Option) (*DescribeRecommendationFeedbackOutput, error)
DescribeRecommendationFeedbackWithContext is the same as DescribeRecommendationFeedback with the addition of the ability to pass a context and additional request options.
See DescribeRecommendationFeedback for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*CodeGuruReviewer) DescribeRepositoryAssociation ¶
func (c *CodeGuruReviewer) DescribeRepositoryAssociation(input *DescribeRepositoryAssociationInput) (*DescribeRepositoryAssociationOutput, error)
DescribeRepositoryAssociation API operation for Amazon CodeGuru Reviewer.
Returns a RepositoryAssociation (https://docs.aws.amazon.com/codeguru/latest/reviewer-api/API_RepositoryAssociation.html) object that contains information about the requested repository association.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for Amazon CodeGuru Reviewer's API operation DescribeRepositoryAssociation for usage and error information.
Returned Error Types:
NotFoundException The resource specified in the request was not found.
InternalServerException The server encountered an internal error and is unable to complete the request.
ValidationException The input fails to satisfy the specified constraints.
AccessDeniedException You do not have sufficient access to perform this action.
ThrottlingException The request was denied due to request throttling.
See also, https://docs.aws.amazon.com/goto/WebAPI/codeguru-reviewer-2019-09-19/DescribeRepositoryAssociation
func (*CodeGuruReviewer) DescribeRepositoryAssociationRequest ¶
func (c *CodeGuruReviewer) DescribeRepositoryAssociationRequest(input *DescribeRepositoryAssociationInput) (req *request.Request, output *DescribeRepositoryAssociationOutput)
DescribeRepositoryAssociationRequest generates a "aws/request.Request" representing the client's request for the DescribeRepositoryAssociation operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See DescribeRepositoryAssociation for more information on using the DescribeRepositoryAssociation API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the DescribeRepositoryAssociationRequest method. req, resp := client.DescribeRepositoryAssociationRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/codeguru-reviewer-2019-09-19/DescribeRepositoryAssociation
func (*CodeGuruReviewer) DescribeRepositoryAssociationWithContext ¶
func (c *CodeGuruReviewer) DescribeRepositoryAssociationWithContext(ctx aws.Context, input *DescribeRepositoryAssociationInput, opts ...request.Option) (*DescribeRepositoryAssociationOutput, error)
DescribeRepositoryAssociationWithContext is the same as DescribeRepositoryAssociation with the addition of the ability to pass a context and additional request options.
See DescribeRepositoryAssociation for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*CodeGuruReviewer) DisassociateRepository ¶
func (c *CodeGuruReviewer) DisassociateRepository(input *DisassociateRepositoryInput) (*DisassociateRepositoryOutput, error)
DisassociateRepository API operation for Amazon CodeGuru Reviewer.
Removes the association between Amazon CodeGuru Reviewer and a repository.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for Amazon CodeGuru Reviewer's API operation DisassociateRepository for usage and error information.
Returned Error Types:
NotFoundException The resource specified in the request was not found.
InternalServerException The server encountered an internal error and is unable to complete the request.
ValidationException The input fails to satisfy the specified constraints.
AccessDeniedException You do not have sufficient access to perform this action.
ConflictException 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.
ThrottlingException The request was denied due to request throttling.
See also, https://docs.aws.amazon.com/goto/WebAPI/codeguru-reviewer-2019-09-19/DisassociateRepository
func (*CodeGuruReviewer) DisassociateRepositoryRequest ¶
func (c *CodeGuruReviewer) DisassociateRepositoryRequest(input *DisassociateRepositoryInput) (req *request.Request, output *DisassociateRepositoryOutput)
DisassociateRepositoryRequest generates a "aws/request.Request" representing the client's request for the DisassociateRepository operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See DisassociateRepository for more information on using the DisassociateRepository API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the DisassociateRepositoryRequest method. req, resp := client.DisassociateRepositoryRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/codeguru-reviewer-2019-09-19/DisassociateRepository
func (*CodeGuruReviewer) DisassociateRepositoryWithContext ¶
func (c *CodeGuruReviewer) DisassociateRepositoryWithContext(ctx aws.Context, input *DisassociateRepositoryInput, opts ...request.Option) (*DisassociateRepositoryOutput, error)
DisassociateRepositoryWithContext is the same as DisassociateRepository with the addition of the ability to pass a context and additional request options.
See DisassociateRepository for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*CodeGuruReviewer) ListCodeReviews ¶
func (c *CodeGuruReviewer) ListCodeReviews(input *ListCodeReviewsInput) (*ListCodeReviewsOutput, error)
ListCodeReviews API operation for Amazon CodeGuru Reviewer.
Lists all the code reviews that the customer has created in the past 90 days.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for Amazon CodeGuru Reviewer's API operation ListCodeReviews for usage and error information.
Returned Error Types:
InternalServerException The server encountered an internal error and is unable to complete the request.
ValidationException The input fails to satisfy the specified constraints.
ThrottlingException The request was denied due to request throttling.
AccessDeniedException You do not have sufficient access to perform this action.
See also, https://docs.aws.amazon.com/goto/WebAPI/codeguru-reviewer-2019-09-19/ListCodeReviews
func (*CodeGuruReviewer) ListCodeReviewsPages ¶
func (c *CodeGuruReviewer) ListCodeReviewsPages(input *ListCodeReviewsInput, fn func(*ListCodeReviewsOutput, bool) bool) error
ListCodeReviewsPages iterates over the pages of a ListCodeReviews operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.
See ListCodeReviews method for more information on how to use this operation.
Note: This operation can generate multiple requests to a service.
// Example iterating over at most 3 pages of a ListCodeReviews operation. pageNum := 0 err := client.ListCodeReviewsPages(params, func(page *codegurureviewer.ListCodeReviewsOutput, lastPage bool) bool { pageNum++ fmt.Println(page) return pageNum <= 3 })
func (*CodeGuruReviewer) ListCodeReviewsPagesWithContext ¶
func (c *CodeGuruReviewer) ListCodeReviewsPagesWithContext(ctx aws.Context, input *ListCodeReviewsInput, fn func(*ListCodeReviewsOutput, bool) bool, opts ...request.Option) error
ListCodeReviewsPagesWithContext same as ListCodeReviewsPages except it takes a Context and allows setting request options on the pages.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*CodeGuruReviewer) ListCodeReviewsRequest ¶
func (c *CodeGuruReviewer) ListCodeReviewsRequest(input *ListCodeReviewsInput) (req *request.Request, output *ListCodeReviewsOutput)
ListCodeReviewsRequest generates a "aws/request.Request" representing the client's request for the ListCodeReviews operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See ListCodeReviews for more information on using the ListCodeReviews API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the ListCodeReviewsRequest method. req, resp := client.ListCodeReviewsRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/codeguru-reviewer-2019-09-19/ListCodeReviews
func (*CodeGuruReviewer) ListCodeReviewsWithContext ¶
func (c *CodeGuruReviewer) ListCodeReviewsWithContext(ctx aws.Context, input *ListCodeReviewsInput, opts ...request.Option) (*ListCodeReviewsOutput, error)
ListCodeReviewsWithContext is the same as ListCodeReviews with the addition of the ability to pass a context and additional request options.
See ListCodeReviews for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*CodeGuruReviewer) ListRecommendationFeedback ¶
func (c *CodeGuruReviewer) ListRecommendationFeedback(input *ListRecommendationFeedbackInput) (*ListRecommendationFeedbackOutput, error)
ListRecommendationFeedback API operation for Amazon CodeGuru Reviewer.
Returns a list of RecommendationFeedbackSummary (https://docs.aws.amazon.com/codeguru/latest/reviewer-api/API_RecommendationFeedbackSummary.html) objects that contain customer recommendation feedback for all CodeGuru Reviewer users.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for Amazon CodeGuru Reviewer's API operation ListRecommendationFeedback for usage and error information.
Returned Error Types:
ResourceNotFoundException The resource specified in the request was not found.
InternalServerException The server encountered an internal error and is unable to complete the request.
ValidationException The input fails to satisfy the specified constraints.
AccessDeniedException You do not have sufficient access to perform this action.
ThrottlingException The request was denied due to request throttling.
See also, https://docs.aws.amazon.com/goto/WebAPI/codeguru-reviewer-2019-09-19/ListRecommendationFeedback
func (*CodeGuruReviewer) ListRecommendationFeedbackPages ¶
func (c *CodeGuruReviewer) ListRecommendationFeedbackPages(input *ListRecommendationFeedbackInput, fn func(*ListRecommendationFeedbackOutput, bool) bool) error
ListRecommendationFeedbackPages iterates over the pages of a ListRecommendationFeedback operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.
See ListRecommendationFeedback method for more information on how to use this operation.
Note: This operation can generate multiple requests to a service.
// Example iterating over at most 3 pages of a ListRecommendationFeedback operation. pageNum := 0 err := client.ListRecommendationFeedbackPages(params, func(page *codegurureviewer.ListRecommendationFeedbackOutput, lastPage bool) bool { pageNum++ fmt.Println(page) return pageNum <= 3 })
func (*CodeGuruReviewer) ListRecommendationFeedbackPagesWithContext ¶
func (c *CodeGuruReviewer) ListRecommendationFeedbackPagesWithContext(ctx aws.Context, input *ListRecommendationFeedbackInput, fn func(*ListRecommendationFeedbackOutput, bool) bool, opts ...request.Option) error
ListRecommendationFeedbackPagesWithContext same as ListRecommendationFeedbackPages except it takes a Context and allows setting request options on the pages.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*CodeGuruReviewer) ListRecommendationFeedbackRequest ¶
func (c *CodeGuruReviewer) ListRecommendationFeedbackRequest(input *ListRecommendationFeedbackInput) (req *request.Request, output *ListRecommendationFeedbackOutput)
ListRecommendationFeedbackRequest generates a "aws/request.Request" representing the client's request for the ListRecommendationFeedback operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See ListRecommendationFeedback for more information on using the ListRecommendationFeedback API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the ListRecommendationFeedbackRequest method. req, resp := client.ListRecommendationFeedbackRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/codeguru-reviewer-2019-09-19/ListRecommendationFeedback
func (*CodeGuruReviewer) ListRecommendationFeedbackWithContext ¶
func (c *CodeGuruReviewer) ListRecommendationFeedbackWithContext(ctx aws.Context, input *ListRecommendationFeedbackInput, opts ...request.Option) (*ListRecommendationFeedbackOutput, error)
ListRecommendationFeedbackWithContext is the same as ListRecommendationFeedback with the addition of the ability to pass a context and additional request options.
See ListRecommendationFeedback for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*CodeGuruReviewer) ListRecommendations ¶
func (c *CodeGuruReviewer) ListRecommendations(input *ListRecommendationsInput) (*ListRecommendationsOutput, error)
ListRecommendations API operation for Amazon CodeGuru Reviewer.
Returns the list of all recommendations for a completed code review.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for Amazon CodeGuru Reviewer's API operation ListRecommendations for usage and error information.
Returned Error Types:
ResourceNotFoundException The resource specified in the request was not found.
InternalServerException The server encountered an internal error and is unable to complete the request.
ValidationException The input fails to satisfy the specified constraints.
AccessDeniedException You do not have sufficient access to perform this action.
ThrottlingException The request was denied due to request throttling.
See also, https://docs.aws.amazon.com/goto/WebAPI/codeguru-reviewer-2019-09-19/ListRecommendations
func (*CodeGuruReviewer) ListRecommendationsPages ¶
func (c *CodeGuruReviewer) ListRecommendationsPages(input *ListRecommendationsInput, fn func(*ListRecommendationsOutput, bool) bool) error
ListRecommendationsPages iterates over the pages of a ListRecommendations operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.
See ListRecommendations method for more information on how to use this operation.
Note: This operation can generate multiple requests to a service.
// Example iterating over at most 3 pages of a ListRecommendations operation. pageNum := 0 err := client.ListRecommendationsPages(params, func(page *codegurureviewer.ListRecommendationsOutput, lastPage bool) bool { pageNum++ fmt.Println(page) return pageNum <= 3 })
func (*CodeGuruReviewer) ListRecommendationsPagesWithContext ¶
func (c *CodeGuruReviewer) ListRecommendationsPagesWithContext(ctx aws.Context, input *ListRecommendationsInput, fn func(*ListRecommendationsOutput, bool) bool, opts ...request.Option) error
ListRecommendationsPagesWithContext same as ListRecommendationsPages except it takes a Context and allows setting request options on the pages.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*CodeGuruReviewer) ListRecommendationsRequest ¶
func (c *CodeGuruReviewer) ListRecommendationsRequest(input *ListRecommendationsInput) (req *request.Request, output *ListRecommendationsOutput)
ListRecommendationsRequest generates a "aws/request.Request" representing the client's request for the ListRecommendations operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See ListRecommendations for more information on using the ListRecommendations API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the ListRecommendationsRequest method. req, resp := client.ListRecommendationsRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/codeguru-reviewer-2019-09-19/ListRecommendations
func (*CodeGuruReviewer) ListRecommendationsWithContext ¶
func (c *CodeGuruReviewer) ListRecommendationsWithContext(ctx aws.Context, input *ListRecommendationsInput, opts ...request.Option) (*ListRecommendationsOutput, error)
ListRecommendationsWithContext is the same as ListRecommendations with the addition of the ability to pass a context and additional request options.
See ListRecommendations for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*CodeGuruReviewer) ListRepositoryAssociations ¶
func (c *CodeGuruReviewer) ListRepositoryAssociations(input *ListRepositoryAssociationsInput) (*ListRepositoryAssociationsOutput, error)
ListRepositoryAssociations API operation for Amazon CodeGuru Reviewer.
Returns a list of RepositoryAssociationSummary (https://docs.aws.amazon.com/codeguru/latest/reviewer-api/API_RepositoryAssociationSummary.html) objects that contain summary information about a repository association. You can filter the returned list by ProviderType (https://docs.aws.amazon.com/codeguru/latest/reviewer-api/API_RepositoryAssociationSummary.html#reviewer-Type-RepositoryAssociationSummary-ProviderType), Name (https://docs.aws.amazon.com/codeguru/latest/reviewer-api/API_RepositoryAssociationSummary.html#reviewer-Type-RepositoryAssociationSummary-Name), State (https://docs.aws.amazon.com/codeguru/latest/reviewer-api/API_RepositoryAssociationSummary.html#reviewer-Type-RepositoryAssociationSummary-State), and Owner (https://docs.aws.amazon.com/codeguru/latest/reviewer-api/API_RepositoryAssociationSummary.html#reviewer-Type-RepositoryAssociationSummary-Owner).
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for Amazon CodeGuru Reviewer's API operation ListRepositoryAssociations for usage and error information.
Returned Error Types:
InternalServerException The server encountered an internal error and is unable to complete the request.
ValidationException The input fails to satisfy the specified constraints.
ThrottlingException The request was denied due to request throttling.
See also, https://docs.aws.amazon.com/goto/WebAPI/codeguru-reviewer-2019-09-19/ListRepositoryAssociations
func (*CodeGuruReviewer) ListRepositoryAssociationsPages ¶
func (c *CodeGuruReviewer) ListRepositoryAssociationsPages(input *ListRepositoryAssociationsInput, fn func(*ListRepositoryAssociationsOutput, bool) bool) error
ListRepositoryAssociationsPages iterates over the pages of a ListRepositoryAssociations operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.
See ListRepositoryAssociations method for more information on how to use this operation.
Note: This operation can generate multiple requests to a service.
// Example iterating over at most 3 pages of a ListRepositoryAssociations operation. pageNum := 0 err := client.ListRepositoryAssociationsPages(params, func(page *codegurureviewer.ListRepositoryAssociationsOutput, lastPage bool) bool { pageNum++ fmt.Println(page) return pageNum <= 3 })
func (*CodeGuruReviewer) ListRepositoryAssociationsPagesWithContext ¶
func (c *CodeGuruReviewer) ListRepositoryAssociationsPagesWithContext(ctx aws.Context, input *ListRepositoryAssociationsInput, fn func(*ListRepositoryAssociationsOutput, bool) bool, opts ...request.Option) error
ListRepositoryAssociationsPagesWithContext same as ListRepositoryAssociationsPages except it takes a Context and allows setting request options on the pages.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*CodeGuruReviewer) ListRepositoryAssociationsRequest ¶
func (c *CodeGuruReviewer) ListRepositoryAssociationsRequest(input *ListRepositoryAssociationsInput) (req *request.Request, output *ListRepositoryAssociationsOutput)
ListRepositoryAssociationsRequest generates a "aws/request.Request" representing the client's request for the ListRepositoryAssociations operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See ListRepositoryAssociations for more information on using the ListRepositoryAssociations API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the ListRepositoryAssociationsRequest method. req, resp := client.ListRepositoryAssociationsRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/codeguru-reviewer-2019-09-19/ListRepositoryAssociations
func (*CodeGuruReviewer) ListRepositoryAssociationsWithContext ¶
func (c *CodeGuruReviewer) ListRepositoryAssociationsWithContext(ctx aws.Context, input *ListRepositoryAssociationsInput, opts ...request.Option) (*ListRepositoryAssociationsOutput, error)
ListRepositoryAssociationsWithContext is the same as ListRepositoryAssociations with the addition of the ability to pass a context and additional request options.
See ListRepositoryAssociations for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*CodeGuruReviewer) ListTagsForResource ¶
func (c *CodeGuruReviewer) ListTagsForResource(input *ListTagsForResourceInput) (*ListTagsForResourceOutput, error)
ListTagsForResource API operation for Amazon CodeGuru Reviewer.
Returns the list of tags associated with an associated repository resource.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for Amazon CodeGuru Reviewer's API operation ListTagsForResource for usage and error information.
Returned Error Types:
InternalServerException The server encountered an internal error and is unable to complete the request.
ValidationException The input fails to satisfy the specified constraints.
ResourceNotFoundException The resource specified in the request was not found.
See also, https://docs.aws.amazon.com/goto/WebAPI/codeguru-reviewer-2019-09-19/ListTagsForResource
func (*CodeGuruReviewer) ListTagsForResourceRequest ¶
func (c *CodeGuruReviewer) ListTagsForResourceRequest(input *ListTagsForResourceInput) (req *request.Request, output *ListTagsForResourceOutput)
ListTagsForResourceRequest generates a "aws/request.Request" representing the client's request for the ListTagsForResource operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See ListTagsForResource for more information on using the ListTagsForResource API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the ListTagsForResourceRequest method. req, resp := client.ListTagsForResourceRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/codeguru-reviewer-2019-09-19/ListTagsForResource
func (*CodeGuruReviewer) ListTagsForResourceWithContext ¶
func (c *CodeGuruReviewer) ListTagsForResourceWithContext(ctx aws.Context, input *ListTagsForResourceInput, opts ...request.Option) (*ListTagsForResourceOutput, error)
ListTagsForResourceWithContext is the same as ListTagsForResource with the addition of the ability to pass a context and additional request options.
See ListTagsForResource for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*CodeGuruReviewer) PutRecommendationFeedback ¶
func (c *CodeGuruReviewer) PutRecommendationFeedback(input *PutRecommendationFeedbackInput) (*PutRecommendationFeedbackOutput, error)
PutRecommendationFeedback API operation for Amazon CodeGuru Reviewer.
Stores customer feedback for a CodeGuru Reviewer recommendation. When this API is called again with different reactions the previous feedback is overwritten.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for Amazon CodeGuru Reviewer's API operation PutRecommendationFeedback for usage and error information.
Returned Error Types:
ResourceNotFoundException The resource specified in the request was not found.
InternalServerException The server encountered an internal error and is unable to complete the request.
ValidationException The input fails to satisfy the specified constraints.
AccessDeniedException You do not have sufficient access to perform this action.
ThrottlingException The request was denied due to request throttling.
See also, https://docs.aws.amazon.com/goto/WebAPI/codeguru-reviewer-2019-09-19/PutRecommendationFeedback
func (*CodeGuruReviewer) PutRecommendationFeedbackRequest ¶
func (c *CodeGuruReviewer) PutRecommendationFeedbackRequest(input *PutRecommendationFeedbackInput) (req *request.Request, output *PutRecommendationFeedbackOutput)
PutRecommendationFeedbackRequest generates a "aws/request.Request" representing the client's request for the PutRecommendationFeedback operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See PutRecommendationFeedback for more information on using the PutRecommendationFeedback API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the PutRecommendationFeedbackRequest method. req, resp := client.PutRecommendationFeedbackRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/codeguru-reviewer-2019-09-19/PutRecommendationFeedback
func (*CodeGuruReviewer) PutRecommendationFeedbackWithContext ¶
func (c *CodeGuruReviewer) PutRecommendationFeedbackWithContext(ctx aws.Context, input *PutRecommendationFeedbackInput, opts ...request.Option) (*PutRecommendationFeedbackOutput, error)
PutRecommendationFeedbackWithContext is the same as PutRecommendationFeedback with the addition of the ability to pass a context and additional request options.
See PutRecommendationFeedback for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*CodeGuruReviewer) TagResource ¶
func (c *CodeGuruReviewer) TagResource(input *TagResourceInput) (*TagResourceOutput, error)
TagResource API operation for Amazon CodeGuru Reviewer.
Adds one or more tags to an associated repository.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for Amazon CodeGuru Reviewer's API operation TagResource for usage and error information.
Returned Error Types:
InternalServerException The server encountered an internal error and is unable to complete the request.
ValidationException The input fails to satisfy the specified constraints.
ResourceNotFoundException The resource specified in the request was not found.
See also, https://docs.aws.amazon.com/goto/WebAPI/codeguru-reviewer-2019-09-19/TagResource
func (*CodeGuruReviewer) TagResourceRequest ¶
func (c *CodeGuruReviewer) TagResourceRequest(input *TagResourceInput) (req *request.Request, output *TagResourceOutput)
TagResourceRequest generates a "aws/request.Request" representing the client's request for the TagResource operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See TagResource for more information on using the TagResource API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the TagResourceRequest method. req, resp := client.TagResourceRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/codeguru-reviewer-2019-09-19/TagResource
func (*CodeGuruReviewer) TagResourceWithContext ¶
func (c *CodeGuruReviewer) TagResourceWithContext(ctx aws.Context, input *TagResourceInput, opts ...request.Option) (*TagResourceOutput, error)
TagResourceWithContext is the same as TagResource with the addition of the ability to pass a context and additional request options.
See TagResource for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*CodeGuruReviewer) UntagResource ¶
func (c *CodeGuruReviewer) UntagResource(input *UntagResourceInput) (*UntagResourceOutput, error)
UntagResource API operation for Amazon CodeGuru Reviewer.
Removes a tag from an associated repository.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for Amazon CodeGuru Reviewer's API operation UntagResource for usage and error information.
Returned Error Types:
InternalServerException The server encountered an internal error and is unable to complete the request.
ValidationException The input fails to satisfy the specified constraints.
ResourceNotFoundException The resource specified in the request was not found.
See also, https://docs.aws.amazon.com/goto/WebAPI/codeguru-reviewer-2019-09-19/UntagResource
func (*CodeGuruReviewer) UntagResourceRequest ¶
func (c *CodeGuruReviewer) UntagResourceRequest(input *UntagResourceInput) (req *request.Request, output *UntagResourceOutput)
UntagResourceRequest generates a "aws/request.Request" representing the client's request for the UntagResource operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See UntagResource for more information on using the UntagResource API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the UntagResourceRequest method. req, resp := client.UntagResourceRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/codeguru-reviewer-2019-09-19/UntagResource
func (*CodeGuruReviewer) UntagResourceWithContext ¶
func (c *CodeGuruReviewer) UntagResourceWithContext(ctx aws.Context, input *UntagResourceInput, opts ...request.Option) (*UntagResourceOutput, error)
UntagResourceWithContext is the same as UntagResource with the addition of the ability to pass a context and additional request options.
See UntagResource for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*CodeGuruReviewer) WaitUntilCodeReviewCompleted ¶
func (c *CodeGuruReviewer) WaitUntilCodeReviewCompleted(input *DescribeCodeReviewInput) error
WaitUntilCodeReviewCompleted uses the CodeGuruReviewer API operation DescribeCodeReview to wait for a condition to be met before returning. If the condition is not met within the max attempt window, an error will be returned.
func (*CodeGuruReviewer) WaitUntilCodeReviewCompletedWithContext ¶
func (c *CodeGuruReviewer) WaitUntilCodeReviewCompletedWithContext(ctx aws.Context, input *DescribeCodeReviewInput, opts ...request.WaiterOption) error
WaitUntilCodeReviewCompletedWithContext is an extended version of WaitUntilCodeReviewCompleted. With the support for passing in a context and options to configure the Waiter and the underlying request options.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*CodeGuruReviewer) WaitUntilRepositoryAssociationSucceeded ¶
func (c *CodeGuruReviewer) WaitUntilRepositoryAssociationSucceeded(input *DescribeRepositoryAssociationInput) error
WaitUntilRepositoryAssociationSucceeded uses the CodeGuruReviewer API operation DescribeRepositoryAssociation to wait for a condition to be met before returning. If the condition is not met within the max attempt window, an error will be returned.
func (*CodeGuruReviewer) WaitUntilRepositoryAssociationSucceededWithContext ¶
func (c *CodeGuruReviewer) WaitUntilRepositoryAssociationSucceededWithContext(ctx aws.Context, input *DescribeRepositoryAssociationInput, opts ...request.WaiterOption) error
WaitUntilRepositoryAssociationSucceededWithContext is an extended version of WaitUntilRepositoryAssociationSucceeded. With the support for passing in a context and options to configure the Waiter and the underlying request options.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
type CodeReview ¶
type CodeReview struct { // They types of analysis performed during a repository analysis or a pull request // review. You can specify either Security, CodeQuality, or both. AnalysisTypes []*string `type:"list"` // The Amazon Resource Name (ARN) of the RepositoryAssociation (https://docs.aws.amazon.com/codeguru/latest/reviewer-api/API_RepositoryAssociation.html) // that contains the reviewed source code. You can retrieve associated repository // ARNs by calling ListRepositoryAssociations (https://docs.aws.amazon.com/codeguru/latest/reviewer-api/API_ListRepositoryAssociations.html). AssociationArn *string `min:"1" type:"string"` // The Amazon Resource Name (ARN) of the CodeReview (https://docs.aws.amazon.com/codeguru/latest/reviewer-api/API_CodeReview.html) // object. CodeReviewArn *string `min:"1" type:"string"` // The time, in milliseconds since the epoch, when the code review was created. CreatedTimeStamp *time.Time `type:"timestamp"` // The time, in milliseconds since the epoch, when the code review was last // updated. LastUpdatedTimeStamp *time.Time `type:"timestamp"` // The statistics from the code review. Metrics *Metrics `type:"structure"` // The name of the code review. Name *string `min:"1" type:"string"` // 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. Owner *string `min:"1" type:"string"` // The type of repository that contains the reviewed code (for example, GitHub // or Bitbucket). ProviderType *string `type:"string" enum:"ProviderType"` // The pull request ID for the code review. PullRequestId *string `min:"1" type:"string"` // The name of the repository. RepositoryName *string `min:"1" type:"string"` // The type of the source code for the code review. SourceCodeType *SourceCodeType `type:"structure"` // 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. State *string `type:"string" enum:"JobState"` // The reason for the state of the code review. StateReason *string `type:"string"` // The type of code review. Type *string `type:"string" enum:"Type"` // contains filtered or unexported fields }
Information about a code review. A code review belongs to the associated repository that contains the reviewed code.
func (CodeReview) GoString ¶
func (s CodeReview) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*CodeReview) SetAnalysisTypes ¶
func (s *CodeReview) SetAnalysisTypes(v []*string) *CodeReview
SetAnalysisTypes sets the AnalysisTypes field's value.
func (*CodeReview) SetAssociationArn ¶
func (s *CodeReview) SetAssociationArn(v string) *CodeReview
SetAssociationArn sets the AssociationArn field's value.
func (*CodeReview) SetCodeReviewArn ¶
func (s *CodeReview) SetCodeReviewArn(v string) *CodeReview
SetCodeReviewArn sets the CodeReviewArn field's value.
func (*CodeReview) SetCreatedTimeStamp ¶
func (s *CodeReview) SetCreatedTimeStamp(v time.Time) *CodeReview
SetCreatedTimeStamp sets the CreatedTimeStamp field's value.
func (*CodeReview) SetLastUpdatedTimeStamp ¶
func (s *CodeReview) SetLastUpdatedTimeStamp(v time.Time) *CodeReview
SetLastUpdatedTimeStamp sets the LastUpdatedTimeStamp field's value.
func (*CodeReview) SetMetrics ¶
func (s *CodeReview) SetMetrics(v *Metrics) *CodeReview
SetMetrics sets the Metrics field's value.
func (*CodeReview) SetName ¶
func (s *CodeReview) SetName(v string) *CodeReview
SetName sets the Name field's value.
func (*CodeReview) SetOwner ¶
func (s *CodeReview) SetOwner(v string) *CodeReview
SetOwner sets the Owner field's value.
func (*CodeReview) SetProviderType ¶
func (s *CodeReview) SetProviderType(v string) *CodeReview
SetProviderType sets the ProviderType field's value.
func (*CodeReview) SetPullRequestId ¶
func (s *CodeReview) SetPullRequestId(v string) *CodeReview
SetPullRequestId sets the PullRequestId field's value.
func (*CodeReview) SetRepositoryName ¶
func (s *CodeReview) SetRepositoryName(v string) *CodeReview
SetRepositoryName sets the RepositoryName field's value.
func (*CodeReview) SetSourceCodeType ¶
func (s *CodeReview) SetSourceCodeType(v *SourceCodeType) *CodeReview
SetSourceCodeType sets the SourceCodeType field's value.
func (*CodeReview) SetState ¶
func (s *CodeReview) SetState(v string) *CodeReview
SetState sets the State field's value.
func (*CodeReview) SetStateReason ¶
func (s *CodeReview) SetStateReason(v string) *CodeReview
SetStateReason sets the StateReason field's value.
func (*CodeReview) SetType ¶
func (s *CodeReview) SetType(v string) *CodeReview
SetType sets the Type field's value.
func (CodeReview) String ¶
func (s CodeReview) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type CodeReviewSummary ¶
type CodeReviewSummary struct { // The Amazon Resource Name (ARN) of the CodeReview (https://docs.aws.amazon.com/codeguru/latest/reviewer-api/API_CodeReview.html) // object. CodeReviewArn *string `min:"1" type:"string"` // The time, in milliseconds since the epoch, when the code review was created. CreatedTimeStamp *time.Time `type:"timestamp"` // The time, in milliseconds since the epoch, when the code review was last // updated. LastUpdatedTimeStamp *time.Time `type:"timestamp"` // The statistics from the code review. MetricsSummary *MetricsSummary `type:"structure"` // The name of the code review. Name *string `min:"1" type:"string"` // 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. Owner *string `min:"1" type:"string"` // The provider type of the repository association. ProviderType *string `type:"string" enum:"ProviderType"` // The pull request ID for the code review. PullRequestId *string `min:"1" type:"string"` // The name of the repository. RepositoryName *string `min:"1" type:"string"` // Specifies the source code that is analyzed in a code review. SourceCodeType *SourceCodeType `type:"structure"` // 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. State *string `type:"string" enum:"JobState"` // The type of the code review. Type *string `type:"string" enum:"Type"` // contains filtered or unexported fields }
Information about the summary of the code review.
func (CodeReviewSummary) GoString ¶
func (s CodeReviewSummary) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*CodeReviewSummary) SetCodeReviewArn ¶
func (s *CodeReviewSummary) SetCodeReviewArn(v string) *CodeReviewSummary
SetCodeReviewArn sets the CodeReviewArn field's value.
func (*CodeReviewSummary) SetCreatedTimeStamp ¶
func (s *CodeReviewSummary) SetCreatedTimeStamp(v time.Time) *CodeReviewSummary
SetCreatedTimeStamp sets the CreatedTimeStamp field's value.
func (*CodeReviewSummary) SetLastUpdatedTimeStamp ¶
func (s *CodeReviewSummary) SetLastUpdatedTimeStamp(v time.Time) *CodeReviewSummary
SetLastUpdatedTimeStamp sets the LastUpdatedTimeStamp field's value.
func (*CodeReviewSummary) SetMetricsSummary ¶
func (s *CodeReviewSummary) SetMetricsSummary(v *MetricsSummary) *CodeReviewSummary
SetMetricsSummary sets the MetricsSummary field's value.
func (*CodeReviewSummary) SetName ¶
func (s *CodeReviewSummary) SetName(v string) *CodeReviewSummary
SetName sets the Name field's value.
func (*CodeReviewSummary) SetOwner ¶
func (s *CodeReviewSummary) SetOwner(v string) *CodeReviewSummary
SetOwner sets the Owner field's value.
func (*CodeReviewSummary) SetProviderType ¶
func (s *CodeReviewSummary) SetProviderType(v string) *CodeReviewSummary
SetProviderType sets the ProviderType field's value.
func (*CodeReviewSummary) SetPullRequestId ¶
func (s *CodeReviewSummary) SetPullRequestId(v string) *CodeReviewSummary
SetPullRequestId sets the PullRequestId field's value.
func (*CodeReviewSummary) SetRepositoryName ¶
func (s *CodeReviewSummary) SetRepositoryName(v string) *CodeReviewSummary
SetRepositoryName sets the RepositoryName field's value.
func (*CodeReviewSummary) SetSourceCodeType ¶
func (s *CodeReviewSummary) SetSourceCodeType(v *SourceCodeType) *CodeReviewSummary
SetSourceCodeType sets the SourceCodeType field's value.
func (*CodeReviewSummary) SetState ¶
func (s *CodeReviewSummary) SetState(v string) *CodeReviewSummary
SetState sets the State field's value.
func (*CodeReviewSummary) SetType ¶
func (s *CodeReviewSummary) SetType(v string) *CodeReviewSummary
SetType sets the Type field's value.
func (CodeReviewSummary) String ¶
func (s CodeReviewSummary) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type CodeReviewType ¶
type CodeReviewType struct { // They types of analysis performed during a repository analysis or a pull request // review. You can specify either Security, CodeQuality, or both. AnalysisTypes []*string `type:"list"` // 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 // (https://docs.aws.amazon.com/codeguru/latest/reviewer-api/API_CreateCodeReview). // // RepositoryAnalysis is a required field RepositoryAnalysis *RepositoryAnalysis `type:"structure" required:"true"` // contains filtered or unexported fields }
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 (https://docs.aws.amazon.com/codeguru/latest/reviewer-api/API_CreateCodeReview).
func (CodeReviewType) GoString ¶
func (s CodeReviewType) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*CodeReviewType) SetAnalysisTypes ¶
func (s *CodeReviewType) SetAnalysisTypes(v []*string) *CodeReviewType
SetAnalysisTypes sets the AnalysisTypes field's value.
func (*CodeReviewType) SetRepositoryAnalysis ¶
func (s *CodeReviewType) SetRepositoryAnalysis(v *RepositoryAnalysis) *CodeReviewType
SetRepositoryAnalysis sets the RepositoryAnalysis field's value.
func (CodeReviewType) String ¶
func (s CodeReviewType) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*CodeReviewType) Validate ¶
func (s *CodeReviewType) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type CommitDiffSourceCodeType ¶
type CommitDiffSourceCodeType struct { // The SHA of the destination commit used to generate a commit diff. This field // is required for a pull request code review. DestinationCommit *string `min:"6" type:"string"` // The SHA of the merge base of a commit. MergeBaseCommit *string `min:"6" type:"string"` // The SHA of the source commit used to generate a commit diff. This field is // required for a pull request code review. SourceCommit *string `min:"6" type:"string"` // contains filtered or unexported fields }
A type of SourceCodeType (https://docs.aws.amazon.com/codeguru/latest/reviewer-api/API_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.
func (CommitDiffSourceCodeType) GoString ¶
func (s CommitDiffSourceCodeType) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*CommitDiffSourceCodeType) SetDestinationCommit ¶
func (s *CommitDiffSourceCodeType) SetDestinationCommit(v string) *CommitDiffSourceCodeType
SetDestinationCommit sets the DestinationCommit field's value.
func (*CommitDiffSourceCodeType) SetMergeBaseCommit ¶
func (s *CommitDiffSourceCodeType) SetMergeBaseCommit(v string) *CommitDiffSourceCodeType
SetMergeBaseCommit sets the MergeBaseCommit field's value.
func (*CommitDiffSourceCodeType) SetSourceCommit ¶
func (s *CommitDiffSourceCodeType) SetSourceCommit(v string) *CommitDiffSourceCodeType
SetSourceCommit sets the SourceCommit field's value.
func (CommitDiffSourceCodeType) String ¶
func (s CommitDiffSourceCodeType) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*CommitDiffSourceCodeType) Validate ¶
func (s *CommitDiffSourceCodeType) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ConflictException ¶
type ConflictException struct { RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` Message_ *string `locationName:"Message" type:"string"` // contains filtered or unexported fields }
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.
func (*ConflictException) Code ¶
func (s *ConflictException) Code() string
Code returns the exception type name.
func (*ConflictException) Error ¶
func (s *ConflictException) Error() string
func (ConflictException) GoString ¶
func (s ConflictException) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ConflictException) Message ¶
func (s *ConflictException) Message() string
Message returns the exception's message.
func (*ConflictException) OrigErr ¶
func (s *ConflictException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (*ConflictException) RequestID ¶
func (s *ConflictException) RequestID() string
RequestID returns the service's response RequestID for request.
func (*ConflictException) StatusCode ¶
func (s *ConflictException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (ConflictException) String ¶
func (s ConflictException) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type CreateCodeReviewInput ¶
type CreateCodeReviewInput struct { // Amazon CodeGuru Reviewer uses this value to prevent the accidental creation // of duplicate code reviews if there are failures and retries. ClientRequestToken *string `min:"1" type:"string" idempotencyToken:"true"` // The name of the code review. The name of each code review in your Amazon // Web Services account must be unique. // // Name is a required field Name *string `min:"1" type:"string" required:"true"` // The Amazon Resource Name (ARN) of the RepositoryAssociation (https://docs.aws.amazon.com/codeguru/latest/reviewer-api/API_RepositoryAssociation.html) // object. You can retrieve this ARN by calling ListRepositoryAssociations (https://docs.aws.amazon.com/codeguru/latest/reviewer-api/API_ListRepositoryAssociations.html). // // A code review can only be created on an associated repository. This is the // ARN of the associated repository. // // RepositoryAssociationArn is a required field RepositoryAssociationArn *string `min:"1" type:"string" required:"true"` // The type of code review to create. This is specified using a CodeReviewType // (https://docs.aws.amazon.com/codeguru/latest/reviewer-api/API_CodeReviewType.html) // object. You can create a code review only of type RepositoryAnalysis. // // Type is a required field Type *CodeReviewType `type:"structure" required:"true"` // contains filtered or unexported fields }
func (CreateCodeReviewInput) GoString ¶
func (s CreateCodeReviewInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*CreateCodeReviewInput) SetClientRequestToken ¶
func (s *CreateCodeReviewInput) SetClientRequestToken(v string) *CreateCodeReviewInput
SetClientRequestToken sets the ClientRequestToken field's value.
func (*CreateCodeReviewInput) SetName ¶
func (s *CreateCodeReviewInput) SetName(v string) *CreateCodeReviewInput
SetName sets the Name field's value.
func (*CreateCodeReviewInput) SetRepositoryAssociationArn ¶
func (s *CreateCodeReviewInput) SetRepositoryAssociationArn(v string) *CreateCodeReviewInput
SetRepositoryAssociationArn sets the RepositoryAssociationArn field's value.
func (*CreateCodeReviewInput) SetType ¶
func (s *CreateCodeReviewInput) SetType(v *CodeReviewType) *CreateCodeReviewInput
SetType sets the Type field's value.
func (CreateCodeReviewInput) String ¶
func (s CreateCodeReviewInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*CreateCodeReviewInput) Validate ¶
func (s *CreateCodeReviewInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type CreateCodeReviewOutput ¶
type CreateCodeReviewOutput struct { // Information about a code review. A code review belongs to the associated // repository that contains the reviewed code. CodeReview *CodeReview `type:"structure"` // contains filtered or unexported fields }
func (CreateCodeReviewOutput) GoString ¶
func (s CreateCodeReviewOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*CreateCodeReviewOutput) SetCodeReview ¶
func (s *CreateCodeReviewOutput) SetCodeReview(v *CodeReview) *CreateCodeReviewOutput
SetCodeReview sets the CodeReview field's value.
func (CreateCodeReviewOutput) String ¶
func (s CreateCodeReviewOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type DescribeCodeReviewInput ¶
type DescribeCodeReviewInput struct { // The Amazon Resource Name (ARN) of the CodeReview (https://docs.aws.amazon.com/codeguru/latest/reviewer-api/API_CodeReview.html) // object. // // CodeReviewArn is a required field CodeReviewArn *string `location:"uri" locationName:"CodeReviewArn" min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
func (DescribeCodeReviewInput) GoString ¶
func (s DescribeCodeReviewInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*DescribeCodeReviewInput) SetCodeReviewArn ¶
func (s *DescribeCodeReviewInput) SetCodeReviewArn(v string) *DescribeCodeReviewInput
SetCodeReviewArn sets the CodeReviewArn field's value.
func (DescribeCodeReviewInput) String ¶
func (s DescribeCodeReviewInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*DescribeCodeReviewInput) Validate ¶
func (s *DescribeCodeReviewInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DescribeCodeReviewOutput ¶
type DescribeCodeReviewOutput struct { // Information about the code review. CodeReview *CodeReview `type:"structure"` // contains filtered or unexported fields }
func (DescribeCodeReviewOutput) GoString ¶
func (s DescribeCodeReviewOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*DescribeCodeReviewOutput) SetCodeReview ¶
func (s *DescribeCodeReviewOutput) SetCodeReview(v *CodeReview) *DescribeCodeReviewOutput
SetCodeReview sets the CodeReview field's value.
func (DescribeCodeReviewOutput) String ¶
func (s DescribeCodeReviewOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type DescribeRecommendationFeedbackInput ¶
type DescribeRecommendationFeedbackInput struct { // The Amazon Resource Name (ARN) of the CodeReview (https://docs.aws.amazon.com/codeguru/latest/reviewer-api/API_CodeReview.html) // object. // // CodeReviewArn is a required field CodeReviewArn *string `location:"uri" locationName:"CodeReviewArn" min:"1" type:"string" required:"true"` // The recommendation ID that can be used to track the provided recommendations // and then to collect the feedback. // // RecommendationId is a required field RecommendationId *string `location:"querystring" locationName:"RecommendationId" min:"1" type:"string" required:"true"` // Optional parameter to describe the feedback for a given user. If this is // not supplied, it defaults to the user making the request. // // 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 (https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies_elements_principal.html#Principal_specifying) // in the Amazon Web Services Identity and Access Management User Guide. UserId *string `location:"querystring" locationName:"UserId" min:"1" type:"string"` // contains filtered or unexported fields }
func (DescribeRecommendationFeedbackInput) GoString ¶
func (s DescribeRecommendationFeedbackInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*DescribeRecommendationFeedbackInput) SetCodeReviewArn ¶
func (s *DescribeRecommendationFeedbackInput) SetCodeReviewArn(v string) *DescribeRecommendationFeedbackInput
SetCodeReviewArn sets the CodeReviewArn field's value.
func (*DescribeRecommendationFeedbackInput) SetRecommendationId ¶
func (s *DescribeRecommendationFeedbackInput) SetRecommendationId(v string) *DescribeRecommendationFeedbackInput
SetRecommendationId sets the RecommendationId field's value.
func (*DescribeRecommendationFeedbackInput) SetUserId ¶
func (s *DescribeRecommendationFeedbackInput) SetUserId(v string) *DescribeRecommendationFeedbackInput
SetUserId sets the UserId field's value.
func (DescribeRecommendationFeedbackInput) String ¶
func (s DescribeRecommendationFeedbackInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*DescribeRecommendationFeedbackInput) Validate ¶
func (s *DescribeRecommendationFeedbackInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DescribeRecommendationFeedbackOutput ¶
type DescribeRecommendationFeedbackOutput struct { // The recommendation feedback given by the user. RecommendationFeedback *RecommendationFeedback `type:"structure"` // contains filtered or unexported fields }
func (DescribeRecommendationFeedbackOutput) GoString ¶
func (s DescribeRecommendationFeedbackOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*DescribeRecommendationFeedbackOutput) SetRecommendationFeedback ¶
func (s *DescribeRecommendationFeedbackOutput) SetRecommendationFeedback(v *RecommendationFeedback) *DescribeRecommendationFeedbackOutput
SetRecommendationFeedback sets the RecommendationFeedback field's value.
func (DescribeRecommendationFeedbackOutput) String ¶
func (s DescribeRecommendationFeedbackOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type DescribeRepositoryAssociationInput ¶
type DescribeRepositoryAssociationInput struct { // The Amazon Resource Name (ARN) of the RepositoryAssociation (https://docs.aws.amazon.com/codeguru/latest/reviewer-api/API_RepositoryAssociation.html) // object. You can retrieve this ARN by calling ListRepositoryAssociations (https://docs.aws.amazon.com/codeguru/latest/reviewer-api/API_ListRepositoryAssociations.html). // // AssociationArn is a required field AssociationArn *string `location:"uri" locationName:"AssociationArn" min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
func (DescribeRepositoryAssociationInput) GoString ¶
func (s DescribeRepositoryAssociationInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*DescribeRepositoryAssociationInput) SetAssociationArn ¶
func (s *DescribeRepositoryAssociationInput) SetAssociationArn(v string) *DescribeRepositoryAssociationInput
SetAssociationArn sets the AssociationArn field's value.
func (DescribeRepositoryAssociationInput) String ¶
func (s DescribeRepositoryAssociationInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*DescribeRepositoryAssociationInput) Validate ¶
func (s *DescribeRepositoryAssociationInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DescribeRepositoryAssociationOutput ¶
type DescribeRepositoryAssociationOutput struct { // Information about the repository association. RepositoryAssociation *RepositoryAssociation `type:"structure"` // 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. Tags map[string]*string `min:"1" type:"map"` // contains filtered or unexported fields }
func (DescribeRepositoryAssociationOutput) GoString ¶
func (s DescribeRepositoryAssociationOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*DescribeRepositoryAssociationOutput) SetRepositoryAssociation ¶
func (s *DescribeRepositoryAssociationOutput) SetRepositoryAssociation(v *RepositoryAssociation) *DescribeRepositoryAssociationOutput
SetRepositoryAssociation sets the RepositoryAssociation field's value.
func (*DescribeRepositoryAssociationOutput) SetTags ¶
func (s *DescribeRepositoryAssociationOutput) SetTags(v map[string]*string) *DescribeRepositoryAssociationOutput
SetTags sets the Tags field's value.
func (DescribeRepositoryAssociationOutput) String ¶
func (s DescribeRepositoryAssociationOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type DisassociateRepositoryInput ¶
type DisassociateRepositoryInput struct { // The Amazon Resource Name (ARN) of the RepositoryAssociation (https://docs.aws.amazon.com/codeguru/latest/reviewer-api/API_RepositoryAssociation.html) // object. You can retrieve this ARN by calling ListRepositoryAssociations (https://docs.aws.amazon.com/codeguru/latest/reviewer-api/API_ListRepositoryAssociations.html). // // AssociationArn is a required field AssociationArn *string `location:"uri" locationName:"AssociationArn" min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
func (DisassociateRepositoryInput) GoString ¶
func (s DisassociateRepositoryInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*DisassociateRepositoryInput) SetAssociationArn ¶
func (s *DisassociateRepositoryInput) SetAssociationArn(v string) *DisassociateRepositoryInput
SetAssociationArn sets the AssociationArn field's value.
func (DisassociateRepositoryInput) String ¶
func (s DisassociateRepositoryInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*DisassociateRepositoryInput) Validate ¶
func (s *DisassociateRepositoryInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DisassociateRepositoryOutput ¶
type DisassociateRepositoryOutput struct { // Information about the disassociated repository. RepositoryAssociation *RepositoryAssociation `type:"structure"` // 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. Tags map[string]*string `min:"1" type:"map"` // contains filtered or unexported fields }
func (DisassociateRepositoryOutput) GoString ¶
func (s DisassociateRepositoryOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*DisassociateRepositoryOutput) SetRepositoryAssociation ¶
func (s *DisassociateRepositoryOutput) SetRepositoryAssociation(v *RepositoryAssociation) *DisassociateRepositoryOutput
SetRepositoryAssociation sets the RepositoryAssociation field's value.
func (*DisassociateRepositoryOutput) SetTags ¶
func (s *DisassociateRepositoryOutput) SetTags(v map[string]*string) *DisassociateRepositoryOutput
SetTags sets the Tags field's value.
func (DisassociateRepositoryOutput) String ¶
func (s DisassociateRepositoryOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type EventInfo ¶
type EventInfo struct { // The name of the event. The possible names are pull_request, workflow_dispatch, // schedule, and push Name *string `min:"1" type:"string"` // The state of an event. The state might be open, closed, or another state. State *string `min:"1" type:"string"` // contains filtered or unexported fields }
Information about an event. The event might be a push, pull request, scheduled request, or another type of event.
func (EventInfo) GoString ¶
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type InternalServerException ¶
type InternalServerException struct { RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` Message_ *string `locationName:"Message" type:"string"` // contains filtered or unexported fields }
The server encountered an internal error and is unable to complete the request.
func (*InternalServerException) Code ¶
func (s *InternalServerException) Code() string
Code returns the exception type name.
func (*InternalServerException) Error ¶
func (s *InternalServerException) Error() string
func (InternalServerException) GoString ¶
func (s InternalServerException) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*InternalServerException) Message ¶
func (s *InternalServerException) Message() string
Message returns the exception's message.
func (*InternalServerException) OrigErr ¶
func (s *InternalServerException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (*InternalServerException) RequestID ¶
func (s *InternalServerException) RequestID() string
RequestID returns the service's response RequestID for request.
func (*InternalServerException) StatusCode ¶
func (s *InternalServerException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (InternalServerException) String ¶
func (s InternalServerException) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type KMSKeyDetails ¶
type KMSKeyDetails struct { // 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). EncryptionOption *string `type:"string" enum:"EncryptionOption"` // The ID of the Amazon Web Services KMS key that is associated with a respository // association. KMSKeyId *string `min:"1" type:"string"` // contains filtered or unexported fields }
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 respository association.
func (KMSKeyDetails) GoString ¶
func (s KMSKeyDetails) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*KMSKeyDetails) SetEncryptionOption ¶
func (s *KMSKeyDetails) SetEncryptionOption(v string) *KMSKeyDetails
SetEncryptionOption sets the EncryptionOption field's value.
func (*KMSKeyDetails) SetKMSKeyId ¶
func (s *KMSKeyDetails) SetKMSKeyId(v string) *KMSKeyDetails
SetKMSKeyId sets the KMSKeyId field's value.
func (KMSKeyDetails) String ¶
func (s KMSKeyDetails) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*KMSKeyDetails) Validate ¶
func (s *KMSKeyDetails) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ListCodeReviewsInput ¶
type ListCodeReviewsInput struct { // The maximum number of results that are returned per call. The default is // 100. MaxResults *int64 `location:"querystring" locationName:"MaxResults" min:"1" type:"integer"` // If nextToken is returned, there are more results available. The value of // nextToken is a unique pagination token for each page. Make the call again // using the returned token to retrieve the next page. Keep all other arguments // unchanged. NextToken *string `location:"querystring" locationName:"NextToken" min:"1" type:"string"` // List of provider types for filtering that needs to be applied before displaying // the result. For example, providerTypes=[GitHub] lists code reviews from GitHub. ProviderTypes []*string `location:"querystring" locationName:"ProviderTypes" min:"1" type:"list"` // List of repository names for filtering that needs to be applied before displaying // the result. RepositoryNames []*string `location:"querystring" locationName:"RepositoryNames" min:"1" type:"list"` // List of states for filtering that needs to be applied before displaying the // result. For example, states=[Pending] lists code reviews in the Pending 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. States []*string `location:"querystring" locationName:"States" min:"1" type:"list"` // The type of code reviews to list in the response. // // Type is a required field Type *string `location:"querystring" locationName:"Type" type:"string" required:"true" enum:"Type"` // contains filtered or unexported fields }
func (ListCodeReviewsInput) GoString ¶
func (s ListCodeReviewsInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ListCodeReviewsInput) SetMaxResults ¶
func (s *ListCodeReviewsInput) SetMaxResults(v int64) *ListCodeReviewsInput
SetMaxResults sets the MaxResults field's value.
func (*ListCodeReviewsInput) SetNextToken ¶
func (s *ListCodeReviewsInput) SetNextToken(v string) *ListCodeReviewsInput
SetNextToken sets the NextToken field's value.
func (*ListCodeReviewsInput) SetProviderTypes ¶
func (s *ListCodeReviewsInput) SetProviderTypes(v []*string) *ListCodeReviewsInput
SetProviderTypes sets the ProviderTypes field's value.
func (*ListCodeReviewsInput) SetRepositoryNames ¶
func (s *ListCodeReviewsInput) SetRepositoryNames(v []*string) *ListCodeReviewsInput
SetRepositoryNames sets the RepositoryNames field's value.
func (*ListCodeReviewsInput) SetStates ¶
func (s *ListCodeReviewsInput) SetStates(v []*string) *ListCodeReviewsInput
SetStates sets the States field's value.
func (*ListCodeReviewsInput) SetType ¶
func (s *ListCodeReviewsInput) SetType(v string) *ListCodeReviewsInput
SetType sets the Type field's value.
func (ListCodeReviewsInput) String ¶
func (s ListCodeReviewsInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ListCodeReviewsInput) Validate ¶
func (s *ListCodeReviewsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ListCodeReviewsOutput ¶
type ListCodeReviewsOutput struct { // A list of code reviews that meet the criteria of the request. CodeReviewSummaries []*CodeReviewSummary `type:"list"` // Pagination token. NextToken *string `min:"1" type:"string"` // contains filtered or unexported fields }
func (ListCodeReviewsOutput) GoString ¶
func (s ListCodeReviewsOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ListCodeReviewsOutput) SetCodeReviewSummaries ¶
func (s *ListCodeReviewsOutput) SetCodeReviewSummaries(v []*CodeReviewSummary) *ListCodeReviewsOutput
SetCodeReviewSummaries sets the CodeReviewSummaries field's value.
func (*ListCodeReviewsOutput) SetNextToken ¶
func (s *ListCodeReviewsOutput) SetNextToken(v string) *ListCodeReviewsOutput
SetNextToken sets the NextToken field's value.
func (ListCodeReviewsOutput) String ¶
func (s ListCodeReviewsOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type ListRecommendationFeedbackInput ¶
type ListRecommendationFeedbackInput struct { // The Amazon Resource Name (ARN) of the CodeReview (https://docs.aws.amazon.com/codeguru/latest/reviewer-api/API_CodeReview.html) // object. // // CodeReviewArn is a required field CodeReviewArn *string `location:"uri" locationName:"CodeReviewArn" min:"1" type:"string" required:"true"` // The maximum number of results that are returned per call. The default is // 100. MaxResults *int64 `location:"querystring" locationName:"MaxResults" min:"1" type:"integer"` // If nextToken is returned, there are more results available. The value of // nextToken is a unique pagination token for each page. Make the call again // using the returned token to retrieve the next page. Keep all other arguments // unchanged. NextToken *string `location:"querystring" locationName:"NextToken" min:"1" type:"string"` // Used to query the recommendation feedback for a given recommendation. RecommendationIds []*string `location:"querystring" locationName:"RecommendationIds" min:"1" type:"list"` // An Amazon Web Services user's account ID or Amazon Resource Name (ARN). Use // this ID to query the recommendation feedback for a code review from that // user. // // 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 (https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies_elements_principal.html#Principal_specifying) // in the Amazon Web Services Identity and Access Management User Guide. UserIds []*string `location:"querystring" locationName:"UserIds" min:"1" type:"list"` // contains filtered or unexported fields }
func (ListRecommendationFeedbackInput) GoString ¶
func (s ListRecommendationFeedbackInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ListRecommendationFeedbackInput) SetCodeReviewArn ¶
func (s *ListRecommendationFeedbackInput) SetCodeReviewArn(v string) *ListRecommendationFeedbackInput
SetCodeReviewArn sets the CodeReviewArn field's value.
func (*ListRecommendationFeedbackInput) SetMaxResults ¶
func (s *ListRecommendationFeedbackInput) SetMaxResults(v int64) *ListRecommendationFeedbackInput
SetMaxResults sets the MaxResults field's value.
func (*ListRecommendationFeedbackInput) SetNextToken ¶
func (s *ListRecommendationFeedbackInput) SetNextToken(v string) *ListRecommendationFeedbackInput
SetNextToken sets the NextToken field's value.
func (*ListRecommendationFeedbackInput) SetRecommendationIds ¶
func (s *ListRecommendationFeedbackInput) SetRecommendationIds(v []*string) *ListRecommendationFeedbackInput
SetRecommendationIds sets the RecommendationIds field's value.
func (*ListRecommendationFeedbackInput) SetUserIds ¶
func (s *ListRecommendationFeedbackInput) SetUserIds(v []*string) *ListRecommendationFeedbackInput
SetUserIds sets the UserIds field's value.
func (ListRecommendationFeedbackInput) String ¶
func (s ListRecommendationFeedbackInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ListRecommendationFeedbackInput) Validate ¶
func (s *ListRecommendationFeedbackInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ListRecommendationFeedbackOutput ¶
type ListRecommendationFeedbackOutput struct { // If nextToken is returned, there are more results available. The value of // nextToken is a unique pagination token for each page. Make the call again // using the returned token to retrieve the next page. Keep all other arguments // unchanged. NextToken *string `min:"1" type:"string"` // Recommendation feedback summaries corresponding to the code review ARN. RecommendationFeedbackSummaries []*RecommendationFeedbackSummary `type:"list"` // contains filtered or unexported fields }
func (ListRecommendationFeedbackOutput) GoString ¶
func (s ListRecommendationFeedbackOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ListRecommendationFeedbackOutput) SetNextToken ¶
func (s *ListRecommendationFeedbackOutput) SetNextToken(v string) *ListRecommendationFeedbackOutput
SetNextToken sets the NextToken field's value.
func (*ListRecommendationFeedbackOutput) SetRecommendationFeedbackSummaries ¶
func (s *ListRecommendationFeedbackOutput) SetRecommendationFeedbackSummaries(v []*RecommendationFeedbackSummary) *ListRecommendationFeedbackOutput
SetRecommendationFeedbackSummaries sets the RecommendationFeedbackSummaries field's value.
func (ListRecommendationFeedbackOutput) String ¶
func (s ListRecommendationFeedbackOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type ListRecommendationsInput ¶
type ListRecommendationsInput struct { // The Amazon Resource Name (ARN) of the CodeReview (https://docs.aws.amazon.com/codeguru/latest/reviewer-api/API_CodeReview.html) // object. // // CodeReviewArn is a required field CodeReviewArn *string `location:"uri" locationName:"CodeReviewArn" min:"1" type:"string" required:"true"` // The maximum number of results that are returned per call. The default is // 100. MaxResults *int64 `location:"querystring" locationName:"MaxResults" min:"1" type:"integer"` // Pagination token. NextToken *string `location:"querystring" locationName:"NextToken" min:"1" type:"string"` // contains filtered or unexported fields }
func (ListRecommendationsInput) GoString ¶
func (s ListRecommendationsInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ListRecommendationsInput) SetCodeReviewArn ¶
func (s *ListRecommendationsInput) SetCodeReviewArn(v string) *ListRecommendationsInput
SetCodeReviewArn sets the CodeReviewArn field's value.
func (*ListRecommendationsInput) SetMaxResults ¶
func (s *ListRecommendationsInput) SetMaxResults(v int64) *ListRecommendationsInput
SetMaxResults sets the MaxResults field's value.
func (*ListRecommendationsInput) SetNextToken ¶
func (s *ListRecommendationsInput) SetNextToken(v string) *ListRecommendationsInput
SetNextToken sets the NextToken field's value.
func (ListRecommendationsInput) String ¶
func (s ListRecommendationsInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ListRecommendationsInput) Validate ¶
func (s *ListRecommendationsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ListRecommendationsOutput ¶
type ListRecommendationsOutput struct { // Pagination token. NextToken *string `min:"1" type:"string"` // List of recommendations for the requested code review. RecommendationSummaries []*RecommendationSummary `type:"list"` // contains filtered or unexported fields }
func (ListRecommendationsOutput) GoString ¶
func (s ListRecommendationsOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ListRecommendationsOutput) SetNextToken ¶
func (s *ListRecommendationsOutput) SetNextToken(v string) *ListRecommendationsOutput
SetNextToken sets the NextToken field's value.
func (*ListRecommendationsOutput) SetRecommendationSummaries ¶
func (s *ListRecommendationsOutput) SetRecommendationSummaries(v []*RecommendationSummary) *ListRecommendationsOutput
SetRecommendationSummaries sets the RecommendationSummaries field's value.
func (ListRecommendationsOutput) String ¶
func (s ListRecommendationsOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type ListRepositoryAssociationsInput ¶
type ListRepositoryAssociationsInput struct { // The maximum number of repository association results returned by ListRepositoryAssociations // in paginated output. When this parameter is used, ListRepositoryAssociations // only returns maxResults results in a single page with a nextToken response // element. The remaining results of the initial request can be seen by sending // another ListRepositoryAssociations request with the returned nextToken value. // This value can be between 1 and 100. If this parameter is not used, ListRepositoryAssociations // returns up to 100 results and a nextToken value if applicable. MaxResults *int64 `location:"querystring" locationName:"MaxResults" min:"1" type:"integer"` // List of repository names to use as a filter. Names []*string `location:"querystring" locationName:"Name" min:"1" type:"list"` // The nextToken value returned from a previous paginated ListRepositoryAssociations // request where maxResults was used and the results exceeded the value of that // parameter. Pagination continues from the end of the previous results that // returned the nextToken value. // // Treat this token as an opaque identifier that is only used to retrieve the // next items in a list and not for other programmatic purposes. NextToken *string `location:"querystring" locationName:"NextToken" min:"1" type:"string"` // List of owners to use as a filter. For Amazon Web Services CodeCommit, it // is the name of the CodeCommit account that was used to associate the repository. // For other repository source providers, such as Bitbucket and GitHub Enterprise // Server, this is name of the account that was used to associate the repository. Owners []*string `location:"querystring" locationName:"Owner" min:"1" type:"list"` // List of provider types to use as a filter. ProviderTypes []*string `location:"querystring" locationName:"ProviderType" min:"1" type:"list"` // List of repository association states to use as a filter. // // 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 an associated repository with tags after it has been disassociated. // For more information, see Using tags to control access to associated repositories // (https://docs.aws.amazon.com/codeguru/latest/reviewer-ug/auth-and-access-control-using-tags.html) // in the Amazon CodeGuru Reviewer User Guide. States []*string `location:"querystring" locationName:"State" min:"1" type:"list"` // contains filtered or unexported fields }
func (ListRepositoryAssociationsInput) GoString ¶
func (s ListRepositoryAssociationsInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ListRepositoryAssociationsInput) SetMaxResults ¶
func (s *ListRepositoryAssociationsInput) SetMaxResults(v int64) *ListRepositoryAssociationsInput
SetMaxResults sets the MaxResults field's value.
func (*ListRepositoryAssociationsInput) SetNames ¶
func (s *ListRepositoryAssociationsInput) SetNames(v []*string) *ListRepositoryAssociationsInput
SetNames sets the Names field's value.
func (*ListRepositoryAssociationsInput) SetNextToken ¶
func (s *ListRepositoryAssociationsInput) SetNextToken(v string) *ListRepositoryAssociationsInput
SetNextToken sets the NextToken field's value.
func (*ListRepositoryAssociationsInput) SetOwners ¶
func (s *ListRepositoryAssociationsInput) SetOwners(v []*string) *ListRepositoryAssociationsInput
SetOwners sets the Owners field's value.
func (*ListRepositoryAssociationsInput) SetProviderTypes ¶
func (s *ListRepositoryAssociationsInput) SetProviderTypes(v []*string) *ListRepositoryAssociationsInput
SetProviderTypes sets the ProviderTypes field's value.
func (*ListRepositoryAssociationsInput) SetStates ¶
func (s *ListRepositoryAssociationsInput) SetStates(v []*string) *ListRepositoryAssociationsInput
SetStates sets the States field's value.
func (ListRepositoryAssociationsInput) String ¶
func (s ListRepositoryAssociationsInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ListRepositoryAssociationsInput) Validate ¶
func (s *ListRepositoryAssociationsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ListRepositoryAssociationsOutput ¶
type ListRepositoryAssociationsOutput struct { // The nextToken value to include in a future ListRecommendations request. When // the results of a ListRecommendations request exceed maxResults, this value // can be used to retrieve the next page of results. This value is null when // there are no more results to return. NextToken *string `min:"1" type:"string"` // A list of repository associations that meet the criteria of the request. RepositoryAssociationSummaries []*RepositoryAssociationSummary `type:"list"` // contains filtered or unexported fields }
func (ListRepositoryAssociationsOutput) GoString ¶
func (s ListRepositoryAssociationsOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ListRepositoryAssociationsOutput) SetNextToken ¶
func (s *ListRepositoryAssociationsOutput) SetNextToken(v string) *ListRepositoryAssociationsOutput
SetNextToken sets the NextToken field's value.
func (*ListRepositoryAssociationsOutput) SetRepositoryAssociationSummaries ¶
func (s *ListRepositoryAssociationsOutput) SetRepositoryAssociationSummaries(v []*RepositoryAssociationSummary) *ListRepositoryAssociationsOutput
SetRepositoryAssociationSummaries sets the RepositoryAssociationSummaries field's value.
func (ListRepositoryAssociationsOutput) String ¶
func (s ListRepositoryAssociationsOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type ListTagsForResourceInput ¶
type ListTagsForResourceInput struct { // The Amazon Resource Name (ARN) of the RepositoryAssociation (https://docs.aws.amazon.com/codeguru/latest/reviewer-api/API_RepositoryAssociation.html) // object. You can retrieve this ARN by calling ListRepositoryAssociations (https://docs.aws.amazon.com/codeguru/latest/reviewer-api/API_ListRepositoryAssociations.html). // // ResourceArn is a required field ResourceArn *string `location:"uri" locationName:"resourceArn" min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
func (ListTagsForResourceInput) GoString ¶
func (s ListTagsForResourceInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ListTagsForResourceInput) SetResourceArn ¶
func (s *ListTagsForResourceInput) SetResourceArn(v string) *ListTagsForResourceInput
SetResourceArn sets the ResourceArn field's value.
func (ListTagsForResourceInput) String ¶
func (s ListTagsForResourceInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ListTagsForResourceInput) Validate ¶
func (s *ListTagsForResourceInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ListTagsForResourceOutput ¶
type ListTagsForResourceOutput struct { // 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. Tags map[string]*string `min:"1" type:"map"` // contains filtered or unexported fields }
func (ListTagsForResourceOutput) GoString ¶
func (s ListTagsForResourceOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ListTagsForResourceOutput) SetTags ¶
func (s *ListTagsForResourceOutput) SetTags(v map[string]*string) *ListTagsForResourceOutput
SetTags sets the Tags field's value.
func (ListTagsForResourceOutput) String ¶
func (s ListTagsForResourceOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type Metrics ¶
type Metrics struct { // Total number of recommendations found in the code review. FindingsCount *int64 `type:"long"` // MeteredLinesOfCode 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. MeteredLinesOfCodeCount *int64 `type:"long"` // contains filtered or unexported fields }
Information about the statistics from the code review.
func (Metrics) GoString ¶
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*Metrics) SetFindingsCount ¶
SetFindingsCount sets the FindingsCount field's value.
func (*Metrics) SetMeteredLinesOfCodeCount ¶
SetMeteredLinesOfCodeCount sets the MeteredLinesOfCodeCount field's value.
type MetricsSummary ¶
type MetricsSummary struct { // Total number of recommendations found in the code review. FindingsCount *int64 `type:"long"` // 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. MeteredLinesOfCodeCount *int64 `type:"long"` // contains filtered or unexported fields }
Information about metrics summaries.
func (MetricsSummary) GoString ¶
func (s MetricsSummary) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*MetricsSummary) SetFindingsCount ¶
func (s *MetricsSummary) SetFindingsCount(v int64) *MetricsSummary
SetFindingsCount sets the FindingsCount field's value.
func (*MetricsSummary) SetMeteredLinesOfCodeCount ¶
func (s *MetricsSummary) SetMeteredLinesOfCodeCount(v int64) *MetricsSummary
SetMeteredLinesOfCodeCount sets the MeteredLinesOfCodeCount field's value.
func (MetricsSummary) String ¶
func (s MetricsSummary) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type NotFoundException ¶
type NotFoundException struct { RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` Message_ *string `locationName:"Message" type:"string"` // contains filtered or unexported fields }
The resource specified in the request was not found.
func (*NotFoundException) Code ¶
func (s *NotFoundException) Code() string
Code returns the exception type name.
func (*NotFoundException) Error ¶
func (s *NotFoundException) Error() string
func (NotFoundException) GoString ¶
func (s NotFoundException) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*NotFoundException) Message ¶
func (s *NotFoundException) Message() string
Message returns the exception's message.
func (*NotFoundException) OrigErr ¶
func (s *NotFoundException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (*NotFoundException) RequestID ¶
func (s *NotFoundException) RequestID() string
RequestID returns the service's response RequestID for request.
func (*NotFoundException) StatusCode ¶
func (s *NotFoundException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (NotFoundException) String ¶
func (s NotFoundException) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type PutRecommendationFeedbackInput ¶
type PutRecommendationFeedbackInput struct { // The Amazon Resource Name (ARN) of the CodeReview (https://docs.aws.amazon.com/codeguru/latest/reviewer-api/API_CodeReview.html) // object. // // CodeReviewArn is a required field CodeReviewArn *string `min:"1" type:"string" required:"true"` // List for storing reactions. Reactions are utf-8 text code for emojis. If // you send an empty list it clears all your feedback. // // Reactions is a required field Reactions []*string `type:"list" required:"true"` // The recommendation ID that can be used to track the provided recommendations // and then to collect the feedback. // // RecommendationId is a required field RecommendationId *string `min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
func (PutRecommendationFeedbackInput) GoString ¶
func (s PutRecommendationFeedbackInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*PutRecommendationFeedbackInput) SetCodeReviewArn ¶
func (s *PutRecommendationFeedbackInput) SetCodeReviewArn(v string) *PutRecommendationFeedbackInput
SetCodeReviewArn sets the CodeReviewArn field's value.
func (*PutRecommendationFeedbackInput) SetReactions ¶
func (s *PutRecommendationFeedbackInput) SetReactions(v []*string) *PutRecommendationFeedbackInput
SetReactions sets the Reactions field's value.
func (*PutRecommendationFeedbackInput) SetRecommendationId ¶
func (s *PutRecommendationFeedbackInput) SetRecommendationId(v string) *PutRecommendationFeedbackInput
SetRecommendationId sets the RecommendationId field's value.
func (PutRecommendationFeedbackInput) String ¶
func (s PutRecommendationFeedbackInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*PutRecommendationFeedbackInput) Validate ¶
func (s *PutRecommendationFeedbackInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type PutRecommendationFeedbackOutput ¶
type PutRecommendationFeedbackOutput struct {
// contains filtered or unexported fields
}
func (PutRecommendationFeedbackOutput) GoString ¶
func (s PutRecommendationFeedbackOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (PutRecommendationFeedbackOutput) String ¶
func (s PutRecommendationFeedbackOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type RecommendationFeedback ¶
type RecommendationFeedback struct { // The Amazon Resource Name (ARN) of the CodeReview (https://docs.aws.amazon.com/codeguru/latest/reviewer-api/API_CodeReview.html) // object. CodeReviewArn *string `min:"1" type:"string"` // The time at which the feedback was created. CreatedTimeStamp *time.Time `type:"timestamp"` // The time at which the feedback was last updated. LastUpdatedTimeStamp *time.Time `type:"timestamp"` // List for storing reactions. Reactions are utf-8 text code for emojis. You // can send an empty list to clear off all your feedback. Reactions []*string `type:"list"` // The recommendation ID that can be used to track the provided recommendations. // Later on it can be used to collect the feedback. RecommendationId *string `min:"1" type:"string"` // 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 (https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies_elements_principal.html#Principal_specifying) // in the Amazon Web Services Identity and Access Management User Guide. UserId *string `min:"1" type:"string"` // contains filtered or unexported fields }
Information about the recommendation feedback.
func (RecommendationFeedback) GoString ¶
func (s RecommendationFeedback) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*RecommendationFeedback) SetCodeReviewArn ¶
func (s *RecommendationFeedback) SetCodeReviewArn(v string) *RecommendationFeedback
SetCodeReviewArn sets the CodeReviewArn field's value.
func (*RecommendationFeedback) SetCreatedTimeStamp ¶
func (s *RecommendationFeedback) SetCreatedTimeStamp(v time.Time) *RecommendationFeedback
SetCreatedTimeStamp sets the CreatedTimeStamp field's value.
func (*RecommendationFeedback) SetLastUpdatedTimeStamp ¶
func (s *RecommendationFeedback) SetLastUpdatedTimeStamp(v time.Time) *RecommendationFeedback
SetLastUpdatedTimeStamp sets the LastUpdatedTimeStamp field's value.
func (*RecommendationFeedback) SetReactions ¶
func (s *RecommendationFeedback) SetReactions(v []*string) *RecommendationFeedback
SetReactions sets the Reactions field's value.
func (*RecommendationFeedback) SetRecommendationId ¶
func (s *RecommendationFeedback) SetRecommendationId(v string) *RecommendationFeedback
SetRecommendationId sets the RecommendationId field's value.
func (*RecommendationFeedback) SetUserId ¶
func (s *RecommendationFeedback) SetUserId(v string) *RecommendationFeedback
SetUserId sets the UserId field's value.
func (RecommendationFeedback) String ¶
func (s RecommendationFeedback) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type RecommendationFeedbackSummary ¶
type RecommendationFeedbackSummary struct { // List for storing reactions. Reactions are utf-8 text code for emojis. Reactions []*string `type:"list"` // The recommendation ID that can be used to track the provided recommendations. // Later on it can be used to collect the feedback. RecommendationId *string `min:"1" type:"string"` // 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 (https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies_elements_principal.html#Principal_specifying) // in the Amazon Web Services Identity and Access Management User Guide. UserId *string `min:"1" type:"string"` // contains filtered or unexported fields }
Information about recommendation feedback summaries.
func (RecommendationFeedbackSummary) GoString ¶
func (s RecommendationFeedbackSummary) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*RecommendationFeedbackSummary) SetReactions ¶
func (s *RecommendationFeedbackSummary) SetReactions(v []*string) *RecommendationFeedbackSummary
SetReactions sets the Reactions field's value.
func (*RecommendationFeedbackSummary) SetRecommendationId ¶
func (s *RecommendationFeedbackSummary) SetRecommendationId(v string) *RecommendationFeedbackSummary
SetRecommendationId sets the RecommendationId field's value.
func (*RecommendationFeedbackSummary) SetUserId ¶
func (s *RecommendationFeedbackSummary) SetUserId(v string) *RecommendationFeedbackSummary
SetUserId sets the UserId field's value.
func (RecommendationFeedbackSummary) String ¶
func (s RecommendationFeedbackSummary) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type RecommendationSummary ¶
type RecommendationSummary struct { // A description of the recommendation generated by CodeGuru Reviewer for the // lines of code between the start line and the end line. Description *string `min:"1" type:"string"` // 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. EndLine *int64 `type:"integer"` // Name of the file on which a recommendation is provided. FilePath *string `min:"1" type:"string"` // The type of a recommendation. RecommendationCategory *string `type:"string" enum:"RecommendationCategory"` // The recommendation ID that can be used to track the provided recommendations. // Later on it can be used to collect the feedback. RecommendationId *string `min:"1" type:"string"` // 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. RuleMetadata *RuleMetadata `type:"structure"` // The severity of the issue in the code that generated this recommendation. Severity *string `type:"string" enum:"Severity"` // Start line from where the recommendation is applicable in the source commit // or source branch. StartLine *int64 `type:"integer"` // contains filtered or unexported fields }
Information about recommendations.
func (RecommendationSummary) GoString ¶
func (s RecommendationSummary) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*RecommendationSummary) SetDescription ¶
func (s *RecommendationSummary) SetDescription(v string) *RecommendationSummary
SetDescription sets the Description field's value.
func (*RecommendationSummary) SetEndLine ¶
func (s *RecommendationSummary) SetEndLine(v int64) *RecommendationSummary
SetEndLine sets the EndLine field's value.
func (*RecommendationSummary) SetFilePath ¶
func (s *RecommendationSummary) SetFilePath(v string) *RecommendationSummary
SetFilePath sets the FilePath field's value.
func (*RecommendationSummary) SetRecommendationCategory ¶
func (s *RecommendationSummary) SetRecommendationCategory(v string) *RecommendationSummary
SetRecommendationCategory sets the RecommendationCategory field's value.
func (*RecommendationSummary) SetRecommendationId ¶
func (s *RecommendationSummary) SetRecommendationId(v string) *RecommendationSummary
SetRecommendationId sets the RecommendationId field's value.
func (*RecommendationSummary) SetRuleMetadata ¶
func (s *RecommendationSummary) SetRuleMetadata(v *RuleMetadata) *RecommendationSummary
SetRuleMetadata sets the RuleMetadata field's value.
func (*RecommendationSummary) SetSeverity ¶
func (s *RecommendationSummary) SetSeverity(v string) *RecommendationSummary
SetSeverity sets the Severity field's value.
func (*RecommendationSummary) SetStartLine ¶
func (s *RecommendationSummary) SetStartLine(v int64) *RecommendationSummary
SetStartLine sets the StartLine field's value.
func (RecommendationSummary) String ¶
func (s RecommendationSummary) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type Repository ¶
type Repository struct { // Information about a Bitbucket repository. Bitbucket *ThirdPartySourceRepository `type:"structure"` // Information about an Amazon Web Services CodeCommit repository. CodeCommit *CodeCommitRepository `type:"structure"` // Information about a GitHub Enterprise Server repository. GitHubEnterpriseServer *ThirdPartySourceRepository `type:"structure"` // Information about a repository in an S3 bucket. S3Bucket *S3Repository `type:"structure"` // contains filtered or unexported fields }
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.
func (Repository) GoString ¶
func (s Repository) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*Repository) SetBitbucket ¶
func (s *Repository) SetBitbucket(v *ThirdPartySourceRepository) *Repository
SetBitbucket sets the Bitbucket field's value.
func (*Repository) SetCodeCommit ¶
func (s *Repository) SetCodeCommit(v *CodeCommitRepository) *Repository
SetCodeCommit sets the CodeCommit field's value.
func (*Repository) SetGitHubEnterpriseServer ¶
func (s *Repository) SetGitHubEnterpriseServer(v *ThirdPartySourceRepository) *Repository
SetGitHubEnterpriseServer sets the GitHubEnterpriseServer field's value.
func (*Repository) SetS3Bucket ¶
func (s *Repository) SetS3Bucket(v *S3Repository) *Repository
SetS3Bucket sets the S3Bucket field's value.
func (Repository) String ¶
func (s Repository) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*Repository) Validate ¶
func (s *Repository) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type RepositoryAnalysis ¶
type RepositoryAnalysis struct { // A SourceCodeType (https://docs.aws.amazon.com/codeguru/latest/reviewer-api/API_SourceCodeType) // that specifies the tip of a branch in an associated repository. RepositoryHead *RepositoryHeadSourceCodeType `type:"structure"` // Specifies the source code that is analyzed in a code review. SourceCodeType *SourceCodeType `type:"structure"` // contains filtered or unexported fields }
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 (https://docs.aws.amazon.com/codeguru/latest/reviewer-api/API_CreateCodeReview).
func (RepositoryAnalysis) GoString ¶
func (s RepositoryAnalysis) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*RepositoryAnalysis) SetRepositoryHead ¶
func (s *RepositoryAnalysis) SetRepositoryHead(v *RepositoryHeadSourceCodeType) *RepositoryAnalysis
SetRepositoryHead sets the RepositoryHead field's value.
func (*RepositoryAnalysis) SetSourceCodeType ¶
func (s *RepositoryAnalysis) SetSourceCodeType(v *SourceCodeType) *RepositoryAnalysis
SetSourceCodeType sets the SourceCodeType field's value.
func (RepositoryAnalysis) String ¶
func (s RepositoryAnalysis) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*RepositoryAnalysis) Validate ¶
func (s *RepositoryAnalysis) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type RepositoryAssociation ¶
type RepositoryAssociation struct { // The Amazon Resource Name (ARN) identifying the repository association. AssociationArn *string `min:"1" type:"string"` // The ID of the repository association. AssociationId *string `min:"1" type:"string"` // 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 (https://docs.aws.amazon.com/codestar-connections/latest/APIReference/API_Connection.html) // in the Amazon Web Services CodeStar Connections API Reference. ConnectionArn *string `type:"string"` // The time, in milliseconds since the epoch, when the repository association // was created. CreatedTimeStamp *time.Time `type:"timestamp"` // 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 // respository association. KMSKeyDetails *KMSKeyDetails `type:"structure"` // The time, in milliseconds since the epoch, when the repository association // was last updated. LastUpdatedTimeStamp *time.Time `type:"timestamp"` // The name of the repository. Name *string `min:"1" type:"string"` // 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. Owner *string `min:"1" type:"string"` // The provider type of the repository association. ProviderType *string `type:"string" enum:"ProviderType"` // 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. S3RepositoryDetails *S3RepositoryDetails `type:"structure"` // 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 an associated repository with tags after it has been disassociated. // For more information, see Using tags to control access to associated repositories // (https://docs.aws.amazon.com/codeguru/latest/reviewer-ug/auth-and-access-control-using-tags.html) // in the Amazon CodeGuru Reviewer User Guide. State *string `type:"string" enum:"RepositoryAssociationState"` // A description of why the repository association is in the current state. StateReason *string `type:"string"` // contains filtered or unexported fields }
Information about a repository association. The DescribeRepositoryAssociation (https://docs.aws.amazon.com/codeguru/latest/reviewer-api/API_DescribeRepositoryAssociation.html) operation returns a RepositoryAssociation object.
func (RepositoryAssociation) GoString ¶
func (s RepositoryAssociation) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*RepositoryAssociation) SetAssociationArn ¶
func (s *RepositoryAssociation) SetAssociationArn(v string) *RepositoryAssociation
SetAssociationArn sets the AssociationArn field's value.
func (*RepositoryAssociation) SetAssociationId ¶
func (s *RepositoryAssociation) SetAssociationId(v string) *RepositoryAssociation
SetAssociationId sets the AssociationId field's value.
func (*RepositoryAssociation) SetConnectionArn ¶
func (s *RepositoryAssociation) SetConnectionArn(v string) *RepositoryAssociation
SetConnectionArn sets the ConnectionArn field's value.
func (*RepositoryAssociation) SetCreatedTimeStamp ¶
func (s *RepositoryAssociation) SetCreatedTimeStamp(v time.Time) *RepositoryAssociation
SetCreatedTimeStamp sets the CreatedTimeStamp field's value.
func (*RepositoryAssociation) SetKMSKeyDetails ¶
func (s *RepositoryAssociation) SetKMSKeyDetails(v *KMSKeyDetails) *RepositoryAssociation
SetKMSKeyDetails sets the KMSKeyDetails field's value.
func (*RepositoryAssociation) SetLastUpdatedTimeStamp ¶
func (s *RepositoryAssociation) SetLastUpdatedTimeStamp(v time.Time) *RepositoryAssociation
SetLastUpdatedTimeStamp sets the LastUpdatedTimeStamp field's value.
func (*RepositoryAssociation) SetName ¶
func (s *RepositoryAssociation) SetName(v string) *RepositoryAssociation
SetName sets the Name field's value.
func (*RepositoryAssociation) SetOwner ¶
func (s *RepositoryAssociation) SetOwner(v string) *RepositoryAssociation
SetOwner sets the Owner field's value.
func (*RepositoryAssociation) SetProviderType ¶
func (s *RepositoryAssociation) SetProviderType(v string) *RepositoryAssociation
SetProviderType sets the ProviderType field's value.
func (*RepositoryAssociation) SetS3RepositoryDetails ¶
func (s *RepositoryAssociation) SetS3RepositoryDetails(v *S3RepositoryDetails) *RepositoryAssociation
SetS3RepositoryDetails sets the S3RepositoryDetails field's value.
func (*RepositoryAssociation) SetState ¶
func (s *RepositoryAssociation) SetState(v string) *RepositoryAssociation
SetState sets the State field's value.
func (*RepositoryAssociation) SetStateReason ¶
func (s *RepositoryAssociation) SetStateReason(v string) *RepositoryAssociation
SetStateReason sets the StateReason field's value.
func (RepositoryAssociation) String ¶
func (s RepositoryAssociation) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type RepositoryAssociationSummary ¶
type RepositoryAssociationSummary struct { // The Amazon Resource Name (ARN) of the RepositoryAssociation (https://docs.aws.amazon.com/codeguru/latest/reviewer-api/API_RepositoryAssociation.html) // object. You can retrieve this ARN by calling ListRepositoryAssociations (https://docs.aws.amazon.com/codeguru/latest/reviewer-api/API_ListRepositoryAssociations.html). AssociationArn *string `min:"1" type:"string"` // The repository association ID. AssociationId *string `min:"1" type:"string"` // 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 (https://docs.aws.amazon.com/codestar-connections/latest/APIReference/API_Connection.html) // in the Amazon Web Services CodeStar Connections API Reference. ConnectionArn *string `type:"string"` // The time, in milliseconds since the epoch, since the repository association // was last updated. LastUpdatedTimeStamp *time.Time `type:"timestamp"` // The name of the repository association. Name *string `min:"1" type:"string"` // 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. Owner *string `min:"1" type:"string"` // The provider type of the repository association. ProviderType *string `type:"string" enum:"ProviderType"` // 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 an associated repository with tags after it has been disassociated. // For more information, see Using tags to control access to associated repositories // (https://docs.aws.amazon.com/codeguru/latest/reviewer-ug/auth-and-access-control-using-tags.html) // in the Amazon CodeGuru Reviewer User Guide. State *string `type:"string" enum:"RepositoryAssociationState"` // contains filtered or unexported fields }
Summary information about a repository association. The ListRepositoryAssociations (https://docs.aws.amazon.com/codeguru/latest/reviewer-api/API_ListRepositoryAssociations.html) operation returns a list of RepositoryAssociationSummary objects.
func (RepositoryAssociationSummary) GoString ¶
func (s RepositoryAssociationSummary) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*RepositoryAssociationSummary) SetAssociationArn ¶
func (s *RepositoryAssociationSummary) SetAssociationArn(v string) *RepositoryAssociationSummary
SetAssociationArn sets the AssociationArn field's value.
func (*RepositoryAssociationSummary) SetAssociationId ¶
func (s *RepositoryAssociationSummary) SetAssociationId(v string) *RepositoryAssociationSummary
SetAssociationId sets the AssociationId field's value.
func (*RepositoryAssociationSummary) SetConnectionArn ¶
func (s *RepositoryAssociationSummary) SetConnectionArn(v string) *RepositoryAssociationSummary
SetConnectionArn sets the ConnectionArn field's value.
func (*RepositoryAssociationSummary) SetLastUpdatedTimeStamp ¶
func (s *RepositoryAssociationSummary) SetLastUpdatedTimeStamp(v time.Time) *RepositoryAssociationSummary
SetLastUpdatedTimeStamp sets the LastUpdatedTimeStamp field's value.
func (*RepositoryAssociationSummary) SetName ¶
func (s *RepositoryAssociationSummary) SetName(v string) *RepositoryAssociationSummary
SetName sets the Name field's value.
func (*RepositoryAssociationSummary) SetOwner ¶
func (s *RepositoryAssociationSummary) SetOwner(v string) *RepositoryAssociationSummary
SetOwner sets the Owner field's value.
func (*RepositoryAssociationSummary) SetProviderType ¶
func (s *RepositoryAssociationSummary) SetProviderType(v string) *RepositoryAssociationSummary
SetProviderType sets the ProviderType field's value.
func (*RepositoryAssociationSummary) SetState ¶
func (s *RepositoryAssociationSummary) SetState(v string) *RepositoryAssociationSummary
SetState sets the State field's value.
func (RepositoryAssociationSummary) String ¶
func (s RepositoryAssociationSummary) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type RepositoryHeadSourceCodeType ¶
type RepositoryHeadSourceCodeType struct { // The name of the branch in an associated repository. The RepositoryHeadSourceCodeType // specifies the tip of this branch. // // BranchName is a required field BranchName *string `min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
A SourceCodeType (https://docs.aws.amazon.com/codeguru/latest/reviewer-api/API_SourceCodeType) that specifies the tip of a branch in an associated repository.
func (RepositoryHeadSourceCodeType) GoString ¶
func (s RepositoryHeadSourceCodeType) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*RepositoryHeadSourceCodeType) SetBranchName ¶
func (s *RepositoryHeadSourceCodeType) SetBranchName(v string) *RepositoryHeadSourceCodeType
SetBranchName sets the BranchName field's value.
func (RepositoryHeadSourceCodeType) String ¶
func (s RepositoryHeadSourceCodeType) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*RepositoryHeadSourceCodeType) Validate ¶
func (s *RepositoryHeadSourceCodeType) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type RequestMetadata ¶
type RequestMetadata struct { // Information about the event associated with a code review. EventInfo *EventInfo `type:"structure"` // The ID of the request. This is required for a pull request code review. RequestId *string `min:"1" type:"string"` // 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. Requester *string `min:"1" type:"string"` // 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 (https://docs.aws.amazon.com/codeguru/latest/reviewer-api/API_RepositoryAssociation.html). VendorName *string `type:"string" enum:"VendorName"` // contains filtered or unexported fields }
Metadata that is associated with a code review. This applies to both pull request and repository analysis code reviews.
func (RequestMetadata) GoString ¶
func (s RequestMetadata) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*RequestMetadata) SetEventInfo ¶
func (s *RequestMetadata) SetEventInfo(v *EventInfo) *RequestMetadata
SetEventInfo sets the EventInfo field's value.
func (*RequestMetadata) SetRequestId ¶
func (s *RequestMetadata) SetRequestId(v string) *RequestMetadata
SetRequestId sets the RequestId field's value.
func (*RequestMetadata) SetRequester ¶
func (s *RequestMetadata) SetRequester(v string) *RequestMetadata
SetRequester sets the Requester field's value.
func (*RequestMetadata) SetVendorName ¶
func (s *RequestMetadata) SetVendorName(v string) *RequestMetadata
SetVendorName sets the VendorName field's value.
func (RequestMetadata) String ¶
func (s RequestMetadata) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*RequestMetadata) Validate ¶
func (s *RequestMetadata) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ResourceNotFoundException ¶
type ResourceNotFoundException struct { RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` Message_ *string `locationName:"Message" type:"string"` // contains filtered or unexported fields }
The resource specified in the request was not found.
func (*ResourceNotFoundException) Code ¶
func (s *ResourceNotFoundException) Code() string
Code returns the exception type name.
func (*ResourceNotFoundException) Error ¶
func (s *ResourceNotFoundException) Error() string
func (ResourceNotFoundException) GoString ¶
func (s ResourceNotFoundException) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ResourceNotFoundException) Message ¶
func (s *ResourceNotFoundException) Message() string
Message returns the exception's message.
func (*ResourceNotFoundException) OrigErr ¶
func (s *ResourceNotFoundException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (*ResourceNotFoundException) RequestID ¶
func (s *ResourceNotFoundException) RequestID() string
RequestID returns the service's response RequestID for request.
func (*ResourceNotFoundException) StatusCode ¶
func (s *ResourceNotFoundException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (ResourceNotFoundException) String ¶
func (s ResourceNotFoundException) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type RuleMetadata ¶
type RuleMetadata struct { // A long description of the rule. LongDescription *string `min:"1" type:"string"` // The ID of the rule. RuleId *string `min:"1" type:"string"` // The name of the rule. RuleName *string `min:"1" type:"string"` // Tags that are associated with the rule. RuleTags []*string `min:"1" type:"list"` // A short description of the rule. ShortDescription *string `min:"1" type:"string"` // contains filtered or unexported fields }
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.
func (RuleMetadata) GoString ¶
func (s RuleMetadata) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*RuleMetadata) SetLongDescription ¶
func (s *RuleMetadata) SetLongDescription(v string) *RuleMetadata
SetLongDescription sets the LongDescription field's value.
func (*RuleMetadata) SetRuleId ¶
func (s *RuleMetadata) SetRuleId(v string) *RuleMetadata
SetRuleId sets the RuleId field's value.
func (*RuleMetadata) SetRuleName ¶
func (s *RuleMetadata) SetRuleName(v string) *RuleMetadata
SetRuleName sets the RuleName field's value.
func (*RuleMetadata) SetRuleTags ¶
func (s *RuleMetadata) SetRuleTags(v []*string) *RuleMetadata
SetRuleTags sets the RuleTags field's value.
func (*RuleMetadata) SetShortDescription ¶
func (s *RuleMetadata) SetShortDescription(v string) *RuleMetadata
SetShortDescription sets the ShortDescription field's value.
func (RuleMetadata) String ¶
func (s RuleMetadata) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type S3BucketRepository ¶
type S3BucketRepository struct { // 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. Details *S3RepositoryDetails `type:"structure"` // The name of the repository when the ProviderType is S3Bucket. // // Name is a required field Name *string `min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
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.
func (S3BucketRepository) GoString ¶
func (s S3BucketRepository) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*S3BucketRepository) SetDetails ¶
func (s *S3BucketRepository) SetDetails(v *S3RepositoryDetails) *S3BucketRepository
SetDetails sets the Details field's value.
func (*S3BucketRepository) SetName ¶
func (s *S3BucketRepository) SetName(v string) *S3BucketRepository
SetName sets the Name field's value.
func (S3BucketRepository) String ¶
func (s S3BucketRepository) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*S3BucketRepository) Validate ¶
func (s *S3BucketRepository) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type S3Repository ¶
type S3Repository struct { // The name of the S3 bucket used for associating a new S3 repository. It must // begin with codeguru-reviewer-. // // BucketName is a required field BucketName *string `min:"3" type:"string" required:"true"` // The name of the repository in the S3 bucket. // // Name is a required field Name *string `min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
Information about a repository in an S3 bucket.
func (S3Repository) GoString ¶
func (s S3Repository) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*S3Repository) SetBucketName ¶
func (s *S3Repository) SetBucketName(v string) *S3Repository
SetBucketName sets the BucketName field's value.
func (*S3Repository) SetName ¶
func (s *S3Repository) SetName(v string) *S3Repository
SetName sets the Name field's value.
func (S3Repository) String ¶
func (s S3Repository) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*S3Repository) Validate ¶
func (s *S3Repository) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type S3RepositoryDetails ¶
type S3RepositoryDetails struct { // The name of the S3 bucket used for associating a new S3 repository. It must // begin with codeguru-reviewer-. BucketName *string `min:"3" type:"string"` // 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. CodeArtifacts *CodeArtifacts `type:"structure"` // contains filtered or unexported fields }
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.
func (S3RepositoryDetails) GoString ¶
func (s S3RepositoryDetails) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*S3RepositoryDetails) SetBucketName ¶
func (s *S3RepositoryDetails) SetBucketName(v string) *S3RepositoryDetails
SetBucketName sets the BucketName field's value.
func (*S3RepositoryDetails) SetCodeArtifacts ¶
func (s *S3RepositoryDetails) SetCodeArtifacts(v *CodeArtifacts) *S3RepositoryDetails
SetCodeArtifacts sets the CodeArtifacts field's value.
func (S3RepositoryDetails) String ¶
func (s S3RepositoryDetails) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*S3RepositoryDetails) Validate ¶
func (s *S3RepositoryDetails) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type SourceCodeType ¶
type SourceCodeType struct { // A type of SourceCodeType (https://docs.aws.amazon.com/codeguru/latest/reviewer-api/API_SourceCodeType) // that specifies a source branch name and a destination branch name in an associated // repository. BranchDiff *BranchDiffSourceCodeType `type:"structure"` // A SourceCodeType (https://docs.aws.amazon.com/codeguru/latest/reviewer-api/API_SourceCodeType) // that specifies a commit diff created by a pull request on an associated repository. CommitDiff *CommitDiffSourceCodeType `type:"structure"` // A SourceCodeType (https://docs.aws.amazon.com/codeguru/latest/reviewer-api/API_SourceCodeType) // that specifies the tip of a branch in an associated repository. RepositoryHead *RepositoryHeadSourceCodeType `type:"structure"` // 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. RequestMetadata *RequestMetadata `type:"structure"` // 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 (https://docs.aws.amazon.com/codeguru/latest/reviewer-api/API_SourceCodeType) // for S3BucketRepository based code reviews. S3BucketRepository *S3BucketRepository `type:"structure"` // contains filtered or unexported fields }
Specifies the source code that is analyzed in a code review.
func (SourceCodeType) GoString ¶
func (s SourceCodeType) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*SourceCodeType) SetBranchDiff ¶
func (s *SourceCodeType) SetBranchDiff(v *BranchDiffSourceCodeType) *SourceCodeType
SetBranchDiff sets the BranchDiff field's value.
func (*SourceCodeType) SetCommitDiff ¶
func (s *SourceCodeType) SetCommitDiff(v *CommitDiffSourceCodeType) *SourceCodeType
SetCommitDiff sets the CommitDiff field's value.
func (*SourceCodeType) SetRepositoryHead ¶
func (s *SourceCodeType) SetRepositoryHead(v *RepositoryHeadSourceCodeType) *SourceCodeType
SetRepositoryHead sets the RepositoryHead field's value.
func (*SourceCodeType) SetRequestMetadata ¶
func (s *SourceCodeType) SetRequestMetadata(v *RequestMetadata) *SourceCodeType
SetRequestMetadata sets the RequestMetadata field's value.
func (*SourceCodeType) SetS3BucketRepository ¶
func (s *SourceCodeType) SetS3BucketRepository(v *S3BucketRepository) *SourceCodeType
SetS3BucketRepository sets the S3BucketRepository field's value.
func (SourceCodeType) String ¶
func (s SourceCodeType) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*SourceCodeType) Validate ¶
func (s *SourceCodeType) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type TagResourceInput ¶
type TagResourceInput struct { // The Amazon Resource Name (ARN) of the RepositoryAssociation (https://docs.aws.amazon.com/codeguru/latest/reviewer-api/API_RepositoryAssociation.html) // object. You can retrieve this ARN by calling ListRepositoryAssociations (https://docs.aws.amazon.com/codeguru/latest/reviewer-api/API_ListRepositoryAssociations.html). // // ResourceArn is a required field ResourceArn *string `location:"uri" locationName:"resourceArn" min:"1" type:"string" required:"true"` // 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. // // Tags is a required field Tags map[string]*string `min:"1" type:"map" required:"true"` // contains filtered or unexported fields }
func (TagResourceInput) GoString ¶
func (s TagResourceInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*TagResourceInput) SetResourceArn ¶
func (s *TagResourceInput) SetResourceArn(v string) *TagResourceInput
SetResourceArn sets the ResourceArn field's value.
func (*TagResourceInput) SetTags ¶
func (s *TagResourceInput) SetTags(v map[string]*string) *TagResourceInput
SetTags sets the Tags field's value.
func (TagResourceInput) String ¶
func (s TagResourceInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*TagResourceInput) Validate ¶
func (s *TagResourceInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type TagResourceOutput ¶
type TagResourceOutput struct {
// contains filtered or unexported fields
}
func (TagResourceOutput) GoString ¶
func (s TagResourceOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (TagResourceOutput) String ¶
func (s TagResourceOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type ThirdPartySourceRepository ¶
type ThirdPartySourceRepository struct { // 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 (https://docs.aws.amazon.com/codestar-connections/latest/APIReference/API_Connection.html) // in the Amazon Web Services CodeStar Connections API Reference. // // ConnectionArn is a required field ConnectionArn *string `type:"string" required:"true"` // The name of the third party source repository. // // Name is a required field Name *string `min:"1" type:"string" required:"true"` // 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. // // Owner is a required field Owner *string `min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
Information about a third-party source repository connected to CodeGuru Reviewer.
func (ThirdPartySourceRepository) GoString ¶
func (s ThirdPartySourceRepository) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ThirdPartySourceRepository) SetConnectionArn ¶
func (s *ThirdPartySourceRepository) SetConnectionArn(v string) *ThirdPartySourceRepository
SetConnectionArn sets the ConnectionArn field's value.
func (*ThirdPartySourceRepository) SetName ¶
func (s *ThirdPartySourceRepository) SetName(v string) *ThirdPartySourceRepository
SetName sets the Name field's value.
func (*ThirdPartySourceRepository) SetOwner ¶
func (s *ThirdPartySourceRepository) SetOwner(v string) *ThirdPartySourceRepository
SetOwner sets the Owner field's value.
func (ThirdPartySourceRepository) String ¶
func (s ThirdPartySourceRepository) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ThirdPartySourceRepository) Validate ¶
func (s *ThirdPartySourceRepository) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ThrottlingException ¶
type ThrottlingException struct { RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` Message_ *string `locationName:"Message" type:"string"` // contains filtered or unexported fields }
The request was denied due to request throttling.
func (*ThrottlingException) Code ¶
func (s *ThrottlingException) Code() string
Code returns the exception type name.
func (*ThrottlingException) Error ¶
func (s *ThrottlingException) Error() string
func (ThrottlingException) GoString ¶
func (s ThrottlingException) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ThrottlingException) Message ¶
func (s *ThrottlingException) Message() string
Message returns the exception's message.
func (*ThrottlingException) OrigErr ¶
func (s *ThrottlingException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (*ThrottlingException) RequestID ¶
func (s *ThrottlingException) RequestID() string
RequestID returns the service's response RequestID for request.
func (*ThrottlingException) StatusCode ¶
func (s *ThrottlingException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (ThrottlingException) String ¶
func (s ThrottlingException) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type UntagResourceInput ¶
type UntagResourceInput struct { // The Amazon Resource Name (ARN) of the RepositoryAssociation (https://docs.aws.amazon.com/codeguru/latest/reviewer-api/API_RepositoryAssociation.html) // object. You can retrieve this ARN by calling ListRepositoryAssociations (https://docs.aws.amazon.com/codeguru/latest/reviewer-api/API_ListRepositoryAssociations.html). // // ResourceArn is a required field ResourceArn *string `location:"uri" locationName:"resourceArn" min:"1" type:"string" required:"true"` // A list of the keys for each tag you want to remove from an associated repository. // // TagKeys is a required field TagKeys []*string `location:"querystring" locationName:"tagKeys" min:"1" type:"list" required:"true"` // contains filtered or unexported fields }
func (UntagResourceInput) GoString ¶
func (s UntagResourceInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*UntagResourceInput) SetResourceArn ¶
func (s *UntagResourceInput) SetResourceArn(v string) *UntagResourceInput
SetResourceArn sets the ResourceArn field's value.
func (*UntagResourceInput) SetTagKeys ¶
func (s *UntagResourceInput) SetTagKeys(v []*string) *UntagResourceInput
SetTagKeys sets the TagKeys field's value.
func (UntagResourceInput) String ¶
func (s UntagResourceInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*UntagResourceInput) Validate ¶
func (s *UntagResourceInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type UntagResourceOutput ¶
type UntagResourceOutput struct {
// contains filtered or unexported fields
}
func (UntagResourceOutput) GoString ¶
func (s UntagResourceOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (UntagResourceOutput) String ¶
func (s UntagResourceOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type ValidationException ¶
type ValidationException struct { RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` Message_ *string `locationName:"Message" type:"string"` // contains filtered or unexported fields }
The input fails to satisfy the specified constraints.
func (*ValidationException) Code ¶
func (s *ValidationException) Code() string
Code returns the exception type name.
func (*ValidationException) Error ¶
func (s *ValidationException) Error() string
func (ValidationException) GoString ¶
func (s ValidationException) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ValidationException) Message ¶
func (s *ValidationException) Message() string
Message returns the exception's message.
func (*ValidationException) OrigErr ¶
func (s *ValidationException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (*ValidationException) RequestID ¶
func (s *ValidationException) RequestID() string
RequestID returns the service's response RequestID for request.
func (*ValidationException) StatusCode ¶
func (s *ValidationException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (ValidationException) String ¶
func (s ValidationException) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
Directories ¶
Path | Synopsis |
---|---|
Package codegururevieweriface provides an interface to enable mocking the Amazon CodeGuru Reviewer service client for testing your code.
|
Package codegururevieweriface provides an interface to enable mocking the Amazon CodeGuru Reviewer service client for testing your code. |