amazonka-autoscaling-1.2.0: Amazon Auto Scaling SDK.

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

Network.AWS.AutoScaling.DescribeAutoScalingInstances

Contents

Description

Describes one or more Auto Scaling instances. If a list is not provided, the call describes all instances.

See: AWS API Reference for DescribeAutoScalingInstances.

This operation returns paginated results.

Synopsis

Creating a Request

describeAutoScalingInstances :: DescribeAutoScalingInstances Source

Creates a value of DescribeAutoScalingInstances with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

Request Lenses

dasiNextToken :: Lens' DescribeAutoScalingInstances (Maybe Text) Source

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

dasiInstanceIds :: Lens' DescribeAutoScalingInstances [Text] Source

One or more Auto Scaling instances to describe, up to 50 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.

dasiMaxRecords :: Lens' DescribeAutoScalingInstances (Maybe Int) Source

The maximum number of items to return with this call.

Destructuring the Response

describeAutoScalingInstancesResponse Source

Creates a value of DescribeAutoScalingInstancesResponse with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

Response Lenses

dasirsNextToken :: Lens' DescribeAutoScalingInstancesResponse (Maybe Text) Source

The token to use when requesting the next set of items. If there are no additional items to return, the string is empty.