describe_instance_patch_states_for_patch_group
async
¶
describe_instance_patch_states_for_patch_group(
patch_group: PatchGroup,
*,
config_overrides: Optional[AsyncSSMClientConfig] = 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/async_ssm.py
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 4175 4176 4177 4178 4179 4180 4181 4182 4183 4184 4185 4186 4187 4188 4189 4190 4191 4192 4193 4194 4195 4196 4197 4198 4199 4200 4201 4202 4203 4204 4205 4206 4207 4208 4209 4210 4211 4212 4213 4214 4215 4216 4217 4218 4219 4220 4221 | |