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
10923 10924 10925 10926 10927 10928 10929 10930 10931 10932 10933 10934 10935 10936 10937 10938 10939 10940 10941 10942 10943 10944 10945 10946 10947 10948 10949 10950 10951 10952 10953 10954 10955 10956 10957 10958 10959 10960 10961 10962 10963 10964 10965 10966 10967 10968 10969 10970 10971 10972 10973 10974 10975 10976 10977 | |