Skip to content

Update Schema Mapping

entityresolution_update_schema_mapping R Documentation

Updates a schema mapping

Description

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.

Usage

entityresolution_update_schema_mapping(description, mappedInputFields,
  schemaName)

Arguments

description

A description of the schema.

mappedInputFields

[required] A list of MappedInputFields. Each MappedInputField 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.

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$update_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"
)