| 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.DescribeMaintenanceWindowSchedule
Description
Retrieves information about upcoming executions of a maintenance window.
This operation returns paginated results.
Synopsis
- data DescribeMaintenanceWindowSchedule = DescribeMaintenanceWindowSchedule' {}
- newDescribeMaintenanceWindowSchedule :: DescribeMaintenanceWindowSchedule
- describeMaintenanceWindowSchedule_filters :: Lens' DescribeMaintenanceWindowSchedule (Maybe [PatchOrchestratorFilter])
- describeMaintenanceWindowSchedule_maxResults :: Lens' DescribeMaintenanceWindowSchedule (Maybe Natural)
- describeMaintenanceWindowSchedule_nextToken :: Lens' DescribeMaintenanceWindowSchedule (Maybe Text)
- describeMaintenanceWindowSchedule_resourceType :: Lens' DescribeMaintenanceWindowSchedule (Maybe MaintenanceWindowResourceType)
- describeMaintenanceWindowSchedule_targets :: Lens' DescribeMaintenanceWindowSchedule (Maybe [Target])
- describeMaintenanceWindowSchedule_windowId :: Lens' DescribeMaintenanceWindowSchedule (Maybe Text)
- data DescribeMaintenanceWindowScheduleResponse = DescribeMaintenanceWindowScheduleResponse' {}
- newDescribeMaintenanceWindowScheduleResponse :: Int -> DescribeMaintenanceWindowScheduleResponse
- describeMaintenanceWindowScheduleResponse_nextToken :: Lens' DescribeMaintenanceWindowScheduleResponse (Maybe Text)
- describeMaintenanceWindowScheduleResponse_scheduledWindowExecutions :: Lens' DescribeMaintenanceWindowScheduleResponse (Maybe [ScheduledWindowExecution])
- describeMaintenanceWindowScheduleResponse_httpStatus :: Lens' DescribeMaintenanceWindowScheduleResponse Int
Creating a Request
data DescribeMaintenanceWindowSchedule Source #
See: newDescribeMaintenanceWindowSchedule smart constructor.
Constructors
| DescribeMaintenanceWindowSchedule' | |
Fields
| |
Instances
newDescribeMaintenanceWindowSchedule :: DescribeMaintenanceWindowSchedule Source #
Create a value of DescribeMaintenanceWindowSchedule 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:
DescribeMaintenanceWindowSchedule, describeMaintenanceWindowSchedule_filters - Filters used to limit the range of results. For example, you can limit
maintenance window executions to only those scheduled before or after a
certain date and time.
$sel:maxResults:DescribeMaintenanceWindowSchedule', describeMaintenanceWindowSchedule_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.
DescribeMaintenanceWindowSchedule, describeMaintenanceWindowSchedule_nextToken - The token for the next set of items to return. (You received this token
from a previous call.)
DescribeMaintenanceWindowSchedule, describeMaintenanceWindowSchedule_resourceType - The type of resource you want to retrieve information about. For
example, INSTANCE.
DescribeMaintenanceWindowSchedule, describeMaintenanceWindowSchedule_targets - The managed node ID or key-value pair to retrieve information about.
DescribeMaintenanceWindowSchedule, describeMaintenanceWindowSchedule_windowId - The ID of the maintenance window to retrieve information about.
Request Lenses
describeMaintenanceWindowSchedule_filters :: Lens' DescribeMaintenanceWindowSchedule (Maybe [PatchOrchestratorFilter]) Source #
Filters used to limit the range of results. For example, you can limit maintenance window executions to only those scheduled before or after a certain date and time.
describeMaintenanceWindowSchedule_maxResults :: Lens' DescribeMaintenanceWindowSchedule (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.
describeMaintenanceWindowSchedule_nextToken :: Lens' DescribeMaintenanceWindowSchedule (Maybe Text) Source #
The token for the next set of items to return. (You received this token from a previous call.)
describeMaintenanceWindowSchedule_resourceType :: Lens' DescribeMaintenanceWindowSchedule (Maybe MaintenanceWindowResourceType) Source #
The type of resource you want to retrieve information about. For
example, INSTANCE.
describeMaintenanceWindowSchedule_targets :: Lens' DescribeMaintenanceWindowSchedule (Maybe [Target]) Source #
The managed node ID or key-value pair to retrieve information about.
describeMaintenanceWindowSchedule_windowId :: Lens' DescribeMaintenanceWindowSchedule (Maybe Text) Source #
The ID of the maintenance window to retrieve information about.
Destructuring the Response
data DescribeMaintenanceWindowScheduleResponse Source #
See: newDescribeMaintenanceWindowScheduleResponse smart constructor.
Constructors
| DescribeMaintenanceWindowScheduleResponse' | |
Fields
| |
Instances
newDescribeMaintenanceWindowScheduleResponse Source #
Arguments
| :: Int | |
| -> DescribeMaintenanceWindowScheduleResponse |
Create a value of DescribeMaintenanceWindowScheduleResponse 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:
DescribeMaintenanceWindowSchedule, describeMaintenanceWindowScheduleResponse_nextToken - The token for the next set of items to return. (You use this token in
the next call.)
$sel:scheduledWindowExecutions:DescribeMaintenanceWindowScheduleResponse', describeMaintenanceWindowScheduleResponse_scheduledWindowExecutions - Information about maintenance window executions scheduled for the
specified time range.
$sel:httpStatus:DescribeMaintenanceWindowScheduleResponse', describeMaintenanceWindowScheduleResponse_httpStatus - The response's http status code.
Response Lenses
describeMaintenanceWindowScheduleResponse_nextToken :: Lens' DescribeMaintenanceWindowScheduleResponse (Maybe Text) Source #
The token for the next set of items to return. (You use this token in the next call.)
describeMaintenanceWindowScheduleResponse_scheduledWindowExecutions :: Lens' DescribeMaintenanceWindowScheduleResponse (Maybe [ScheduledWindowExecution]) Source #
Information about maintenance window executions scheduled for the specified time range.
describeMaintenanceWindowScheduleResponse_httpStatus :: Lens' DescribeMaintenanceWindowScheduleResponse Int Source #
The response's http status code.