1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
// 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): <p>The name of the parameter from which you want to delete one or more labels.</p>
    ///   - [`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): <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>
    ///   - [`labels(Vec<String>)`](crate::operation::unlabel_parameter_version::builders::UnlabelParameterVersionFluentBuilder::labels) / [`set_labels(Option<Vec<String>>)`](crate::operation::unlabel_parameter_version::builders::UnlabelParameterVersionFluentBuilder::set_labels): <p>One or more labels to delete from the specified parameter version.</p>
    /// - 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())
    }
}