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
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 11097 11098 11099 11100 11101 11102 11103 11104 11105 11106 11107 11108 11109 11110 11111 11112 11113 11114 11115 11116 11117 11118 11119 | |