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

  • nextToken :: Maybe Text

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

  • instanceIds :: Maybe [Text]

    The IDs of the instances. If you omit this parameter, 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.

Instances

Instances details
Eq DescribeAutoScalingInstances Source # 
Instance details

Defined in Amazonka.AutoScaling.DescribeAutoScalingInstances

Read DescribeAutoScalingInstances Source # 
Instance details

Defined in Amazonka.AutoScaling.DescribeAutoScalingInstances

Show 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 #

NFData DescribeAutoScalingInstances Source # 
Instance details

Defined in Amazonka.AutoScaling.DescribeAutoScalingInstances

Hashable 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

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

type Rep DescribeAutoScalingInstances Source # 
Instance details

Defined in Amazonka.AutoScaling.DescribeAutoScalingInstances

type Rep DescribeAutoScalingInstances = D1 ('MetaData "DescribeAutoScalingInstances" "Amazonka.AutoScaling.DescribeAutoScalingInstances" "libZSservicesZSamazonka-autoscalingZSamazonka-autoscaling" 'False) (C1 ('MetaCons "DescribeAutoScalingInstances'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "instanceIds") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: S1 ('MetaSel ('Just "maxRecords") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)))))
type AWSResponse DescribeAutoScalingInstances Source # 
Instance details

Defined in Amazonka.AutoScaling.DescribeAutoScalingInstances

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:nextToken:DescribeAutoScalingInstances', describeAutoScalingInstances_nextToken - The token for the next set of items to return. (You received this token from a previous call.)

$sel:instanceIds:DescribeAutoScalingInstances', describeAutoScalingInstances_instanceIds - The IDs of the instances. If you omit this parameter, 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.

Request Lenses

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

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

The IDs of the instances. If you omit this parameter, 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.

Destructuring the Response

data DescribeAutoScalingInstancesResponse Source #

Constructors

DescribeAutoScalingInstancesResponse' 

Fields

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

  • autoScalingInstances :: Maybe [AutoScalingInstanceDetails]

    The instances.

  • httpStatus :: Int

    The response's http status code.

Instances

Instances details
Eq 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

Generic DescribeAutoScalingInstancesResponse Source # 
Instance details

Defined in Amazonka.AutoScaling.DescribeAutoScalingInstances

NFData 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" "libZSservicesZSamazonka-autoscalingZSamazonka-autoscaling" 'False) (C1 ('MetaCons "DescribeAutoScalingInstancesResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "autoScalingInstances") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [AutoScalingInstanceDetails])) :*: 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:nextToken: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:autoScalingInstances:DescribeAutoScalingInstancesResponse', describeAutoScalingInstancesResponse_autoScalingInstances - The instances.

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