Safe Haskell | None |
---|---|
Language | Haskell2010 |
Deploys an application revision to the specified deployment group.
http://docs.aws.amazon.com/codedeploy/latest/APIReference/API_CreateDeployment.html
- data CreateDeployment
- createDeployment :: Text -> CreateDeployment
- cdApplicationName :: Lens' CreateDeployment Text
- cdDeploymentConfigName :: Lens' CreateDeployment (Maybe Text)
- cdDeploymentGroupName :: Lens' CreateDeployment (Maybe Text)
- cdDescription :: Lens' CreateDeployment (Maybe Text)
- cdIgnoreApplicationStopFailures :: Lens' CreateDeployment (Maybe Bool)
- cdRevision :: Lens' CreateDeployment (Maybe RevisionLocation)
- data CreateDeploymentResponse
- createDeploymentResponse :: CreateDeploymentResponse
- cdrDeploymentId :: Lens' CreateDeploymentResponse (Maybe Text)
Request
data CreateDeployment Source
Request constructor
CreateDeployment
constructor.
The fields accessible through corresponding lenses are:
Request lenses
cdApplicationName :: Lens' CreateDeployment Text Source
The name of an existing AWS CodeDeploy application within the AWS user account.
cdDeploymentConfigName :: Lens' CreateDeployment (Maybe Text) Source
The name of an existing deployment configuration within the AWS user account.
If not specified, the value configured in the deployment group will be used as the default. If the deployment group does not have a deployment configuration associated with it, then CodeDeployDefault.OneAtATime will be used by default.
cdDeploymentGroupName :: Lens' CreateDeployment (Maybe Text) Source
The deployment group's name.
cdDescription :: Lens' CreateDeployment (Maybe Text) Source
A comment about the deployment.
cdIgnoreApplicationStopFailures :: Lens' CreateDeployment (Maybe Bool) Source
If set to true, then if the deployment causes the ApplicationStop deployment lifecycle event to fail to a specific instance, the deployment will not be considered to have failed to that instance at that point and will continue on to the BeforeInstall deployment lifecycle event.
If set to false or not specified, then if the deployment causes the ApplicationStop deployment lifecycle event to fail to a specific instance, the deployment will stop to that instance, and the deployment to that instance will be considered to have failed.
cdRevision :: Lens' CreateDeployment (Maybe RevisionLocation) Source
The type of revision to deploy, along with information about the revision's location.
Response
Response constructor
createDeploymentResponse :: CreateDeploymentResponse Source
CreateDeploymentResponse
constructor.
The fields accessible through corresponding lenses are:
Response lenses
cdrDeploymentId :: Lens' CreateDeploymentResponse (Maybe Text) Source
A unique deployment ID.