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 |
Synopsis
- data DeploymentModel = DeploymentModel' {}
- newDeploymentModel :: DeploymentModel
- deploymentModel_desiredState :: Lens' DeploymentModel (Maybe ModelState)
- deploymentModel_modelHandle :: Lens' DeploymentModel (Maybe Text)
- deploymentModel_modelName :: Lens' DeploymentModel (Maybe Text)
- deploymentModel_modelVersion :: Lens' DeploymentModel (Maybe Text)
- deploymentModel_rollbackFailureReason :: Lens' DeploymentModel (Maybe Text)
- deploymentModel_state :: Lens' DeploymentModel (Maybe ModelState)
- deploymentModel_status :: Lens' DeploymentModel (Maybe DeploymentStatus)
- deploymentModel_statusReason :: Lens' DeploymentModel (Maybe Text)
Documentation
data DeploymentModel Source #
See: newDeploymentModel
smart constructor.
DeploymentModel' | |
|
Instances
newDeploymentModel :: DeploymentModel Source #
Create a value of DeploymentModel
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:desiredState:DeploymentModel'
, deploymentModel_desiredState
- The desired state of the model.
$sel:modelHandle:DeploymentModel'
, deploymentModel_modelHandle
- The unique handle of the model.
$sel:modelName:DeploymentModel'
, deploymentModel_modelName
- The name of the model.
$sel:modelVersion:DeploymentModel'
, deploymentModel_modelVersion
- The version of the model.
$sel:rollbackFailureReason:DeploymentModel'
, deploymentModel_rollbackFailureReason
- Returns the error message if there is a rollback.
$sel:state:DeploymentModel'
, deploymentModel_state
- Returns the current state of the model.
$sel:status:DeploymentModel'
, deploymentModel_status
- Returns the deployment status of the model.
$sel:statusReason:DeploymentModel'
, deploymentModel_statusReason
- Returns the error message for the deployment status result.
deploymentModel_desiredState :: Lens' DeploymentModel (Maybe ModelState) Source #
The desired state of the model.
deploymentModel_modelHandle :: Lens' DeploymentModel (Maybe Text) Source #
The unique handle of the model.
deploymentModel_modelName :: Lens' DeploymentModel (Maybe Text) Source #
The name of the model.
deploymentModel_modelVersion :: Lens' DeploymentModel (Maybe Text) Source #
The version of the model.
deploymentModel_rollbackFailureReason :: Lens' DeploymentModel (Maybe Text) Source #
Returns the error message if there is a rollback.
deploymentModel_state :: Lens' DeploymentModel (Maybe ModelState) Source #
Returns the current state of the model.
deploymentModel_status :: Lens' DeploymentModel (Maybe DeploymentStatus) Source #
Returns the deployment status of the model.
deploymentModel_statusReason :: Lens' DeploymentModel (Maybe Text) Source #
Returns the error message for the deployment status result.