SSMClient.unlabel_parameter_version
rboto-ssm==0.4.0 · Service index · Types
Model summary (excerpt): Remove a label or labels from a parameter. Parameter names can't contain spaces. The service removes any spaces specified for the beginning or end of a parameter name. If the specified name for a parameter contains spaces between characters, the request fails with a ValidationException error.
Install and imports
from rboto import SSMClient
from collections.abc import Sequence
from rboto_ssm.types import (
UnlabelParameterVersionOutput,
)
Signature
async def unlabel_parameter_version(
*,
name: str,
parameter_version: int,
labels: Sequence[str],
) -> UnlabelParameterVersionOutput: ...
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 name of the parameter from which you want to delete one or more labels. You can't enter the Amazon Resource Name (ARN) for a parameter, only the parameter name itself. |
parameter_version |
Yes | 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 |
Yes | One or more labels to delete from the specified parameter version. |
Output
UnlabelParameterVersionOutput.
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 |
|---|---|---|---|
removed_labels |
list[str] | None |
Always present | — |
invalid_labels |
list[str] | None |
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.
Related types
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, ParameterVersionNotFoundError, TooManyUpdatesError.
Other service failures use the service base error; credential, transport and timeout failures use shared errors.