Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
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.
StartDeployment' | |
|
Instances
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:
$sel:serviceArn: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.
StartDeploymentResponse' | |
|
Instances
newStartDeploymentResponse Source #
:: 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.