describe_maintenance_windows
¶
describe_maintenance_windows(
*,
config_overrides: Optional[SSMClientConfig] = None,
filters: Optional[MaintenanceWindowFilterList] = None,
max_results: Optional[MaintenanceWindowMaxResults] = None,
next_token: Optional[NextToken] = None,
) -> DescribeMaintenanceWindowsResult
Retrieves the maintenance windows in an Amazon Web Services account.
Parameters:
-
filters(Optional[MaintenanceWindowFilterList], default:None) –Optional filters used to narrow down the scope of the returned maintenance windows. Supported filter keys are
NameandEnabled. For example,Name=MyMaintenanceWindowandEnabled=True. -
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:
-
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
4688 4689 4690 4691 4692 4693 4694 4695 4696 4697 4698 4699 4700 4701 4702 4703 4704 4705 4706 4707 4708 4709 4710 4711 4712 4713 4714 4715 4716 4717 4718 4719 4720 4721 4722 4723 4724 4725 4726 4727 4728 4729 4730 4731 4732 4733 4734 4735 4736 4737 4738 4739 4740 4741 4742 4743 4744 4745 4746 4747 4748 4749 4750 4751 4752 4753 4754 4755 | |