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
4905 4906 4907 4908 4909 4910 4911 4912 4913 4914 4915 4916 4917 4918 4919 4920 4921 4922 4923 4924 4925 4926 4927 4928 4929 4930 4931 4932 4933 4934 4935 4936 4937 4938 4939 4940 4941 4942 4943 4944 4945 4946 4947 4948 4949 4950 4951 4952 4953 4954 4955 4956 4957 4958 4959 4960 4961 4962 4963 4964 4965 4966 4967 4968 4969 4970 4971 4972 4973 4974 4975 4976 4977 4978 | |