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
6535 6536 6537 6538 6539 6540 6541 6542 6543 6544 6545 6546 6547 6548 6549 6550 6551 6552 6553 6554 6555 6556 6557 6558 6559 6560 6561 6562 6563 6564 6565 6566 6567 6568 6569 6570 6571 6572 6573 6574 6575 6576 6577 6578 6579 6580 6581 6582 6583 6584 6585 6586 6587 6588 6589 6590 6591 6592 6593 6594 6595 6596 6597 6598 6599 6600 6601 6602 6603 | |