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 |
For a given maintenance window execution, lists the tasks that were run.
This operation returns paginated results.
Synopsis
- data DescribeMaintenanceWindowExecutionTasks = DescribeMaintenanceWindowExecutionTasks' {}
- newDescribeMaintenanceWindowExecutionTasks :: Text -> DescribeMaintenanceWindowExecutionTasks
- describeMaintenanceWindowExecutionTasks_filters :: Lens' DescribeMaintenanceWindowExecutionTasks (Maybe [MaintenanceWindowFilter])
- describeMaintenanceWindowExecutionTasks_nextToken :: Lens' DescribeMaintenanceWindowExecutionTasks (Maybe Text)
- describeMaintenanceWindowExecutionTasks_maxResults :: Lens' DescribeMaintenanceWindowExecutionTasks (Maybe Natural)
- describeMaintenanceWindowExecutionTasks_windowExecutionId :: Lens' DescribeMaintenanceWindowExecutionTasks Text
- data DescribeMaintenanceWindowExecutionTasksResponse = DescribeMaintenanceWindowExecutionTasksResponse' {}
- newDescribeMaintenanceWindowExecutionTasksResponse :: Int -> DescribeMaintenanceWindowExecutionTasksResponse
- describeMaintenanceWindowExecutionTasksResponse_nextToken :: Lens' DescribeMaintenanceWindowExecutionTasksResponse (Maybe Text)
- describeMaintenanceWindowExecutionTasksResponse_windowExecutionTaskIdentities :: Lens' DescribeMaintenanceWindowExecutionTasksResponse (Maybe [MaintenanceWindowExecutionTaskIdentity])
- describeMaintenanceWindowExecutionTasksResponse_httpStatus :: Lens' DescribeMaintenanceWindowExecutionTasksResponse Int
Creating a Request
data DescribeMaintenanceWindowExecutionTasks Source #
See: newDescribeMaintenanceWindowExecutionTasks
smart constructor.
DescribeMaintenanceWindowExecutionTasks' | |
|
Instances
newDescribeMaintenanceWindowExecutionTasks Source #
:: Text |
|
-> DescribeMaintenanceWindowExecutionTasks |
Create a value of DescribeMaintenanceWindowExecutionTasks
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:DescribeMaintenanceWindowExecutionTasks'
, describeMaintenanceWindowExecutionTasks_filters
- Optional filters used to scope down the returned tasks. The supported
filter key is STATUS
with the corresponding values PENDING
,
IN_PROGRESS
, SUCCESS
, FAILED
, TIMED_OUT
, CANCELLING
, and
CANCELLED
.
$sel:nextToken:DescribeMaintenanceWindowExecutionTasks'
, describeMaintenanceWindowExecutionTasks_nextToken
- The token for the next set of items to return. (You received this token
from a previous call.)
$sel:maxResults:DescribeMaintenanceWindowExecutionTasks'
, describeMaintenanceWindowExecutionTasks_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:windowExecutionId:DescribeMaintenanceWindowExecutionTasks'
, describeMaintenanceWindowExecutionTasks_windowExecutionId
- The ID of the maintenance window execution whose task executions should
be retrieved.
Request Lenses
describeMaintenanceWindowExecutionTasks_filters :: Lens' DescribeMaintenanceWindowExecutionTasks (Maybe [MaintenanceWindowFilter]) Source #
Optional filters used to scope down the returned tasks. The supported
filter key is STATUS
with the corresponding values PENDING
,
IN_PROGRESS
, SUCCESS
, FAILED
, TIMED_OUT
, CANCELLING
, and
CANCELLED
.
describeMaintenanceWindowExecutionTasks_nextToken :: Lens' DescribeMaintenanceWindowExecutionTasks (Maybe Text) Source #
The token for the next set of items to return. (You received this token from a previous call.)
describeMaintenanceWindowExecutionTasks_maxResults :: Lens' DescribeMaintenanceWindowExecutionTasks (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.
describeMaintenanceWindowExecutionTasks_windowExecutionId :: Lens' DescribeMaintenanceWindowExecutionTasks Text Source #
The ID of the maintenance window execution whose task executions should be retrieved.
Destructuring the Response
data DescribeMaintenanceWindowExecutionTasksResponse Source #
See: newDescribeMaintenanceWindowExecutionTasksResponse
smart constructor.
DescribeMaintenanceWindowExecutionTasksResponse' | |
|
Instances
newDescribeMaintenanceWindowExecutionTasksResponse Source #
:: Int |
|
-> DescribeMaintenanceWindowExecutionTasksResponse |
Create a value of DescribeMaintenanceWindowExecutionTasksResponse
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:nextToken:DescribeMaintenanceWindowExecutionTasks'
, describeMaintenanceWindowExecutionTasksResponse_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:windowExecutionTaskIdentities:DescribeMaintenanceWindowExecutionTasksResponse'
, describeMaintenanceWindowExecutionTasksResponse_windowExecutionTaskIdentities
- Information about the task executions.
$sel:httpStatus:DescribeMaintenanceWindowExecutionTasksResponse'
, describeMaintenanceWindowExecutionTasksResponse_httpStatus
- The response's http status code.
Response Lenses
describeMaintenanceWindowExecutionTasksResponse_nextToken :: Lens' DescribeMaintenanceWindowExecutionTasksResponse (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.
describeMaintenanceWindowExecutionTasksResponse_windowExecutionTaskIdentities :: Lens' DescribeMaintenanceWindowExecutionTasksResponse (Maybe [MaintenanceWindowExecutionTaskIdentity]) Source #
Information about the task executions.
describeMaintenanceWindowExecutionTasksResponse_httpStatus :: Lens' DescribeMaintenanceWindowExecutionTasksResponse Int Source #
The response's http status code.