describe_instance_properties
async
¶
describe_instance_properties(
*,
config_overrides: Optional[AsyncSSMClientConfig] = 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/async_ssm.py
4318 4319 4320 4321 4322 4323 4324 4325 4326 4327 4328 4329 4330 4331 4332 4333 4334 4335 4336 4337 4338 4339 4340 4341 4342 4343 4344 4345 4346 4347 4348 4349 4350 4351 4352 4353 4354 4355 4356 4357 4358 4359 4360 4361 4362 4363 4364 4365 4366 4367 4368 4369 4370 4371 4372 4373 4374 4375 4376 4377 4378 4379 4380 4381 4382 4383 4384 4385 4386 4387 4388 4389 4390 4391 4392 4393 4394 4395 4396 4397 4398 | |