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 |
Retrieves information about upcoming executions of a maintenance window.
This operation returns paginated results.
Synopsis
- data DescribeMaintenanceWindowSchedule = DescribeMaintenanceWindowSchedule' {}
- newDescribeMaintenanceWindowSchedule :: DescribeMaintenanceWindowSchedule
- describeMaintenanceWindowSchedule_resourceType :: Lens' DescribeMaintenanceWindowSchedule (Maybe MaintenanceWindowResourceType)
- describeMaintenanceWindowSchedule_filters :: Lens' DescribeMaintenanceWindowSchedule (Maybe [PatchOrchestratorFilter])
- describeMaintenanceWindowSchedule_nextToken :: Lens' DescribeMaintenanceWindowSchedule (Maybe Text)
- describeMaintenanceWindowSchedule_targets :: Lens' DescribeMaintenanceWindowSchedule (Maybe [Target])
- describeMaintenanceWindowSchedule_maxResults :: Lens' DescribeMaintenanceWindowSchedule (Maybe Natural)
- describeMaintenanceWindowSchedule_windowId :: Lens' DescribeMaintenanceWindowSchedule (Maybe Text)
- data DescribeMaintenanceWindowScheduleResponse = DescribeMaintenanceWindowScheduleResponse' {}
- newDescribeMaintenanceWindowScheduleResponse :: Int -> DescribeMaintenanceWindowScheduleResponse
- describeMaintenanceWindowScheduleResponse_scheduledWindowExecutions :: Lens' DescribeMaintenanceWindowScheduleResponse (Maybe [ScheduledWindowExecution])
- describeMaintenanceWindowScheduleResponse_nextToken :: Lens' DescribeMaintenanceWindowScheduleResponse (Maybe Text)
- describeMaintenanceWindowScheduleResponse_httpStatus :: Lens' DescribeMaintenanceWindowScheduleResponse Int
Creating a Request
data DescribeMaintenanceWindowSchedule Source #
See: newDescribeMaintenanceWindowSchedule
smart constructor.
DescribeMaintenanceWindowSchedule' | |
|
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:
$sel:resourceType:DescribeMaintenanceWindowSchedule'
, describeMaintenanceWindowSchedule_resourceType
- The type of resource you want to retrieve information about. For
example, INSTANCE
.
$sel:filters: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:nextToken:DescribeMaintenanceWindowSchedule'
, describeMaintenanceWindowSchedule_nextToken
- The token for the next set of items to return. (You received this token
from a previous call.)
$sel:targets:DescribeMaintenanceWindowSchedule'
, describeMaintenanceWindowSchedule_targets
- The instance ID or key-value pair to retrieve information about.
$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.
$sel:windowId:DescribeMaintenanceWindowSchedule'
, describeMaintenanceWindowSchedule_windowId
- The ID of the maintenance window to retrieve information about.
Request Lenses
describeMaintenanceWindowSchedule_resourceType :: Lens' DescribeMaintenanceWindowSchedule (Maybe MaintenanceWindowResourceType) Source #
The type of resource you want to retrieve information about. For
example, INSTANCE
.
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_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_targets :: Lens' DescribeMaintenanceWindowSchedule (Maybe [Target]) Source #
The instance ID or key-value pair to retrieve information about.
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_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.
DescribeMaintenanceWindowScheduleResponse' | |
|
Instances
newDescribeMaintenanceWindowScheduleResponse Source #
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:
$sel:scheduledWindowExecutions:DescribeMaintenanceWindowScheduleResponse'
, describeMaintenanceWindowScheduleResponse_scheduledWindowExecutions
- Information about maintenance window executions scheduled for the
specified time range.
$sel:nextToken:DescribeMaintenanceWindowSchedule'
, describeMaintenanceWindowScheduleResponse_nextToken
- The token for the next set of items to return. (You use this token in
the next call.)
$sel:httpStatus:DescribeMaintenanceWindowScheduleResponse'
, describeMaintenanceWindowScheduleResponse_httpStatus
- The response's http status code.
Response Lenses
describeMaintenanceWindowScheduleResponse_scheduledWindowExecutions :: Lens' DescribeMaintenanceWindowScheduleResponse (Maybe [ScheduledWindowExecution]) Source #
Information about maintenance window executions scheduled for the specified time range.
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_httpStatus :: Lens' DescribeMaintenanceWindowScheduleResponse Int Source #
The response's http status code.