create_schema_mapping
async
¶
create_schema_mapping(
schema_name: EntityName,
mapped_input_fields: SchemaInputAttributes,
*,
config_overrides: Optional[AsyncEntityResolutionClientConfig] = None,
description: Optional[Description] = None,
tags: Optional[TagMap] = None,
) -> CreateSchemaMappingOutput
Creates a schema mapping, which defines the schema of the input customer records table. The SchemaMapping also provides Entity Resolution with some metadata about the table, such as the attribute types of the columns and which columns to match on.
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. -
tags(Optional[TagMap], default:None) –The tags used to organize, track, or control access for this resource.
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.
-
ExceedsLimitException–The request was rejected because it attempted to create resources beyond the current Entity Resolution account limits. The error message describes the limit exceeded.
-
InternalServerException–This exception occurs when there is an internal failure in the Entity Resolution service.
-
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.