unlabel_parameter_version

unlabel_parameter_version(**kwargs)

Remove a label or labels from a parameter.

See also: AWS API Documentation

Request Syntax

response = client.unlabel_parameter_version(
    Name='string',
    ParameterVersion=123,
    Labels=[
        'string',
    ]
)
Parameters
  • Name (string) --

    [REQUIRED]

    The name of the parameter from which you want to delete one or more labels.

  • ParameterVersion (integer) --

    [REQUIRED]

    The specific version of the parameter which you want to delete one or more labels from. If it isn't present, the call will fail.

  • Labels (list) --

    [REQUIRED]

    One or more labels to delete from the specified parameter version.

    • (string) --
Return type

dict

Returns

Response Syntax

{
    'RemovedLabels': [
        'string',
    ],
    'InvalidLabels': [
        'string',
    ]
}

Response Structure

  • (dict) --

    • RemovedLabels (list) --

      A list of all labels deleted from the parameter.

      • (string) --
    • InvalidLabels (list) --

      The labels that aren't attached to the given parameter version.

      • (string) --

Exceptions

  • SSM.Client.exceptions.InternalServerError
  • SSM.Client.exceptions.TooManyUpdates
  • SSM.Client.exceptions.ParameterNotFound
  • SSM.Client.exceptions.ParameterVersionNotFound