Copyright | (c) 2013-2021 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 |
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_startTime :: Lens' DescribeScheduledActions (Maybe UTCTime)
- describeScheduledActions_nextToken :: Lens' DescribeScheduledActions (Maybe Text)
- describeScheduledActions_autoScalingGroupName :: Lens' DescribeScheduledActions (Maybe Text)
- describeScheduledActions_maxRecords :: Lens' DescribeScheduledActions (Maybe Int)
- describeScheduledActions_endTime :: Lens' DescribeScheduledActions (Maybe UTCTime)
- describeScheduledActions_scheduledActionNames :: Lens' DescribeScheduledActions (Maybe [Text])
- data DescribeScheduledActionsResponse = DescribeScheduledActionsResponse' {}
- newDescribeScheduledActionsResponse :: Int -> DescribeScheduledActionsResponse
- describeScheduledActionsResponse_scheduledUpdateGroupActions :: Lens' DescribeScheduledActionsResponse (Maybe [ScheduledUpdateGroupAction])
- describeScheduledActionsResponse_nextToken :: Lens' DescribeScheduledActionsResponse (Maybe Text)
- 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:
$sel:startTime:DescribeScheduledActions'
, describeScheduledActions_startTime
- The earliest scheduled start time to return. If scheduled action names
are provided, this parameter is ignored.
$sel:nextToken:DescribeScheduledActions'
, describeScheduledActions_nextToken
- The token for the next set of items to return. (You received this token
from a previous call.)
$sel:autoScalingGroupName:DescribeScheduledActions'
, describeScheduledActions_autoScalingGroupName
- The name of the Auto Scaling group.
$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
.
$sel:endTime:DescribeScheduledActions'
, describeScheduledActions_endTime
- The latest scheduled start time to return. If scheduled action names are
provided, this parameter is ignored.
$sel:scheduledActionNames:DescribeScheduledActions'
, describeScheduledActions_scheduledActionNames
- The names of one or more scheduled actions. If you omit this parameter,
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.
Request Lenses
describeScheduledActions_startTime :: Lens' DescribeScheduledActions (Maybe UTCTime) Source #
The earliest scheduled start time to return. If scheduled action names are provided, this parameter is ignored.
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_autoScalingGroupName :: Lens' DescribeScheduledActions (Maybe Text) Source #
The name of the Auto Scaling group.
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_endTime :: Lens' DescribeScheduledActions (Maybe UTCTime) Source #
The latest scheduled start time to return. If scheduled action names are provided, this parameter is ignored.
describeScheduledActions_scheduledActionNames :: Lens' DescribeScheduledActions (Maybe [Text]) Source #
The names of one or more scheduled actions. If you omit this parameter, 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.
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:
$sel:scheduledUpdateGroupActions:DescribeScheduledActionsResponse'
, describeScheduledActionsResponse_scheduledUpdateGroupActions
- The scheduled actions.
$sel:nextToken: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:httpStatus:DescribeScheduledActionsResponse'
, describeScheduledActionsResponse_httpStatus
- The response's http status code.
Response Lenses
describeScheduledActionsResponse_scheduledUpdateGroupActions :: Lens' DescribeScheduledActionsResponse (Maybe [ScheduledUpdateGroupAction]) Source #
The scheduled actions.
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_httpStatus :: Lens' DescribeScheduledActionsResponse Int Source #
The response's http status code.