describe_maintenance_window_schedule
async
¶
describe_maintenance_window_schedule(
*,
config_overrides: Optional[AsyncSSMClientConfig] = 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/async_ssm.py
4839 4840 4841 4842 4843 4844 4845 4846 4847 4848 4849 4850 4851 4852 4853 4854 4855 4856 4857 4858 4859 4860 4861 4862 4863 4864 4865 4866 4867 4868 4869 4870 4871 4872 4873 4874 4875 4876 4877 4878 4879 4880 4881 4882 4883 4884 4885 4886 4887 4888 4889 4890 4891 4892 4893 4894 4895 4896 4897 4898 4899 4900 4901 4902 4903 4904 4905 4906 4907 4908 4909 4910 4911 4912 | |