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 |
Lists the tasks in a maintenance window.
For maintenance window tasks without a specified target, you can't
supply values for --max-errors
and --max-concurrency
. Instead, the
system inserts a placeholder value of 1
, which may be reported in the
response to this command. These values don't affect the running of your
task and can be ignored.
This operation returns paginated results.
Synopsis
- data DescribeMaintenanceWindowTasks = DescribeMaintenanceWindowTasks' {}
- newDescribeMaintenanceWindowTasks :: Text -> DescribeMaintenanceWindowTasks
- describeMaintenanceWindowTasks_filters :: Lens' DescribeMaintenanceWindowTasks (Maybe [MaintenanceWindowFilter])
- describeMaintenanceWindowTasks_nextToken :: Lens' DescribeMaintenanceWindowTasks (Maybe Text)
- describeMaintenanceWindowTasks_maxResults :: Lens' DescribeMaintenanceWindowTasks (Maybe Natural)
- describeMaintenanceWindowTasks_windowId :: Lens' DescribeMaintenanceWindowTasks Text
- data DescribeMaintenanceWindowTasksResponse = DescribeMaintenanceWindowTasksResponse' {
- tasks :: Maybe [MaintenanceWindowTask]
- nextToken :: Maybe Text
- httpStatus :: Int
- newDescribeMaintenanceWindowTasksResponse :: Int -> DescribeMaintenanceWindowTasksResponse
- describeMaintenanceWindowTasksResponse_tasks :: Lens' DescribeMaintenanceWindowTasksResponse (Maybe [MaintenanceWindowTask])
- describeMaintenanceWindowTasksResponse_nextToken :: Lens' DescribeMaintenanceWindowTasksResponse (Maybe Text)
- describeMaintenanceWindowTasksResponse_httpStatus :: Lens' DescribeMaintenanceWindowTasksResponse Int
Creating a Request
data DescribeMaintenanceWindowTasks Source #
See: newDescribeMaintenanceWindowTasks
smart constructor.
DescribeMaintenanceWindowTasks' | |
|
Instances
newDescribeMaintenanceWindowTasks Source #
Create a value of DescribeMaintenanceWindowTasks
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:filters:DescribeMaintenanceWindowTasks'
, describeMaintenanceWindowTasks_filters
- Optional filters used to narrow down the scope of the returned tasks.
The supported filter keys are WindowTaskId
, TaskArn
, Priority
, and
TaskType
.
$sel:nextToken:DescribeMaintenanceWindowTasks'
, describeMaintenanceWindowTasks_nextToken
- The token for the next set of items to return. (You received this token
from a previous call.)
$sel:maxResults:DescribeMaintenanceWindowTasks'
, describeMaintenanceWindowTasks_maxResults
- The maximum number of items to return for this call. The call also
returns a token that you can specify in a subsequent call to get the
next set of results.
$sel:windowId:DescribeMaintenanceWindowTasks'
, describeMaintenanceWindowTasks_windowId
- The ID of the maintenance window whose tasks should be retrieved.
Request Lenses
describeMaintenanceWindowTasks_filters :: Lens' DescribeMaintenanceWindowTasks (Maybe [MaintenanceWindowFilter]) Source #
Optional filters used to narrow down the scope of the returned tasks.
The supported filter keys are WindowTaskId
, TaskArn
, Priority
, and
TaskType
.
describeMaintenanceWindowTasks_nextToken :: Lens' DescribeMaintenanceWindowTasks (Maybe Text) Source #
The token for the next set of items to return. (You received this token from a previous call.)
describeMaintenanceWindowTasks_maxResults :: Lens' DescribeMaintenanceWindowTasks (Maybe Natural) Source #
The maximum number of items to return for this call. The call also returns a token that you can specify in a subsequent call to get the next set of results.
describeMaintenanceWindowTasks_windowId :: Lens' DescribeMaintenanceWindowTasks Text Source #
The ID of the maintenance window whose tasks should be retrieved.
Destructuring the Response
data DescribeMaintenanceWindowTasksResponse Source #
See: newDescribeMaintenanceWindowTasksResponse
smart constructor.
DescribeMaintenanceWindowTasksResponse' | |
|
Instances
newDescribeMaintenanceWindowTasksResponse Source #
Create a value of DescribeMaintenanceWindowTasksResponse
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:tasks:DescribeMaintenanceWindowTasksResponse'
, describeMaintenanceWindowTasksResponse_tasks
- Information about the tasks in the maintenance window.
$sel:nextToken:DescribeMaintenanceWindowTasks'
, describeMaintenanceWindowTasksResponse_nextToken
- The token to use when requesting the next set of items. If there are no
additional items to return, the string is empty.
$sel:httpStatus:DescribeMaintenanceWindowTasksResponse'
, describeMaintenanceWindowTasksResponse_httpStatus
- The response's http status code.
Response Lenses
describeMaintenanceWindowTasksResponse_tasks :: Lens' DescribeMaintenanceWindowTasksResponse (Maybe [MaintenanceWindowTask]) Source #
Information about the tasks in the maintenance window.
describeMaintenanceWindowTasksResponse_nextToken :: Lens' DescribeMaintenanceWindowTasksResponse (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.
describeMaintenanceWindowTasksResponse_httpStatus :: Lens' DescribeMaintenanceWindowTasksResponse Int Source #
The response's http status code.