Struct aws_sdk_codegurureviewer::client::fluent_builders::CreateCodeReview [−][src]
pub struct CreateCodeReview<C = DynConnector, M = AwsMiddleware, R = Standard> { /* fields omitted */ }
Expand description
Fluent builder constructing a request to CreateCodeReview
.
Use to create a code review with a
CodeReviewType
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.
Implementations
impl<C, M, R> CreateCodeReview<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> CreateCodeReview<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(
self
) -> Result<CreateCodeReviewOutput, SdkError<CreateCodeReviewError>> where
R::Policy: SmithyRetryPolicy<CreateCodeReviewInputOperationOutputAlias, CreateCodeReviewOutput, CreateCodeReviewError, CreateCodeReviewInputOperationRetryAlias>,
pub async fn send(
self
) -> Result<CreateCodeReviewOutput, SdkError<CreateCodeReviewError>> where
R::Policy: SmithyRetryPolicy<CreateCodeReviewInputOperationOutputAlias, CreateCodeReviewOutput, CreateCodeReviewError, CreateCodeReviewInputOperationRetryAlias>,
Sends the request and returns the response.
If an error occurs, an SdkError
will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
The name of the code review. The name of each code review in your Amazon Web Services account must be unique.
The name of the code review. The name of each code review in your Amazon Web Services account must be unique.
The Amazon Resource Name (ARN) of the
RepositoryAssociation
object.
You can retrieve this ARN by calling
ListRepositoryAssociations
.
A code review can only be created on an associated repository. This is the ARN of the associated repository.
The Amazon Resource Name (ARN) of the
RepositoryAssociation
object.
You can retrieve this ARN by calling
ListRepositoryAssociations
.
A code review can only be created on an associated repository. This is the ARN of the associated repository.
The type of code review to create. This is specified using a
CodeReviewType
object. You can create a code review only of type RepositoryAnalysis
.
The type of code review to create. This is specified using a
CodeReviewType
object. You can create a code review only of type RepositoryAnalysis
.
Amazon CodeGuru Reviewer uses this value to prevent the accidental creation of duplicate code reviews if there are failures and retries.
Amazon CodeGuru Reviewer uses this value to prevent the accidental creation of duplicate code reviews if there are failures and retries.
Trait Implementations
Auto Trait Implementations
impl<C = DynConnector, M = AwsMiddleware, R = Standard> !RefUnwindSafe for CreateCodeReview<C, M, R>
impl<C, M, R> Send for CreateCodeReview<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Sync for CreateCodeReview<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Unpin for CreateCodeReview<C, M, R>
impl<C = DynConnector, M = AwsMiddleware, R = Standard> !UnwindSafe for CreateCodeReview<C, M, R>
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more