Module Smaws_Client_CodeDeploy.PutLifecycleEventHookExecutionStatus

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.

val error_to_string : [ Smaws_Lib.Protocols.AwsJson.error | `DeploymentDoesNotExistException of Types.deployment_does_not_exist_exception | `DeploymentIdRequiredException of Types.deployment_id_required_exception | `InvalidDeploymentIdException of Types.invalid_deployment_id_exception | `InvalidLifecycleEventHookExecutionIdException of Types.invalid_lifecycle_event_hook_execution_id_exception | `InvalidLifecycleEventHookExecutionStatusException of Types.invalid_lifecycle_event_hook_execution_status_exception | `LifecycleEventAlreadyCompletedException of Types.lifecycle_event_already_completed_exception | `UnsupportedActionForDeploymentTypeException of Types.unsupported_action_for_deployment_type_exception ] -> string
val request : 'http_type Smaws_Lib.Context.t -> Types.put_lifecycle_event_hook_execution_status_input -> (Types.put_lifecycle_event_hook_execution_status_output, [> Smaws_Lib.Protocols.AwsJson.error | `DeploymentDoesNotExistException of Types.deployment_does_not_exist_exception | `DeploymentIdRequiredException of Types.deployment_id_required_exception | `InvalidDeploymentIdException of Types.invalid_deployment_id_exception | `InvalidLifecycleEventHookExecutionIdException of Types.invalid_lifecycle_event_hook_execution_id_exception | `InvalidLifecycleEventHookExecutionStatusException of Types.invalid_lifecycle_event_hook_execution_status_exception | `LifecycleEventAlreadyCompletedException of Types.lifecycle_event_already_completed_exception | `UnsupportedActionForDeploymentTypeException of Types.unsupported_action_for_deployment_type_exception ]) Stdlib.result
val request_with_metadata : 'http_type Smaws_Lib.Context.t -> Types.put_lifecycle_event_hook_execution_status_input -> (Types.put_lifecycle_event_hook_execution_status_output Smaws_Lib.Response.t, [> Smaws_Lib.Protocols.AwsJson.error | `DeploymentDoesNotExistException of Types.deployment_does_not_exist_exception | `DeploymentIdRequiredException of Types.deployment_id_required_exception | `InvalidDeploymentIdException of Types.invalid_deployment_id_exception | `InvalidLifecycleEventHookExecutionIdException of Types.invalid_lifecycle_event_hook_execution_id_exception | `InvalidLifecycleEventHookExecutionStatusException of Types.invalid_lifecycle_event_hook_execution_status_exception | `LifecycleEventAlreadyCompletedException of Types.lifecycle_event_already_completed_exception | `UnsupportedActionForDeploymentTypeException of Types.unsupported_action_for_deployment_type_exception ] * Smaws_Lib.Response.metadata) Stdlib.result