Copyright | (c) 2013-2016 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.
This operation returns paginated results.
- describeScalingActivities :: DescribeScalingActivities
- data DescribeScalingActivities
- desNextToken :: Lens' DescribeScalingActivities (Maybe Text)
- desAutoScalingGroupName :: Lens' DescribeScalingActivities (Maybe Text)
- desMaxRecords :: Lens' DescribeScalingActivities (Maybe Int)
- desActivityIds :: Lens' DescribeScalingActivities [Text]
- describeScalingActivitiesResponse :: Int -> DescribeScalingActivitiesResponse
- data DescribeScalingActivitiesResponse
- dsasrsNextToken :: Lens' DescribeScalingActivitiesResponse (Maybe Text)
- dsasrsResponseStatus :: 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:
desNextToken
- The token for the next set of items to return. (You received this token from a previous call.)desAutoScalingGroupName
- The name of the group.desMaxRecords
- The maximum number of items to return with this call.desActivityIds
- The activity IDs of the desired scaling activities. If you omit this parameter, all activities for the past six weeks are described. If you specify an Auto Scaling group, 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.
data DescribeScalingActivities Source #
Contains the parameters for DescribeScalingActivities.
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.)
desAutoScalingGroupName :: Lens' DescribeScalingActivities (Maybe Text) Source #
The name of the group.
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 you omit this parameter, all activities for the past six weeks are described. If you specify an Auto Scaling group, 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:
dsasrsNextToken
- The token to use when requesting the next set of items. If there are no additional items to return, the string is empty.dsasrsResponseStatus
- -- | The response status code.dsasrsActivities
- The scaling activities. Activities are sorted by start time. Activities still in progress are described first.
data DescribeScalingActivitiesResponse Source #
Contains the output of DescribeScalingActivities.
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.
dsasrsResponseStatus :: Lens' DescribeScalingActivitiesResponse Int Source #
- - | The response status code.
dsasrsActivities :: Lens' DescribeScalingActivitiesResponse [Activity] Source #
The scaling activities. Activities are sorted by start time. Activities still in progress are described first.