unlabel_parameter_version
async
¶
unlabel_parameter_version(
name: PSParameterName,
parameter_version: PSParameterVersion,
labels: ParameterLabelList,
*,
config_overrides: Optional[AsyncSSMClientConfig] = 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/async_ssm.py
11185 11186 11187 11188 11189 11190 11191 11192 11193 11194 11195 11196 11197 11198 11199 11200 11201 11202 11203 11204 11205 11206 11207 11208 11209 11210 11211 11212 11213 11214 11215 11216 11217 11218 11219 11220 11221 11222 11223 11224 11225 11226 11227 11228 11229 11230 11231 11232 11233 11234 11235 11236 11237 11238 11239 11240 | |