| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.AppRunner.StartDeployment
Description
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.
Synopsis
- data StartDeployment = StartDeployment' {
- serviceArn :: Text
- newStartDeployment :: Text -> StartDeployment
- startDeployment_serviceArn :: Lens' StartDeployment Text
- data StartDeploymentResponse = StartDeploymentResponse' {
- httpStatus :: Int
- operationId :: Text
- newStartDeploymentResponse :: Int -> Text -> StartDeploymentResponse
- startDeploymentResponse_httpStatus :: Lens' StartDeploymentResponse Int
- startDeploymentResponse_operationId :: Lens' StartDeploymentResponse Text
Creating a Request
data StartDeployment Source #
See: newStartDeployment smart constructor.
Constructors
| StartDeployment' | |
Fields
| |
Instances
Arguments
| :: Text | |
| -> StartDeployment |
Create a value of StartDeployment with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
StartDeployment, startDeployment_serviceArn - The Amazon Resource Name (ARN) of the App Runner service that you want
to manually deploy to.
Request Lenses
startDeployment_serviceArn :: Lens' StartDeployment Text Source #
The Amazon Resource Name (ARN) of the App Runner service that you want to manually deploy to.
Destructuring the Response
data StartDeploymentResponse Source #
See: newStartDeploymentResponse smart constructor.
Constructors
| StartDeploymentResponse' | |
Fields
| |
Instances
newStartDeploymentResponse Source #
Arguments
| :: Int | |
| -> Text | |
| -> StartDeploymentResponse |
Create a value of StartDeploymentResponse with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:httpStatus:StartDeploymentResponse', startDeploymentResponse_httpStatus - The response's http status code.
$sel:operationId:StartDeploymentResponse', startDeploymentResponse_operationId - 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.
Response Lenses
startDeploymentResponse_httpStatus :: Lens' StartDeploymentResponse Int Source #
The response's http status code.
startDeploymentResponse_operationId :: Lens' StartDeploymentResponse Text Source #
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.