describe_maintenance_window_execution_tasks
¶
describe_maintenance_window_execution_tasks(
window_execution_id: MaintenanceWindowExecutionId,
*,
config_overrides: Optional[SSMClientConfig] = None,
filters: Optional[MaintenanceWindowFilterList] = None,
max_results: Optional[MaintenanceWindowMaxResults] = None,
next_token: Optional[NextToken] = None,
) -> DescribeMaintenanceWindowExecutionTasksResult
For a given maintenance window execution, lists the tasks that were run.
Parameters:
-
window_execution_id(MaintenanceWindowExecutionId) –The ID of the maintenance window execution whose task executions should be retrieved.
-
filters(Optional[MaintenanceWindowFilterList], default:None) –Optional filters used to scope down the returned tasks. The supported filter key is
STATUSwith the corresponding valuesPENDING,IN_PROGRESS,SUCCESS,FAILED,TIMED_OUT,CANCELLING, andCANCELLED. -
max_results(Optional[MaintenanceWindowMaxResults], default:None) –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.
-
next_token(Optional[NextToken], default:None) –The token for the next set of items to return. (You received this token from a previous call.)
Raises:
-
DoesNotExistException–Error returned when the ID specified for a resource, such as a maintenance window or patch baseline, doesn't exist.
For information about resource quotas in Amazon Web Services Systems Manager, see Systems Manager service quotas in the Amazon Web Services General Reference.
-
InternalServerError–An error occurred on the server side.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_ssm/_services/ssm.py
4596 4597 4598 4599 4600 4601 4602 4603 4604 4605 4606 4607 4608 4609 4610 4611 4612 4613 4614 4615 4616 4617 4618 4619 4620 4621 4622 4623 4624 4625 4626 4627 4628 4629 4630 4631 4632 4633 4634 4635 4636 4637 4638 4639 4640 4641 4642 4643 4644 4645 4646 4647 4648 4649 4650 4651 4652 4653 4654 4655 4656 4657 | |