libZSservicesZSamazonka-autoscalingZSamazonka-autoscaling
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.AutoScaling.DescribeTerminationPolicyTypes

Description

Describes the termination policies supported by Amazon EC2 Auto Scaling.

For more information, see Controlling which Auto Scaling instances terminate during scale in in the Amazon EC2 Auto Scaling User Guide.

Synopsis

Creating a Request

data DescribeTerminationPolicyTypes Source #

See: newDescribeTerminationPolicyTypes smart constructor.

Instances

Instances details
Eq DescribeTerminationPolicyTypes Source # 
Instance details

Defined in Amazonka.AutoScaling.DescribeTerminationPolicyTypes

Read DescribeTerminationPolicyTypes Source # 
Instance details

Defined in Amazonka.AutoScaling.DescribeTerminationPolicyTypes

Show DescribeTerminationPolicyTypes Source # 
Instance details

Defined in Amazonka.AutoScaling.DescribeTerminationPolicyTypes

Generic DescribeTerminationPolicyTypes Source # 
Instance details

Defined in Amazonka.AutoScaling.DescribeTerminationPolicyTypes

Associated Types

type Rep DescribeTerminationPolicyTypes :: Type -> Type #

NFData DescribeTerminationPolicyTypes Source # 
Instance details

Defined in Amazonka.AutoScaling.DescribeTerminationPolicyTypes

Hashable DescribeTerminationPolicyTypes Source # 
Instance details

Defined in Amazonka.AutoScaling.DescribeTerminationPolicyTypes

AWSRequest DescribeTerminationPolicyTypes Source # 
Instance details

Defined in Amazonka.AutoScaling.DescribeTerminationPolicyTypes

ToHeaders DescribeTerminationPolicyTypes Source # 
Instance details

Defined in Amazonka.AutoScaling.DescribeTerminationPolicyTypes

ToPath DescribeTerminationPolicyTypes Source # 
Instance details

Defined in Amazonka.AutoScaling.DescribeTerminationPolicyTypes

ToQuery DescribeTerminationPolicyTypes Source # 
Instance details

Defined in Amazonka.AutoScaling.DescribeTerminationPolicyTypes

type Rep DescribeTerminationPolicyTypes Source # 
Instance details

Defined in Amazonka.AutoScaling.DescribeTerminationPolicyTypes

type Rep DescribeTerminationPolicyTypes = D1 ('MetaData "DescribeTerminationPolicyTypes" "Amazonka.AutoScaling.DescribeTerminationPolicyTypes" "libZSservicesZSamazonka-autoscalingZSamazonka-autoscaling" 'False) (C1 ('MetaCons "DescribeTerminationPolicyTypes'" 'PrefixI 'False) (U1 :: Type -> Type))
type AWSResponse DescribeTerminationPolicyTypes Source # 
Instance details

Defined in Amazonka.AutoScaling.DescribeTerminationPolicyTypes

newDescribeTerminationPolicyTypes :: DescribeTerminationPolicyTypes Source #

Create a value of DescribeTerminationPolicyTypes with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

Destructuring the Response

data DescribeTerminationPolicyTypesResponse Source #

Constructors

DescribeTerminationPolicyTypesResponse' 

Fields

  • terminationPolicyTypes :: Maybe [Text]

    The termination policies supported by Amazon EC2 Auto Scaling: OldestInstance, OldestLaunchConfiguration, NewestInstance, ClosestToNextInstanceHour, Default, OldestLaunchTemplate, and AllocationStrategy.

  • httpStatus :: Int

    The response's http status code.

Instances

Instances details
Eq DescribeTerminationPolicyTypesResponse Source # 
Instance details

Defined in Amazonka.AutoScaling.DescribeTerminationPolicyTypes

Read DescribeTerminationPolicyTypesResponse Source # 
Instance details

Defined in Amazonka.AutoScaling.DescribeTerminationPolicyTypes

Show DescribeTerminationPolicyTypesResponse Source # 
Instance details

Defined in Amazonka.AutoScaling.DescribeTerminationPolicyTypes

Generic DescribeTerminationPolicyTypesResponse Source # 
Instance details

Defined in Amazonka.AutoScaling.DescribeTerminationPolicyTypes

NFData DescribeTerminationPolicyTypesResponse Source # 
Instance details

Defined in Amazonka.AutoScaling.DescribeTerminationPolicyTypes

type Rep DescribeTerminationPolicyTypesResponse Source # 
Instance details

Defined in Amazonka.AutoScaling.DescribeTerminationPolicyTypes

type Rep DescribeTerminationPolicyTypesResponse = D1 ('MetaData "DescribeTerminationPolicyTypesResponse" "Amazonka.AutoScaling.DescribeTerminationPolicyTypes" "libZSservicesZSamazonka-autoscalingZSamazonka-autoscaling" 'False) (C1 ('MetaCons "DescribeTerminationPolicyTypesResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "terminationPolicyTypes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newDescribeTerminationPolicyTypesResponse Source #

Create a value of DescribeTerminationPolicyTypesResponse 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:terminationPolicyTypes:DescribeTerminationPolicyTypesResponse', describeTerminationPolicyTypesResponse_terminationPolicyTypes - The termination policies supported by Amazon EC2 Auto Scaling: OldestInstance, OldestLaunchConfiguration, NewestInstance, ClosestToNextInstanceHour, Default, OldestLaunchTemplate, and AllocationStrategy.

$sel:httpStatus:DescribeTerminationPolicyTypesResponse', describeTerminationPolicyTypesResponse_httpStatus - The response's http status code.

Response Lenses

describeTerminationPolicyTypesResponse_terminationPolicyTypes :: Lens' DescribeTerminationPolicyTypesResponse (Maybe [Text]) Source #

The termination policies supported by Amazon EC2 Auto Scaling: OldestInstance, OldestLaunchConfiguration, NewestInstance, ClosestToNextInstanceHour, Default, OldestLaunchTemplate, and AllocationStrategy.