Copyright | (c) 2013-2021 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 |
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.
DeleteLifecycleHook' | |
|
Instances
newDeleteLifecycleHook Source #
:: 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:
$sel:lifecycleHookName:DeleteLifecycleHook'
, deleteLifecycleHook_lifecycleHookName
- The name of the lifecycle hook.
$sel:autoScalingGroupName: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.
DeleteLifecycleHookResponse' | |
|
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.