Skip to content

SSMClient.label_parameter_version

rboto-ssm==0.4.0 · Service index · Types

Model summary (excerpt): A parameter label is a user-defined alias to help you manage different versions of a parameter. When you modify a parameter, Amazon Web Services Systems Manager automatically saves a new version and increments the version number by one. A label can help you remember the purpose of a parameter when there are multiple versions. Parameter labels have the following requirements and restrictions. A...

Install and imports

python -m pip install "rboto[ssm]==0.4.0"
from rboto import SSMClient
from collections.abc import Sequence
from rboto_ssm.types import (
    LabelParameterVersionOutput,
)

Signature

async def label_parameter_version(
    *,
    name: str,
    labels: Sequence[str],
    parameter_version: int | None = None,
) -> LabelParameterVersionOutput: ...

Arguments without defaults are required. None omits an optional request argument. Static types do not validate resource existence, permissions, lengths, ranges, or conditional service requirements.

Arguments

Argument Required Model notes (excerpt)
name Yes The parameter name on which you want to attach one or more labels. You can't enter the Amazon Resource Name (ARN) for a parameter, only the parameter name itself.
labels Yes One or more labels to attach to the specified parameter version.
parameter_version No The specific version of the parameter on which you want to attach one or more labels. If no version is specified, the system attaches the label to the latest version.

Output

LabelParameterVersionOutput.

Read-only native attributes, accessed as response.field. Collection getters materialize Python values; to_dict() recursively materializes a mapping. Streams are consumed once.

Field Type Presence References
invalid_labels list[str] | None Always present —
parameter_version int Always present —

| None means a value can be absent. Output mappings include every declared key; optional input keys may be omitted. Unknown output enum/union variants are not automatically valid inputs.

LabelParameterVersionOutput

Follow these links for nested inputs and outputs; recursive types link back to the same type page.

Pagination and streaming

No generated paginator for this operation.

No output stream.

Errors

Import from rboto_ssm.exceptions:

InternalServerError, ParameterNotFoundError, ParameterVersionLabelLimitExceededError, ParameterVersionNotFoundError, TooManyUpdatesError.

Other service failures use the service base error; credential, transport and timeout failures use shared errors.

Service guide · Pinned model