unlabel_parameter_version
¶
unlabel_parameter_version(
name: PSParameterName,
parameter_version: PSParameterVersion,
labels: ParameterLabelList,
*,
config_overrides: Optional[SSMClientConfig] = None,
) -> UnlabelParameterVersionResult
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.
Parameters:
-
name(PSParameterName) –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(PSParameterVersion) –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(ParameterLabelList) –One or more labels to delete from the specified parameter version.
Raises:
-
InternalServerError–An error occurred on the server side.
-
ParameterNotFound–The parameter couldn't be found. Verify the name and try again.
For the
DeleteParameterandGetParameteractions, if the specified parameter doesn't exist, theParameterNotFoundexception is not recorded in CloudTrail event logs. -
ParameterVersionNotFound–The specified parameter version wasn't found. Verify the parameter name and version, and try again.
-
TooManyUpdates–There are concurrent updates for a resource that supports one update at a time.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_ssm/_services/ssm.py
11042 11043 11044 11045 11046 11047 11048 11049 11050 11051 11052 11053 11054 11055 11056 11057 11058 11059 11060 11061 11062 11063 11064 11065 11066 11067 11068 11069 11070 11071 11072 11073 11074 11075 11076 11077 11078 11079 11080 11081 11082 11083 11084 11085 11086 11087 11088 11089 11090 11091 11092 11093 11094 11095 11096 | |