Create Schema Mapping
entityresolution_create_schema_mapping | R Documentation |
Creates a schema mapping, which defines the schema of the input customer records table¶
Description¶
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.
Usage¶
Arguments¶
description
A description of the schema.
mappedInputFields
[required] A list of
MappedInputFields
. EachMappedInputField
corresponds to a column the source data table, and contains column name plus additional information that Entity Resolution uses for matching.schemaName
[required] The name of the schema. There can't be multiple
SchemaMappings
with the same name.tags
The tags used to organize, track, or control access for this resource.
Value¶
A list with the following syntax:
list(
description = "string",
mappedInputFields = list(
list(
fieldName = "string",
groupName = "string",
hashed = TRUE|FALSE,
matchKey = "string",
subType = "string",
type = "NAME"|"NAME_FIRST"|"NAME_MIDDLE"|"NAME_LAST"|"ADDRESS"|"ADDRESS_STREET1"|"ADDRESS_STREET2"|"ADDRESS_STREET3"|"ADDRESS_CITY"|"ADDRESS_STATE"|"ADDRESS_COUNTRY"|"ADDRESS_POSTALCODE"|"PHONE"|"PHONE_NUMBER"|"PHONE_COUNTRYCODE"|"EMAIL_ADDRESS"|"UNIQUE_ID"|"DATE"|"STRING"|"PROVIDER_ID"
)
),
schemaArn = "string",
schemaName = "string"
)
Request syntax¶
svc$create_schema_mapping(
description = "string",
mappedInputFields = list(
list(
fieldName = "string",
groupName = "string",
hashed = TRUE|FALSE,
matchKey = "string",
subType = "string",
type = "NAME"|"NAME_FIRST"|"NAME_MIDDLE"|"NAME_LAST"|"ADDRESS"|"ADDRESS_STREET1"|"ADDRESS_STREET2"|"ADDRESS_STREET3"|"ADDRESS_CITY"|"ADDRESS_STATE"|"ADDRESS_COUNTRY"|"ADDRESS_POSTALCODE"|"PHONE"|"PHONE_NUMBER"|"PHONE_COUNTRYCODE"|"EMAIL_ADDRESS"|"UNIQUE_ID"|"DATE"|"STRING"|"PROVIDER_ID"
)
),
schemaName = "string",
tags = list(
"string"
)
)