| 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 |
Amazonka.SSM.DescribeMaintenanceWindowTasks
Description
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_maxResults :: Lens' DescribeMaintenanceWindowTasks (Maybe Natural)
- describeMaintenanceWindowTasks_nextToken :: Lens' DescribeMaintenanceWindowTasks (Maybe Text)
- describeMaintenanceWindowTasks_windowId :: Lens' DescribeMaintenanceWindowTasks Text
- data DescribeMaintenanceWindowTasksResponse = DescribeMaintenanceWindowTasksResponse' {
- nextToken :: Maybe Text
- tasks :: Maybe [MaintenanceWindowTask]
- httpStatus :: Int
- newDescribeMaintenanceWindowTasksResponse :: Int -> DescribeMaintenanceWindowTasksResponse
- describeMaintenanceWindowTasksResponse_nextToken :: Lens' DescribeMaintenanceWindowTasksResponse (Maybe Text)
- describeMaintenanceWindowTasksResponse_tasks :: Lens' DescribeMaintenanceWindowTasksResponse (Maybe [MaintenanceWindowTask])
- describeMaintenanceWindowTasksResponse_httpStatus :: Lens' DescribeMaintenanceWindowTasksResponse Int
Creating a Request
data DescribeMaintenanceWindowTasks Source #
See: newDescribeMaintenanceWindowTasks smart constructor.
Constructors
| DescribeMaintenanceWindowTasks' | |
Fields
| |
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:
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: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.
DescribeMaintenanceWindowTasks, describeMaintenanceWindowTasks_nextToken - The token for the next set of items to return. (You received this token
from a previous call.)
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_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_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_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.
Constructors
| DescribeMaintenanceWindowTasksResponse' | |
Fields
| |
Instances
newDescribeMaintenanceWindowTasksResponse Source #
Arguments
| :: Int | |
| -> DescribeMaintenanceWindowTasksResponse |
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:
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:tasks:DescribeMaintenanceWindowTasksResponse', describeMaintenanceWindowTasksResponse_tasks - Information about the tasks in the maintenance window.
$sel:httpStatus:DescribeMaintenanceWindowTasksResponse', describeMaintenanceWindowTasksResponse_httpStatus - The response's http status code.
Response Lenses
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_tasks :: Lens' DescribeMaintenanceWindowTasksResponse (Maybe [MaintenanceWindowTask]) Source #
Information about the tasks in the maintenance window.
describeMaintenanceWindowTasksResponse_httpStatus :: Lens' DescribeMaintenanceWindowTasksResponse Int Source #
The response's http status code.