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 |
Starts a deployment.
Synopsis
- data StartDeployment = StartDeployment' {}
- newStartDeployment :: Text -> Text -> Text -> Text -> Text -> StartDeployment
- startDeployment_description :: Lens' StartDeployment (Maybe Text)
- startDeployment_tags :: Lens' StartDeployment (Maybe (HashMap Text Text))
- startDeployment_applicationId :: Lens' StartDeployment Text
- startDeployment_environmentId :: Lens' StartDeployment Text
- startDeployment_deploymentStrategyId :: Lens' StartDeployment Text
- startDeployment_configurationProfileId :: Lens' StartDeployment Text
- startDeployment_configurationVersion :: Lens' StartDeployment Text
- data Deployment = Deployment' {
- growthFactor :: Maybe Double
- configurationName :: Maybe Text
- state :: Maybe DeploymentState
- deploymentStrategyId :: Maybe Text
- deploymentNumber :: Maybe Int
- configurationVersion :: Maybe Text
- eventLog :: Maybe [DeploymentEvent]
- percentageComplete :: Maybe Double
- startedAt :: Maybe POSIX
- applicationId :: Maybe Text
- deploymentDurationInMinutes :: Maybe Natural
- environmentId :: Maybe Text
- completedAt :: Maybe POSIX
- configurationLocationUri :: Maybe Text
- finalBakeTimeInMinutes :: Maybe Natural
- description :: Maybe Text
- configurationProfileId :: Maybe Text
- growthType :: Maybe GrowthType
- newDeployment :: Deployment
- deployment_growthFactor :: Lens' Deployment (Maybe Double)
- deployment_configurationName :: Lens' Deployment (Maybe Text)
- deployment_state :: Lens' Deployment (Maybe DeploymentState)
- deployment_deploymentStrategyId :: Lens' Deployment (Maybe Text)
- deployment_deploymentNumber :: Lens' Deployment (Maybe Int)
- deployment_configurationVersion :: Lens' Deployment (Maybe Text)
- deployment_eventLog :: Lens' Deployment (Maybe [DeploymentEvent])
- deployment_percentageComplete :: Lens' Deployment (Maybe Double)
- deployment_startedAt :: Lens' Deployment (Maybe UTCTime)
- deployment_applicationId :: Lens' Deployment (Maybe Text)
- deployment_deploymentDurationInMinutes :: Lens' Deployment (Maybe Natural)
- deployment_environmentId :: Lens' Deployment (Maybe Text)
- deployment_completedAt :: Lens' Deployment (Maybe UTCTime)
- deployment_configurationLocationUri :: Lens' Deployment (Maybe Text)
- deployment_finalBakeTimeInMinutes :: Lens' Deployment (Maybe Natural)
- deployment_description :: Lens' Deployment (Maybe Text)
- deployment_configurationProfileId :: Lens' Deployment (Maybe Text)
- deployment_growthType :: Lens' Deployment (Maybe GrowthType)
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:description:StartDeployment'
, startDeployment_description
- A description of the deployment.
$sel:tags:StartDeployment'
, startDeployment_tags
- Metadata to assign to the deployment. Tags help organize and categorize
your AppConfig resources. Each tag consists of a key and an optional
value, both of which you define.
$sel:applicationId:StartDeployment'
, startDeployment_applicationId
- The application ID.
$sel:environmentId:StartDeployment'
, startDeployment_environmentId
- The environment ID.
$sel:deploymentStrategyId:StartDeployment'
, startDeployment_deploymentStrategyId
- The deployment strategy ID.
$sel:configurationProfileId:StartDeployment'
, startDeployment_configurationProfileId
- The configuration profile ID.
$sel:configurationVersion:StartDeployment'
, startDeployment_configurationVersion
- The configuration version to deploy.
Request Lenses
startDeployment_description :: Lens' StartDeployment (Maybe Text) Source #
A description of the deployment.
startDeployment_tags :: Lens' StartDeployment (Maybe (HashMap Text Text)) Source #
Metadata to assign to the deployment. Tags help organize and categorize your AppConfig resources. Each tag consists of a key and an optional value, both of which you define.
startDeployment_applicationId :: Lens' StartDeployment Text Source #
The application ID.
startDeployment_environmentId :: Lens' StartDeployment Text Source #
The environment ID.
startDeployment_deploymentStrategyId :: Lens' StartDeployment Text Source #
The deployment strategy ID.
startDeployment_configurationProfileId :: Lens' StartDeployment Text Source #
The configuration profile ID.
startDeployment_configurationVersion :: Lens' StartDeployment Text Source #
The configuration version to deploy.
Destructuring the Response
data Deployment Source #
See: newDeployment
smart constructor.
Deployment' | |
|
Instances
newDeployment :: Deployment Source #
Create a value of Deployment
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:growthFactor:Deployment'
, deployment_growthFactor
- The percentage of targets to receive a deployed configuration during
each interval.
$sel:configurationName:Deployment'
, deployment_configurationName
- The name of the configuration.
$sel:state:Deployment'
, deployment_state
- The state of the deployment.
$sel:deploymentStrategyId:Deployment'
, deployment_deploymentStrategyId
- The ID of the deployment strategy that was deployed.
$sel:deploymentNumber:Deployment'
, deployment_deploymentNumber
- The sequence number of the deployment.
$sel:configurationVersion:Deployment'
, deployment_configurationVersion
- The configuration version that was deployed.
$sel:eventLog:Deployment'
, deployment_eventLog
- A list containing all events related to a deployment. The most recent
events are displayed first.
$sel:percentageComplete:Deployment'
, deployment_percentageComplete
- The percentage of targets for which the deployment is available.
$sel:startedAt:Deployment'
, deployment_startedAt
- The time the deployment started.
$sel:applicationId:Deployment'
, deployment_applicationId
- The ID of the application that was deployed.
$sel:deploymentDurationInMinutes:Deployment'
, deployment_deploymentDurationInMinutes
- Total amount of time the deployment lasted.
$sel:environmentId:Deployment'
, deployment_environmentId
- The ID of the environment that was deployed.
$sel:completedAt:Deployment'
, deployment_completedAt
- The time the deployment completed.
$sel:configurationLocationUri:Deployment'
, deployment_configurationLocationUri
- Information about the source location of the configuration.
$sel:finalBakeTimeInMinutes:Deployment'
, deployment_finalBakeTimeInMinutes
- The amount of time AppConfig monitored for alarms before considering the
deployment to be complete and no longer eligible for automatic roll
back.
$sel:description:Deployment'
, deployment_description
- The description of the deployment.
$sel:configurationProfileId:Deployment'
, deployment_configurationProfileId
- The ID of the configuration profile that was deployed.
$sel:growthType:Deployment'
, deployment_growthType
- The algorithm used to define how percentage grew over time.
Response Lenses
deployment_growthFactor :: Lens' Deployment (Maybe Double) Source #
The percentage of targets to receive a deployed configuration during each interval.
deployment_configurationName :: Lens' Deployment (Maybe Text) Source #
The name of the configuration.
deployment_state :: Lens' Deployment (Maybe DeploymentState) Source #
The state of the deployment.
deployment_deploymentStrategyId :: Lens' Deployment (Maybe Text) Source #
The ID of the deployment strategy that was deployed.
deployment_deploymentNumber :: Lens' Deployment (Maybe Int) Source #
The sequence number of the deployment.
deployment_configurationVersion :: Lens' Deployment (Maybe Text) Source #
The configuration version that was deployed.
deployment_eventLog :: Lens' Deployment (Maybe [DeploymentEvent]) Source #
A list containing all events related to a deployment. The most recent events are displayed first.
deployment_percentageComplete :: Lens' Deployment (Maybe Double) Source #
The percentage of targets for which the deployment is available.
deployment_startedAt :: Lens' Deployment (Maybe UTCTime) Source #
The time the deployment started.
deployment_applicationId :: Lens' Deployment (Maybe Text) Source #
The ID of the application that was deployed.
deployment_deploymentDurationInMinutes :: Lens' Deployment (Maybe Natural) Source #
Total amount of time the deployment lasted.
deployment_environmentId :: Lens' Deployment (Maybe Text) Source #
The ID of the environment that was deployed.
deployment_completedAt :: Lens' Deployment (Maybe UTCTime) Source #
The time the deployment completed.
deployment_configurationLocationUri :: Lens' Deployment (Maybe Text) Source #
Information about the source location of the configuration.
deployment_finalBakeTimeInMinutes :: Lens' Deployment (Maybe Natural) Source #
The amount of time AppConfig monitored for alarms before considering the deployment to be complete and no longer eligible for automatic roll back.
deployment_description :: Lens' Deployment (Maybe Text) Source #
The description of the deployment.
deployment_configurationProfileId :: Lens' Deployment (Maybe Text) Source #
The ID of the configuration profile that was deployed.
deployment_growthType :: Lens' Deployment (Maybe GrowthType) Source #
The algorithm used to define how percentage grew over time.