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¶
-
schemaName[required] The name of the schema. There can't be multiple
SchemaMappingswith the same name. -
descriptionA description of the schema.
-
mappedInputFields[required] 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. -
tagsThe tags used to organize, track, or control access for this resource.
Value¶
A list with the following syntax:
list(
schemaName = "string",
schemaArn = "string",
description = "string",
mappedInputFields = list(
list(
fieldName = "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"|"IPV4"|"IPV6"|"MAID",
groupName = "string",
matchKey = "string",
subType = "string",
hashed = TRUE|FALSE
)
)
)
Request syntax¶
svc$create_schema_mapping(
schemaName = "string",
description = "string",
mappedInputFields = list(
list(
fieldName = "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"|"IPV4"|"IPV6"|"MAID",
groupName = "string",
matchKey = "string",
subType = "string",
hashed = TRUE|FALSE
)
),
tags = list(
"string"
)
)