aws_sdk_ssm/client/
unlabel_parameter_version.rs

1// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
2impl super::Client {
3    /// Constructs a fluent builder for the [`UnlabelParameterVersion`](crate::operation::unlabel_parameter_version::builders::UnlabelParameterVersionFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`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>
7    ///   - [`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>
8    ///   - [`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>
9    /// - On success, responds with [`UnlabelParameterVersionOutput`](crate::operation::unlabel_parameter_version::UnlabelParameterVersionOutput) with field(s):
10    ///   - [`removed_labels(Option<Vec::<String>>)`](crate::operation::unlabel_parameter_version::UnlabelParameterVersionOutput::removed_labels): <p>A list of all labels deleted from the parameter.</p>
11    ///   - [`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>
12    /// - On failure, responds with [`SdkError<UnlabelParameterVersionError>`](crate::operation::unlabel_parameter_version::UnlabelParameterVersionError)
13    pub fn unlabel_parameter_version(&self) -> crate::operation::unlabel_parameter_version::builders::UnlabelParameterVersionFluentBuilder {
14        crate::operation::unlabel_parameter_version::builders::UnlabelParameterVersionFluentBuilder::new(self.handle.clone())
15    }
16}