https://t.me/RX1948
Server : Apache
System : Linux iad1-shared-b8-43 6.6.49-grsec-jammy+ #10 SMP Thu Sep 12 23:23:08 UTC 2024 x86_64
User : dh_edsupp ( 6597262)
PHP Version : 8.2.26
Disable Function : NONE
Directory :  /lib/python3/dist-packages/awscli/examples/ssm/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //lib/python3/dist-packages/awscli/examples/ssm/get-parameter-history.rst
**To get a value history for a parameter**

The following ``get-parameter-history`` example lists the history of changes for the specified parameter, including its value. ::

    aws ssm get-parameter-history \
        --name "MyStringParameter"
  
Output::

    {
        "Parameters": [
            {
                "Name": "MyStringParameter",
                "Type": "String",
                "LastModifiedDate": 1582154711.976,
                "LastModifiedUser": "arn:aws:iam::111222333444:user/Mary-Major",
                "Description": "This is the first version of my String parameter",
                "Value": "Veni",
                "Version": 1,
                "Labels": [],
                "Tier": "Standard",
                "Policies": []
            },
            {
                "Name": "MyStringParameter",
                "Type": "String",
                "LastModifiedDate": 1582156093.471,
                "LastModifiedUser": "arn:aws:iam::111222333444:user/Mary-Major",
                "Description": "This is the second version of my String parameter",
                "Value": "Vidi",
                "Version": 2,
                "Labels": [],
                "Tier": "Standard",
                "Policies": []
            },
            {
                "Name": "MyStringParameter",
                "Type": "String",
                "LastModifiedDate": 1582156117.545,
                "LastModifiedUser": "arn:aws:iam::111222333444:user/Mary-Major",
                "Description": "This is the third version of my String parameter",
                "Value": "Vici",
                "Version": 3,
                "Labels": [],
                "Tier": "Standard",
                "Policies": []
            }
        ]
    }

For more information, see `Working with parameter versions <https://docs.aws.amazon.com/systems-manager/latest/userguide/sysman-paramstore-versions.html>`__ in the *AWS Systems Manager User Guide*.

https://t.me/RX1948 - 2025