HEX
Server: LiteSpeed
System: Linux s1080.usc1.mysecurecloudhost.com 4.18.0-513.24.1.lve.2.el8.x86_64 #1 SMP Fri May 24 12:42:50 UTC 2024 x86_64
User: justofft (2594)
PHP: 7.3.33
Disabled: NONE
Upload Files
File: //usr/lib/python3.6/site-packages/awscli/examples/ssm/get-parameters-by-path.rst
**To list parameters in a specific path**

The following ``get-parameters-by-path`` example lists the parameters within the specified hierarchy. ::

    aws ssm get-parameters-by-path \
        --path "/site/newyork/department/"

Output::

    {
        "Parameters": [
            {
                "Name": "/site/newyork/department/marketing",
                "Type": "String",
                "Value": "Floor 2",
                "Version": 1,
                "LastModifiedDate": 1530018761.888,
                "ARN": "arn:aws:ssm:us-east-1:111222333444:parameter/site/newyork/department/marketing"
            },
            {
                "Name": "/site/newyork/department/infotech",
                "Type": "String",
                "Value": "Floor 3",
                "Version": 1,
                "LastModifiedDate": 1530018823.429,
                "ARN": "arn:aws:ssm:us-east-1:111222333444:parameter/site/newyork/department/infotech"
            },
            ...
        ]
    }

For more information, see `Organizing Parameters into Hierarchies <https://docs.aws.amazon.com/systems-manager/latest/userguide/sysman-paramstore-su-organize.html>`_ in the *AWS Systems Manager User Guide*.