Struct aws_sdk_apprunner::client::fluent_builders::UpdateService [−][src]
pub struct UpdateService<C = DynConnector, M = DefaultMiddleware, R = Standard> { /* fields omitted */ }
Expand description
Fluent builder constructing a request to UpdateService
.
Update an App Runner service. You can update the source configuration and instance configuration of the service. You can also update the ARN of the auto scaling configuration resource that's associated with the service. However, you can't change the name or the encryption configuration of the service. These can be set only when you create the service.
To update the tags applied to your service, use the separate actions TagResource
and UntagResource
.
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
impl<C, M, R> UpdateService<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> UpdateService<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(
self
) -> Result<UpdateServiceOutput, SdkError<UpdateServiceError>> where
R::Policy: SmithyRetryPolicy<UpdateServiceInputOperationOutputAlias, UpdateServiceOutput, UpdateServiceError, UpdateServiceInputOperationRetryAlias>,
pub async fn send(
self
) -> Result<UpdateServiceOutput, SdkError<UpdateServiceError>> where
R::Policy: SmithyRetryPolicy<UpdateServiceInputOperationOutputAlias, UpdateServiceOutput, UpdateServiceError, UpdateServiceInputOperationRetryAlias>,
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 Amazon Resource Name (ARN) of the App Runner service that you want to update.
The Amazon Resource Name (ARN) of the App Runner service that you want to update.
The source configuration to apply to the App Runner service.
You can change the configuration of the code or image repository that the service uses. However, you can't switch from code to image or the other way around. This means that you must provide the same structure member of SourceConfiguration
that you originally included when you created the service. Specifically, you can include either CodeRepository
or ImageRepository
. To update the source configuration, set the values to members of the structure that you include.
The source configuration to apply to the App Runner service.
You can change the configuration of the code or image repository that the service uses. However, you can't switch from code to image or the other way around. This means that you must provide the same structure member of SourceConfiguration
that you originally included when you created the service. Specifically, you can include either CodeRepository
or ImageRepository
. To update the source configuration, set the values to members of the structure that you include.
The runtime configuration to apply to instances (scaling units) of the App Runner service.
The runtime configuration to apply to instances (scaling units) of the App Runner service.
The Amazon Resource Name (ARN) of an App Runner automatic scaling configuration resource that you want to associate with your service.
The Amazon Resource Name (ARN) of an App Runner automatic scaling configuration resource that you want to associate with your service.
The settings for the health check that App Runner performs to monitor the health of your service.
The settings for the health check that App Runner performs to monitor the health of your service.
Trait Implementations
Auto Trait Implementations
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !RefUnwindSafe for UpdateService<C, M, R>
impl<C, M, R> Unpin for UpdateService<C, M, R>
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !UnwindSafe for UpdateService<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