Copyright | (c) 2013-2015 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
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.
- describeScalingActivities :: DescribeScalingActivities
- data DescribeScalingActivities
- desNextToken :: Lens' DescribeScalingActivities (Maybe Text)
- desMaxRecords :: Lens' DescribeScalingActivities (Maybe Int)
- desAutoScalingGroupName :: Lens' DescribeScalingActivities (Maybe Text)
- desActivityIds :: Lens' DescribeScalingActivities [Text]
- describeScalingActivitiesResponse :: Int -> DescribeScalingActivitiesResponse
- data DescribeScalingActivitiesResponse
- dsasrsNextToken :: Lens' DescribeScalingActivitiesResponse (Maybe Text)
- dsasrsStatus :: Lens' DescribeScalingActivitiesResponse Int
- dsasrsActivities :: Lens' DescribeScalingActivitiesResponse [Activity]
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:
data DescribeScalingActivities Source
See: describeScalingActivities
smart constructor.
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.
desAutoScalingGroupName :: Lens' DescribeScalingActivities (Maybe Text) Source
The name of the group.
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:
data DescribeScalingActivitiesResponse Source
See: describeScalingActivitiesResponse
smart constructor.
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.
dsasrsStatus :: Lens' DescribeScalingActivitiesResponse Int Source
The response status code.
dsasrsActivities :: Lens' DescribeScalingActivitiesResponse [Activity] Source
The scaling activities.