import { type WaiterResult } from "@smithy/core/client"; import type { HttpHandlerOptions as __HttpHandlerOptions, PaginationConfiguration, Paginator, WaiterConfiguration } from "@smithy/types"; import { CodeGuruReviewerClient } from "./CodeGuruReviewerClient"; import { type AssociateRepositoryCommandInput, type AssociateRepositoryCommandOutput } from "./commands/AssociateRepositoryCommand"; import { type CreateCodeReviewCommandInput, type CreateCodeReviewCommandOutput } from "./commands/CreateCodeReviewCommand"; import { type DescribeCodeReviewCommandInput, type DescribeCodeReviewCommandOutput } from "./commands/DescribeCodeReviewCommand"; import { type DescribeRecommendationFeedbackCommandInput, type DescribeRecommendationFeedbackCommandOutput } from "./commands/DescribeRecommendationFeedbackCommand"; import { type DescribeRepositoryAssociationCommandInput, type DescribeRepositoryAssociationCommandOutput } from "./commands/DescribeRepositoryAssociationCommand"; import { type DisassociateRepositoryCommandInput, type DisassociateRepositoryCommandOutput } from "./commands/DisassociateRepositoryCommand"; import { type ListCodeReviewsCommandInput, type ListCodeReviewsCommandOutput } from "./commands/ListCodeReviewsCommand"; import { type ListRecommendationFeedbackCommandInput, type ListRecommendationFeedbackCommandOutput } from "./commands/ListRecommendationFeedbackCommand"; import { type ListRecommendationsCommandInput, type ListRecommendationsCommandOutput } from "./commands/ListRecommendationsCommand"; import { type ListRepositoryAssociationsCommandInput, type ListRepositoryAssociationsCommandOutput } from "./commands/ListRepositoryAssociationsCommand"; import { type ListTagsForResourceCommandInput, type ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand"; import { type PutRecommendationFeedbackCommandInput, type PutRecommendationFeedbackCommandOutput } from "./commands/PutRecommendationFeedbackCommand"; import { type TagResourceCommandInput, type TagResourceCommandOutput } from "./commands/TagResourceCommand"; import { type UntagResourceCommandInput, type UntagResourceCommandOutput } from "./commands/UntagResourceCommand"; export interface CodeGuruReviewer { /** * @see {@link AssociateRepositoryCommand} */ associateRepository(args: AssociateRepositoryCommandInput, options?: __HttpHandlerOptions): Promise; associateRepository(args: AssociateRepositoryCommandInput, cb: (err: any, data?: AssociateRepositoryCommandOutput) => void): void; associateRepository(args: AssociateRepositoryCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: AssociateRepositoryCommandOutput) => void): void; /** * @see {@link CreateCodeReviewCommand} */ createCodeReview(args: CreateCodeReviewCommandInput, options?: __HttpHandlerOptions): Promise; createCodeReview(args: CreateCodeReviewCommandInput, cb: (err: any, data?: CreateCodeReviewCommandOutput) => void): void; createCodeReview(args: CreateCodeReviewCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateCodeReviewCommandOutput) => void): void; /** * @see {@link DescribeCodeReviewCommand} */ describeCodeReview(args: DescribeCodeReviewCommandInput, options?: __HttpHandlerOptions): Promise; describeCodeReview(args: DescribeCodeReviewCommandInput, cb: (err: any, data?: DescribeCodeReviewCommandOutput) => void): void; describeCodeReview(args: DescribeCodeReviewCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeCodeReviewCommandOutput) => void): void; /** * @see {@link DescribeRecommendationFeedbackCommand} */ describeRecommendationFeedback(args: DescribeRecommendationFeedbackCommandInput, options?: __HttpHandlerOptions): Promise; describeRecommendationFeedback(args: DescribeRecommendationFeedbackCommandInput, cb: (err: any, data?: DescribeRecommendationFeedbackCommandOutput) => void): void; describeRecommendationFeedback(args: DescribeRecommendationFeedbackCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeRecommendationFeedbackCommandOutput) => void): void; /** * @see {@link DescribeRepositoryAssociationCommand} */ describeRepositoryAssociation(args: DescribeRepositoryAssociationCommandInput, options?: __HttpHandlerOptions): Promise; describeRepositoryAssociation(args: DescribeRepositoryAssociationCommandInput, cb: (err: any, data?: DescribeRepositoryAssociationCommandOutput) => void): void; describeRepositoryAssociation(args: DescribeRepositoryAssociationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeRepositoryAssociationCommandOutput) => void): void; /** * @see {@link DisassociateRepositoryCommand} */ disassociateRepository(args: DisassociateRepositoryCommandInput, options?: __HttpHandlerOptions): Promise; disassociateRepository(args: DisassociateRepositoryCommandInput, cb: (err: any, data?: DisassociateRepositoryCommandOutput) => void): void; disassociateRepository(args: DisassociateRepositoryCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DisassociateRepositoryCommandOutput) => void): void; /** * @see {@link ListCodeReviewsCommand} */ listCodeReviews(args: ListCodeReviewsCommandInput, options?: __HttpHandlerOptions): Promise; listCodeReviews(args: ListCodeReviewsCommandInput, cb: (err: any, data?: ListCodeReviewsCommandOutput) => void): void; listCodeReviews(args: ListCodeReviewsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListCodeReviewsCommandOutput) => void): void; /** * @see {@link ListRecommendationFeedbackCommand} */ listRecommendationFeedback(args: ListRecommendationFeedbackCommandInput, options?: __HttpHandlerOptions): Promise; listRecommendationFeedback(args: ListRecommendationFeedbackCommandInput, cb: (err: any, data?: ListRecommendationFeedbackCommandOutput) => void): void; listRecommendationFeedback(args: ListRecommendationFeedbackCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListRecommendationFeedbackCommandOutput) => void): void; /** * @see {@link ListRecommendationsCommand} */ listRecommendations(args: ListRecommendationsCommandInput, options?: __HttpHandlerOptions): Promise; listRecommendations(args: ListRecommendationsCommandInput, cb: (err: any, data?: ListRecommendationsCommandOutput) => void): void; listRecommendations(args: ListRecommendationsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListRecommendationsCommandOutput) => void): void; /** * @see {@link ListRepositoryAssociationsCommand} */ listRepositoryAssociations(): Promise; listRepositoryAssociations(args: ListRepositoryAssociationsCommandInput, options?: __HttpHandlerOptions): Promise; listRepositoryAssociations(args: ListRepositoryAssociationsCommandInput, cb: (err: any, data?: ListRepositoryAssociationsCommandOutput) => void): void; listRepositoryAssociations(args: ListRepositoryAssociationsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListRepositoryAssociationsCommandOutput) => void): void; /** * @see {@link ListTagsForResourceCommand} */ listTagsForResource(args: ListTagsForResourceCommandInput, options?: __HttpHandlerOptions): Promise; listTagsForResource(args: ListTagsForResourceCommandInput, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void; listTagsForResource(args: ListTagsForResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void; /** * @see {@link PutRecommendationFeedbackCommand} */ putRecommendationFeedback(args: PutRecommendationFeedbackCommandInput, options?: __HttpHandlerOptions): Promise; putRecommendationFeedback(args: PutRecommendationFeedbackCommandInput, cb: (err: any, data?: PutRecommendationFeedbackCommandOutput) => void): void; putRecommendationFeedback(args: PutRecommendationFeedbackCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PutRecommendationFeedbackCommandOutput) => void): void; /** * @see {@link TagResourceCommand} */ tagResource(args: TagResourceCommandInput, options?: __HttpHandlerOptions): Promise; tagResource(args: TagResourceCommandInput, cb: (err: any, data?: TagResourceCommandOutput) => void): void; tagResource(args: TagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: TagResourceCommandOutput) => void): void; /** * @see {@link UntagResourceCommand} */ untagResource(args: UntagResourceCommandInput, options?: __HttpHandlerOptions): Promise; untagResource(args: UntagResourceCommandInput, cb: (err: any, data?: UntagResourceCommandOutput) => void): void; untagResource(args: UntagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UntagResourceCommandOutput) => void): void; /** * @see {@link ListCodeReviewsCommand} * @param args - command input. * @param paginationConfig - optional pagination config. * @returns AsyncIterable of {@link ListCodeReviewsCommandOutput}. */ paginateListCodeReviews(args: ListCodeReviewsCommandInput, paginationConfig?: Omit): Paginator; /** * @see {@link ListRecommendationFeedbackCommand} * @param args - command input. * @param paginationConfig - optional pagination config. * @returns AsyncIterable of {@link ListRecommendationFeedbackCommandOutput}. */ paginateListRecommendationFeedback(args: ListRecommendationFeedbackCommandInput, paginationConfig?: Omit): Paginator; /** * @see {@link ListRecommendationsCommand} * @param args - command input. * @param paginationConfig - optional pagination config. * @returns AsyncIterable of {@link ListRecommendationsCommandOutput}. */ paginateListRecommendations(args: ListRecommendationsCommandInput, paginationConfig?: Omit): Paginator; /** * @see {@link ListRepositoryAssociationsCommand} * @param args - command input. * @param paginationConfig - optional pagination config. * @returns AsyncIterable of {@link ListRepositoryAssociationsCommandOutput}. */ paginateListRepositoryAssociations(args?: ListRepositoryAssociationsCommandInput, paginationConfig?: Omit): Paginator; /** * @see {@link DescribeCodeReviewCommand} * @param args - command input. * @param waiterConfig - `maxWaitTime` in seconds or waiter config object. */ waitUntilCodeReviewCompleted(args: DescribeCodeReviewCommandInput, waiterConfig: number | Omit, "client">): Promise>; /** * @see {@link DescribeRepositoryAssociationCommand} * @param args - command input. * @param waiterConfig - `maxWaitTime` in seconds or waiter config object. */ waitUntilRepositoryAssociationSucceeded(args: DescribeRepositoryAssociationCommandInput, waiterConfig: number | Omit, "client">): Promise>; } /** *

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

*

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) in the Amazon CodeGuru Reviewer User * Guide.

* @public */ export declare class CodeGuruReviewer extends CodeGuruReviewerClient implements CodeGuruReviewer { }