Struct aws_sdk_apprunner::client::fluent_builders::CreateService [−][src]
pub struct CreateService<C = DynConnector, M = DefaultMiddleware, R = Standard> { /* fields omitted */ }
Expand description
Fluent builder constructing a request to CreateService
.
Create an App Runner service. After the service is created, the action also automatically starts a deployment.
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> CreateService<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> CreateService<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(
self
) -> Result<CreateServiceOutput, SdkError<CreateServiceError>> where
R::Policy: SmithyRetryPolicy<CreateServiceInputOperationOutputAlias, CreateServiceOutput, CreateServiceError, CreateServiceInputOperationRetryAlias>,
pub async fn send(
self
) -> Result<CreateServiceOutput, SdkError<CreateServiceError>> where
R::Policy: SmithyRetryPolicy<CreateServiceInputOperationOutputAlias, CreateServiceOutput, CreateServiceError, CreateServiceInputOperationRetryAlias>,
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.
A name for the new service. It must be unique across all the running App Runner services in your Amazon Web Services account in the Amazon Web Services Region.
A name for the new service. It must be unique across all the running App Runner services in your Amazon Web Services account in the Amazon Web Services Region.
The source to deploy to the App Runner service. It can be a code or an image repository.
The source to deploy to the App Runner service. It can be a code or an image repository.
The runtime configuration of instances (scaling units) of the App Runner service.
The runtime configuration of instances (scaling units) of the App Runner service.
Appends an item to Tags
.
To override the contents of this collection use set_tags
.
An optional list of metadata items that you can associate with your service resource. A tag is a key-value pair.
An optional list of metadata items that you can associate with your service resource. A tag is a key-value pair.
An optional custom encryption key that App Runner uses to encrypt the copy of your source repository that it maintains and your service logs. By default, App Runner uses an Amazon Web Services managed CMK.
An optional custom encryption key that App Runner uses to encrypt the copy of your source repository that it maintains and your service logs. By default, App Runner uses an Amazon Web Services managed CMK.
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.
The Amazon Resource Name (ARN) of an App Runner automatic scaling configuration resource that you want to associate with your service. If not provided, App Runner associates the latest revision of a default auto scaling configuration.
The Amazon Resource Name (ARN) of an App Runner automatic scaling configuration resource that you want to associate with your service. If not provided, App Runner associates the latest revision of a default auto scaling configuration.
Trait Implementations
Auto Trait Implementations
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !RefUnwindSafe for CreateService<C, M, R>
impl<C, M, R> Unpin for CreateService<C, M, R>
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !UnwindSafe for CreateService<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