1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`UpdateFacet`](crate::operation::update_facet::builders::UpdateFacetFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`schema_arn(impl Into<String>)`](crate::operation::update_facet::builders::UpdateFacetFluentBuilder::schema_arn) / [`set_schema_arn(Option<String>)`](crate::operation::update_facet::builders::UpdateFacetFluentBuilder::set_schema_arn):<br>required: **true**<br><p>The Amazon Resource Name (ARN) that is associated with the <code>Facet</code>. For more information, see <code>arns</code>.</p><br>
    ///   - [`name(impl Into<String>)`](crate::operation::update_facet::builders::UpdateFacetFluentBuilder::name) / [`set_name(Option<String>)`](crate::operation::update_facet::builders::UpdateFacetFluentBuilder::set_name):<br>required: **true**<br><p>The name of the facet.</p><br>
    ///   - [`attribute_updates(FacetAttributeUpdate)`](crate::operation::update_facet::builders::UpdateFacetFluentBuilder::attribute_updates) / [`set_attribute_updates(Option<Vec::<FacetAttributeUpdate>>)`](crate::operation::update_facet::builders::UpdateFacetFluentBuilder::set_attribute_updates):<br>required: **false**<br><p>List of attributes that need to be updated in a given schema <code>Facet</code>. Each attribute is followed by <code>AttributeAction</code>, which specifies the type of update operation to perform.</p><br>
    ///   - [`object_type(ObjectType)`](crate::operation::update_facet::builders::UpdateFacetFluentBuilder::object_type) / [`set_object_type(Option<ObjectType>)`](crate::operation::update_facet::builders::UpdateFacetFluentBuilder::set_object_type):<br>required: **false**<br><p>The object type that is associated with the facet. See <code>CreateFacetRequest$ObjectType</code> for more details.</p><br>
    /// - On success, responds with [`UpdateFacetOutput`](crate::operation::update_facet::UpdateFacetOutput)
    /// - On failure, responds with [`SdkError<UpdateFacetError>`](crate::operation::update_facet::UpdateFacetError)
    pub fn update_facet(&self) -> crate::operation::update_facet::builders::UpdateFacetFluentBuilder {
        crate::operation::update_facet::builders::UpdateFacetFluentBuilder::new(self.handle.clone())
    }
}