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

Contents

Description

Describes one or more scaling activities for the specified Auto Scaling group. If you omit the ActivityIds, the call returns all activities from the past six weeks. Activities are sorted by the start time. Activities still in progress appear first on the list.

See: AWS API Reference for DescribeScalingActivities.

This operation returns paginated results.

Synopsis

Creating a Request

describeScalingActivities :: DescribeScalingActivities Source

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

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

Request Lenses

desNextToken :: Lens' DescribeScalingActivities (Maybe Text) Source

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

desMaxRecords :: Lens' DescribeScalingActivities (Maybe Int) Source

The maximum number of items to return with this call.

desActivityIds :: Lens' DescribeScalingActivities [Text] Source

The activity IDs of the desired scaling activities. If this list is omitted, all activities are described. If the AutoScalingGroupName parameter is provided, the results are limited to that group. The list of requested activities cannot contain more than 50 items. If unknown activities are requested, they are ignored with no error.

Destructuring the Response

describeScalingActivitiesResponse Source

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

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

Response Lenses

dsasrsNextToken :: Lens' DescribeScalingActivitiesResponse (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.