describe_instance_patch_states_for_patch_group
¶
describe_instance_patch_states_for_patch_group(
patch_group: PatchGroup,
*,
config_overrides: Optional[SSMClientConfig] = None,
filters: Optional[InstancePatchStateFilterList] = None,
next_token: Optional[NextToken] = None,
max_results: Optional[PatchComplianceMaxResults] = None,
) -> DescribeInstancePatchStatesForPatchGroupResult
Retrieves the high-level patch state for the managed nodes in the specified patch group.
Parameters:
-
patch_group(PatchGroup) –The name of the patch group for which the patch state information should be retrieved.
-
filters(Optional[InstancePatchStateFilterList], default:None) –Each entry in the array is a structure containing:
-
Key (string between 1 and 200 characters)
-
Values (array containing a single string)
-
Type (string "Equal", "NotEqual", "LessThan", "GreaterThan")
-
-
next_token(Optional[NextToken], default:None) –The token for the next set of items to return. (You received this token from a previous call.)
-
max_results(Optional[PatchComplianceMaxResults], default:None) –The maximum number of patches to return (per page).
Raises:
-
InternalServerError–An error occurred on the server side.
-
InvalidFilter–The filter name isn't valid. Verify that you entered the correct name and try again.
-
InvalidNextToken–The specified token isn't valid.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_ssm/_services/ssm.py
4101 4102 4103 4104 4105 4106 4107 4108 4109 4110 4111 4112 4113 4114 4115 4116 4117 4118 4119 4120 4121 4122 4123 4124 4125 4126 4127 4128 4129 4130 4131 4132 4133 4134 4135 4136 4137 4138 4139 4140 4141 4142 4143 4144 4145 4146 4147 4148 4149 4150 4151 4152 4153 4154 4155 4156 4157 4158 4159 4160 4161 4162 4163 4164 4165 4166 4167 4168 4169 4170 4171 4172 4173 4174 | |