describe_instance_patch_states
async
¶
describe_instance_patch_states(
instance_ids: InstanceIdList,
*,
config_overrides: Optional[AsyncSSMClientConfig] = None,
next_token: Optional[NextToken] = None,
max_results: Optional[PatchComplianceMaxResults] = None,
) -> DescribeInstancePatchStatesResult
Retrieves the high-level patch state of one or more managed nodes.
Parameters:
-
instance_ids(InstanceIdList) –The ID of the managed node for which patch state information should be retrieved.
-
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 managed nodes to return (per page).
Raises:
-
InternalServerError–An error occurred on the server side.
-
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
4051 4052 4053 4054 4055 4056 4057 4058 4059 4060 4061 4062 4063 4064 4065 4066 4067 4068 4069 4070 4071 4072 4073 4074 4075 4076 4077 4078 4079 4080 4081 4082 4083 4084 4085 4086 4087 4088 4089 4090 4091 4092 4093 4094 4095 4096 4097 4098 4099 4100 4101 4102 4103 4104 4105 4106 4107 4108 4109 4110 4111 4112 4113 4114 4115 4116 4117 4118 4119 4120 | |