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 |
Amazonka.AutoScaling.DescribeLifecycleHooks
Description
Gets information about the lifecycle hooks for the specified Auto Scaling group.
Synopsis
- data DescribeLifecycleHooks = DescribeLifecycleHooks' {}
- newDescribeLifecycleHooks :: Text -> DescribeLifecycleHooks
- describeLifecycleHooks_lifecycleHookNames :: Lens' DescribeLifecycleHooks (Maybe [Text])
- describeLifecycleHooks_autoScalingGroupName :: Lens' DescribeLifecycleHooks Text
- data DescribeLifecycleHooksResponse = DescribeLifecycleHooksResponse' {}
- newDescribeLifecycleHooksResponse :: Int -> DescribeLifecycleHooksResponse
- describeLifecycleHooksResponse_lifecycleHooks :: Lens' DescribeLifecycleHooksResponse (Maybe [LifecycleHook])
- describeLifecycleHooksResponse_httpStatus :: Lens' DescribeLifecycleHooksResponse Int
Creating a Request
data DescribeLifecycleHooks Source #
See: newDescribeLifecycleHooks
smart constructor.
Constructors
DescribeLifecycleHooks' | |
Fields
|
Instances
newDescribeLifecycleHooks Source #
Create a value of DescribeLifecycleHooks
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:lifecycleHookNames:DescribeLifecycleHooks'
, describeLifecycleHooks_lifecycleHookNames
- The names of one or more lifecycle hooks. If you omit this parameter,
all lifecycle hooks are described.
$sel:autoScalingGroupName:DescribeLifecycleHooks'
, describeLifecycleHooks_autoScalingGroupName
- The name of the Auto Scaling group.
Request Lenses
describeLifecycleHooks_lifecycleHookNames :: Lens' DescribeLifecycleHooks (Maybe [Text]) Source #
The names of one or more lifecycle hooks. If you omit this parameter, all lifecycle hooks are described.
describeLifecycleHooks_autoScalingGroupName :: Lens' DescribeLifecycleHooks Text Source #
The name of the Auto Scaling group.
Destructuring the Response
data DescribeLifecycleHooksResponse Source #
See: newDescribeLifecycleHooksResponse
smart constructor.
Constructors
DescribeLifecycleHooksResponse' | |
Fields
|
Instances
newDescribeLifecycleHooksResponse Source #
Create a value of DescribeLifecycleHooksResponse
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:lifecycleHooks:DescribeLifecycleHooksResponse'
, describeLifecycleHooksResponse_lifecycleHooks
- The lifecycle hooks for the specified group.
$sel:httpStatus:DescribeLifecycleHooksResponse'
, describeLifecycleHooksResponse_httpStatus
- The response's http status code.
Response Lenses
describeLifecycleHooksResponse_lifecycleHooks :: Lens' DescribeLifecycleHooksResponse (Maybe [LifecycleHook]) Source #
The lifecycle hooks for the specified group.
describeLifecycleHooksResponse_httpStatus :: Lens' DescribeLifecycleHooksResponse Int Source #
The response's http status code.