describe_maintenance_window_targets
¶
describe_maintenance_window_targets(
window_id: MaintenanceWindowId,
*,
config_overrides: Optional[SSMClientConfig] = None,
filters: Optional[MaintenanceWindowFilterList] = None,
max_results: Optional[MaintenanceWindowMaxResults] = None,
next_token: Optional[NextToken] = None,
) -> DescribeMaintenanceWindowTargetsResult
Lists the targets registered with the maintenance window.
Parameters:
-
window_id(MaintenanceWindowId) –The ID of the maintenance window whose targets should be retrieved.
-
filters(Optional[MaintenanceWindowFilterList], default:None) –Optional filters that can be used to narrow down the scope of the returned window targets. The supported filter keys are
Type,WindowTargetId, andOwnerInformation. -
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
4982 4983 4984 4985 4986 4987 4988 4989 4990 4991 4992 4993 4994 4995 4996 4997 4998 4999 5000 5001 5002 5003 5004 5005 5006 5007 5008 5009 5010 5011 5012 5013 5014 5015 5016 5017 5018 5019 5020 5021 5022 5023 5024 5025 5026 5027 5028 5029 5030 5031 5032 5033 5034 5035 5036 5037 5038 5039 5040 5041 5042 5043 5044 5045 5046 5047 5048 5049 5050 5051 5052 5053 5054 | |