Copyright | (c) 2013-2016 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Deploys an application revision through the specified deployment group.
- createDeployment :: Text -> CreateDeployment
- data CreateDeployment
- cdDeploymentConfigName :: Lens' CreateDeployment (Maybe Text)
- cdRevision :: Lens' CreateDeployment (Maybe RevisionLocation)
- cdDescription :: Lens' CreateDeployment (Maybe Text)
- cdAutoRollbackConfiguration :: Lens' CreateDeployment (Maybe AutoRollbackConfiguration)
- cdUpdateOutdatedInstancesOnly :: Lens' CreateDeployment (Maybe Bool)
- cdDeploymentGroupName :: Lens' CreateDeployment (Maybe Text)
- cdIgnoreApplicationStopFailures :: Lens' CreateDeployment (Maybe Bool)
- cdApplicationName :: Lens' CreateDeployment Text
- createDeploymentResponse :: Int -> CreateDeploymentResponse
- data CreateDeploymentResponse
- cdrsDeploymentId :: Lens' CreateDeploymentResponse (Maybe Text)
- cdrsResponseStatus :: Lens' CreateDeploymentResponse Int
Creating a Request
Creates a value of CreateDeployment
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
cdDeploymentConfigName
- The name of a deployment configuration associated with the applicable IAM user or AWS 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.cdRevision
- The type and location of the revision to deploy.cdDescription
- A comment about the deployment.cdAutoRollbackConfiguration
- Configuration information for an automatic rollback that is added when a deployment is created.cdUpdateOutdatedInstancesOnly
- Indicates whether to deploy to all instances or only to instances that are not running the latest application revision.cdDeploymentGroupName
- The name of the deployment group.cdIgnoreApplicationStopFailures
- If set to true, then if the deployment causes the ApplicationStop deployment lifecycle event to an instance to fail, the deployment to that instance will not be considered to have failed 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 an instance, the deployment to that instance will stop, and the deployment to that instance will be considered to have failed.cdApplicationName
- The name of an AWS CodeDeploy application associated with the applicable IAM user or AWS account.
data CreateDeployment Source #
Represents the input of a create deployment operation.
See: createDeployment
smart constructor.
Request Lenses
cdDeploymentConfigName :: Lens' CreateDeployment (Maybe Text) Source #
The name of a deployment configuration associated with the applicable IAM user or AWS 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.
cdRevision :: Lens' CreateDeployment (Maybe RevisionLocation) Source #
The type and location of the revision to deploy.
cdDescription :: Lens' CreateDeployment (Maybe Text) Source #
A comment about the deployment.
cdAutoRollbackConfiguration :: Lens' CreateDeployment (Maybe AutoRollbackConfiguration) Source #
Configuration information for an automatic rollback that is added when a deployment is created.
cdUpdateOutdatedInstancesOnly :: Lens' CreateDeployment (Maybe Bool) Source #
Indicates whether to deploy to all instances or only to instances that are not running the latest application revision.
cdDeploymentGroupName :: Lens' CreateDeployment (Maybe Text) Source #
The name of the deployment group.
cdIgnoreApplicationStopFailures :: Lens' CreateDeployment (Maybe Bool) Source #
If set to true, then if the deployment causes the ApplicationStop deployment lifecycle event to an instance to fail, the deployment to that instance will not be considered to have failed 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 an instance, the deployment to that instance will stop, and the deployment to that instance will be considered to have failed.
cdApplicationName :: Lens' CreateDeployment Text Source #
The name of an AWS CodeDeploy application associated with the applicable IAM user or AWS account.
Destructuring the Response
createDeploymentResponse Source #
Creates a value of CreateDeploymentResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
cdrsDeploymentId
- A unique deployment ID.cdrsResponseStatus
- -- | The response status code.
data CreateDeploymentResponse Source #
Represents the output of a create deployment operation.
See: createDeploymentResponse
smart constructor.
Response Lenses
cdrsDeploymentId :: Lens' CreateDeploymentResponse (Maybe Text) Source #
A unique deployment ID.
cdrsResponseStatus :: Lens' CreateDeploymentResponse Int Source #
- - | The response status code.