Copyright | (c) 2013-2018 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Sets the result of a Lambda validation function. The function validates one or both lifecycle events (BeforeAllowTraffic
and AfterAllowTraffic
) and returns Succeeded
or Failed
.
- putLifecycleEventHookExecutionStatus :: PutLifecycleEventHookExecutionStatus
- data PutLifecycleEventHookExecutionStatus
- plehesStatus :: Lens' PutLifecycleEventHookExecutionStatus (Maybe LifecycleEventStatus)
- plehesDeploymentId :: Lens' PutLifecycleEventHookExecutionStatus (Maybe Text)
- plehesLifecycleEventHookExecutionId :: Lens' PutLifecycleEventHookExecutionStatus (Maybe Text)
- putLifecycleEventHookExecutionStatusResponse :: Int -> PutLifecycleEventHookExecutionStatusResponse
- data PutLifecycleEventHookExecutionStatusResponse
- plehesrsLifecycleEventHookExecutionId :: Lens' PutLifecycleEventHookExecutionStatusResponse (Maybe Text)
- plehesrsResponseStatus :: Lens' PutLifecycleEventHookExecutionStatusResponse Int
Creating a Request
putLifecycleEventHookExecutionStatus :: PutLifecycleEventHookExecutionStatus Source #
Creates a value of PutLifecycleEventHookExecutionStatus
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
plehesStatus
- The result of a Lambda function that validates a deployment lifecycle event (Succeeded
orFailed
).plehesDeploymentId
- The ID of the deployment. Pass this ID to a Lambda function that validates a deployment lifecycle event.plehesLifecycleEventHookExecutionId
- The execution ID of a deployment's lifecycle hook. A deployment lifecycle hook is specified in thehooks
section of the AppSpec file.
data PutLifecycleEventHookExecutionStatus Source #
See: putLifecycleEventHookExecutionStatus
smart constructor.
Request Lenses
plehesStatus :: Lens' PutLifecycleEventHookExecutionStatus (Maybe LifecycleEventStatus) Source #
The result of a Lambda function that validates a deployment lifecycle event (Succeeded
or Failed
).
plehesDeploymentId :: Lens' PutLifecycleEventHookExecutionStatus (Maybe Text) Source #
The ID of the deployment. Pass this ID to a Lambda function that validates a deployment lifecycle event.
plehesLifecycleEventHookExecutionId :: Lens' PutLifecycleEventHookExecutionStatus (Maybe Text) Source #
The execution ID of a deployment's lifecycle hook. A deployment lifecycle hook is specified in the hooks
section of the AppSpec file.
Destructuring the Response
putLifecycleEventHookExecutionStatusResponse Source #
Creates a value of PutLifecycleEventHookExecutionStatusResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
plehesrsLifecycleEventHookExecutionId
- The execution ID of the lifecycle event hook. A hook is specified in thehooks
section of the deployment's AppSpec file.plehesrsResponseStatus
- -- | The response status code.
data PutLifecycleEventHookExecutionStatusResponse Source #
See: putLifecycleEventHookExecutionStatusResponse
smart constructor.
Response Lenses
plehesrsLifecycleEventHookExecutionId :: Lens' PutLifecycleEventHookExecutionStatusResponse (Maybe Text) Source #
The execution ID of the lifecycle event hook. A hook is specified in the hooks
section of the deployment's AppSpec file.
plehesrsResponseStatus :: Lens' PutLifecycleEventHookExecutionStatusResponse Int Source #
- - | The response status code.