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
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 4285 4286 4287 4288 4289 4290 4291 4292 4293 4294 4295 4296 4297 4298 4299 4300 4301 4302 4303 4304 4305 4306 4307 4308 4309 4310 4311 4312 4313 4314 4315 4316 4317 4318 4319 4320 4321 4322 4323 4324 4325 4326 4327 4328 4329 4330 4331 4332 | |