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
Eq CreateDeployment | |
Read CreateDeployment | |
Show CreateDeployment | |
AWSRequest CreateDeployment | |
ToQuery CreateDeployment | |
ToPath CreateDeployment | |
ToHeaders CreateDeployment | |
ToJSON CreateDeployment | |
type Sv CreateDeployment = CodeDeploy | |
type Rs CreateDeployment = CreateDeploymentResponse |
Request constructor
:: Text | |
-> CreateDeployment |
CreateDeployment
constructor.
The fields accessible through corresponding lenses are:
cdApplicationName
::
Text
cdDeploymentConfigName
::
Maybe
Text
cdDeploymentGroupName
::
Maybe
Text
cdDescription
::
Maybe
Text
cdIgnoreApplicationStopFailures
::
Maybe
Bool
cdRevision
::
Maybe
RevisionLocation
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:
cdrDeploymentId
::
Maybe
Text
Response lenses
cdrDeploymentId :: Lens' CreateDeploymentResponse (Maybe Text) Source
A unique deployment ID.