Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Gets information about the scheduled actions that haven't run or that have not reached their end time.
To describe the scaling activities for scheduled actions that have already run, call the DescribeScalingActivities API.
This operation returns paginated results.
Synopsis
- data DescribeScheduledActions = DescribeScheduledActions' {}
- newDescribeScheduledActions :: DescribeScheduledActions
- describeScheduledActions_autoScalingGroupName :: Lens' DescribeScheduledActions (Maybe Text)
- describeScheduledActions_endTime :: Lens' DescribeScheduledActions (Maybe UTCTime)
- describeScheduledActions_maxRecords :: Lens' DescribeScheduledActions (Maybe Int)
- describeScheduledActions_nextToken :: Lens' DescribeScheduledActions (Maybe Text)
- describeScheduledActions_scheduledActionNames :: Lens' DescribeScheduledActions (Maybe [Text])
- describeScheduledActions_startTime :: Lens' DescribeScheduledActions (Maybe UTCTime)
- data DescribeScheduledActionsResponse = DescribeScheduledActionsResponse' {}
- newDescribeScheduledActionsResponse :: Int -> DescribeScheduledActionsResponse
- describeScheduledActionsResponse_nextToken :: Lens' DescribeScheduledActionsResponse (Maybe Text)
- describeScheduledActionsResponse_scheduledUpdateGroupActions :: Lens' DescribeScheduledActionsResponse (Maybe [ScheduledUpdateGroupAction])
- describeScheduledActionsResponse_httpStatus :: Lens' DescribeScheduledActionsResponse Int
Creating a Request
data DescribeScheduledActions Source #
See: newDescribeScheduledActions
smart constructor.
DescribeScheduledActions' | |
|
Instances
newDescribeScheduledActions :: DescribeScheduledActions Source #
Create a value of DescribeScheduledActions
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
DescribeScheduledActions
, describeScheduledActions_autoScalingGroupName
- The name of the Auto Scaling group.
DescribeScheduledActions
, describeScheduledActions_endTime
- The latest scheduled start time to return. If scheduled action names are
provided, this property is ignored.
$sel:maxRecords:DescribeScheduledActions'
, describeScheduledActions_maxRecords
- The maximum number of items to return with this call. The default value
is 50
and the maximum value is 100
.
DescribeScheduledActions
, describeScheduledActions_nextToken
- The token for the next set of items to return. (You received this token
from a previous call.)
$sel:scheduledActionNames:DescribeScheduledActions'
, describeScheduledActions_scheduledActionNames
- The names of one or more scheduled actions. If you omit this property,
all scheduled actions are described. If you specify an unknown scheduled
action, it is ignored with no error.
Array Members: Maximum number of 50 actions.
DescribeScheduledActions
, describeScheduledActions_startTime
- The earliest scheduled start time to return. If scheduled action names
are provided, this property is ignored.
Request Lenses
describeScheduledActions_autoScalingGroupName :: Lens' DescribeScheduledActions (Maybe Text) Source #
The name of the Auto Scaling group.
describeScheduledActions_endTime :: Lens' DescribeScheduledActions (Maybe UTCTime) Source #
The latest scheduled start time to return. If scheduled action names are provided, this property is ignored.
describeScheduledActions_maxRecords :: Lens' DescribeScheduledActions (Maybe Int) Source #
The maximum number of items to return with this call. The default value
is 50
and the maximum value is 100
.
describeScheduledActions_nextToken :: Lens' DescribeScheduledActions (Maybe Text) Source #
The token for the next set of items to return. (You received this token from a previous call.)
describeScheduledActions_scheduledActionNames :: Lens' DescribeScheduledActions (Maybe [Text]) Source #
The names of one or more scheduled actions. If you omit this property, all scheduled actions are described. If you specify an unknown scheduled action, it is ignored with no error.
Array Members: Maximum number of 50 actions.
describeScheduledActions_startTime :: Lens' DescribeScheduledActions (Maybe UTCTime) Source #
The earliest scheduled start time to return. If scheduled action names are provided, this property is ignored.
Destructuring the Response
data DescribeScheduledActionsResponse Source #
See: newDescribeScheduledActionsResponse
smart constructor.
DescribeScheduledActionsResponse' | |
|
Instances
newDescribeScheduledActionsResponse Source #
Create a value of DescribeScheduledActionsResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
DescribeScheduledActions
, describeScheduledActionsResponse_nextToken
- A string that indicates that the response contains more items than can
be returned in a single response. To receive additional items, specify
this string for the NextToken
value when requesting the next set of
items. This value is null when there are no more items to return.
$sel:scheduledUpdateGroupActions:DescribeScheduledActionsResponse'
, describeScheduledActionsResponse_scheduledUpdateGroupActions
- The scheduled actions.
$sel:httpStatus:DescribeScheduledActionsResponse'
, describeScheduledActionsResponse_httpStatus
- The response's http status code.
Response Lenses
describeScheduledActionsResponse_nextToken :: Lens' DescribeScheduledActionsResponse (Maybe Text) Source #
A string that indicates that the response contains more items than can
be returned in a single response. To receive additional items, specify
this string for the NextToken
value when requesting the next set of
items. This value is null when there are no more items to return.
describeScheduledActionsResponse_scheduledUpdateGroupActions :: Lens' DescribeScheduledActionsResponse (Maybe [ScheduledUpdateGroupAction]) Source #
The scheduled actions.
describeScheduledActionsResponse_httpStatus :: Lens' DescribeScheduledActionsResponse Int Source #
The response's http status code.