list_inventory_entries
¶
list_inventory_entries(
instance_id: InstanceId,
type_name: InventoryItemTypeName,
*,
config_overrides: Optional[SSMClientConfig] = None,
filters: Optional[InventoryFilterList] = None,
next_token: Optional[NextToken] = None,
max_results: Optional[MaxResults] = None,
) -> ListInventoryEntriesResult
A list of inventory items returned by the request.
Parameters:
-
instance_id(InstanceId) –The managed node ID for which you want inventory information.
-
type_name(InventoryItemTypeName) –The type of inventory item for which you want information.
-
filters(Optional[InventoryFilterList], default:None) –One or more filters. Use a filter to return a more specific list of results.
-
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[MaxResults], default:None) –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.
Raises:
-
InternalServerError–An error occurred on the server side.
-
InvalidFilter–The filter name isn't valid. Verify that you entered the correct name and try again.
-
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.
-
-
InvalidNextToken–The specified token isn't valid.
-
InvalidTypeNameException–The parameter type name 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
8569 8570 8571 8572 8573 8574 8575 8576 8577 8578 8579 8580 8581 8582 8583 8584 8585 8586 8587 8588 8589 8590 8591 8592 8593 8594 8595 8596 8597 8598 8599 8600 8601 8602 8603 8604 8605 8606 8607 8608 8609 8610 8611 8612 8613 8614 8615 8616 8617 8618 8619 8620 8621 8622 8623 8624 8625 8626 8627 8628 8629 8630 8631 8632 8633 | |