HEX
Server: Apache
System: Linux srv1.prosuiteplus.com 5.4.0-216-generic #236-Ubuntu SMP Fri Apr 11 19:53:21 UTC 2025 x86_64
User: prosuiteplus (1001)
PHP: 8.3.20
Disabled: NONE
Upload Files
File: //lib/python3/dist-packages/awscli/examples/ssm/label-parameter-version.rst
**Example 1: To add a label to latest version of a parameter**

This ``label-parameter-version`` example adds a label to the latest version of the specified parameter. ::

    aws ssm label-parameter-version \
        --name "MyStringParameter" \
        --labels "ProductionReady"

Output::

    {
        "InvalidLabels": [],
        "ParameterVersion": 3
    }

**Example 2: To add a label to a specific version of a parameter**

This ``label-parameter-version`` example adds a label to the specified version of a parameter. ::

    aws ssm label-parameter-version \
        --name "MyStringParameter" \
        --labels "ProductionReady" \
        --parameter-version "2" --labels "DevelopmentReady"

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