get_inventory_schema
async
¶
get_inventory_schema(
*,
config_overrides: Optional[AsyncSSMClientConfig] = None,
type_name: Optional[InventoryItemTypeNameFilter] = None,
next_token: Optional[NextToken] = None,
max_results: Optional[GetInventorySchemaMaxResults] = None,
aggregator: Optional[AggregatorSchemaOnly] = None,
sub_type: Optional[IsSubTypeSchema] = None,
) -> GetInventorySchemaResult
Return a list of inventory type names for the account, or return a list of attribute names for a specific Inventory item type.
Parameters:
-
type_name(Optional[InventoryItemTypeNameFilter], default:None) –The type of inventory item to return.
-
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[GetInventorySchemaMaxResults], 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.
-
aggregator(Optional[AggregatorSchemaOnly], default:None) –Returns inventory schemas that support aggregation. For example, this call returns the
AWS:InstanceInformationtype, because it supports aggregation based on thePlatformName,PlatformType, andPlatformVersionattributes. -
sub_type(Optional[IsSubTypeSchema], default:None) –Returns the sub-type schema for a specified inventory type.
Raises:
-
InternalServerError–An error occurred on the server side.
-
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/async_ssm.py
6601 6602 6603 6604 6605 6606 6607 6608 6609 6610 6611 6612 6613 6614 6615 6616 6617 6618 6619 6620 6621 6622 6623 6624 6625 6626 6627 6628 6629 6630 6631 6632 6633 6634 6635 6636 6637 6638 6639 6640 6641 6642 6643 6644 6645 6646 6647 6648 6649 6650 6651 6652 6653 6654 6655 6656 6657 6658 6659 6660 6661 6662 6663 6664 6665 6666 6667 6668 6669 | |