Struct aws_sdk_apprunner::operation::start_deployment::builders::StartDeploymentFluentBuilder
source · pub struct StartDeploymentFluentBuilder { /* 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 StartDeploymentFluentBuilder
impl StartDeploymentFluentBuilder
sourcepub fn as_input(&self) -> &StartDeploymentInputBuilder
pub fn as_input(&self) -> &StartDeploymentInputBuilder
Access the StartDeployment as a reference.
sourcepub async fn send(
self
) -> Result<StartDeploymentOutput, SdkError<StartDeploymentError, HttpResponse>>
pub async fn send( self ) -> Result<StartDeploymentOutput, SdkError<StartDeploymentError, HttpResponse>>
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 customize(
self
) -> CustomizableOperation<StartDeploymentOutput, StartDeploymentError, Self>
pub fn customize( self ) -> CustomizableOperation<StartDeploymentOutput, StartDeploymentError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
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.
sourcepub fn get_service_arn(&self) -> &Option<String>
pub fn get_service_arn(&self) -> &Option<String>
The Amazon Resource Name (ARN) of the App Runner service that you want to manually deploy to.
Trait Implementations§
source§impl Clone for StartDeploymentFluentBuilder
impl Clone for StartDeploymentFluentBuilder
source§fn clone(&self) -> StartDeploymentFluentBuilder
fn clone(&self) -> StartDeploymentFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more