aws_sdk_frauddetector/client/
put_label.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 [`PutLabel`](crate::operation::put_label::builders::PutLabelFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`name(impl Into<String>)`](crate::operation::put_label::builders::PutLabelFluentBuilder::name) / [`set_name(Option<String>)`](crate::operation::put_label::builders::PutLabelFluentBuilder::set_name):<br>required: **true**<br><p>The label name.</p><br>
7    ///   - [`description(impl Into<String>)`](crate::operation::put_label::builders::PutLabelFluentBuilder::description) / [`set_description(Option<String>)`](crate::operation::put_label::builders::PutLabelFluentBuilder::set_description):<br>required: **false**<br><p>The label description.</p><br>
8    ///   - [`tags(Tag)`](crate::operation::put_label::builders::PutLabelFluentBuilder::tags) / [`set_tags(Option<Vec::<Tag>>)`](crate::operation::put_label::builders::PutLabelFluentBuilder::set_tags):<br>required: **false**<br><p>A collection of key and value pairs.</p><br>
9    /// - On success, responds with [`PutLabelOutput`](crate::operation::put_label::PutLabelOutput)
10    /// - On failure, responds with [`SdkError<PutLabelError>`](crate::operation::put_label::PutLabelError)
11    pub fn put_label(&self) -> crate::operation::put_label::builders::PutLabelFluentBuilder {
12        crate::operation::put_label::builders::PutLabelFluentBuilder::new(self.handle.clone())
13    }
14}