aws_sdk_entityresolution/client/
update_schema_mapping.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 [`UpdateSchemaMapping`](crate::operation::update_schema_mapping::builders::UpdateSchemaMappingFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`schema_name(impl Into<String>)`](crate::operation::update_schema_mapping::builders::UpdateSchemaMappingFluentBuilder::schema_name) / [`set_schema_name(Option<String>)`](crate::operation::update_schema_mapping::builders::UpdateSchemaMappingFluentBuilder::set_schema_name):<br>required: **true**<br><p>The name of the schema. There can't be multiple <code>SchemaMappings</code> with the same name.</p><br>
7    ///   - [`description(impl Into<String>)`](crate::operation::update_schema_mapping::builders::UpdateSchemaMappingFluentBuilder::description) / [`set_description(Option<String>)`](crate::operation::update_schema_mapping::builders::UpdateSchemaMappingFluentBuilder::set_description):<br>required: **false**<br><p>A description of the schema.</p><br>
8    ///   - [`mapped_input_fields(SchemaInputAttribute)`](crate::operation::update_schema_mapping::builders::UpdateSchemaMappingFluentBuilder::mapped_input_fields) / [`set_mapped_input_fields(Option<Vec::<SchemaInputAttribute>>)`](crate::operation::update_schema_mapping::builders::UpdateSchemaMappingFluentBuilder::set_mapped_input_fields):<br>required: **true**<br><p>A list of <code>MappedInputFields</code>. Each <code>MappedInputField</code> corresponds to a column the source data table, and contains column name plus additional information that Entity Resolution uses for matching.</p><br>
9    /// - On success, responds with [`UpdateSchemaMappingOutput`](crate::operation::update_schema_mapping::UpdateSchemaMappingOutput) with field(s):
10    ///   - [`schema_name(String)`](crate::operation::update_schema_mapping::UpdateSchemaMappingOutput::schema_name): <p>The name of the schema.</p>
11    ///   - [`schema_arn(String)`](crate::operation::update_schema_mapping::UpdateSchemaMappingOutput::schema_arn): <p>The ARN (Amazon Resource Name) that Entity Resolution generated for the <code>SchemaMapping</code>.</p>
12    ///   - [`description(Option<String>)`](crate::operation::update_schema_mapping::UpdateSchemaMappingOutput::description): <p>A description of the schema.</p>
13    ///   - [`mapped_input_fields(Vec::<SchemaInputAttribute>)`](crate::operation::update_schema_mapping::UpdateSchemaMappingOutput::mapped_input_fields): <p>A list of <code>MappedInputFields</code>. Each <code>MappedInputField</code> corresponds to a column the source data table, and contains column name plus additional information that Entity Resolution uses for matching.</p>
14    /// - On failure, responds with [`SdkError<UpdateSchemaMappingError>`](crate::operation::update_schema_mapping::UpdateSchemaMappingError)
15    pub fn update_schema_mapping(&self) -> crate::operation::update_schema_mapping::builders::UpdateSchemaMappingFluentBuilder {
16        crate::operation::update_schema_mapping::builders::UpdateSchemaMappingFluentBuilder::new(self.handle.clone())
17    }
18}