1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`LabelParameterVersion`](crate::operation::label_parameter_version::builders::LabelParameterVersionFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`name(impl Into<String>)`](crate::operation::label_parameter_version::builders::LabelParameterVersionFluentBuilder::name) / [`set_name(Option<String>)`](crate::operation::label_parameter_version::builders::LabelParameterVersionFluentBuilder::set_name):<br>required: **true**<br><p>The parameter name on which you want to attach one or more labels.</p><br>
    ///   - [`parameter_version(i64)`](crate::operation::label_parameter_version::builders::LabelParameterVersionFluentBuilder::parameter_version) / [`set_parameter_version(Option<i64>)`](crate::operation::label_parameter_version::builders::LabelParameterVersionFluentBuilder::set_parameter_version):<br>required: **false**<br><p>The specific version of the parameter on which you want to attach one or more labels. If no version is specified, the system attaches the label to the latest version.</p><br>
    ///   - [`labels(impl Into<String>)`](crate::operation::label_parameter_version::builders::LabelParameterVersionFluentBuilder::labels) / [`set_labels(Option<Vec::<String>>)`](crate::operation::label_parameter_version::builders::LabelParameterVersionFluentBuilder::set_labels):<br>required: **true**<br><p>One or more labels to attach to the specified parameter version.</p><br>
    /// - On success, responds with [`LabelParameterVersionOutput`](crate::operation::label_parameter_version::LabelParameterVersionOutput) with field(s):
    ///   - [`invalid_labels(Option<Vec::<String>>)`](crate::operation::label_parameter_version::LabelParameterVersionOutput::invalid_labels): <p>The label doesn't meet the requirements. For information about parameter label requirements, see <a href="https://docs.aws.amazon.com/systems-manager/latest/userguide/sysman-paramstore-labels.html">Labeling parameters</a> in the <i>Amazon Web Services Systems Manager User Guide</i>.</p>
    ///   - [`parameter_version(i64)`](crate::operation::label_parameter_version::LabelParameterVersionOutput::parameter_version): <p>The version of the parameter that has been labeled.</p>
    /// - On failure, responds with [`SdkError<LabelParameterVersionError>`](crate::operation::label_parameter_version::LabelParameterVersionError)
    pub fn label_parameter_version(&self) -> crate::operation::label_parameter_version::builders::LabelParameterVersionFluentBuilder {
        crate::operation::label_parameter_version::builders::LabelParameterVersionFluentBuilder::new(self.handle.clone())
    }
}