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 |
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.
DescribeLifecycleHooks' | |
|
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.
DescribeLifecycleHooksResponse' | |
|
Instances
Eq DescribeLifecycleHooksResponse Source # | |
Read DescribeLifecycleHooksResponse Source # | |
Show DescribeLifecycleHooksResponse Source # | |
Defined in Amazonka.AutoScaling.DescribeLifecycleHooks | |
Generic DescribeLifecycleHooksResponse Source # | |
NFData DescribeLifecycleHooksResponse Source # | |
Defined in Amazonka.AutoScaling.DescribeLifecycleHooks rnf :: DescribeLifecycleHooksResponse -> () # | |
type Rep DescribeLifecycleHooksResponse Source # | |
Defined in Amazonka.AutoScaling.DescribeLifecycleHooks type Rep DescribeLifecycleHooksResponse = D1 ('MetaData "DescribeLifecycleHooksResponse" "Amazonka.AutoScaling.DescribeLifecycleHooks" "libZSservicesZSamazonka-autoscalingZSamazonka-autoscaling" 'False) (C1 ('MetaCons "DescribeLifecycleHooksResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "lifecycleHooks") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [LifecycleHook])) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))) |
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.