AppRunner / Client / start_deployment
start_deployment#
- AppRunner.Client.start_deployment(**kwargs)#
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.See also: AWS API Documentation
Request Syntax
response = client.start_deployment( ServiceArn='string' )
- Parameters:
ServiceArn (string) –
[REQUIRED]
The Amazon Resource Name (ARN) of the App Runner service that you want to manually deploy to.
- Return type:
dict
- Returns:
Response Syntax
{ 'OperationId': 'string' }
Response Structure
(dict) –
OperationId (string) –
The unique ID of the asynchronous operation that this request started. You can use it combined with the ListOperations call to track the operation’s progress.
Exceptions