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 |
Retrieves information about a configuration deployment.
Synopsis
- data GetDeployment = GetDeployment' {}
- newGetDeployment :: Text -> Text -> Int -> GetDeployment
- getDeployment_applicationId :: Lens' GetDeployment Text
- getDeployment_environmentId :: Lens' GetDeployment Text
- getDeployment_deploymentNumber :: Lens' GetDeployment Int
- data Deployment = Deployment' {
- applicationId :: Maybe Text
- appliedExtensions :: Maybe [AppliedExtension]
- completedAt :: Maybe ISO8601
- configurationLocationUri :: Maybe Text
- configurationName :: Maybe Text
- configurationProfileId :: Maybe Text
- configurationVersion :: Maybe Text
- deploymentDurationInMinutes :: Maybe Natural
- deploymentNumber :: Maybe Int
- deploymentStrategyId :: Maybe Text
- description :: Maybe Text
- environmentId :: Maybe Text
- eventLog :: Maybe [DeploymentEvent]
- finalBakeTimeInMinutes :: Maybe Natural
- growthFactor :: Maybe Double
- growthType :: Maybe GrowthType
- percentageComplete :: Maybe Double
- startedAt :: Maybe ISO8601
- state :: Maybe DeploymentState
- newDeployment :: Deployment
- deployment_applicationId :: Lens' Deployment (Maybe Text)
- deployment_appliedExtensions :: Lens' Deployment (Maybe [AppliedExtension])
- deployment_completedAt :: Lens' Deployment (Maybe UTCTime)
- deployment_configurationLocationUri :: Lens' Deployment (Maybe Text)
- deployment_configurationName :: Lens' Deployment (Maybe Text)
- deployment_configurationProfileId :: Lens' Deployment (Maybe Text)
- deployment_configurationVersion :: Lens' Deployment (Maybe Text)
- deployment_deploymentDurationInMinutes :: Lens' Deployment (Maybe Natural)
- deployment_deploymentNumber :: Lens' Deployment (Maybe Int)
- deployment_deploymentStrategyId :: Lens' Deployment (Maybe Text)
- deployment_description :: Lens' Deployment (Maybe Text)
- deployment_environmentId :: Lens' Deployment (Maybe Text)
- deployment_eventLog :: Lens' Deployment (Maybe [DeploymentEvent])
- deployment_finalBakeTimeInMinutes :: Lens' Deployment (Maybe Natural)
- deployment_growthFactor :: Lens' Deployment (Maybe Double)
- deployment_growthType :: Lens' Deployment (Maybe GrowthType)
- deployment_percentageComplete :: Lens' Deployment (Maybe Double)
- deployment_startedAt :: Lens' Deployment (Maybe UTCTime)
- deployment_state :: Lens' Deployment (Maybe DeploymentState)
Creating a Request
data GetDeployment Source #
See: newGetDeployment
smart constructor.
GetDeployment' | |
|
Instances
Create a value of GetDeployment
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:
GetDeployment
, getDeployment_applicationId
- The ID of the application that includes the deployment you want to get.
GetDeployment
, getDeployment_environmentId
- The ID of the environment that includes the deployment you want to get.
GetDeployment
, getDeployment_deploymentNumber
- The sequence number of the deployment.
Request Lenses
getDeployment_applicationId :: Lens' GetDeployment Text Source #
The ID of the application that includes the deployment you want to get.
getDeployment_environmentId :: Lens' GetDeployment Text Source #
The ID of the environment that includes the deployment you want to get.
getDeployment_deploymentNumber :: Lens' GetDeployment Int Source #
The sequence number of the deployment.
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:applicationId:Deployment'
, deployment_applicationId
- The ID of the application that was deployed.
$sel:appliedExtensions:Deployment'
, deployment_appliedExtensions
- A list of extensions that were processed as part of the deployment. The
extensions that were previously associated to the configuration profile,
environment, or the application when StartDeployment
was called.
$sel:completedAt:Deployment'
, deployment_completedAt
- The time the deployment completed.
$sel:configurationLocationUri:Deployment'
, deployment_configurationLocationUri
- Information about the source location of the configuration.
$sel:configurationName:Deployment'
, deployment_configurationName
- The name of the configuration.
$sel:configurationProfileId:Deployment'
, deployment_configurationProfileId
- The ID of the configuration profile that was deployed.
$sel:configurationVersion:Deployment'
, deployment_configurationVersion
- The configuration version that was deployed.
$sel:deploymentDurationInMinutes:Deployment'
, deployment_deploymentDurationInMinutes
- Total amount of time the deployment lasted.
$sel:deploymentNumber:Deployment'
, deployment_deploymentNumber
- The sequence number of the deployment.
$sel:deploymentStrategyId:Deployment'
, deployment_deploymentStrategyId
- The ID of the deployment strategy that was deployed.
Deployment
, deployment_description
- The description of the deployment.
$sel:environmentId:Deployment'
, deployment_environmentId
- The ID of the environment 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:finalBakeTimeInMinutes:Deployment'
, deployment_finalBakeTimeInMinutes
- The amount of time that AppConfig monitored for alarms before
considering the deployment to be complete and no longer eligible for
automatic rollback.
$sel:growthFactor:Deployment'
, deployment_growthFactor
- The percentage of targets to receive a deployed configuration during
each interval.
$sel:growthType:Deployment'
, deployment_growthType
- The algorithm used to define how percentage grew over time.
$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:state:Deployment'
, deployment_state
- The state of the deployment.
Response Lenses
deployment_applicationId :: Lens' Deployment (Maybe Text) Source #
The ID of the application that was deployed.
deployment_appliedExtensions :: Lens' Deployment (Maybe [AppliedExtension]) Source #
A list of extensions that were processed as part of the deployment. The
extensions that were previously associated to the configuration profile,
environment, or the application when StartDeployment
was called.
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_configurationName :: Lens' Deployment (Maybe Text) Source #
The name of the configuration.
deployment_configurationProfileId :: Lens' Deployment (Maybe Text) Source #
The ID of the configuration profile that was deployed.
deployment_configurationVersion :: Lens' Deployment (Maybe Text) Source #
The configuration version that was deployed.
deployment_deploymentDurationInMinutes :: Lens' Deployment (Maybe Natural) Source #
Total amount of time the deployment lasted.
deployment_deploymentNumber :: Lens' Deployment (Maybe Int) Source #
The sequence number of the deployment.
deployment_deploymentStrategyId :: Lens' Deployment (Maybe Text) Source #
The ID of the deployment strategy that was deployed.
deployment_description :: Lens' Deployment (Maybe Text) Source #
The description of the deployment.
deployment_environmentId :: Lens' Deployment (Maybe Text) Source #
The ID of the environment 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_finalBakeTimeInMinutes :: Lens' Deployment (Maybe Natural) Source #
The amount of time that AppConfig monitored for alarms before considering the deployment to be complete and no longer eligible for automatic rollback.
deployment_growthFactor :: Lens' Deployment (Maybe Double) Source #
The percentage of targets to receive a deployed configuration during each interval.
deployment_growthType :: Lens' Deployment (Maybe GrowthType) Source #
The algorithm used to define how percentage grew over time.
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_state :: Lens' Deployment (Maybe DeploymentState) Source #
The state of the deployment.