putLifecycleEventHookExecutionStatus
abstract suspend fun putLifecycleEventHookExecutionStatus(input: PutLifecycleEventHookExecutionStatusRequest = PutLifecycleEventHookExecutionStatusRequest { }): PutLifecycleEventHookExecutionStatusResponse
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.