describe_instance_properties
¶
describe_instance_properties(
*,
config_overrides: Optional[SSMClientConfig] = None,
instance_property_filter_list: Optional[InstancePropertyFilterList] = None,
filters_with_operator: Optional[InstancePropertyStringFilterList] = None,
max_results: Optional[DescribeInstancePropertiesMaxResults] = None,
next_token: Optional[NextToken] = None,
) -> DescribeInstancePropertiesResult
An API operation used by the Systems Manager console to display information about Systems Manager managed nodes.
Parameters:
-
instance_property_filter_list(Optional[InstancePropertyFilterList], default:None) –An array of instance property filters.
-
filters_with_operator(Optional[InstancePropertyStringFilterList], default:None) –The request filters to use with the operator.
-
max_results(Optional[DescribeInstancePropertiesMaxResults], default:None) –The maximum number of items to return for the 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 provided by a previous request to use to return the next set of properties.
Raises:
-
InternalServerError–An error occurred on the server side.
-
InvalidActivationId–The activation ID isn't valid. Verify that you entered the correct ActivationId or ActivationCode and try again.
-
InvalidDocument–The specified SSM document doesn't exist.
-
InvalidFilterKey–The specified key isn't valid.
-
InvalidInstanceId–The following problems can cause this exception:
-
You don't have permission to access the managed node.
-
Amazon Web Services Systems Manager Agent (SSM Agent) isn't running. Verify that SSM Agent is running.
-
SSM Agent isn't registered with the SSM endpoint. Try reinstalling SSM Agent.
-
The managed node isn't in a valid state. Valid states are:
Running,Pending,Stopped, andStopping. Invalid states are:Shutting-downandTerminated.
-
-
InvalidInstancePropertyFilterValue–The specified filter value isn't valid.
-
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
4205 4206 4207 4208 4209 4210 4211 4212 4213 4214 4215 4216 4217 4218 4219 4220 4221 4222 4223 4224 4225 4226 4227 4228 4229 4230 4231 4232 4233 4234 4235 4236 4237 4238 4239 4240 4241 4242 4243 4244 4245 4246 4247 4248 4249 4250 4251 4252 4253 4254 4255 4256 4257 4258 4259 4260 4261 4262 4263 4264 4265 4266 4267 4268 4269 4270 4271 4272 4273 4274 4275 4276 4277 4278 4279 4280 4281 4282 4283 4284 | |