| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.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).
Synopsis
- data DeleteLifecycleHook = DeleteLifecycleHook' {}
- newDeleteLifecycleHook :: Text -> Text -> DeleteLifecycleHook
- deleteLifecycleHook_lifecycleHookName :: Lens' DeleteLifecycleHook Text
- deleteLifecycleHook_autoScalingGroupName :: Lens' DeleteLifecycleHook Text
- data DeleteLifecycleHookResponse = DeleteLifecycleHookResponse' {
- httpStatus :: Int
- newDeleteLifecycleHookResponse :: Int -> DeleteLifecycleHookResponse
- deleteLifecycleHookResponse_httpStatus :: Lens' DeleteLifecycleHookResponse Int
Creating a Request
data DeleteLifecycleHook Source #
See: newDeleteLifecycleHook smart constructor.
Constructors
| DeleteLifecycleHook' | |
Fields
| |
Instances
newDeleteLifecycleHook Source #
Arguments
| :: Text | |
| -> Text | |
| -> DeleteLifecycleHook |
Create a value of DeleteLifecycleHook with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
DeleteLifecycleHook, deleteLifecycleHook_lifecycleHookName - The name of the lifecycle hook.
DeleteLifecycleHook, deleteLifecycleHook_autoScalingGroupName - The name of the Auto Scaling group.
Request Lenses
deleteLifecycleHook_lifecycleHookName :: Lens' DeleteLifecycleHook Text Source #
The name of the lifecycle hook.
deleteLifecycleHook_autoScalingGroupName :: Lens' DeleteLifecycleHook Text Source #
The name of the Auto Scaling group.
Destructuring the Response
data DeleteLifecycleHookResponse Source #
See: newDeleteLifecycleHookResponse smart constructor.
Constructors
| DeleteLifecycleHookResponse' | |
Fields
| |
Instances
newDeleteLifecycleHookResponse Source #
Create a value of DeleteLifecycleHookResponse with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:httpStatus:DeleteLifecycleHookResponse', deleteLifecycleHookResponse_httpStatus - The response's http status code.
Response Lenses
deleteLifecycleHookResponse_httpStatus :: Lens' DeleteLifecycleHookResponse Int Source #
The response's http status code.