1
2
3
4
5
6
7
8
9
10
11
12
13
14
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`TagContact`](crate::operation::tag_contact::builders::TagContactFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`contact_id(impl Into<String>)`](crate::operation::tag_contact::builders::TagContactFluentBuilder::contact_id) / [`set_contact_id(Option<String>)`](crate::operation::tag_contact::builders::TagContactFluentBuilder::set_contact_id):<br>required: **true**<br><p>The identifier of the contact in this instance of Amazon Connect.</p><br>
    ///   - [`instance_id(impl Into<String>)`](crate::operation::tag_contact::builders::TagContactFluentBuilder::instance_id) / [`set_instance_id(Option<String>)`](crate::operation::tag_contact::builders::TagContactFluentBuilder::set_instance_id):<br>required: **true**<br><p>The identifier of the Amazon Connect instance. You can <a href="https://docs.aws.amazon.com/connect/latest/adminguide/find-instance-arn.html">find the instance ID</a> in the Amazon Resource Name (ARN) of the instance.</p><br>
    ///   - [`tags(impl Into<String>, impl Into<String>)`](crate::operation::tag_contact::builders::TagContactFluentBuilder::tags) / [`set_tags(Option<HashMap::<String, String>>)`](crate::operation::tag_contact::builders::TagContactFluentBuilder::set_tags):<br>required: **true**<br><p>The tags to be assigned to the contact resource. For example, { "Tags": {"key1":"value1", "key2":"value2"} }.</p><note>  <p>Authorization is not supported by this tag.</p> </note><br>
    /// - On success, responds with [`TagContactOutput`](crate::operation::tag_contact::TagContactOutput)
    /// - On failure, responds with [`SdkError<TagContactError>`](crate::operation::tag_contact::TagContactError)
    pub fn tag_contact(&self) -> crate::operation::tag_contact::builders::TagContactFluentBuilder {
        crate::operation::tag_contact::builders::TagContactFluentBuilder::new(self.handle.clone())
    }
}