Copyright | (c) 2013-2018 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@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.
Synopsis
- 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 Auto Scaling group.desMaxRecords
- The maximum number of items to return with this call. The default value is 100 and the maximum value is 100.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 #
See: describeScalingActivities
smart constructor.
Instances
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 Auto Scaling group.
desMaxRecords :: Lens' DescribeScalingActivities (Maybe Int) Source #
The maximum number of items to return with this call. The default value is 100 and the maximum value is 100.
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 #
See: describeScalingActivitiesResponse
smart constructor.
Instances
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.