amazonka-autoscaling-2.0: Amazon Auto Scaling SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.AutoScaling.DescribeWarmPool

Description

Gets information about a warm pool and its instances.

For more information, see Warm pools for Amazon EC2 Auto Scaling in the Amazon EC2 Auto Scaling User Guide.

Synopsis

Creating a Request

data DescribeWarmPool Source #

See: newDescribeWarmPool smart constructor.

Constructors

DescribeWarmPool' 

Fields

Instances

Instances details
ToHeaders DescribeWarmPool Source # 
Instance details

Defined in Amazonka.AutoScaling.DescribeWarmPool

ToPath DescribeWarmPool Source # 
Instance details

Defined in Amazonka.AutoScaling.DescribeWarmPool

ToQuery DescribeWarmPool Source # 
Instance details

Defined in Amazonka.AutoScaling.DescribeWarmPool

AWSRequest DescribeWarmPool Source # 
Instance details

Defined in Amazonka.AutoScaling.DescribeWarmPool

Associated Types

type AWSResponse DescribeWarmPool #

Generic DescribeWarmPool Source # 
Instance details

Defined in Amazonka.AutoScaling.DescribeWarmPool

Associated Types

type Rep DescribeWarmPool :: Type -> Type #

Read DescribeWarmPool Source # 
Instance details

Defined in Amazonka.AutoScaling.DescribeWarmPool

Show DescribeWarmPool Source # 
Instance details

Defined in Amazonka.AutoScaling.DescribeWarmPool

NFData DescribeWarmPool Source # 
Instance details

Defined in Amazonka.AutoScaling.DescribeWarmPool

Methods

rnf :: DescribeWarmPool -> () #

Eq DescribeWarmPool Source # 
Instance details

Defined in Amazonka.AutoScaling.DescribeWarmPool

Hashable DescribeWarmPool Source # 
Instance details

Defined in Amazonka.AutoScaling.DescribeWarmPool

type AWSResponse DescribeWarmPool Source # 
Instance details

Defined in Amazonka.AutoScaling.DescribeWarmPool

type Rep DescribeWarmPool Source # 
Instance details

Defined in Amazonka.AutoScaling.DescribeWarmPool

type Rep DescribeWarmPool = D1 ('MetaData "DescribeWarmPool" "Amazonka.AutoScaling.DescribeWarmPool" "amazonka-autoscaling-2.0-IerpHfP4BA3Ir4ZL2IR1De" 'False) (C1 ('MetaCons "DescribeWarmPool'" 'PrefixI 'True) (S1 ('MetaSel ('Just "maxRecords") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "autoScalingGroupName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))

newDescribeWarmPool Source #

Create a value of DescribeWarmPool 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:maxRecords:DescribeWarmPool', describeWarmPool_maxRecords - The maximum number of instances to return with this call. The maximum value is 50.

DescribeWarmPool, describeWarmPool_nextToken - The token for the next set of instances to return. (You received this token from a previous call.)

DescribeWarmPool, describeWarmPool_autoScalingGroupName - The name of the Auto Scaling group.

Request Lenses

describeWarmPool_maxRecords :: Lens' DescribeWarmPool (Maybe Int) Source #

The maximum number of instances to return with this call. The maximum value is 50.

describeWarmPool_nextToken :: Lens' DescribeWarmPool (Maybe Text) Source #

The token for the next set of instances to return. (You received this token from a previous call.)

Destructuring the Response

data DescribeWarmPoolResponse Source #

See: newDescribeWarmPoolResponse smart constructor.

Constructors

DescribeWarmPoolResponse' 

Fields

  • instances :: Maybe [Instance]

    The instances that are currently in the warm pool.

  • nextToken :: Maybe Text

    This string indicates that the response contains more items than can be returned in a single response. To receive additional items, specify this string for the NextToken value when requesting the next set of items. This value is null when there are no more items to return.

  • warmPoolConfiguration :: Maybe WarmPoolConfiguration

    The warm pool configuration details.

  • httpStatus :: Int

    The response's http status code.

Instances

Instances details
Generic DescribeWarmPoolResponse Source # 
Instance details

Defined in Amazonka.AutoScaling.DescribeWarmPool

Associated Types

type Rep DescribeWarmPoolResponse :: Type -> Type #

Read DescribeWarmPoolResponse Source # 
Instance details

Defined in Amazonka.AutoScaling.DescribeWarmPool

Show DescribeWarmPoolResponse Source # 
Instance details

Defined in Amazonka.AutoScaling.DescribeWarmPool

NFData DescribeWarmPoolResponse Source # 
Instance details

Defined in Amazonka.AutoScaling.DescribeWarmPool

Eq DescribeWarmPoolResponse Source # 
Instance details

Defined in Amazonka.AutoScaling.DescribeWarmPool

type Rep DescribeWarmPoolResponse Source # 
Instance details

Defined in Amazonka.AutoScaling.DescribeWarmPool

type Rep DescribeWarmPoolResponse = D1 ('MetaData "DescribeWarmPoolResponse" "Amazonka.AutoScaling.DescribeWarmPool" "amazonka-autoscaling-2.0-IerpHfP4BA3Ir4ZL2IR1De" 'False) (C1 ('MetaCons "DescribeWarmPoolResponse'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "instances") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Instance])) :*: S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "warmPoolConfiguration") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe WarmPoolConfiguration)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newDescribeWarmPoolResponse Source #

Create a value of DescribeWarmPoolResponse 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:

DescribeWarmPoolResponse, describeWarmPoolResponse_instances - The instances that are currently in the warm pool.

DescribeWarmPool, describeWarmPoolResponse_nextToken - This string indicates that the response contains more items than can be returned in a single response. To receive additional items, specify this string for the NextToken value when requesting the next set of items. This value is null when there are no more items to return.

DescribeWarmPoolResponse, describeWarmPoolResponse_warmPoolConfiguration - The warm pool configuration details.

$sel:httpStatus:DescribeWarmPoolResponse', describeWarmPoolResponse_httpStatus - The response's http status code.

Response Lenses

describeWarmPoolResponse_instances :: Lens' DescribeWarmPoolResponse (Maybe [Instance]) Source #

The instances that are currently in the warm pool.

describeWarmPoolResponse_nextToken :: Lens' DescribeWarmPoolResponse (Maybe Text) Source #

This string indicates that the response contains more items than can be returned in a single response. To receive additional items, specify this string for the NextToken value when requesting the next set of items. This value is null when there are no more items to return.