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.DescribeAutoScalingInstances

Description

Gets information about the Auto Scaling instances in the account and Region.

This operation returns paginated results.

Synopsis

Creating a Request

data DescribeAutoScalingInstances Source #

See: newDescribeAutoScalingInstances smart constructor.

Constructors

DescribeAutoScalingInstances' 

Fields

  • instanceIds :: Maybe [Text]

    The IDs of the instances. If you omit this property, all Auto Scaling instances are described. If you specify an ID that does not exist, it is ignored with no error.

    Array Members: Maximum number of 50 items.

  • maxRecords :: Maybe Int

    The maximum number of items to return with this call. The default value is 50 and the maximum value is 50.

  • nextToken :: Maybe Text

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

Instances

Instances details
ToHeaders DescribeAutoScalingInstances Source # 
Instance details

Defined in Amazonka.AutoScaling.DescribeAutoScalingInstances

ToPath DescribeAutoScalingInstances Source # 
Instance details

Defined in Amazonka.AutoScaling.DescribeAutoScalingInstances

ToQuery DescribeAutoScalingInstances Source # 
Instance details

Defined in Amazonka.AutoScaling.DescribeAutoScalingInstances

AWSPager DescribeAutoScalingInstances Source # 
Instance details

Defined in Amazonka.AutoScaling.DescribeAutoScalingInstances

AWSRequest DescribeAutoScalingInstances Source # 
Instance details

Defined in Amazonka.AutoScaling.DescribeAutoScalingInstances

Generic DescribeAutoScalingInstances Source # 
Instance details

Defined in Amazonka.AutoScaling.DescribeAutoScalingInstances

Associated Types

type Rep DescribeAutoScalingInstances :: Type -> Type #

Read DescribeAutoScalingInstances Source # 
Instance details

Defined in Amazonka.AutoScaling.DescribeAutoScalingInstances

Show DescribeAutoScalingInstances Source # 
Instance details

Defined in Amazonka.AutoScaling.DescribeAutoScalingInstances

NFData DescribeAutoScalingInstances Source # 
Instance details

Defined in Amazonka.AutoScaling.DescribeAutoScalingInstances

Eq DescribeAutoScalingInstances Source # 
Instance details

Defined in Amazonka.AutoScaling.DescribeAutoScalingInstances

Hashable DescribeAutoScalingInstances Source # 
Instance details

Defined in Amazonka.AutoScaling.DescribeAutoScalingInstances

type AWSResponse DescribeAutoScalingInstances Source # 
Instance details

Defined in Amazonka.AutoScaling.DescribeAutoScalingInstances

type Rep DescribeAutoScalingInstances Source # 
Instance details

Defined in Amazonka.AutoScaling.DescribeAutoScalingInstances

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

newDescribeAutoScalingInstances :: DescribeAutoScalingInstances Source #

Create a value of DescribeAutoScalingInstances 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:instanceIds:DescribeAutoScalingInstances', describeAutoScalingInstances_instanceIds - The IDs of the instances. If you omit this property, all Auto Scaling instances are described. If you specify an ID that does not exist, it is ignored with no error.

Array Members: Maximum number of 50 items.

$sel:maxRecords:DescribeAutoScalingInstances', describeAutoScalingInstances_maxRecords - The maximum number of items to return with this call. The default value is 50 and the maximum value is 50.

DescribeAutoScalingInstances, describeAutoScalingInstances_nextToken - The token for the next set of items to return. (You received this token from a previous call.)

Request Lenses

describeAutoScalingInstances_instanceIds :: Lens' DescribeAutoScalingInstances (Maybe [Text]) Source #

The IDs of the instances. If you omit this property, all Auto Scaling instances are described. If you specify an ID that does not exist, it is ignored with no error.

Array Members: Maximum number of 50 items.

describeAutoScalingInstances_maxRecords :: Lens' DescribeAutoScalingInstances (Maybe Int) Source #

The maximum number of items to return with this call. The default value is 50 and the maximum value is 50.

describeAutoScalingInstances_nextToken :: Lens' DescribeAutoScalingInstances (Maybe Text) Source #

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

Destructuring the Response

data DescribeAutoScalingInstancesResponse Source #

Constructors

DescribeAutoScalingInstancesResponse' 

Fields

  • autoScalingInstances :: Maybe [AutoScalingInstanceDetails]

    The instances.

  • nextToken :: Maybe Text

    A string that 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.

  • httpStatus :: Int

    The response's http status code.

Instances

Instances details
Generic DescribeAutoScalingInstancesResponse Source # 
Instance details

Defined in Amazonka.AutoScaling.DescribeAutoScalingInstances

Read DescribeAutoScalingInstancesResponse Source # 
Instance details

Defined in Amazonka.AutoScaling.DescribeAutoScalingInstances

Show DescribeAutoScalingInstancesResponse Source # 
Instance details

Defined in Amazonka.AutoScaling.DescribeAutoScalingInstances

NFData DescribeAutoScalingInstancesResponse Source # 
Instance details

Defined in Amazonka.AutoScaling.DescribeAutoScalingInstances

Eq DescribeAutoScalingInstancesResponse Source # 
Instance details

Defined in Amazonka.AutoScaling.DescribeAutoScalingInstances

type Rep DescribeAutoScalingInstancesResponse Source # 
Instance details

Defined in Amazonka.AutoScaling.DescribeAutoScalingInstances

type Rep DescribeAutoScalingInstancesResponse = D1 ('MetaData "DescribeAutoScalingInstancesResponse" "Amazonka.AutoScaling.DescribeAutoScalingInstances" "amazonka-autoscaling-2.0-IerpHfP4BA3Ir4ZL2IR1De" 'False) (C1 ('MetaCons "DescribeAutoScalingInstancesResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "autoScalingInstances") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [AutoScalingInstanceDetails])) :*: (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newDescribeAutoScalingInstancesResponse Source #

Create a value of DescribeAutoScalingInstancesResponse 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:autoScalingInstances:DescribeAutoScalingInstancesResponse', describeAutoScalingInstancesResponse_autoScalingInstances - The instances.

DescribeAutoScalingInstances, describeAutoScalingInstancesResponse_nextToken - A string that 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.

$sel:httpStatus:DescribeAutoScalingInstancesResponse', describeAutoScalingInstancesResponse_httpStatus - The response's http status code.

Response Lenses

describeAutoScalingInstancesResponse_nextToken :: Lens' DescribeAutoScalingInstancesResponse (Maybe Text) Source #

A string that 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.