get_inventory_schema
¶
get_inventory_schema(
*,
config_overrides: Optional[SSMClientConfig] = 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/ssm.py
6457 6458 6459 6460 6461 6462 6463 6464 6465 6466 6467 6468 6469 6470 6471 6472 6473 6474 6475 6476 6477 6478 6479 6480 6481 6482 6483 6484 6485 6486 6487 6488 6489 6490 6491 6492 6493 6494 6495 6496 6497 6498 6499 6500 6501 6502 6503 6504 6505 6506 6507 6508 6509 6510 6511 6512 6513 6514 6515 6516 6517 6518 6519 6520 6521 6522 6523 6524 | |