Module Values.PutLifecycleEventHookExecutionStatusOutputSource

Sets the result of a Lambda validation function. The function validates lifecycle hooks during a deployment that uses the Lambda or Amazon ECS compute platform. For Lambda deployments, the available lifecycle hooks are BeforeAllowTraffic and AfterAllowTraffic. For Amazon ECS deployments, the available lifecycle hooks are BeforeInstall, AfterInstall, AfterAllowTestTraffic, BeforeAllowTraffic, and AfterAllowTraffic. Lambda validation functions return Succeeded or Failed. For more information, see AppSpec 'hooks' Section for an Lambda Deployment and AppSpec 'hooks' Section for an Amazon ECS Deployment.

Sourcetype nonrec t = {
  1. lifecycleEventHookExecutionId : LifecycleEventHookExecutionId.t option;
    (*

    The execution ID of the lifecycle event hook. A hook is specified in the hooks section of the deployment's AppSpec file.

    *)
}
Sourcetype nonrec error = [
  1. | `DeploymentDoesNotExistException of DeploymentDoesNotExistException.t
  2. | `DeploymentIdRequiredException of DeploymentIdRequiredException.t
  3. | `InvalidDeploymentIdException of InvalidDeploymentIdException.t
  4. | `InvalidLifecycleEventHookExecutionIdException of InvalidLifecycleEventHookExecutionIdException.t
  5. | `InvalidLifecycleEventHookExecutionStatusException of InvalidLifecycleEventHookExecutionStatusException.t
  6. | `LifecycleEventAlreadyCompletedException of LifecycleEventAlreadyCompletedException.t
  7. | `UnsupportedActionForDeploymentTypeException of UnsupportedActionForDeploymentTypeException.t
  8. | `Unknown_operation_error of string * string option
]
Sourceval make : ?lifecycleEventHookExecutionId:??? -> unit -> t
Sourceval error_of_json : string -> Yojson.Safe.t -> [> `DeploymentDoesNotExistException of unit | `DeploymentIdRequiredException of unit | `InvalidDeploymentIdException of unit | `InvalidLifecycleEventHookExecutionIdException of unit | `InvalidLifecycleEventHookExecutionStatusException of unit | `LifecycleEventAlreadyCompletedException of unit | `Unknown_operation_error of string * string option | `UnsupportedActionForDeploymentTypeException of unit ]
Sourceval error_of_xml : string -> Awso.Xml.t -> [> `DeploymentDoesNotExistException of unit | `DeploymentIdRequiredException of unit | `InvalidDeploymentIdException of unit | `InvalidLifecycleEventHookExecutionIdException of unit | `InvalidLifecycleEventHookExecutionStatusException of unit | `LifecycleEventAlreadyCompletedException of unit | `Unknown_operation_error of string * string option | `UnsupportedActionForDeploymentTypeException of unit ]
Sourceval error_to_json : error -> Yojson.Safe.t
Sourceval to_value : t -> [> `Structure of (string * [> `String of LifecycleEventHookExecutionId.t ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t