describe_maintenance_window_tasks
¶
describe_maintenance_window_tasks(
window_id: MaintenanceWindowId,
*,
config_overrides: Optional[SSMClientConfig] = None,
filters: Optional[MaintenanceWindowFilterList] = None,
max_results: Optional[MaintenanceWindowMaxResults] = None,
next_token: Optional[NextToken] = None,
) -> DescribeMaintenanceWindowTasksResult
Lists the tasks in a maintenance window.
For maintenance window tasks without a specified target, you can't supply values for --max-errors and --max-concurrency. Instead, the system inserts a placeholder value of 1, which may be reported in the response to this command. These values don't affect the running of your task and can be ignored.
Parameters:
-
window_id(MaintenanceWindowId) –The ID of the maintenance window whose tasks should be retrieved.
-
filters(Optional[MaintenanceWindowFilterList], default:None) –Optional filters used to narrow down the scope of the returned tasks. The supported filter keys are
WindowTaskId,TaskArn,Priority, andTaskType. -
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
5085 5086 5087 5088 5089 5090 5091 5092 5093 5094 5095 5096 5097 5098 5099 5100 5101 5102 5103 5104 5105 5106 5107 5108 5109 5110 5111 5112 5113 5114 5115 5116 5117 5118 5119 5120 5121 5122 5123 5124 5125 5126 5127 5128 5129 5130 5131 5132 5133 5134 5135 5136 5137 5138 5139 5140 5141 5142 5143 5144 5145 5146 5147 5148 5149 5150 5151 5152 5153 5154 5155 5156 5157 | |