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 |
Describes the available types of lifecycle hooks.
The following hook types are supported:
autoscaling:EC2_INSTANCE_LAUNCHING
autoscaling:EC2_INSTANCE_TERMINATING
Synopsis
- data DescribeLifecycleHookTypes = DescribeLifecycleHookTypes' {
- newDescribeLifecycleHookTypes :: DescribeLifecycleHookTypes
- data DescribeLifecycleHookTypesResponse = DescribeLifecycleHookTypesResponse' {
- lifecycleHookTypes :: Maybe [Text]
- httpStatus :: Int
- newDescribeLifecycleHookTypesResponse :: Int -> DescribeLifecycleHookTypesResponse
- describeLifecycleHookTypesResponse_lifecycleHookTypes :: Lens' DescribeLifecycleHookTypesResponse (Maybe [Text])
- describeLifecycleHookTypesResponse_httpStatus :: Lens' DescribeLifecycleHookTypesResponse Int
Creating a Request
data DescribeLifecycleHookTypes Source #
See: newDescribeLifecycleHookTypes
smart constructor.
Instances
newDescribeLifecycleHookTypes :: DescribeLifecycleHookTypes Source #
Create a value of DescribeLifecycleHookTypes
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
Destructuring the Response
data DescribeLifecycleHookTypesResponse Source #
See: newDescribeLifecycleHookTypesResponse
smart constructor.
DescribeLifecycleHookTypesResponse' | |
|
Instances
Eq DescribeLifecycleHookTypesResponse Source # | |
Read DescribeLifecycleHookTypesResponse Source # | |
Show DescribeLifecycleHookTypesResponse Source # | |
Generic DescribeLifecycleHookTypesResponse Source # | |
NFData DescribeLifecycleHookTypesResponse Source # | |
Defined in Amazonka.AutoScaling.DescribeLifecycleHookTypes rnf :: DescribeLifecycleHookTypesResponse -> () # | |
type Rep DescribeLifecycleHookTypesResponse Source # | |
Defined in Amazonka.AutoScaling.DescribeLifecycleHookTypes type Rep DescribeLifecycleHookTypesResponse = D1 ('MetaData "DescribeLifecycleHookTypesResponse" "Amazonka.AutoScaling.DescribeLifecycleHookTypes" "libZSservicesZSamazonka-autoscalingZSamazonka-autoscaling" 'False) (C1 ('MetaCons "DescribeLifecycleHookTypesResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "lifecycleHookTypes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))) |
newDescribeLifecycleHookTypesResponse Source #
Create a value of DescribeLifecycleHookTypesResponse
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:lifecycleHookTypes:DescribeLifecycleHookTypesResponse'
, describeLifecycleHookTypesResponse_lifecycleHookTypes
- The lifecycle hook types.
$sel:httpStatus:DescribeLifecycleHookTypesResponse'
, describeLifecycleHookTypesResponse_httpStatus
- The response's http status code.
Response Lenses
describeLifecycleHookTypesResponse_lifecycleHookTypes :: Lens' DescribeLifecycleHookTypesResponse (Maybe [Text]) Source #
The lifecycle hook types.
describeLifecycleHookTypesResponse_httpStatus :: Lens' DescribeLifecycleHookTypesResponse Int Source #
The response's http status code.