Struct aws_sdk_apprunner::client::fluent_builders::StartDeployment
source · pub struct StartDeployment { /* private fields */ }
Expand description
Fluent builder constructing a request to StartDeployment
.
Initiate a manual deployment of the latest commit in a source code repository or the latest image in a source image repository to an App Runner service.
For a source code repository, App Runner retrieves the commit and builds a Docker image. For a source image repository, App Runner retrieves the latest Docker image. In both cases, App Runner then deploys the new image to your service and starts a new container instance.
This is an asynchronous operation. On a successful call, you can use the returned OperationId
and the ListOperations
call to track the operation's progress.
Implementations§
source§impl StartDeployment
impl StartDeployment
sourcepub async fn customize(
self
) -> Result<CustomizableOperation<StartDeployment, AwsResponseRetryClassifier>, SdkError<StartDeploymentError>>
pub async fn customize(
self
) -> Result<CustomizableOperation<StartDeployment, AwsResponseRetryClassifier>, SdkError<StartDeploymentError>>
Consume this builder, creating a customizable operation that can be modified before being sent. The operation’s inner http::Request can be modified as well.
sourcepub async fn send(
self
) -> Result<StartDeploymentOutput, SdkError<StartDeploymentError>>
pub async fn send(
self
) -> Result<StartDeploymentOutput, SdkError<StartDeploymentError>>
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.
sourcepub fn service_arn(self, input: impl Into<String>) -> Self
pub fn service_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the App Runner service that you want to manually deploy to.
sourcepub fn set_service_arn(self, input: Option<String>) -> Self
pub fn set_service_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of the App Runner service that you want to manually deploy to.
Trait Implementations§
source§impl Clone for StartDeployment
impl Clone for StartDeployment
source§fn clone(&self) -> StartDeployment
fn clone(&self) -> StartDeployment
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more