HEX
Server: Apache
System: Linux vps-cdc32557.vps.ovh.ca 5.15.0-156-generic #166-Ubuntu SMP Sat Aug 9 00:02:46 UTC 2025 x86_64
User: hanode (1017)
PHP: 7.4.33
Disabled: pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare,
Upload Files
File: //usr/lib/python3/dist-packages/awscli/examples/ssm/list-inventory-entries.rst
**Example 1: To view specific inventory type entries for an instance**

This following ``list-inventory-entries`` example lists the inventory entries for the AWS:Application inventory type on a specific instance. ::

    aws ssm list-inventory-entries \
        --instance-id "i-1234567890abcdef0" \
        --type-name "AWS:Application"

Output::

    {
      "TypeName": "AWS:Application",
      "InstanceId": "i-1234567890abcdef0",
      "SchemaVersion": "1.1",
      "CaptureTime": "2019-02-15T12:17:55Z",
      "Entries": [
        {
          "Architecture": "i386",
          "Name": "Amazon SSM Agent",
          "PackageId": "{88a60be2-89a1-4df8-812a-80863c2a2b68}",
          "Publisher": "Amazon Web Services",
          "Version": "2.3.274.0"
        },
        {
          "Architecture": "x86_64",
          "InstalledTime": "2018-05-03T13:42:34Z",
          "Name": "AmazonCloudWatchAgent",
          "Publisher": "",
          "Version": "1.200442.0"
        }
      ]
    }

**Example 2: To view custom inventory entries assigned to an instance**

The following ``list-inventory-entries`` example lists a custom inventory entry assigned to an instance. ::

    aws ssm list-inventory-entries \
        --instance-id "i-1234567890abcdef0" \
        --type-name "Custom:RackInfo"

Output::

    {
      "TypeName": "Custom:RackInfo",
      "InstanceId": "i-1234567890abcdef0",
      "SchemaVersion": "1.0",
      "CaptureTime": "2021-05-22T10:01:01Z",
      "Entries": [
        {
          "RackLocation": "Bay B/Row C/Rack D/Shelf E"
        }
      ]
    }