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 executions of a maintenance window. This includes information about when the maintenance window was scheduled to be active, and information about tasks registered and run with the maintenance window.
This operation returns paginated results.
Synopsis
- data DescribeMaintenanceWindowExecutions = DescribeMaintenanceWindowExecutions' {}
- newDescribeMaintenanceWindowExecutions :: Text -> DescribeMaintenanceWindowExecutions
- describeMaintenanceWindowExecutions_filters :: Lens' DescribeMaintenanceWindowExecutions (Maybe [MaintenanceWindowFilter])
- describeMaintenanceWindowExecutions_nextToken :: Lens' DescribeMaintenanceWindowExecutions (Maybe Text)
- describeMaintenanceWindowExecutions_maxResults :: Lens' DescribeMaintenanceWindowExecutions (Maybe Natural)
- describeMaintenanceWindowExecutions_windowId :: Lens' DescribeMaintenanceWindowExecutions Text
- data DescribeMaintenanceWindowExecutionsResponse = DescribeMaintenanceWindowExecutionsResponse' {}
- newDescribeMaintenanceWindowExecutionsResponse :: Int -> DescribeMaintenanceWindowExecutionsResponse
- describeMaintenanceWindowExecutionsResponse_windowExecutions :: Lens' DescribeMaintenanceWindowExecutionsResponse (Maybe [MaintenanceWindowExecution])
- describeMaintenanceWindowExecutionsResponse_nextToken :: Lens' DescribeMaintenanceWindowExecutionsResponse (Maybe Text)
- describeMaintenanceWindowExecutionsResponse_httpStatus :: Lens' DescribeMaintenanceWindowExecutionsResponse Int
Creating a Request
data DescribeMaintenanceWindowExecutions Source #
See: newDescribeMaintenanceWindowExecutions
smart constructor.
DescribeMaintenanceWindowExecutions' | |
|
Instances
newDescribeMaintenanceWindowExecutions Source #
Create a value of DescribeMaintenanceWindowExecutions
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:DescribeMaintenanceWindowExecutions'
, describeMaintenanceWindowExecutions_filters
- Each entry in the array is a structure containing:
- Key. A string between 1 and 128 characters. Supported keys include
ExecutedBefore
andExecutedAfter
. - Values. An array of strings, each between 1 and 256 characters.
Supported values are date/time strings in a valid ISO 8601
date/time format, such as
2021-11-04T05:00:00Z
.
$sel:nextToken:DescribeMaintenanceWindowExecutions'
, describeMaintenanceWindowExecutions_nextToken
- The token for the next set of items to return. (You received this token
from a previous call.)
$sel:maxResults:DescribeMaintenanceWindowExecutions'
, describeMaintenanceWindowExecutions_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:DescribeMaintenanceWindowExecutions'
, describeMaintenanceWindowExecutions_windowId
- The ID of the maintenance window whose executions should be retrieved.
Request Lenses
describeMaintenanceWindowExecutions_filters :: Lens' DescribeMaintenanceWindowExecutions (Maybe [MaintenanceWindowFilter]) Source #
Each entry in the array is a structure containing:
- Key. A string between 1 and 128 characters. Supported keys include
ExecutedBefore
andExecutedAfter
. - Values. An array of strings, each between 1 and 256 characters.
Supported values are date/time strings in a valid ISO 8601
date/time format, such as
2021-11-04T05:00:00Z
.
describeMaintenanceWindowExecutions_nextToken :: Lens' DescribeMaintenanceWindowExecutions (Maybe Text) Source #
The token for the next set of items to return. (You received this token from a previous call.)
describeMaintenanceWindowExecutions_maxResults :: Lens' DescribeMaintenanceWindowExecutions (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.
describeMaintenanceWindowExecutions_windowId :: Lens' DescribeMaintenanceWindowExecutions Text Source #
The ID of the maintenance window whose executions should be retrieved.
Destructuring the Response
data DescribeMaintenanceWindowExecutionsResponse Source #
See: newDescribeMaintenanceWindowExecutionsResponse
smart constructor.
DescribeMaintenanceWindowExecutionsResponse' | |
|
Instances
newDescribeMaintenanceWindowExecutionsResponse Source #
:: Int |
|
-> DescribeMaintenanceWindowExecutionsResponse |
Create a value of DescribeMaintenanceWindowExecutionsResponse
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:windowExecutions:DescribeMaintenanceWindowExecutionsResponse'
, describeMaintenanceWindowExecutionsResponse_windowExecutions
- Information about the maintenance window executions.
$sel:nextToken:DescribeMaintenanceWindowExecutions'
, describeMaintenanceWindowExecutionsResponse_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:DescribeMaintenanceWindowExecutionsResponse'
, describeMaintenanceWindowExecutionsResponse_httpStatus
- The response's http status code.
Response Lenses
describeMaintenanceWindowExecutionsResponse_windowExecutions :: Lens' DescribeMaintenanceWindowExecutionsResponse (Maybe [MaintenanceWindowExecution]) Source #
Information about the maintenance window executions.
describeMaintenanceWindowExecutionsResponse_nextToken :: Lens' DescribeMaintenanceWindowExecutionsResponse (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.
describeMaintenanceWindowExecutionsResponse_httpStatus :: Lens' DescribeMaintenanceWindowExecutionsResponse Int Source #
The response's http status code.