Struct aws_sdk_codecommit::client::fluent_builders::GetMergeCommit
source · [−]pub struct GetMergeCommit<C = DynConnector, M = DefaultMiddleware, R = Standard> { /* private fields */ }
Expand description
Fluent builder constructing a request to GetMergeCommit
.
Returns information about a specified merge commit.
Implementations
impl<C, M, R> GetMergeCommit<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> GetMergeCommit<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(
self
) -> Result<GetMergeCommitOutput, SdkError<GetMergeCommitError>> where
R::Policy: SmithyRetryPolicy<GetMergeCommitInputOperationOutputAlias, GetMergeCommitOutput, GetMergeCommitError, GetMergeCommitInputOperationRetryAlias>,
pub async fn send(
self
) -> Result<GetMergeCommitOutput, SdkError<GetMergeCommitError>> where
R::Policy: SmithyRetryPolicy<GetMergeCommitInputOperationOutputAlias, GetMergeCommitOutput, GetMergeCommitError, GetMergeCommitInputOperationRetryAlias>,
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 repository that contains the merge commit about which you want to get information.
The name of the repository that contains the merge commit about which you want to get information.
The branch, tag, HEAD, or other fully qualified reference used to identify a commit (for example, a branch name or a full commit ID).
The branch, tag, HEAD, or other fully qualified reference used to identify a commit (for example, a branch name or a full commit ID).
The branch, tag, HEAD, or other fully qualified reference used to identify a commit (for example, a branch name or a full commit ID).
The branch, tag, HEAD, or other fully qualified reference used to identify a commit (for example, a branch name or a full commit ID).
The level of conflict detail to use. If unspecified, the default FILE_LEVEL is used, which returns a not-mergeable result if the same file has differences in both branches. If LINE_LEVEL is specified, a conflict is considered not mergeable if the same file in both branches has differences on the same line.
The level of conflict detail to use. If unspecified, the default FILE_LEVEL is used, which returns a not-mergeable result if the same file has differences in both branches. If LINE_LEVEL is specified, a conflict is considered not mergeable if the same file in both branches has differences on the same line.
Specifies which branch to use when resolving conflicts, or whether to attempt automatically merging two versions of a file. The default is NONE, which requires any conflicts to be resolved manually before the merge operation is successful.
pub fn set_conflict_resolution_strategy(
self,
input: Option<ConflictResolutionStrategyTypeEnum>
) -> Self
pub fn set_conflict_resolution_strategy(
self,
input: Option<ConflictResolutionStrategyTypeEnum>
) -> Self
Specifies which branch to use when resolving conflicts, or whether to attempt automatically merging two versions of a file. The default is NONE, which requires any conflicts to be resolved manually before the merge operation is successful.
Trait Implementations
Auto Trait Implementations
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !RefUnwindSafe for GetMergeCommit<C, M, R>
impl<C, M, R> Send for GetMergeCommit<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Sync for GetMergeCommit<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Unpin for GetMergeCommit<C, M, R>
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !UnwindSafe for GetMergeCommit<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