SSMClient.describe_instance_information
rboto-ssm==0.4.0 · Service index · Types
Model summary (excerpt): Provides information about one or more of your managed nodes, including the operating system platform, SSM Agent version, association status, and IP address. This operation does not return information for nodes that are either Stopped or Terminated. If you specify one or more node IDs, the operation returns information for those managed nodes. If you don't specify node IDs, it returns...
Install and imports
from rboto import SSMClient
from collections.abc import Sequence
from rboto_ssm.types import (
DescribeInstanceInformationOutput,
InstanceInformationFilter,
InstanceInformationStringFilter,
)
Signature
async def describe_instance_information(
*,
instance_information_filter_list: Sequence[InstanceInformationFilter] | None = None,
filters: Sequence[InstanceInformationStringFilter] | None = None,
max_results: int | None = None,
next_token: str | None = None,
) -> DescribeInstanceInformationOutput: ...
Arguments without defaults are required. None omits an optional request argument. Static types do not validate resource existence, permissions, lengths, ranges, or conditional service requirements.
Arguments
| Argument | Required | Model notes (excerpt) |
|---|---|---|
instance_information_filter_list |
No | This is a legacy method. We recommend that you don't use this method. Instead, use the Filters data type. Filters enables you to return node information by filtering based on tags applied to managed nodes. Attempting to use InstanceInformationFilterList and Filters leads to an exception error. |
filters |
No | One or more filters. Use a filter to return a more specific list of managed nodes. You can filter based on tags applied to your managed nodes. Tag filters can't be combined with other filter types. Use this Filters data type instead of InstanceInformationFilterList , which is deprecated. |
max_results |
No | The maximum number of items to return for this call. The call also returns a token that you can specify in a subsequent call to get the next set of results. The default value is 10 items. |
next_token |
No | The token for the next set of items to return. (You received this token from a previous call.) |
Output
DescribeInstanceInformationOutput.
Read-only native attributes, accessed as response.field. Collection getters materialize Python values; to_dict() recursively materializes a mapping. Streams are consumed once.
| Field | Type | Presence | References |
|---|---|---|---|
instance_information_list |
list[InstanceInformationOutput] | None |
Always present | InstanceInformationOutput |
next_token |
str | None |
Always present | — |
| None means a value can be absent. Output mappings include every declared key; optional input keys may be omitted. Unknown output enum/union variants are not automatically valid inputs.
Related types
DescribeInstanceInformationOutput, InstanceInformationFilter, InstanceInformationStringFilter
Follow these links for nested inputs and outputs; recursive types link back to the same type page.
Pagination and streaming
client.paginators.describe_instance_information(...) accepts the same arguments and returns AsyncIterator[DescribeInstanceInformationOutput]. Direct calls return one page. Pages preserve the Output representation above.
Input cursors: next_token. Page-size argument: max_results.
No output stream.
Errors
Import from rboto_ssm.exceptions:
InternalServerError, InvalidFilterKeyError, InvalidInstanceIdError, InvalidInstanceInformationFilterValueError, InvalidNextTokenError.
Other service failures use the service base error; credential, transport and timeout failures use shared errors.