aws_sdk_ssm/client/unlabel_parameter_version.rs
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`UnlabelParameterVersion`](crate::operation::unlabel_parameter_version::builders::UnlabelParameterVersionFluentBuilder) operation.
///
/// - The fluent builder is configurable:
/// - [`name(impl Into<String>)`](crate::operation::unlabel_parameter_version::builders::UnlabelParameterVersionFluentBuilder::name) / [`set_name(Option<String>)`](crate::operation::unlabel_parameter_version::builders::UnlabelParameterVersionFluentBuilder::set_name):<br>required: **true**<br><p>The name of the parameter from which you want to delete one or more labels.</p><note> <p>You can't enter the Amazon Resource Name (ARN) for a parameter, only the parameter name itself.</p> </note><br>
/// - [`parameter_version(i64)`](crate::operation::unlabel_parameter_version::builders::UnlabelParameterVersionFluentBuilder::parameter_version) / [`set_parameter_version(Option<i64>)`](crate::operation::unlabel_parameter_version::builders::UnlabelParameterVersionFluentBuilder::set_parameter_version):<br>required: **true**<br><p>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.</p><br>
/// - [`labels(impl Into<String>)`](crate::operation::unlabel_parameter_version::builders::UnlabelParameterVersionFluentBuilder::labels) / [`set_labels(Option<Vec::<String>>)`](crate::operation::unlabel_parameter_version::builders::UnlabelParameterVersionFluentBuilder::set_labels):<br>required: **true**<br><p>One or more labels to delete from the specified parameter version.</p><br>
/// - On success, responds with [`UnlabelParameterVersionOutput`](crate::operation::unlabel_parameter_version::UnlabelParameterVersionOutput) with field(s):
/// - [`removed_labels(Option<Vec::<String>>)`](crate::operation::unlabel_parameter_version::UnlabelParameterVersionOutput::removed_labels): <p>A list of all labels deleted from the parameter.</p>
/// - [`invalid_labels(Option<Vec::<String>>)`](crate::operation::unlabel_parameter_version::UnlabelParameterVersionOutput::invalid_labels): <p>The labels that aren't attached to the given parameter version.</p>
/// - On failure, responds with [`SdkError<UnlabelParameterVersionError>`](crate::operation::unlabel_parameter_version::UnlabelParameterVersionError)
pub fn unlabel_parameter_version(&self) -> crate::operation::unlabel_parameter_version::builders::UnlabelParameterVersionFluentBuilder {
crate::operation::unlabel_parameter_version::builders::UnlabelParameterVersionFluentBuilder::new(self.handle.clone())
}
}