describe_effective_patches_for_patch_baseline
¶
describe_effective_patches_for_patch_baseline(
baseline_id: BaselineId,
*,
config_overrides: Optional[SSMClientConfig] = None,
max_results: Optional[PatchBaselineMaxResults] = None,
next_token: Optional[NextToken] = None,
) -> DescribeEffectivePatchesForPatchBaselineResult
Retrieves the current effective patches (the patch and the approval state) for the specified patch baseline. Applies to patch baselines for Windows only.
Parameters:
-
baseline_id(BaselineId) –The ID of the patch baseline to retrieve the effective patches for.
-
max_results(Optional[PatchBaselineMaxResults], default:None) –The maximum number of patches to return (per page).
-
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.
-
InvalidResourceId–The resource ID isn't valid. Verify that you entered the correct ID and try again.
-
UnsupportedOperatingSystem–The operating systems you specified isn't supported, or the operation isn't supported for the operating system.
-
UnknownServiceError–The service returned an error code this client does not model.