describe_maintenance_window_schedule
¶
describe_maintenance_window_schedule(
*,
config_overrides: Optional[SSMClientConfig] = None,
window_id: Optional[MaintenanceWindowId] = None,
targets: Optional[Targets] = None,
resource_type: Optional[MaintenanceWindowResourceType] = None,
filters: Optional[PatchOrchestratorFilterList] = None,
max_results: Optional[MaintenanceWindowSearchMaxResults] = None,
next_token: Optional[NextToken] = None,
) -> DescribeMaintenanceWindowScheduleResult
Retrieves information about upcoming executions of a maintenance window.
Parameters:
-
window_id(Optional[MaintenanceWindowId], default:None) –The ID of the maintenance window to retrieve information about.
-
targets(Optional[Targets], default:None) –The managed node ID or key-value pair to retrieve information about.
-
resource_type(Optional[MaintenanceWindowResourceType], default:None) –The type of resource you want to retrieve information about. For example,
INSTANCE. -
filters(Optional[PatchOrchestratorFilterList], default:None) –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.
-
max_results(Optional[MaintenanceWindowSearchMaxResults], 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
4786 4787 4788 4789 4790 4791 4792 4793 4794 4795 4796 4797 4798 4799 4800 4801 4802 4803 4804 4805 4806 4807 4808 4809 4810 4811 4812 4813 4814 4815 4816 4817 4818 4819 4820 4821 4822 4823 4824 4825 4826 4827 4828 4829 4830 4831 4832 4833 4834 4835 4836 4837 4838 4839 4840 4841 4842 4843 4844 4845 4846 4847 4848 4849 4850 4851 4852 4853 4854 4855 4856 4857 4858 | |