| Copyright | (c) 2013-2016 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | None |
| Language | Haskell2010 |
Network.AWS.AutoScaling.DeleteLifecycleHook
Description
Deletes the specified lifecycle hook.
If there are any outstanding lifecycle actions, they are completed first (ABANDON for launching instances, CONTINUE for terminating instances).
- deleteLifecycleHook :: Text -> Text -> DeleteLifecycleHook
- data DeleteLifecycleHook
- delLifecycleHookName :: Lens' DeleteLifecycleHook Text
- delAutoScalingGroupName :: Lens' DeleteLifecycleHook Text
- deleteLifecycleHookResponse :: Int -> DeleteLifecycleHookResponse
- data DeleteLifecycleHookResponse
- drsResponseStatus :: Lens' DeleteLifecycleHookResponse Int
Creating a Request
Arguments
| :: Text | |
| -> Text | |
| -> DeleteLifecycleHook |
Creates a value of DeleteLifecycleHook with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
delLifecycleHookName- The name of the lifecycle hook.delAutoScalingGroupName- The name of the Auto Scaling group for the lifecycle hook.
data DeleteLifecycleHook Source #
Contains the parameters for DeleteLifecycleHook.
See: deleteLifecycleHook smart constructor.
Instances
Request Lenses
delLifecycleHookName :: Lens' DeleteLifecycleHook Text Source #
The name of the lifecycle hook.
delAutoScalingGroupName :: Lens' DeleteLifecycleHook Text Source #
The name of the Auto Scaling group for the lifecycle hook.
Destructuring the Response
deleteLifecycleHookResponse Source #
Arguments
| :: Int | |
| -> DeleteLifecycleHookResponse |
Creates a value of DeleteLifecycleHookResponse with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
drsResponseStatus- -- | The response status code.
data DeleteLifecycleHookResponse Source #
Contains the output of DeleteLifecycleHook.
See: deleteLifecycleHookResponse smart constructor.
Instances
Response Lenses
drsResponseStatus :: Lens' DeleteLifecycleHookResponse Int Source #
- - | The response status code.