| 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.Amplify.StartDeployment
Description
Starts a deployment for a manually deployed app. Manually deployed apps are not connected to a repository.
Synopsis
- data StartDeployment = StartDeployment' {}
- newStartDeployment :: Text -> Text -> StartDeployment
- startDeployment_jobId :: Lens' StartDeployment (Maybe Text)
- startDeployment_sourceUrl :: Lens' StartDeployment (Maybe Text)
- startDeployment_appId :: Lens' StartDeployment Text
- startDeployment_branchName :: Lens' StartDeployment Text
- data StartDeploymentResponse = StartDeploymentResponse' {}
- newStartDeploymentResponse :: Int -> JobSummary -> StartDeploymentResponse
- startDeploymentResponse_httpStatus :: Lens' StartDeploymentResponse Int
- startDeploymentResponse_jobSummary :: Lens' StartDeploymentResponse JobSummary
Creating a Request
data StartDeployment Source #
The request structure for the start a deployment request.
See: newStartDeployment smart constructor.
Constructors
| StartDeployment' | |
Fields
| |
Instances
Arguments
| :: Text | |
| -> 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_jobId - The job ID for this deployment, generated by the create deployment
request.
$sel:sourceUrl:StartDeployment', startDeployment_sourceUrl - The source URL for this deployment, used when calling start deployment
without create deployment. The source URL can be any HTTP GET URL that
is publicly accessible and downloads a single .zip file.
StartDeployment, startDeployment_appId - The unique ID for an Amplify app.
StartDeployment, startDeployment_branchName - The name for the branch, for the job.
Request Lenses
startDeployment_jobId :: Lens' StartDeployment (Maybe Text) Source #
The job ID for this deployment, generated by the create deployment request.
startDeployment_sourceUrl :: Lens' StartDeployment (Maybe Text) Source #
The source URL for this deployment, used when calling start deployment without create deployment. The source URL can be any HTTP GET URL that is publicly accessible and downloads a single .zip file.
startDeployment_appId :: Lens' StartDeployment Text Source #
The unique ID for an Amplify app.
startDeployment_branchName :: Lens' StartDeployment Text Source #
The name for the branch, for the job.
Destructuring the Response
data StartDeploymentResponse Source #
The result structure for the start a deployment request.
See: newStartDeploymentResponse smart constructor.
Constructors
| StartDeploymentResponse' | |
Fields
| |
Instances
newStartDeploymentResponse Source #
Arguments
| :: Int | |
| -> JobSummary | |
| -> 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:jobSummary:StartDeploymentResponse', startDeploymentResponse_jobSummary - The summary for the job.
Response Lenses
startDeploymentResponse_httpStatus :: Lens' StartDeploymentResponse Int Source #
The response's http status code.
startDeploymentResponse_jobSummary :: Lens' StartDeploymentResponse JobSummary Source #
The summary for the job.