pub struct CreatePullRequest<C = DynConnector, M = DefaultMiddleware, R = Standard> { /* private fields */ }
Expand description
Fluent builder constructing a request to CreatePullRequest
.
Creates a pull request in the specified repository.
Implementations
impl<C, M, R> CreatePullRequest<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> CreatePullRequest<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(
self
) -> Result<CreatePullRequestOutput, SdkError<CreatePullRequestError>> where
R::Policy: SmithyRetryPolicy<CreatePullRequestInputOperationOutputAlias, CreatePullRequestOutput, CreatePullRequestError, CreatePullRequestInputOperationRetryAlias>,
pub async fn send(
self
) -> Result<CreatePullRequestOutput, SdkError<CreatePullRequestError>> where
R::Policy: SmithyRetryPolicy<CreatePullRequestInputOperationOutputAlias, CreatePullRequestOutput, CreatePullRequestError, CreatePullRequestInputOperationRetryAlias>,
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 title of the pull request. This title is used to identify the pull request to other users in the repository.
The title of the pull request. This title is used to identify the pull request to other users in the repository.
A description of the pull request.
A description of the pull request.
Appends an item to targets
.
To override the contents of this collection use set_targets
.
The targets for the pull request, including the source of the code to be reviewed (the source branch) and the destination where the creator of the pull request intends the code to be merged after the pull request is closed (the destination branch).
The targets for the pull request, including the source of the code to be reviewed (the source branch) and the destination where the creator of the pull request intends the code to be merged after the pull request is closed (the destination branch).
A unique, client-generated idempotency token that, when provided in a request, ensures the request cannot be repeated with a changed parameter. If a request is received with the same parameters and a token is included, the request returns information about the initial request that used that token.
The AWS SDKs prepopulate client request tokens. If you are using an AWS SDK, an idempotency token is created for you.
A unique, client-generated idempotency token that, when provided in a request, ensures the request cannot be repeated with a changed parameter. If a request is received with the same parameters and a token is included, the request returns information about the initial request that used that token.
The AWS SDKs prepopulate client request tokens. If you are using an AWS SDK, an idempotency token is created for you.
Trait Implementations
Auto Trait Implementations
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !RefUnwindSafe for CreatePullRequest<C, M, R>
impl<C, M, R> Send for CreatePullRequest<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Sync for CreatePullRequest<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Unpin for CreatePullRequest<C, M, R>
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !UnwindSafe for CreatePullRequest<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