update_schema_mapping
async
¶
update_schema_mapping(
schema_name: EntityName,
mapped_input_fields: SchemaInputAttributes,
*,
config_overrides: Optional[AsyncEntityResolutionClientConfig] = None,
description: Optional[Description] = None,
) -> UpdateSchemaMappingOutput
Updates a schema mapping.
A schema is immutable if it is being used by a workflow. Therefore, you can't update a schema mapping if it's associated with a workflow.
Parameters:
-
schema_name(EntityName) –The name of the schema. There can't be multiple
SchemaMappingswith the same name. -
description(Optional[Description], default:None) –A description of the schema.
-
mapped_input_fields(SchemaInputAttributes) –A list of
MappedInputFields. EachMappedInputFieldcorresponds to a column the source data table, and contains column name plus additional information that Entity Resolution uses for matching.
Raises:
-
AccessDeniedException–You do not have sufficient access to perform this action.
-
ConflictException–The request couldn't be processed because of conflict in the current state of the resource. Example: Workflow already exists, Schema already exists, Workflow is currently running, etc.
-
InternalServerException–This exception occurs when there is an internal failure in the Entity Resolution service.
-
ResourceNotFoundException–The resource couldn't be found.
-
ThrottlingException–The request was denied due to request throttling.
-
ValidationException–The input fails to satisfy the constraints specified by Entity Resolution.
-
UnknownServiceError–The service returned an error code this client does not model.