Class: AWS.EntityResolution
- Inherits:
-
AWS.Service
- Object
- AWS.Service
- AWS.EntityResolution
- Identifier:
- entityresolution
- API Version:
- 2018-05-10
- Defined in:
- (unknown)
Overview
Constructs a service interface object. Each API operation is exposed as a function on service.
Service Description
Welcome to the Entity Resolution API Reference.
Entity Resolution is an Amazon Web Services service that provides pre-configured entity resolution capabilities that enable developers and analysts at advertising and marketing companies to build an accurate and complete view of their consumers.
With Entity Resolution, you can match source records containing consumer identifiers, such as name, email address, and phone number. This is true even when these records have incomplete or conflicting identifiers. For example, Entity Resolution can effectively match a source record from a customer relationship management (CRM) system with a source record from a marketing system containing campaign information.
To learn more about Entity Resolution concepts, procedures, and best practices, see the Entity Resolution User Guide.
Sending a Request Using EntityResolution
var entityresolution = new AWS.EntityResolution();
entityresolution.addPolicyStatement(params, function (err, data) {
if (err) console.log(err, err.stack); // an error occurred
else console.log(data); // successful response
});
Locking the API Version
In order to ensure that the EntityResolution object uses this specific API, you can
construct the object by passing the apiVersion
option to the constructor:
var entityresolution = new AWS.EntityResolution({apiVersion: '2018-05-10'});
You can also set the API version globally in AWS.config.apiVersions
using
the entityresolution service identifier:
AWS.config.apiVersions = {
entityresolution: '2018-05-10',
// other service API versions
};
var entityresolution = new AWS.EntityResolution();
Version:
-
2018-05-10
Constructor Summary collapse
-
new AWS.EntityResolution(options = {}) ⇒ Object
constructor
Constructs a service object.
Property Summary collapse
-
endpoint ⇒ AWS.Endpoint
readwrite
An Endpoint object representing the endpoint URL for service requests.
Properties inherited from AWS.Service
Method Summary collapse
-
addPolicyStatement(params = {}, callback) ⇒ AWS.Request
Adds a policy statement object.
-
batchDeleteUniqueId(params = {}, callback) ⇒ AWS.Request
Deletes multiple unique IDs in a matching workflow.
.
-
createIdMappingWorkflow(params = {}, callback) ⇒ AWS.Request
Creates an
IdMappingWorkflow
object which stores the configuration of the data processing job to be run. -
createIdNamespace(params = {}, callback) ⇒ AWS.Request
Creates an ID namespace object which will help customers provide metadata explaining their dataset and how to use it.
-
createMatchingWorkflow(params = {}, callback) ⇒ AWS.Request
Creates a
MatchingWorkflow
object which stores the configuration of the data processing job to be run. -
createSchemaMapping(params = {}, callback) ⇒ AWS.Request
Creates a schema mapping, which defines the schema of the input customer records table.
-
deleteIdMappingWorkflow(params = {}, callback) ⇒ AWS.Request
Deletes the
IdMappingWorkflow
with a given name. -
deleteIdNamespace(params = {}, callback) ⇒ AWS.Request
Deletes the
IdNamespace
with a given name..
-
deleteMatchingWorkflow(params = {}, callback) ⇒ AWS.Request
Deletes the
MatchingWorkflow
with a given name. -
deletePolicyStatement(params = {}, callback) ⇒ AWS.Request
Deletes the policy statement.
.
-
deleteSchemaMapping(params = {}, callback) ⇒ AWS.Request
Deletes the
SchemaMapping
with a given name. -
getIdMappingJob(params = {}, callback) ⇒ AWS.Request
Gets the status, metrics, and errors (if there are any) that are associated with a job.
.
-
getIdMappingWorkflow(params = {}, callback) ⇒ AWS.Request
Returns the
IdMappingWorkflow
with a given name, if it exists..
-
getIdNamespace(params = {}, callback) ⇒ AWS.Request
Returns the
IdNamespace
with a given name, if it exists..
-
getMatchId(params = {}, callback) ⇒ AWS.Request
Returns the corresponding Match ID of a customer record if the record has been processed.
.
-
getMatchingJob(params = {}, callback) ⇒ AWS.Request
Gets the status, metrics, and errors (if there are any) that are associated with a job.
.
-
getMatchingWorkflow(params = {}, callback) ⇒ AWS.Request
Returns the
MatchingWorkflow
with a given name, if it exists..
-
getPolicy(params = {}, callback) ⇒ AWS.Request
Returns the resource-based policy.
.
-
getProviderService(params = {}, callback) ⇒ AWS.Request
Returns the
ProviderService
of a given name..
-
getSchemaMapping(params = {}, callback) ⇒ AWS.Request
Returns the SchemaMapping of a given name.
.
-
listIdMappingJobs(params = {}, callback) ⇒ AWS.Request
Lists all ID mapping jobs for a given workflow.
.
-
listIdMappingWorkflows(params = {}, callback) ⇒ AWS.Request
Returns a list of all the
IdMappingWorkflows
that have been created for an Amazon Web Services account..
-
listIdNamespaces(params = {}, callback) ⇒ AWS.Request
Returns a list of all ID namespaces.
.
-
listMatchingJobs(params = {}, callback) ⇒ AWS.Request
Lists all jobs for a given workflow.
.
-
listMatchingWorkflows(params = {}, callback) ⇒ AWS.Request
Returns a list of all the
MatchingWorkflows
that have been created for an Amazon Web Services account..
-
listProviderServices(params = {}, callback) ⇒ AWS.Request
Returns a list of all the
ProviderServices
that are available in this Amazon Web Services Region..
-
listSchemaMappings(params = {}, callback) ⇒ AWS.Request
Returns a list of all the
SchemaMappings
that have been created for an Amazon Web Services account..
-
listTagsForResource(params = {}, callback) ⇒ AWS.Request
Displays the tags associated with an Entity Resolution resource.
-
putPolicy(params = {}, callback) ⇒ AWS.Request
Updates the resource-based policy.
.
-
startIdMappingJob(params = {}, callback) ⇒ AWS.Request
Starts the
IdMappingJob
of a workflow. -
startMatchingJob(params = {}, callback) ⇒ AWS.Request
Starts the
MatchingJob
of a workflow. -
tagResource(params = {}, callback) ⇒ AWS.Request
Assigns one or more tags (key-value pairs) to the specified Entity Resolution resource.
-
untagResource(params = {}, callback) ⇒ AWS.Request
Removes one or more tags from the specified Entity Resolution resource.
-
updateIdMappingWorkflow(params = {}, callback) ⇒ AWS.Request
Updates an existing
IdMappingWorkflow
. -
updateIdNamespace(params = {}, callback) ⇒ AWS.Request
Updates an existing ID namespace.
.
-
updateMatchingWorkflow(params = {}, callback) ⇒ AWS.Request
Updates an existing
MatchingWorkflow
. -
updateSchemaMapping(params = {}, callback) ⇒ AWS.Request
Updates a schema mapping.
Note: A schema is immutable if it is being used by a workflow.Methods inherited from AWS.Service
makeRequest, makeUnauthenticatedRequest, waitFor, setupRequestListeners, defineService
Constructor Details
new AWS.EntityResolution(options = {}) ⇒ Object
Constructs a service object. This object has one method for each API operation.
Examples:
Constructing a EntityResolution object
var entityresolution = new AWS.EntityResolution({apiVersion: '2018-05-10'});
Options Hash (options):
-
params
(map)
—
An optional map of parameters to bind to every request sent by this service object. For more information on bound parameters, see "Working with Services" in the Getting Started Guide.
-
endpoint
(String|AWS.Endpoint)
—
The endpoint URI to send requests to. The default endpoint is built from the configured
region
. The endpoint should be a string like'https://{service}.{region}.amazonaws.com'
or an Endpoint object. -
accessKeyId
(String)
—
your AWS access key ID.
-
secretAccessKey
(String)
—
your AWS secret access key.
-
sessionToken
(AWS.Credentials)
—
the optional AWS session token to sign requests with.
-
credentials
(AWS.Credentials)
—
the AWS credentials to sign requests with. You can either specify this object, or specify the accessKeyId and secretAccessKey options directly.
-
credentialProvider
(AWS.CredentialProviderChain)
—
the provider chain used to resolve credentials if no static
credentials
property is set. -
region
(String)
—
the region to send service requests to. See AWS.EntityResolution.region for more information.
-
maxRetries
(Integer)
—
the maximum amount of retries to attempt with a request. See AWS.EntityResolution.maxRetries for more information.
-
maxRedirects
(Integer)
—
the maximum amount of redirects to follow with a request. See AWS.EntityResolution.maxRedirects for more information.
-
sslEnabled
(Boolean)
—
whether to enable SSL for requests.
-
paramValidation
(Boolean|map)
—
whether input parameters should be validated against the operation description before sending the request. Defaults to true. Pass a map to enable any of the following specific validation features:
- min [Boolean] — Validates that a value meets the min
constraint. This is enabled by default when paramValidation is set
to
true
. - max [Boolean] — Validates that a value meets the max constraint.
- pattern [Boolean] — Validates that a string value matches a regular expression.
- enum [Boolean] — Validates that a string value matches one of the allowable enum values.
- min [Boolean] — Validates that a value meets the min
constraint. This is enabled by default when paramValidation is set
to
-
computeChecksums
(Boolean)
—
whether to compute checksums for payload bodies when the service accepts it (currently supported in S3 only)
-
convertResponseTypes
(Boolean)
—
whether types are converted when parsing response data. Currently only supported for JSON based services. Turning this off may improve performance on large response payloads. Defaults to
true
. -
correctClockSkew
(Boolean)
—
whether to apply a clock skew correction and retry requests that fail because of an skewed client clock. Defaults to
false
. -
s3ForcePathStyle
(Boolean)
—
whether to force path style URLs for S3 objects.
-
s3BucketEndpoint
(Boolean)
—
whether the provided endpoint addresses an individual bucket (false if it addresses the root API endpoint). Note that setting this configuration option requires an
endpoint
to be provided explicitly to the service constructor. -
s3DisableBodySigning
(Boolean)
—
whether S3 body signing should be disabled when using signature version
v4
. Body signing can only be disabled when using https. Defaults totrue
. -
s3UsEast1RegionalEndpoint
('legacy'|'regional')
—
when region is set to 'us-east-1', whether to send s3 request to global endpoints or 'us-east-1' regional endpoints. This config is only applicable to S3 client. Defaults to
legacy
-
s3UseArnRegion
(Boolean)
—
whether to override the request region with the region inferred from requested resource's ARN. Only available for S3 buckets Defaults to
true
-
retryDelayOptions
(map)
—
A set of options to configure the retry delay on retryable errors. Currently supported options are:
- base [Integer] — The base number of milliseconds to use in the exponential backoff for operation retries. Defaults to 100 ms for all services except DynamoDB, where it defaults to 50ms.
- customBackoff [function] — A custom function that accepts a
retry count and error and returns the amount of time to delay in
milliseconds. If the result is a non-zero negative value, no further
retry attempts will be made. The
base
option will be ignored if this option is supplied. The function is only called for retryable errors.
-
httpOptions
(map)
—
A set of options to pass to the low-level HTTP request. Currently supported options are:
- proxy [String] — the URL to proxy requests through
- agent [http.Agent, https.Agent] — the Agent object to perform
HTTP requests with. Used for connection pooling. Defaults to the global
agent (
http.globalAgent
) for non-SSL connections. Note that for SSL connections, a special Agent object is used in order to enable peer certificate verification. This feature is only available in the Node.js environment. - connectTimeout [Integer] — Sets the socket to timeout after
failing to establish a connection with the server after
connectTimeout
milliseconds. This timeout has no effect once a socket connection has been established. - timeout [Integer] — Sets the socket to timeout after timeout milliseconds of inactivity on the socket. Defaults to two minutes (120000).
- xhrAsync [Boolean] — Whether the SDK will send asynchronous HTTP requests. Used in the browser environment only. Set to false to send requests synchronously. Defaults to true (async on).
- xhrWithCredentials [Boolean] — Sets the "withCredentials" property of an XMLHttpRequest object. Used in the browser environment only. Defaults to false.
-
apiVersion
(String, Date)
—
a String in YYYY-MM-DD format (or a date) that represents the latest possible API version that can be used in all services (unless overridden by
apiVersions
). Specify 'latest' to use the latest possible version. -
apiVersions
(map<String, String|Date>)
—
a map of service identifiers (the lowercase service class name) with the API version to use when instantiating a service. Specify 'latest' for each individual that can use the latest available version.
-
logger
(#write, #log)
—
an object that responds to .write() (like a stream) or .log() (like the console object) in order to log information about requests
-
systemClockOffset
(Number)
—
an offset value in milliseconds to apply to all signing times. Use this to compensate for clock skew when your system may be out of sync with the service time. Note that this configuration option can only be applied to the global
AWS.config
object and cannot be overridden in service-specific configuration. Defaults to 0 milliseconds. -
signatureVersion
(String)
—
the signature version to sign requests with (overriding the API configuration). Possible values are: 'v2', 'v3', 'v4'.
-
signatureCache
(Boolean)
—
whether the signature to sign requests with (overriding the API configuration) is cached. Only applies to the signature version 'v4'. Defaults to
true
. -
dynamoDbCrc32
(Boolean)
—
whether to validate the CRC32 checksum of HTTP response bodies returned by DynamoDB. Default:
true
. -
useAccelerateEndpoint
(Boolean)
—
Whether to use the S3 Transfer Acceleration endpoint with the S3 service. Default:
false
. -
clientSideMonitoring
(Boolean)
—
whether to collect and publish this client's performance metrics of all its API requests.
-
endpointDiscoveryEnabled
(Boolean|undefined)
—
whether to call operations with endpoints given by service dynamically. Setting this
-
endpointCacheSize
(Number)
—
the size of the global cache storing endpoints from endpoint discovery operations. Once endpoint cache is created, updating this setting cannot change existing cache size. Defaults to 1000
-
hostPrefixEnabled
(Boolean)
—
whether to marshal request parameters to the prefix of hostname. Defaults to
true
. -
stsRegionalEndpoints
('legacy'|'regional')
—
whether to send sts request to global endpoints or regional endpoints. Defaults to 'legacy'.
-
useFipsEndpoint
(Boolean)
—
Enables FIPS compatible endpoints. Defaults to
false
. -
useDualstackEndpoint
(Boolean)
—
Enables IPv6 dualstack endpoint. Defaults to
false
.
Property Details
Method Details
addPolicyStatement(params = {}, callback) ⇒ AWS.Request
Adds a policy statement object. To retrieve a list of existing policy statements, use the
GetPolicy
API.Service Reference:
Examples:
Calling the addPolicyStatement operation
var params = { action: [ /* required */ 'STRING_VALUE', /* more items */ ], arn: 'STRING_VALUE', /* required */ effect: Allow | Deny, /* required */ principal: [ /* required */ 'STRING_VALUE', /* more items */ ], statementId: 'STRING_VALUE', /* required */ condition: 'STRING_VALUE' }; entityresolution.addPolicyStatement(params, function(err, data) { if (err) console.log(err, err.stack); // an error occurred else console.log(data); // successful response });
Parameters:
-
params
(Object)
(defaults to: {})
—
action
— (Array<String>
)The action that the principal can use on the resource.
For example,
entityresolution:GetIdMappingJob
,entityresolution:GetMatchingJob
.arn
— (String
)The Amazon Resource Name (ARN) of the resource that will be accessed by the principal.
condition
— (String
)A set of condition keys that you can use in key policies.
effect
— (String
)Determines whether the permissions specified in the policy are to be allowed (
Allow
) or denied (Deny
).If you set the value of the
effect
parameter toDeny
for theAddPolicyStatement
operation, you must also set the value of theeffect
parameter in thepolicy
toDeny
for thePutPolicy
operation."Allow"
"Deny"
principal
— (Array<String>
)The Amazon Web Services service or Amazon Web Services account that can access the resource defined as ARN.
statementId
— (String
)A statement identifier that differentiates the statement from others in the same policy.
Callback (callback):
-
function(err, data) { ... }
Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.
Context (this):
-
(AWS.Response)
—
the response object containing error, data properties, and the original request object.
Parameters:
-
err
(Error)
—
the error object returned from the request. Set to
null
if the request is successful. -
data
(Object)
—
the de-serialized data returned from the request. Set to
null
if a request error occurs. Thedata
object has the following properties:arn
— (String
)The Amazon Resource Name (ARN) of the resource that will be accessed by the principal.
policy
— (String
)The resource-based policy.
token
— (String
)A unique identifier for the current revision of the policy.
-
(AWS.Response)
—
Returns:
batchDeleteUniqueId(params = {}, callback) ⇒ AWS.Request
Deletes multiple unique IDs in a matching workflow.
Service Reference:
Examples:
Calling the batchDeleteUniqueId operation
var params = { uniqueIds: [ /* required */ 'STRING_VALUE', /* more items */ ], workflowName: 'STRING_VALUE', /* required */ inputSource: 'STRING_VALUE' }; entityresolution.batchDeleteUniqueId(params, function(err, data) { if (err) console.log(err, err.stack); // an error occurred else console.log(data); // successful response });
Parameters:
-
params
(Object)
(defaults to: {})
—
inputSource
— (String
)The input source for the batch delete unique ID operation.
uniqueIds
— (Array<String>
)The unique IDs to delete.
workflowName
— (String
)The name of the workflow.
Callback (callback):
-
function(err, data) { ... }
Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.
Context (this):
-
(AWS.Response)
—
the response object containing error, data properties, and the original request object.
Parameters:
-
err
(Error)
—
the error object returned from the request. Set to
null
if the request is successful. -
data
(Object)
—
the de-serialized data returned from the request. Set to
null
if a request error occurs. Thedata
object has the following properties:deleted
— (Array<map>
)The unique IDs that were deleted.
uniqueId
— required — (String
)The unique ID of the deleted item.
disconnectedUniqueIds
— (Array<String>
)The unique IDs that were disconnected.
errors
— (Array<map>
)The errors from deleting multiple unique IDs.
errorType
— required — (String
)The error type for the batch delete unique ID operation.
Possible values include:"SERVICE_ERROR"
"VALIDATION_ERROR"
uniqueId
— required — (String
)The unique ID that could not be deleted.
status
— (String
)The status of the batch delete unique ID operation.
Possible values include:"COMPLETED"
"ACCEPTED"
-
(AWS.Response)
—
Returns:
createIdMappingWorkflow(params = {}, callback) ⇒ AWS.Request
Creates an
IdMappingWorkflow
object which stores the configuration of the data processing job to be run. EachIdMappingWorkflow
must have a unique workflow name. To modify an existing workflow, use theUpdateIdMappingWorkflow
API.Service Reference:
Examples:
Calling the createIdMappingWorkflow operation
var params = { idMappingTechniques: { /* required */ idMappingType: PROVIDER | RULE_BASED, /* required */ providerProperties: { providerServiceArn: 'STRING_VALUE', /* required */ intermediateSourceConfiguration: { intermediateS3Path: 'STRING_VALUE' /* required */ }, providerConfiguration: { } }, ruleBasedProperties: { attributeMatchingModel: ONE_TO_ONE | MANY_TO_MANY, /* required */ recordMatchingModel: ONE_SOURCE_TO_ONE_TARGET | MANY_SOURCE_TO_ONE_TARGET, /* required */ ruleDefinitionType: SOURCE | TARGET, /* required */ rules: [ { matchingKeys: [ /* required */ 'STRING_VALUE', /* more items */ ], ruleName: 'STRING_VALUE' /* required */ }, /* more items */ ] } }, inputSourceConfig: [ /* required */ { inputSourceARN: 'STRING_VALUE', /* required */ schemaName: 'STRING_VALUE', type: SOURCE | TARGET }, /* more items */ ], workflowName: 'STRING_VALUE', /* required */ description: 'STRING_VALUE', outputSourceConfig: [ { outputS3Path: 'STRING_VALUE', /* required */ KMSArn: 'STRING_VALUE' }, /* more items */ ], roleArn: 'STRING_VALUE', tags: { '<TagKey>': 'STRING_VALUE', /* '<TagKey>': ... */ } }; entityresolution.createIdMappingWorkflow(params, function(err, data) { if (err) console.log(err, err.stack); // an error occurred else console.log(data); // successful response });
Parameters:
-
params
(Object)
(defaults to: {})
—
description
— (String
)A description of the workflow.
idMappingTechniques
— (map
)An object which defines the ID mapping technique and any additional configurations.
idMappingType
— required — (String
)The type of ID mapping.
Possible values include:"PROVIDER"
"RULE_BASED"
providerProperties
— (map
)An object which defines any additional configurations required by the provider service.
intermediateSourceConfiguration
— (map
)The Amazon S3 location that temporarily stores your data while it processes. Your information won't be saved permanently.
intermediateS3Path
— required — (String
)The Amazon S3 location (bucket and prefix). For example:
s3://provider_bucket/DOC-EXAMPLE-BUCKET
providerConfiguration
— (map
)The required configuration fields to use with the provider service.
providerServiceArn
— required — (String
)The ARN of the provider service.
ruleBasedProperties
— (map
)An object which defines any additional configurations required by rule-based matching.
attributeMatchingModel
— required — (String
)The comparison type. You can either choose
ONE_TO_ONE
orMANY_TO_MANY
as theattributeMatchingModel
.If you choose
MANY_TO_MANY
, the system can match attributes across the sub-types of an attribute type. For example, if the value of theEmail
field of Profile A matches the value of theBusinessEmail
field of Profile B, the two profiles are matched on theEmail
attribute type.If you choose
Possible values include:ONE_TO_ONE
, the system can only match attributes if the sub-types are an exact match. For example, for theEmail
attribute type, the system will only consider it a match if the value of theEmail
field of Profile A matches the value of theEmail
field of Profile B."ONE_TO_ONE"
"MANY_TO_MANY"
recordMatchingModel
— required — (String
)The type of matching record that is allowed to be used in an ID mapping workflow.
If the value is set to
ONE_SOURCE_TO_ONE_TARGET
, only one record in the source can be matched to the same record in the target.If the value is set to
Possible values include:MANY_SOURCE_TO_ONE_TARGET
, multiple records in the source can be matched to one record in the target."ONE_SOURCE_TO_ONE_TARGET"
"MANY_SOURCE_TO_ONE_TARGET"
ruleDefinitionType
— required — (String
)The set of rules you can use in an ID mapping workflow. The limitations specified for the source or target to define the match rules must be compatible.
Possible values include:"SOURCE"
"TARGET"
rules
— (Array<map>
)The rules that can be used for ID mapping.
matchingKeys
— required — (Array<String>
)A list of
MatchingKeys
. TheMatchingKeys
must have been defined in theSchemaMapping
. Two records are considered to match according to this rule if all of theMatchingKeys
match.ruleName
— required — (String
)A name for the matching rule.
inputSourceConfig
— (Array<map>
)A list of
InputSource
objects, which have the fieldsInputSourceARN
andSchemaName
.inputSourceARN
— required — (String
)An Glue table Amazon Resource Name (ARN) or a matching workflow ARN for the input source table.
schemaName
— (String
)The name of the schema to be retrieved.
type
— (String
)The type of ID namespace. There are two types:
SOURCE
andTARGET
.The
SOURCE
contains configurations forsourceId
data that will be processed in an ID mapping workflow.The
Possible values include:TARGET
contains a configuration oftargetId
which allsourceIds
will resolve to."SOURCE"
"TARGET"
outputSourceConfig
— (Array<map>
)A list of
IdMappingWorkflowOutputSource
objects, each of which contains fieldsOutputS3Path
andOutput
.KMSArn
— (String
)Customer KMS ARN for encryption at rest. If not provided, system will use an Entity Resolution managed KMS key.
outputS3Path
— required — (String
)The S3 path to which Entity Resolution will write the output table.
roleArn
— (String
)The Amazon Resource Name (ARN) of the IAM role. Entity Resolution assumes this role to create resources on your behalf as part of workflow execution.
tags
— (map<String>
)The tags used to organize, track, or control access for this resource.
workflowName
— (String
)The name of the workflow. There can't be multiple
IdMappingWorkflows
with the same name.
Callback (callback):
-
function(err, data) { ... }
Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.
Context (this):
-
(AWS.Response)
—
the response object containing error, data properties, and the original request object.
Parameters:
-
err
(Error)
—
the error object returned from the request. Set to
null
if the request is successful. -
data
(Object)
—
the de-serialized data returned from the request. Set to
null
if a request error occurs. Thedata
object has the following properties:description
— (String
)A description of the workflow.
idMappingTechniques
— (map
)An object which defines the ID mapping technique and any additional configurations.
idMappingType
— required — (String
)The type of ID mapping.
Possible values include:"PROVIDER"
"RULE_BASED"
providerProperties
— (map
)An object which defines any additional configurations required by the provider service.
intermediateSourceConfiguration
— (map
)The Amazon S3 location that temporarily stores your data while it processes. Your information won't be saved permanently.
intermediateS3Path
— required — (String
)The Amazon S3 location (bucket and prefix). For example:
s3://provider_bucket/DOC-EXAMPLE-BUCKET
providerConfiguration
— (map
)The required configuration fields to use with the provider service.
providerServiceArn
— required — (String
)The ARN of the provider service.
ruleBasedProperties
— (map
)An object which defines any additional configurations required by rule-based matching.
attributeMatchingModel
— required — (String
)The comparison type. You can either choose
ONE_TO_ONE
orMANY_TO_MANY
as theattributeMatchingModel
.If you choose
MANY_TO_MANY
, the system can match attributes across the sub-types of an attribute type. For example, if the value of theEmail
field of Profile A matches the value of theBusinessEmail
field of Profile B, the two profiles are matched on theEmail
attribute type.If you choose
Possible values include:ONE_TO_ONE
, the system can only match attributes if the sub-types are an exact match. For example, for theEmail
attribute type, the system will only consider it a match if the value of theEmail
field of Profile A matches the value of theEmail
field of Profile B."ONE_TO_ONE"
"MANY_TO_MANY"
recordMatchingModel
— required — (String
)The type of matching record that is allowed to be used in an ID mapping workflow.
If the value is set to
ONE_SOURCE_TO_ONE_TARGET
, only one record in the source can be matched to the same record in the target.If the value is set to
Possible values include:MANY_SOURCE_TO_ONE_TARGET
, multiple records in the source can be matched to one record in the target."ONE_SOURCE_TO_ONE_TARGET"
"MANY_SOURCE_TO_ONE_TARGET"
ruleDefinitionType
— required — (String
)The set of rules you can use in an ID mapping workflow. The limitations specified for the source or target to define the match rules must be compatible.
Possible values include:"SOURCE"
"TARGET"
rules
— (Array<map>
)The rules that can be used for ID mapping.
matchingKeys
— required — (Array<String>
)A list of
MatchingKeys
. TheMatchingKeys
must have been defined in theSchemaMapping
. Two records are considered to match according to this rule if all of theMatchingKeys
match.ruleName
— required — (String
)A name for the matching rule.
inputSourceConfig
— (Array<map>
)A list of
InputSource
objects, which have the fieldsInputSourceARN
andSchemaName
.inputSourceARN
— required — (String
)An Glue table Amazon Resource Name (ARN) or a matching workflow ARN for the input source table.
schemaName
— (String
)The name of the schema to be retrieved.
type
— (String
)The type of ID namespace. There are two types:
SOURCE
andTARGET
.The
SOURCE
contains configurations forsourceId
data that will be processed in an ID mapping workflow.The
Possible values include:TARGET
contains a configuration oftargetId
which allsourceIds
will resolve to."SOURCE"
"TARGET"
outputSourceConfig
— (Array<map>
)A list of
IdMappingWorkflowOutputSource
objects, each of which contains fieldsOutputS3Path
andOutput
.KMSArn
— (String
)Customer KMS ARN for encryption at rest. If not provided, system will use an Entity Resolution managed KMS key.
outputS3Path
— required — (String
)The S3 path to which Entity Resolution will write the output table.
roleArn
— (String
)The Amazon Resource Name (ARN) of the IAM role. Entity Resolution assumes this role to create resources on your behalf as part of workflow execution.
workflowArn
— (String
)The ARN (Amazon Resource Name) that Entity Resolution generated for the
IDMappingWorkflow
.workflowName
— (String
)The name of the workflow.
-
(AWS.Response)
—
Returns:
createIdNamespace(params = {}, callback) ⇒ AWS.Request
Creates an ID namespace object which will help customers provide metadata explaining their dataset and how to use it. Each ID namespace must have a unique name. To modify an existing ID namespace, use the
UpdateIdNamespace
API.Service Reference:
Examples:
Calling the createIdNamespace operation
var params = { idNamespaceName: 'STRING_VALUE', /* required */ type: SOURCE | TARGET, /* required */ description: 'STRING_VALUE', idMappingWorkflowProperties: [ { idMappingType: PROVIDER | RULE_BASED, /* required */ providerProperties: { providerServiceArn: 'STRING_VALUE', /* required */ providerConfiguration: { } }, ruleBasedProperties: { attributeMatchingModel: ONE_TO_ONE | MANY_TO_MANY, recordMatchingModels: [ ONE_SOURCE_TO_ONE_TARGET | MANY_SOURCE_TO_ONE_TARGET, /* more items */ ], ruleDefinitionTypes: [ SOURCE | TARGET, /* more items */ ], rules: [ { matchingKeys: [ /* required */ 'STRING_VALUE', /* more items */ ], ruleName: 'STRING_VALUE' /* required */ }, /* more items */ ] } }, /* more items */ ], inputSourceConfig: [ { inputSourceARN: 'STRING_VALUE', /* required */ schemaName: 'STRING_VALUE' }, /* more items */ ], roleArn: 'STRING_VALUE', tags: { '<TagKey>': 'STRING_VALUE', /* '<TagKey>': ... */ } }; entityresolution.createIdNamespace(params, function(err, data) { if (err) console.log(err, err.stack); // an error occurred else console.log(data); // successful response });
Parameters:
-
params
(Object)
(defaults to: {})
—
description
— (String
)The description of the ID namespace.
idMappingWorkflowProperties
— (Array<map>
)Determines the properties of
IdMappingWorflow
where thisIdNamespace
can be used as aSource
or aTarget
.idMappingType
— required — (String
)The type of ID mapping.
Possible values include:"PROVIDER"
"RULE_BASED"
providerProperties
— (map
)An object which defines any additional configurations required by the provider service.
providerConfiguration
— (map
)An object which defines any additional configurations required by the provider service.
providerServiceArn
— required — (String
)The Amazon Resource Name (ARN) of the provider service.
ruleBasedProperties
— (map
)An object which defines any additional configurations required by rule-based matching.
attributeMatchingModel
— (String
)The comparison type. You can either choose
ONE_TO_ONE
orMANY_TO_MANY
as theattributeMatchingModel
.If you choose
MANY_TO_MANY
, the system can match attributes across the sub-types of an attribute type. For example, if the value of theEmail
field of Profile A matches the value ofBusinessEmail
field of Profile B, the two profiles are matched on theEmail
attribute type.If you choose
Possible values include:ONE_TO_ONE
, the system can only match attributes if the sub-types are an exact match. For example, for theEmail
attribute type, the system will only consider it a match if the value of theEmail
field of Profile A matches the value of theEmail
field of Profile B."ONE_TO_ONE"
"MANY_TO_MANY"
recordMatchingModels
— (Array<String>
)The type of matching record that is allowed to be used in an ID mapping workflow.
If the value is set to
ONE_SOURCE_TO_ONE_TARGET
, only one record in the source is matched to one record in the target.If the value is set to
MANY_SOURCE_TO_ONE_TARGET
, all matching records in the source are matched to one record in the target.ruleDefinitionTypes
— (Array<String>
)The sets of rules you can use in an ID mapping workflow. The limitations specified for the source and target must be compatible.
rules
— (Array<map>
)The rules for the ID namespace.
matchingKeys
— required — (Array<String>
)A list of
MatchingKeys
. TheMatchingKeys
must have been defined in theSchemaMapping
. Two records are considered to match according to this rule if all of theMatchingKeys
match.ruleName
— required — (String
)A name for the matching rule.
idNamespaceName
— (String
)The name of the ID namespace.
inputSourceConfig
— (Array<map>
)A list of
InputSource
objects, which have the fieldsInputSourceARN
andSchemaName
.inputSourceARN
— required — (String
)An Glue table Amazon Resource Name (ARN) or a matching workflow ARN for the input source table.
schemaName
— (String
)The name of the schema.
roleArn
— (String
)The Amazon Resource Name (ARN) of the IAM role. Entity Resolution assumes this role to access the resources defined in this
IdNamespace
on your behalf as part of the workflow run.tags
— (map<String>
)The tags used to organize, track, or control access for this resource.
type
— (String
)The type of ID namespace. There are two types:
SOURCE
andTARGET
.The
SOURCE
contains configurations forsourceId
data that will be processed in an ID mapping workflow.The
Possible values include:TARGET
contains a configuration oftargetId
to which allsourceIds
will resolve to."SOURCE"
"TARGET"
Callback (callback):
-
function(err, data) { ... }
Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.
Context (this):
-
(AWS.Response)
—
the response object containing error, data properties, and the original request object.
Parameters:
-
err
(Error)
—
the error object returned from the request. Set to
null
if the request is successful. -
data
(Object)
—
the de-serialized data returned from the request. Set to
null
if a request error occurs. Thedata
object has the following properties:createdAt
— (Date
)The timestamp of when the ID namespace was created.
description
— (String
)The description of the ID namespace.
idMappingWorkflowProperties
— (Array<map>
)Determines the properties of
IdMappingWorkflow
where thisIdNamespace
can be used as aSource
or aTarget
.idMappingType
— required — (String
)The type of ID mapping.
Possible values include:"PROVIDER"
"RULE_BASED"
providerProperties
— (map
)An object which defines any additional configurations required by the provider service.
providerConfiguration
— (map
)An object which defines any additional configurations required by the provider service.
providerServiceArn
— required — (String
)The Amazon Resource Name (ARN) of the provider service.
ruleBasedProperties
— (map
)An object which defines any additional configurations required by rule-based matching.
attributeMatchingModel
— (String
)The comparison type. You can either choose
ONE_TO_ONE
orMANY_TO_MANY
as theattributeMatchingModel
.If you choose
MANY_TO_MANY
, the system can match attributes across the sub-types of an attribute type. For example, if the value of theEmail
field of Profile A matches the value ofBusinessEmail
field of Profile B, the two profiles are matched on theEmail
attribute type.If you choose
Possible values include:ONE_TO_ONE
, the system can only match attributes if the sub-types are an exact match. For example, for theEmail
attribute type, the system will only consider it a match if the value of theEmail
field of Profile A matches the value of theEmail
field of Profile B."ONE_TO_ONE"
"MANY_TO_MANY"
recordMatchingModels
— (Array<String>
)The type of matching record that is allowed to be used in an ID mapping workflow.
If the value is set to
ONE_SOURCE_TO_ONE_TARGET
, only one record in the source is matched to one record in the target.If the value is set to
MANY_SOURCE_TO_ONE_TARGET
, all matching records in the source are matched to one record in the target.ruleDefinitionTypes
— (Array<String>
)The sets of rules you can use in an ID mapping workflow. The limitations specified for the source and target must be compatible.
rules
— (Array<map>
)The rules for the ID namespace.
matchingKeys
— required — (Array<String>
)A list of
MatchingKeys
. TheMatchingKeys
must have been defined in theSchemaMapping
. Two records are considered to match according to this rule if all of theMatchingKeys
match.ruleName
— required — (String
)A name for the matching rule.
idNamespaceArn
— (String
)The Amazon Resource Name (ARN) of the ID namespace.
idNamespaceName
— (String
)The name of the ID namespace.
inputSourceConfig
— (Array<map>
)A list of
InputSource
objects, which have the fieldsInputSourceARN
andSchemaName
.inputSourceARN
— required — (String
)An Glue table Amazon Resource Name (ARN) or a matching workflow ARN for the input source table.
schemaName
— (String
)The name of the schema.
roleArn
— (String
)The Amazon Resource Name (ARN) of the IAM role. Entity Resolution assumes this role to access the resources defined in
inputSourceConfig
on your behalf as part of the workflow run.tags
— (map<String>
)The tags used to organize, track, or control access for this resource.
type
— (String
)The type of ID namespace. There are two types:
SOURCE
andTARGET
.The
SOURCE
contains configurations forsourceId
data that will be processed in an ID mapping workflow.The
Possible values include:TARGET
contains a configuration oftargetId
to which allsourceIds
will resolve to."SOURCE"
"TARGET"
updatedAt
— (Date
)The timestamp of when the ID namespace was last updated.
-
(AWS.Response)
—
Returns:
createMatchingWorkflow(params = {}, callback) ⇒ AWS.Request
Creates a
MatchingWorkflow
object which stores the configuration of the data processing job to be run. It is important to note that there should not be a pre-existingMatchingWorkflow
with the same name. To modify an existing workflow, utilize theUpdateMatchingWorkflow
API.Service Reference:
Examples:
Calling the createMatchingWorkflow operation
var params = { inputSourceConfig: [ /* required */ { inputSourceARN: 'STRING_VALUE', /* required */ schemaName: 'STRING_VALUE', /* required */ applyNormalization: true || false }, /* more items */ ], outputSourceConfig: [ /* required */ { output: [ /* required */ { name: 'STRING_VALUE', /* required */ hashed: true || false }, /* more items */ ], outputS3Path: 'STRING_VALUE', /* required */ KMSArn: 'STRING_VALUE', applyNormalization: true || false }, /* more items */ ], resolutionTechniques: { /* required */ resolutionType: RULE_MATCHING | ML_MATCHING | PROVIDER, /* required */ providerProperties: { providerServiceArn: 'STRING_VALUE', /* required */ intermediateSourceConfiguration: { intermediateS3Path: 'STRING_VALUE' /* required */ }, providerConfiguration: { } }, ruleBasedProperties: { attributeMatchingModel: ONE_TO_ONE | MANY_TO_MANY, /* required */ rules: [ /* required */ { matchingKeys: [ /* required */ 'STRING_VALUE', /* more items */ ], ruleName: 'STRING_VALUE' /* required */ }, /* more items */ ], matchPurpose: IDENTIFIER_GENERATION | INDEXING } }, roleArn: 'STRING_VALUE', /* required */ workflowName: 'STRING_VALUE', /* required */ description: 'STRING_VALUE', incrementalRunConfig: { incrementalRunType: IMMEDIATE }, tags: { '<TagKey>': 'STRING_VALUE', /* '<TagKey>': ... */ } }; entityresolution.createMatchingWorkflow(params, function(err, data) { if (err) console.log(err, err.stack); // an error occurred else console.log(data); // successful response });
Parameters:
-
params
(Object)
(defaults to: {})
—
description
— (String
)A description of the workflow.
incrementalRunConfig
— (map
)An object which defines an incremental run type and has only
incrementalRunType
as a field.incrementalRunType
— (String
)The type of incremental run. It takes only one value:
Possible values include:IMMEDIATE
."IMMEDIATE"
inputSourceConfig
— (Array<map>
)A list of
InputSource
objects, which have the fieldsInputSourceARN
andSchemaName
.applyNormalization
— (Boolean
)Normalizes the attributes defined in the schema in the input data. For example, if an attribute has an
AttributeType
ofPHONE_NUMBER
, and the data in the input table is in a format of 1234567890, Entity Resolution will normalize this field in the output to (123)-456-7890.inputSourceARN
— required — (String
)An Glue table Amazon Resource Name (ARN) for the input source table.
schemaName
— required — (String
)The name of the schema to be retrieved.
outputSourceConfig
— (Array<map>
)A list of
OutputSource
objects, each of which contains fieldsOutputS3Path
,ApplyNormalization
, andOutput
.KMSArn
— (String
)Customer KMS ARN for encryption at rest. If not provided, system will use an Entity Resolution managed KMS key.
applyNormalization
— (Boolean
)Normalizes the attributes defined in the schema in the input data. For example, if an attribute has an
AttributeType
ofPHONE_NUMBER
, and the data in the input table is in a format of 1234567890, Entity Resolution will normalize this field in the output to (123)-456-7890.output
— required — (Array<map>
)A list of
OutputAttribute
objects, each of which have the fieldsName
andHashed
. Each of these objects selects a column to be included in the output table, and whether the values of the column should be hashed.hashed
— (Boolean
)Enables the ability to hash the column values in the output.
name
— required — (String
)A name of a column to be written to the output. This must be an
InputField
name in the schema mapping.
outputS3Path
— required — (String
)The S3 path to which Entity Resolution will write the output table.
resolutionTechniques
— (map
)An object which defines the
resolutionType
and theruleBasedProperties
.providerProperties
— (map
)The properties of the provider service.
intermediateSourceConfiguration
— (map
)The Amazon S3 location that temporarily stores your data while it processes. Your information won't be saved permanently.
intermediateS3Path
— required — (String
)The Amazon S3 location (bucket and prefix). For example:
s3://provider_bucket/DOC-EXAMPLE-BUCKET
providerConfiguration
— (map
)The required configuration fields to use with the provider service.
providerServiceArn
— required — (String
)The ARN of the provider service.
resolutionType
— required — (String
)The type of matching. There are three types of matching:
Possible values include:RULE_MATCHING
,ML_MATCHING
, andPROVIDER
."RULE_MATCHING"
"ML_MATCHING"
"PROVIDER"
ruleBasedProperties
— (map
)An object which defines the list of matching rules to run and has a field
Rules
, which is a list of rule objects.attributeMatchingModel
— required — (String
)The comparison type. You can either choose
ONE_TO_ONE
orMANY_TO_MANY
as theattributeMatchingModel
.If you choose
MANY_TO_MANY
, the system can match attributes across the sub-types of an attribute type. For example, if the value of theEmail
field of Profile A and the value ofBusinessEmail
field of Profile B matches, the two profiles are matched on theEmail
attribute type.If you choose
Possible values include:ONE_TO_ONE
, the system can only match attributes if the sub-types are an exact match. For example, for theEmail
attribute type, the system will only consider it a match if the value of theEmail
field of Profile A matches the value of theEmail
field of Profile B."ONE_TO_ONE"
"MANY_TO_MANY"
matchPurpose
— (String
)An indicator of whether to generate IDs and index the data or not.
If you choose
IDENTIFIER_GENERATION
, the process generates IDs and indexes the data.If you choose
Possible values include:INDEXING
, the process indexes the data without generating IDs."IDENTIFIER_GENERATION"
"INDEXING"
rules
— required — (Array<map>
)A list of
Rule
objects, each of which have fieldsRuleName
andMatchingKeys
.matchingKeys
— required — (Array<String>
)A list of
MatchingKeys
. TheMatchingKeys
must have been defined in theSchemaMapping
. Two records are considered to match according to this rule if all of theMatchingKeys
match.ruleName
— required — (String
)A name for the matching rule.
roleArn
— (String
)The Amazon Resource Name (ARN) of the IAM role. Entity Resolution assumes this role to create resources on your behalf as part of workflow execution.
tags
— (map<String>
)The tags used to organize, track, or control access for this resource.
workflowName
— (String
)The name of the workflow. There can't be multiple
MatchingWorkflows
with the same name.
Callback (callback):
-
function(err, data) { ... }
Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.
Context (this):
-
(AWS.Response)
—
the response object containing error, data properties, and the original request object.
Parameters:
-
err
(Error)
—
the error object returned from the request. Set to
null
if the request is successful. -
data
(Object)
—
the de-serialized data returned from the request. Set to
null
if a request error occurs. Thedata
object has the following properties:description
— (String
)A description of the workflow.
incrementalRunConfig
— (map
)An object which defines an incremental run type and has only
incrementalRunType
as a field.incrementalRunType
— (String
)The type of incremental run. It takes only one value:
Possible values include:IMMEDIATE
."IMMEDIATE"
inputSourceConfig
— (Array<map>
)A list of
InputSource
objects, which have the fieldsInputSourceARN
andSchemaName
.applyNormalization
— (Boolean
)Normalizes the attributes defined in the schema in the input data. For example, if an attribute has an
AttributeType
ofPHONE_NUMBER
, and the data in the input table is in a format of 1234567890, Entity Resolution will normalize this field in the output to (123)-456-7890.inputSourceARN
— required — (String
)An Glue table Amazon Resource Name (ARN) for the input source table.
schemaName
— required — (String
)The name of the schema to be retrieved.
outputSourceConfig
— (Array<map>
)A list of
OutputSource
objects, each of which contains fieldsOutputS3Path
,ApplyNormalization
, andOutput
.KMSArn
— (String
)Customer KMS ARN for encryption at rest. If not provided, system will use an Entity Resolution managed KMS key.
applyNormalization
— (Boolean
)Normalizes the attributes defined in the schema in the input data. For example, if an attribute has an
AttributeType
ofPHONE_NUMBER
, and the data in the input table is in a format of 1234567890, Entity Resolution will normalize this field in the output to (123)-456-7890.output
— required — (Array<map>
)A list of
OutputAttribute
objects, each of which have the fieldsName
andHashed
. Each of these objects selects a column to be included in the output table, and whether the values of the column should be hashed.hashed
— (Boolean
)Enables the ability to hash the column values in the output.
name
— required — (String
)A name of a column to be written to the output. This must be an
InputField
name in the schema mapping.
outputS3Path
— required — (String
)The S3 path to which Entity Resolution will write the output table.
resolutionTechniques
— (map
)An object which defines the
resolutionType
and theruleBasedProperties
.providerProperties
— (map
)The properties of the provider service.
intermediateSourceConfiguration
— (map
)The Amazon S3 location that temporarily stores your data while it processes. Your information won't be saved permanently.
intermediateS3Path
— required — (String
)The Amazon S3 location (bucket and prefix). For example:
s3://provider_bucket/DOC-EXAMPLE-BUCKET
providerConfiguration
— (map
)The required configuration fields to use with the provider service.
providerServiceArn
— required — (String
)The ARN of the provider service.
resolutionType
— required — (String
)The type of matching. There are three types of matching:
Possible values include:RULE_MATCHING
,ML_MATCHING
, andPROVIDER
."RULE_MATCHING"
"ML_MATCHING"
"PROVIDER"
ruleBasedProperties
— (map
)An object which defines the list of matching rules to run and has a field
Rules
, which is a list of rule objects.attributeMatchingModel
— required — (String
)The comparison type. You can either choose
ONE_TO_ONE
orMANY_TO_MANY
as theattributeMatchingModel
.If you choose
MANY_TO_MANY
, the system can match attributes across the sub-types of an attribute type. For example, if the value of theEmail
field of Profile A and the value ofBusinessEmail
field of Profile B matches, the two profiles are matched on theEmail
attribute type.If you choose
Possible values include:ONE_TO_ONE
, the system can only match attributes if the sub-types are an exact match. For example, for theEmail
attribute type, the system will only consider it a match if the value of theEmail
field of Profile A matches the value of theEmail
field of Profile B."ONE_TO_ONE"
"MANY_TO_MANY"
matchPurpose
— (String
)An indicator of whether to generate IDs and index the data or not.
If you choose
IDENTIFIER_GENERATION
, the process generates IDs and indexes the data.If you choose
Possible values include:INDEXING
, the process indexes the data without generating IDs."IDENTIFIER_GENERATION"
"INDEXING"
rules
— required — (Array<map>
)A list of
Rule
objects, each of which have fieldsRuleName
andMatchingKeys
.matchingKeys
— required — (Array<String>
)A list of
MatchingKeys
. TheMatchingKeys
must have been defined in theSchemaMapping
. Two records are considered to match according to this rule if all of theMatchingKeys
match.ruleName
— required — (String
)A name for the matching rule.
roleArn
— (String
)The Amazon Resource Name (ARN) of the IAM role. Entity Resolution assumes this role to create resources on your behalf as part of workflow execution.
workflowArn
— (String
)The ARN (Amazon Resource Name) that Entity Resolution generated for the
MatchingWorkflow
.workflowName
— (String
)The name of the workflow.
-
(AWS.Response)
—
Returns:
createSchemaMapping(params = {}, callback) ⇒ AWS.Request
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.Service Reference:
Examples:
Calling the createSchemaMapping operation
var params = { mappedInputFields: [ /* required */ { fieldName: 'STRING_VALUE', /* required */ 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, /* required */ groupName: 'STRING_VALUE', hashed: true || false, matchKey: 'STRING_VALUE', subType: 'STRING_VALUE' }, /* more items */ ], schemaName: 'STRING_VALUE', /* required */ description: 'STRING_VALUE', tags: { '<TagKey>': 'STRING_VALUE', /* '<TagKey>': ... */ } }; entityresolution.createSchemaMapping(params, function(err, data) { if (err) console.log(err, err.stack); // an error occurred else console.log(data); // successful response });
Parameters:
-
params
(Object)
(defaults to: {})
—
description
— (String
)A description of the schema.
mappedInputFields
— (Array<map>
)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.fieldName
— required — (String
)A string containing the field name.
groupName
— (String
)A string that instructs Entity Resolution to combine several columns into a unified column with the identical attribute type.
For example, when working with columns such as
first_name
,middle_name
, andlast_name
, assigning them a commongroupName
will prompt Entity Resolution to concatenate them into a single value.hashed
— (Boolean
)Indicates if the column values are hashed in the schema input. If the value is set to
TRUE
, the column values are hashed. If the value is set toFALSE
, the column values are cleartext.matchKey
— (String
)A key that allows grouping of multiple input attributes into a unified matching group.
For example, consider a scenario where the source table contains various addresses, such as
business_address
andshipping_address
. By assigning amatchKey
calledaddress
to both attributes, Entity Resolution will match records across these fields to create a consolidated matching group.If no
matchKey
is specified for a column, it won't be utilized for matching purposes but will still be included in the output table.subType
— (String
)The subtype of the attribute, selected from a list of values.
type
— required — (String
)The type of the attribute, selected from a list of values.
Possible values include:"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
)The name of the schema. There can't be multiple
SchemaMappings
with the same name.tags
— (map<String>
)The tags used to organize, track, or control access for this resource.
Callback (callback):
-
function(err, data) { ... }
Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.
Context (this):
-
(AWS.Response)
—
the response object containing error, data properties, and the original request object.
Parameters:
-
err
(Error)
—
the error object returned from the request. Set to
null
if the request is successful. -
data
(Object)
—
the de-serialized data returned from the request. Set to
null
if a request error occurs. Thedata
object has the following properties:description
— (String
)A description of the schema.
mappedInputFields
— (Array<map>
)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.fieldName
— required — (String
)A string containing the field name.
groupName
— (String
)A string that instructs Entity Resolution to combine several columns into a unified column with the identical attribute type.
For example, when working with columns such as
first_name
,middle_name
, andlast_name
, assigning them a commongroupName
will prompt Entity Resolution to concatenate them into a single value.hashed
— (Boolean
)Indicates if the column values are hashed in the schema input. If the value is set to
TRUE
, the column values are hashed. If the value is set toFALSE
, the column values are cleartext.matchKey
— (String
)A key that allows grouping of multiple input attributes into a unified matching group.
For example, consider a scenario where the source table contains various addresses, such as
business_address
andshipping_address
. By assigning amatchKey
calledaddress
to both attributes, Entity Resolution will match records across these fields to create a consolidated matching group.If no
matchKey
is specified for a column, it won't be utilized for matching purposes but will still be included in the output table.subType
— (String
)The subtype of the attribute, selected from a list of values.
type
— required — (String
)The type of the attribute, selected from a list of values.
Possible values include:"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
)The ARN (Amazon Resource Name) that Entity Resolution generated for the
SchemaMapping
.schemaName
— (String
)The name of the schema.
-
(AWS.Response)
—
Returns:
deleteIdMappingWorkflow(params = {}, callback) ⇒ AWS.Request
Deletes the
IdMappingWorkflow
with a given name. This operation will succeed even if a workflow with the given name does not exist.Service Reference:
Examples:
Calling the deleteIdMappingWorkflow operation
var params = { workflowName: 'STRING_VALUE' /* required */ }; entityresolution.deleteIdMappingWorkflow(params, function(err, data) { if (err) console.log(err, err.stack); // an error occurred else console.log(data); // successful response });
Parameters:
-
params
(Object)
(defaults to: {})
—
workflowName
— (String
)The name of the workflow to be deleted.
Callback (callback):
-
function(err, data) { ... }
Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.
Context (this):
-
(AWS.Response)
—
the response object containing error, data properties, and the original request object.
Parameters:
-
err
(Error)
—
the error object returned from the request. Set to
null
if the request is successful. -
data
(Object)
—
the de-serialized data returned from the request. Set to
null
if a request error occurs. Thedata
object has the following properties:message
— (String
)A successful operation message.
-
(AWS.Response)
—
Returns:
deleteIdNamespace(params = {}, callback) ⇒ AWS.Request
Deletes the
IdNamespace
with a given name.Service Reference:
Examples:
Calling the deleteIdNamespace operation
var params = { idNamespaceName: 'STRING_VALUE' /* required */ }; entityresolution.deleteIdNamespace(params, function(err, data) { if (err) console.log(err, err.stack); // an error occurred else console.log(data); // successful response });
Parameters:
-
params
(Object)
(defaults to: {})
—
idNamespaceName
— (String
)The name of the ID namespace.
Callback (callback):
-
function(err, data) { ... }
Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.
Context (this):
-
(AWS.Response)
—
the response object containing error, data properties, and the original request object.
Parameters:
-
err
(Error)
—
the error object returned from the request. Set to
null
if the request is successful. -
data
(Object)
—
the de-serialized data returned from the request. Set to
null
if a request error occurs. Thedata
object has the following properties:message
— (String
)A successful operation message.
-
(AWS.Response)
—
Returns:
deleteMatchingWorkflow(params = {}, callback) ⇒ AWS.Request
Deletes the
MatchingWorkflow
with a given name. This operation will succeed even if a workflow with the given name does not exist.Service Reference:
Examples:
Calling the deleteMatchingWorkflow operation
var params = { workflowName: 'STRING_VALUE' /* required */ }; entityresolution.deleteMatchingWorkflow(params, function(err, data) { if (err) console.log(err, err.stack); // an error occurred else console.log(data); // successful response });
Parameters:
-
params
(Object)
(defaults to: {})
—
workflowName
— (String
)The name of the workflow to be retrieved.
Callback (callback):
-
function(err, data) { ... }
Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.
Context (this):
-
(AWS.Response)
—
the response object containing error, data properties, and the original request object.
Parameters:
-
err
(Error)
—
the error object returned from the request. Set to
null
if the request is successful. -
data
(Object)
—
the de-serialized data returned from the request. Set to
null
if a request error occurs. Thedata
object has the following properties:message
— (String
)A successful operation message.
-
(AWS.Response)
—
Returns:
deletePolicyStatement(params = {}, callback) ⇒ AWS.Request
Deletes the policy statement.
Service Reference:
Examples:
Calling the deletePolicyStatement operation
var params = { arn: 'STRING_VALUE', /* required */ statementId: 'STRING_VALUE' /* required */ }; entityresolution.deletePolicyStatement(params, function(err, data) { if (err) console.log(err, err.stack); // an error occurred else console.log(data); // successful response });
Parameters:
-
params
(Object)
(defaults to: {})
—
arn
— (String
)The ARN of the resource for which the policy need to be deleted.
statementId
— (String
)A statement identifier that differentiates the statement from others in the same policy.
Callback (callback):
-
function(err, data) { ... }
Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.
Context (this):
-
(AWS.Response)
—
the response object containing error, data properties, and the original request object.
Parameters:
-
err
(Error)
—
the error object returned from the request. Set to
null
if the request is successful. -
data
(Object)
—
the de-serialized data returned from the request. Set to
null
if a request error occurs. Thedata
object has the following properties:arn
— (String
)The ARN of the resource for which the policy need to be deleted.
policy
— (String
)The resource-based policy.
token
— (String
)A unique identifier for the deleted policy.
-
(AWS.Response)
—
Returns:
deleteSchemaMapping(params = {}, callback) ⇒ AWS.Request
Deletes the
SchemaMapping
with a given name. This operation will succeed even if a schema with the given name does not exist. This operation will fail if there is aMatchingWorkflow
object that references theSchemaMapping
in the workflow'sInputSourceConfig
.Service Reference:
Examples:
Calling the deleteSchemaMapping operation
var params = { schemaName: 'STRING_VALUE' /* required */ }; entityresolution.deleteSchemaMapping(params, function(err, data) { if (err) console.log(err, err.stack); // an error occurred else console.log(data); // successful response });
Parameters:
-
params
(Object)
(defaults to: {})
—
schemaName
— (String
)The name of the schema to delete.
Callback (callback):
-
function(err, data) { ... }
Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.
Context (this):
-
(AWS.Response)
—
the response object containing error, data properties, and the original request object.
Parameters:
-
err
(Error)
—
the error object returned from the request. Set to
null
if the request is successful. -
data
(Object)
—
the de-serialized data returned from the request. Set to
null
if a request error occurs. Thedata
object has the following properties:message
— (String
)A successful operation message.
-
(AWS.Response)
—
Returns:
getIdMappingJob(params = {}, callback) ⇒ AWS.Request
Gets the status, metrics, and errors (if there are any) that are associated with a job.
Service Reference:
Examples:
Calling the getIdMappingJob operation
var params = { jobId: 'STRING_VALUE', /* required */ workflowName: 'STRING_VALUE' /* required */ }; entityresolution.getIdMappingJob(params, function(err, data) { if (err) console.log(err, err.stack); // an error occurred else console.log(data); // successful response });
Parameters:
-
params
(Object)
(defaults to: {})
—
jobId
— (String
)The ID of the job.
workflowName
— (String
)The name of the workflow.
Callback (callback):
-
function(err, data) { ... }
Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.
Context (this):
-
(AWS.Response)
—
the response object containing error, data properties, and the original request object.
Parameters:
-
err
(Error)
—
the error object returned from the request. Set to
null
if the request is successful. -
data
(Object)
—
the de-serialized data returned from the request. Set to
null
if a request error occurs. Thedata
object has the following properties:endTime
— (Date
)The time at which the job has finished.
errorDetails
— (map
)An object containing an error message, if there was an error.
errorMessage
— (String
)The error message from the job, if there is one.
jobId
— (String
)The ID of the job.
metrics
— (map
)Metrics associated with the execution, specifically total records processed, unique IDs generated, and records the execution skipped.
inputRecords
— (Integer
)The total number of records that were input for processing.
recordsNotProcessed
— (Integer
)The total number of records that did not get processed.
totalMappedRecords
— (Integer
)The total number of records that were mapped.
totalMappedSourceRecords
— (Integer
)The total number of mapped source records.
totalMappedTargetRecords
— (Integer
)The total number of distinct mapped target records.
totalRecordsProcessed
— (Integer
)The total number of records that were processed.
outputSourceConfig
— (Array<map>
)A list of
OutputSource
objects.KMSArn
— (String
)Customer KMS ARN for encryption at rest. If not provided, system will use an Entity Resolution managed KMS key.
outputS3Path
— required — (String
)The S3 path to which Entity Resolution will write the output table.
roleArn
— required — (String
)The Amazon Resource Name (ARN) of the IAM role. Entity Resolution assumes this role to access Amazon Web Services resources on your behalf as part of workflow execution.
startTime
— (Date
)The time at which the job was started.
status
— (String
)The current status of the job.
Possible values include:"RUNNING"
"SUCCEEDED"
"FAILED"
"QUEUED"
-
(AWS.Response)
—
Returns:
getIdMappingWorkflow(params = {}, callback) ⇒ AWS.Request
Returns the
IdMappingWorkflow
with a given name, if it exists.Service Reference:
Examples:
Calling the getIdMappingWorkflow operation
var params = { workflowName: 'STRING_VALUE' /* required */ }; entityresolution.getIdMappingWorkflow(params, function(err, data) { if (err) console.log(err, err.stack); // an error occurred else console.log(data); // successful response });
Parameters:
-
params
(Object)
(defaults to: {})
—
workflowName
— (String
)The name of the workflow.
Callback (callback):
-
function(err, data) { ... }
Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.
Context (this):
-
(AWS.Response)
—
the response object containing error, data properties, and the original request object.
Parameters:
-
err
(Error)
—
the error object returned from the request. Set to
null
if the request is successful. -
data
(Object)
—
the de-serialized data returned from the request. Set to
null
if a request error occurs. Thedata
object has the following properties:createdAt
— (Date
)The timestamp of when the workflow was created.
description
— (String
)A description of the workflow.
idMappingTechniques
— (map
)An object which defines the ID mapping technique and any additional configurations.
idMappingType
— required — (String
)The type of ID mapping.
Possible values include:"PROVIDER"
"RULE_BASED"
providerProperties
— (map
)An object which defines any additional configurations required by the provider service.
intermediateSourceConfiguration
— (map
)The Amazon S3 location that temporarily stores your data while it processes. Your information won't be saved permanently.
intermediateS3Path
— required — (String
)The Amazon S3 location (bucket and prefix). For example:
s3://provider_bucket/DOC-EXAMPLE-BUCKET
providerConfiguration
— (map
)The required configuration fields to use with the provider service.
providerServiceArn
— required — (String
)The ARN of the provider service.
ruleBasedProperties
— (map
)An object which defines any additional configurations required by rule-based matching.
attributeMatchingModel
— required — (String
)The comparison type. You can either choose
ONE_TO_ONE
orMANY_TO_MANY
as theattributeMatchingModel
.If you choose
MANY_TO_MANY
, the system can match attributes across the sub-types of an attribute type. For example, if the value of theEmail
field of Profile A matches the value of theBusinessEmail
field of Profile B, the two profiles are matched on theEmail
attribute type.If you choose
Possible values include:ONE_TO_ONE
, the system can only match attributes if the sub-types are an exact match. For example, for theEmail
attribute type, the system will only consider it a match if the value of theEmail
field of Profile A matches the value of theEmail
field of Profile B."ONE_TO_ONE"
"MANY_TO_MANY"
recordMatchingModel
— required — (String
)The type of matching record that is allowed to be used in an ID mapping workflow.
If the value is set to
ONE_SOURCE_TO_ONE_TARGET
, only one record in the source can be matched to the same record in the target.If the value is set to
Possible values include:MANY_SOURCE_TO_ONE_TARGET
, multiple records in the source can be matched to one record in the target."ONE_SOURCE_TO_ONE_TARGET"
"MANY_SOURCE_TO_ONE_TARGET"
ruleDefinitionType
— required — (String
)The set of rules you can use in an ID mapping workflow. The limitations specified for the source or target to define the match rules must be compatible.
Possible values include:"SOURCE"
"TARGET"
rules
— (Array<map>
)The rules that can be used for ID mapping.
matchingKeys
— required — (Array<String>
)A list of
MatchingKeys
. TheMatchingKeys
must have been defined in theSchemaMapping
. Two records are considered to match according to this rule if all of theMatchingKeys
match.ruleName
— required — (String
)A name for the matching rule.
inputSourceConfig
— (Array<map>
)A list of
InputSource
objects, which have the fieldsInputSourceARN
andSchemaName
.inputSourceARN
— required — (String
)An Glue table Amazon Resource Name (ARN) or a matching workflow ARN for the input source table.
schemaName
— (String
)The name of the schema to be retrieved.
type
— (String
)The type of ID namespace. There are two types:
SOURCE
andTARGET
.The
SOURCE
contains configurations forsourceId
data that will be processed in an ID mapping workflow.The
Possible values include:TARGET
contains a configuration oftargetId
which allsourceIds
will resolve to."SOURCE"
"TARGET"
outputSourceConfig
— (Array<map>
)A list of
OutputSource
objects, each of which contains fieldsOutputS3Path
andKMSArn
.KMSArn
— (String
)Customer KMS ARN for encryption at rest. If not provided, system will use an Entity Resolution managed KMS key.
outputS3Path
— required — (String
)The S3 path to which Entity Resolution will write the output table.
roleArn
— (String
)The Amazon Resource Name (ARN) of the IAM role. Entity Resolution assumes this role to access Amazon Web Services resources on your behalf.
tags
— (map<String>
)The tags used to organize, track, or control access for this resource.
updatedAt
— (Date
)The timestamp of when the workflow was last updated.
workflowArn
— (String
)The ARN (Amazon Resource Name) that Entity Resolution generated for the
IdMappingWorkflow
.workflowName
— (String
)The name of the workflow.
-
(AWS.Response)
—
Returns:
getIdNamespace(params = {}, callback) ⇒ AWS.Request
Returns the
IdNamespace
with a given name, if it exists.Service Reference:
Examples:
Calling the getIdNamespace operation
var params = { idNamespaceName: 'STRING_VALUE' /* required */ }; entityresolution.getIdNamespace(params, function(err, data) { if (err) console.log(err, err.stack); // an error occurred else console.log(data); // successful response });
Parameters:
-
params
(Object)
(defaults to: {})
—
idNamespaceName
— (String
)The name of the ID namespace.
Callback (callback):
-
function(err, data) { ... }
Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.
Context (this):
-
(AWS.Response)
—
the response object containing error, data properties, and the original request object.
Parameters:
-
err
(Error)
—
the error object returned from the request. Set to
null
if the request is successful. -
data
(Object)
—
the de-serialized data returned from the request. Set to
null
if a request error occurs. Thedata
object has the following properties:createdAt
— (Date
)The timestamp of when the ID namespace was created.
description
— (String
)The description of the ID namespace.
idMappingWorkflowProperties
— (Array<map>
)Determines the properties of
IdMappingWorkflow
where thisIdNamespace
can be used as aSource
or aTarget
.idMappingType
— required — (String
)The type of ID mapping.
Possible values include:"PROVIDER"
"RULE_BASED"
providerProperties
— (map
)An object which defines any additional configurations required by the provider service.
providerConfiguration
— (map
)An object which defines any additional configurations required by the provider service.
providerServiceArn
— required — (String
)The Amazon Resource Name (ARN) of the provider service.
ruleBasedProperties
— (map
)An object which defines any additional configurations required by rule-based matching.
attributeMatchingModel
— (String
)The comparison type. You can either choose
ONE_TO_ONE
orMANY_TO_MANY
as theattributeMatchingModel
.If you choose
MANY_TO_MANY
, the system can match attributes across the sub-types of an attribute type. For example, if the value of theEmail
field of Profile A matches the value ofBusinessEmail
field of Profile B, the two profiles are matched on theEmail
attribute type.If you choose
Possible values include:ONE_TO_ONE
, the system can only match attributes if the sub-types are an exact match. For example, for theEmail
attribute type, the system will only consider it a match if the value of theEmail
field of Profile A matches the value of theEmail
field of Profile B."ONE_TO_ONE"
"MANY_TO_MANY"
recordMatchingModels
— (Array<String>
)The type of matching record that is allowed to be used in an ID mapping workflow.
If the value is set to
ONE_SOURCE_TO_ONE_TARGET
, only one record in the source is matched to one record in the target.If the value is set to
MANY_SOURCE_TO_ONE_TARGET
, all matching records in the source are matched to one record in the target.ruleDefinitionTypes
— (Array<String>
)The sets of rules you can use in an ID mapping workflow. The limitations specified for the source and target must be compatible.
rules
— (Array<map>
)The rules for the ID namespace.
matchingKeys
— required — (Array<String>
)A list of
MatchingKeys
. TheMatchingKeys
must have been defined in theSchemaMapping
. Two records are considered to match according to this rule if all of theMatchingKeys
match.ruleName
— required — (String
)A name for the matching rule.
idNamespaceArn
— (String
)The Amazon Resource Name (ARN) of the ID namespace.
idNamespaceName
— (String
)The name of the ID namespace.
inputSourceConfig
— (Array<map>
)A list of
InputSource
objects, which have the fieldsInputSourceARN
andSchemaName
.inputSourceARN
— required — (String
)An Glue table Amazon Resource Name (ARN) or a matching workflow ARN for the input source table.
schemaName
— (String
)The name of the schema.
roleArn
— (String
)The Amazon Resource Name (ARN) of the IAM role. Entity Resolution assumes this role to access the resources defined in this
IdNamespace
on your behalf as part of a workflow run.tags
— (map<String>
)The tags used to organize, track, or control access for this resource.
type
— (String
)The type of ID namespace. There are two types:
SOURCE
andTARGET
.The
SOURCE
contains configurations forsourceId
data that will be processed in an ID mapping workflow.The
Possible values include:TARGET
contains a configuration oftargetId
to which allsourceIds
will resolve to."SOURCE"
"TARGET"
updatedAt
— (Date
)The timestamp of when the ID namespace was last updated.
-
(AWS.Response)
—
Returns:
getMatchId(params = {}, callback) ⇒ AWS.Request
Returns the corresponding Match ID of a customer record if the record has been processed.
Service Reference:
Examples:
Calling the getMatchId operation
var params = { record: { /* required */ '<RecordAttributeMapKeyString>': 'STRING_VALUE', /* '<RecordAttributeMapKeyString>': ... */ }, workflowName: 'STRING_VALUE', /* required */ applyNormalization: true || false }; entityresolution.getMatchId(params, function(err, data) { if (err) console.log(err, err.stack); // an error occurred else console.log(data); // successful response });
Parameters:
-
params
(Object)
(defaults to: {})
—
applyNormalization
— (Boolean
)Normalizes the attributes defined in the schema in the input data. For example, if an attribute has an
AttributeType
ofPHONE_NUMBER
, and the data in the input table is in a format of 1234567890, Entity Resolution will normalize this field in the output to (123)-456-7890.record
— (map<String>
)The record to fetch the Match ID for.
workflowName
— (String
)The name of the workflow.
Callback (callback):
-
function(err, data) { ... }
Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.
Context (this):
-
(AWS.Response)
—
the response object containing error, data properties, and the original request object.
Parameters:
-
err
(Error)
—
the error object returned from the request. Set to
null
if the request is successful. -
data
(Object)
—
the de-serialized data returned from the request. Set to
null
if a request error occurs. Thedata
object has the following properties:matchId
— (String
)The unique identifiers for this group of match records.
matchRule
— (String
)The rule the record matched on.
-
(AWS.Response)
—
Returns:
getMatchingJob(params = {}, callback) ⇒ AWS.Request
Gets the status, metrics, and errors (if there are any) that are associated with a job.
Service Reference:
Examples:
Calling the getMatchingJob operation
var params = { jobId: 'STRING_VALUE', /* required */ workflowName: 'STRING_VALUE' /* required */ }; entityresolution.getMatchingJob(params, function(err, data) { if (err) console.log(err, err.stack); // an error occurred else console.log(data); // successful response });
Parameters:
-
params
(Object)
(defaults to: {})
—
jobId
— (String
)The ID of the job.
workflowName
— (String
)The name of the workflow.
Callback (callback):
-
function(err, data) { ... }
Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.
Context (this):
-
(AWS.Response)
—
the response object containing error, data properties, and the original request object.
Parameters:
-
err
(Error)
—
the error object returned from the request. Set to
null
if the request is successful. -
data
(Object)
—
the de-serialized data returned from the request. Set to
null
if a request error occurs. Thedata
object has the following properties:endTime
— (Date
)The time at which the job has finished.
errorDetails
— (map
)An object containing an error message, if there was an error.
errorMessage
— (String
)The error message from the job, if there is one.
jobId
— (String
)The ID of the job.
metrics
— (map
)Metrics associated with the execution, specifically total records processed, unique IDs generated, and records the execution skipped.
inputRecords
— (Integer
)The total number of input records.
matchIDs
— (Integer
)The total number of
matchID
s generated.recordsNotProcessed
— (Integer
)The total number of records that did not get processed.
totalRecordsProcessed
— (Integer
)The total number of records processed.
outputSourceConfig
— (Array<map>
)A list of
OutputSource
objects.KMSArn
— (String
)Customer KMS ARN for encryption at rest. If not provided, system will use an Entity Resolution managed KMS key.
outputS3Path
— required — (String
)The S3 path to which Entity Resolution will write the output table.
roleArn
— required — (String
)The Amazon Resource Name (ARN) of the IAM role. Entity Resolution assumes this role to access Amazon Web Services resources on your behalf as part of workflow execution.
startTime
— (Date
)The time at which the job was started.
status
— (String
)The current status of the job.
Possible values include:"RUNNING"
"SUCCEEDED"
"FAILED"
"QUEUED"
-
(AWS.Response)
—
Returns:
getMatchingWorkflow(params = {}, callback) ⇒ AWS.Request
Returns the
MatchingWorkflow
with a given name, if it exists.Service Reference:
Examples:
Calling the getMatchingWorkflow operation
var params = { workflowName: 'STRING_VALUE' /* required */ }; entityresolution.getMatchingWorkflow(params, function(err, data) { if (err) console.log(err, err.stack); // an error occurred else console.log(data); // successful response });
Parameters:
-
params
(Object)
(defaults to: {})
—
workflowName
— (String
)The name of the workflow.
Callback (callback):
-
function(err, data) { ... }
Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.
Context (this):
-
(AWS.Response)
—
the response object containing error, data properties, and the original request object.
Parameters:
-
err
(Error)
—
the error object returned from the request. Set to
null
if the request is successful. -
data
(Object)
—
the de-serialized data returned from the request. Set to
null
if a request error occurs. Thedata
object has the following properties:createdAt
— (Date
)The timestamp of when the workflow was created.
description
— (String
)A description of the workflow.
incrementalRunConfig
— (map
)An object which defines an incremental run type and has only
incrementalRunType
as a field.incrementalRunType
— (String
)The type of incremental run. It takes only one value:
Possible values include:IMMEDIATE
."IMMEDIATE"
inputSourceConfig
— (Array<map>
)A list of
InputSource
objects, which have the fieldsInputSourceARN
andSchemaName
.applyNormalization
— (Boolean
)Normalizes the attributes defined in the schema in the input data. For example, if an attribute has an
AttributeType
ofPHONE_NUMBER
, and the data in the input table is in a format of 1234567890, Entity Resolution will normalize this field in the output to (123)-456-7890.inputSourceARN
— required — (String
)An Glue table Amazon Resource Name (ARN) for the input source table.
schemaName
— required — (String
)The name of the schema to be retrieved.
outputSourceConfig
— (Array<map>
)A list of
OutputSource
objects, each of which contains fieldsOutputS3Path
,ApplyNormalization
, andOutput
.KMSArn
— (String
)Customer KMS ARN for encryption at rest. If not provided, system will use an Entity Resolution managed KMS key.
applyNormalization
— (Boolean
)Normalizes the attributes defined in the schema in the input data. For example, if an attribute has an
AttributeType
ofPHONE_NUMBER
, and the data in the input table is in a format of 1234567890, Entity Resolution will normalize this field in the output to (123)-456-7890.output
— required — (Array<map>
)A list of
OutputAttribute
objects, each of which have the fieldsName
andHashed
. Each of these objects selects a column to be included in the output table, and whether the values of the column should be hashed.hashed
— (Boolean
)Enables the ability to hash the column values in the output.
name
— required — (String
)A name of a column to be written to the output. This must be an
InputField
name in the schema mapping.
outputS3Path
— required — (String
)The S3 path to which Entity Resolution will write the output table.
resolutionTechniques
— (map
)An object which defines the
resolutionType
and theruleBasedProperties
.providerProperties
— (map
)The properties of the provider service.
intermediateSourceConfiguration
— (map
)The Amazon S3 location that temporarily stores your data while it processes. Your information won't be saved permanently.
intermediateS3Path
— required — (String
)The Amazon S3 location (bucket and prefix). For example:
s3://provider_bucket/DOC-EXAMPLE-BUCKET
providerConfiguration
— (map
)The required configuration fields to use with the provider service.
providerServiceArn
— required — (String
)The ARN of the provider service.
resolutionType
— required — (String
)The type of matching. There are three types of matching:
Possible values include:RULE_MATCHING
,ML_MATCHING
, andPROVIDER
."RULE_MATCHING"
"ML_MATCHING"
"PROVIDER"
ruleBasedProperties
— (map
)An object which defines the list of matching rules to run and has a field
Rules
, which is a list of rule objects.attributeMatchingModel
— required — (String
)The comparison type. You can either choose
ONE_TO_ONE
orMANY_TO_MANY
as theattributeMatchingModel
.If you choose
MANY_TO_MANY
, the system can match attributes across the sub-types of an attribute type. For example, if the value of theEmail
field of Profile A and the value ofBusinessEmail
field of Profile B matches, the two profiles are matched on theEmail
attribute type.If you choose
Possible values include:ONE_TO_ONE
, the system can only match attributes if the sub-types are an exact match. For example, for theEmail
attribute type, the system will only consider it a match if the value of theEmail
field of Profile A matches the value of theEmail
field of Profile B."ONE_TO_ONE"
"MANY_TO_MANY"
matchPurpose
— (String
)An indicator of whether to generate IDs and index the data or not.
If you choose
IDENTIFIER_GENERATION
, the process generates IDs and indexes the data.If you choose
Possible values include:INDEXING
, the process indexes the data without generating IDs."IDENTIFIER_GENERATION"
"INDEXING"
rules
— required — (Array<map>
)A list of
Rule
objects, each of which have fieldsRuleName
andMatchingKeys
.matchingKeys
— required — (Array<String>
)A list of
MatchingKeys
. TheMatchingKeys
must have been defined in theSchemaMapping
. Two records are considered to match according to this rule if all of theMatchingKeys
match.ruleName
— required — (String
)A name for the matching rule.
roleArn
— (String
)The Amazon Resource Name (ARN) of the IAM role. Entity Resolution assumes this role to access Amazon Web Services resources on your behalf.
tags
— (map<String>
)The tags used to organize, track, or control access for this resource.
updatedAt
— (Date
)The timestamp of when the workflow was last updated.
workflowArn
— (String
)The ARN (Amazon Resource Name) that Entity Resolution generated for the
MatchingWorkflow
.workflowName
— (String
)The name of the workflow.
-
(AWS.Response)
—
Returns:
getPolicy(params = {}, callback) ⇒ AWS.Request
Returns the resource-based policy.
Service Reference:
Examples:
Calling the getPolicy operation
var params = { arn: 'STRING_VALUE' /* required */ }; entityresolution.getPolicy(params, function(err, data) { if (err) console.log(err, err.stack); // an error occurred else console.log(data); // successful response });
Parameters:
-
params
(Object)
(defaults to: {})
—
arn
— (String
)The Amazon Resource Name (ARN) of the resource for which the policy need to be returned.
Callback (callback):
-
function(err, data) { ... }
Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.
Context (this):
-
(AWS.Response)
—
the response object containing error, data properties, and the original request object.
Parameters:
-
err
(Error)
—
the error object returned from the request. Set to
null
if the request is successful. -
data
(Object)
—
the de-serialized data returned from the request. Set to
null
if a request error occurs. Thedata
object has the following properties:arn
— (String
)The Entity Resolution resource ARN.
policy
— (String
)The resource-based policy.
token
— (String
)A unique identifier for the current revision of the policy.
-
(AWS.Response)
—
Returns:
getProviderService(params = {}, callback) ⇒ AWS.Request
Returns the
ProviderService
of a given name.Service Reference:
Examples:
Calling the getProviderService operation
var params = { providerName: 'STRING_VALUE', /* required */ providerServiceName: 'STRING_VALUE' /* required */ }; entityresolution.getProviderService(params, function(err, data) { if (err) console.log(err, err.stack); // an error occurred else console.log(data); // successful response });
Parameters:
-
params
(Object)
(defaults to: {})
—
providerName
— (String
)The name of the provider. This name is typically the company name.
providerServiceName
— (String
)The ARN (Amazon Resource Name) of the product that the provider service provides.
Callback (callback):
-
function(err, data) { ... }
Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.
Context (this):
-
(AWS.Response)
—
the response object containing error, data properties, and the original request object.
Parameters:
-
err
(Error)
—
the error object returned from the request. Set to
null
if the request is successful. -
data
(Object)
—
the de-serialized data returned from the request. Set to
null
if a request error occurs. Thedata
object has the following properties:anonymizedOutput
— (Boolean
)Specifies whether output data from the provider is anonymized. A value of
TRUE
means the output will be anonymized and you can't relate the data that comes back from the provider to the identifying input. A value ofFALSE
means the output won't be anonymized and you can relate the data that comes back from the provider to your source data.providerComponentSchema
— (map
)Input schema for the provider service.
providerSchemaAttributes
— (Array<map>
)The provider schema attributes.
fieldName
— required — (String
)The field name.
hashing
— (Boolean
)The hashing attribute of the provider schema.
subType
— (String
)The sub type of the provider schema attribute.
type
— required — (String
)The type of the provider schema attribute.
Possible values include:"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"
schemas
— (Array<Array<String>>
)Input schema for the provider service.
providerConfigurationDefinition
— (map
)The definition of the provider configuration.
providerEndpointConfiguration
— (map
)The required configuration fields to use with the provider service.
marketplaceConfiguration
— (map
)The identifiers of the provider service, from Data Exchange.
assetId
— required — (String
)The asset ID on Data Exchange.
dataSetId
— required — (String
)The dataset ID on Data Exchange.
listingId
— required — (String
)The listing ID on Data Exchange.
revisionId
— required — (String
)The revision ID on Data Exchange.
providerEntityOutputDefinition
— (map
)The definition of the provider entity output.
providerIdNameSpaceConfiguration
— (map
)The provider configuration required for different ID namespace types.
description
— (String
)The description of the ID namespace.
providerSourceConfigurationDefinition
— (map
)Configurations required for the source ID namespace.
providerTargetConfigurationDefinition
— (map
)Configurations required for the target ID namespace.
providerIntermediateDataAccessConfiguration
— (map
)The Amazon Web Services accounts and the S3 permissions that are required by some providers to create an S3 bucket for intermediate data storage.
awsAccountIds
— (Array<String>
)The Amazon Web Services account that provider can use to read or write data into the customer's intermediate S3 bucket.
requiredBucketActions
— (Array<String>
)The S3 bucket actions that the provider requires permission for.
providerJobConfiguration
— (map
)Provider service job configurations.
providerName
— (String
)The name of the provider. This name is typically the company name.
providerServiceArn
— (String
)The ARN (Amazon Resource Name) that Entity Resolution generated for the provider service.
providerServiceDisplayName
— (String
)The display name of the provider service.
providerServiceName
— (String
)The name of the product that the provider service provides.
providerServiceType
— (String
)The type of provider service.
Possible values include:"ASSIGNMENT"
"ID_MAPPING"
-
(AWS.Response)
—
Returns:
getSchemaMapping(params = {}, callback) ⇒ AWS.Request
Returns the SchemaMapping of a given name.
Service Reference:
Examples:
Calling the getSchemaMapping operation
var params = { schemaName: 'STRING_VALUE' /* required */ }; entityresolution.getSchemaMapping(params, function(err, data) { if (err) console.log(err, err.stack); // an error occurred else console.log(data); // successful response });
Parameters:
-
params
(Object)
(defaults to: {})
—
schemaName
— (String
)The name of the schema to be retrieved.
Callback (callback):
-
function(err, data) { ... }
Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.
Context (this):
-
(AWS.Response)
—
the response object containing error, data properties, and the original request object.
Parameters:
-
err
(Error)
—
the error object returned from the request. Set to
null
if the request is successful. -
data
(Object)
—
the de-serialized data returned from the request. Set to
null
if a request error occurs. Thedata
object has the following properties:createdAt
— (Date
)The timestamp of when the
SchemaMapping
was created.description
— (String
)A description of the schema.
hasWorkflows
— (Boolean
)Specifies whether the schema mapping has been applied to a workflow.
mappedInputFields
— (Array<map>
)A list of
MappedInputFields
. EachMappedInputField
corresponds to a column the source data table, and contains column name plus additional information Venice uses for matching.fieldName
— required — (String
)A string containing the field name.
groupName
— (String
)A string that instructs Entity Resolution to combine several columns into a unified column with the identical attribute type.
For example, when working with columns such as
first_name
,middle_name
, andlast_name
, assigning them a commongroupName
will prompt Entity Resolution to concatenate them into a single value.hashed
— (Boolean
)Indicates if the column values are hashed in the schema input. If the value is set to
TRUE
, the column values are hashed. If the value is set toFALSE
, the column values are cleartext.matchKey
— (String
)A key that allows grouping of multiple input attributes into a unified matching group.
For example, consider a scenario where the source table contains various addresses, such as
business_address
andshipping_address
. By assigning amatchKey
calledaddress
to both attributes, Entity Resolution will match records across these fields to create a consolidated matching group.If no
matchKey
is specified for a column, it won't be utilized for matching purposes but will still be included in the output table.subType
— (String
)The subtype of the attribute, selected from a list of values.
type
— required — (String
)The type of the attribute, selected from a list of values.
Possible values include:"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
)The ARN (Amazon Resource Name) that Entity Resolution generated for the SchemaMapping.
schemaName
— (String
)The name of the schema.
tags
— (map<String>
)The tags used to organize, track, or control access for this resource.
updatedAt
— (Date
)The timestamp of when the
SchemaMapping
was last updated.
-
(AWS.Response)
—
Returns:
listIdMappingJobs(params = {}, callback) ⇒ AWS.Request
Lists all ID mapping jobs for a given workflow.
Service Reference:
Examples:
Calling the listIdMappingJobs operation
var params = { workflowName: 'STRING_VALUE', /* required */ maxResults: 'NUMBER_VALUE', nextToken: 'STRING_VALUE' }; entityresolution.listIdMappingJobs(params, function(err, data) { if (err) console.log(err, err.stack); // an error occurred else console.log(data); // successful response });
Parameters:
-
params
(Object)
(defaults to: {})
—
maxResults
— (Integer
)The maximum number of objects returned per page.
nextToken
— (String
)The pagination token from the previous API call.
workflowName
— (String
)The name of the workflow to be retrieved.
Callback (callback):
-
function(err, data) { ... }
Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.
Context (this):
-
(AWS.Response)
—
the response object containing error, data properties, and the original request object.
Parameters:
-
err
(Error)
—
the error object returned from the request. Set to
null
if the request is successful. -
data
(Object)
—
the de-serialized data returned from the request. Set to
null
if a request error occurs. Thedata
object has the following properties:jobs
— (Array<map>
)A list of
JobSummary
objects.endTime
— (Date
)The time at which the job has finished.
jobId
— required — (String
)The ID of the job.
startTime
— required — (Date
)The time at which the job was started.
status
— required — (String
)The current status of the job.
Possible values include:"RUNNING"
"SUCCEEDED"
"FAILED"
"QUEUED"
nextToken
— (String
)The pagination token from the previous API call.
-
(AWS.Response)
—
Returns:
listIdMappingWorkflows(params = {}, callback) ⇒ AWS.Request
Returns a list of all the
IdMappingWorkflows
that have been created for an Amazon Web Services account.Service Reference:
Examples:
Calling the listIdMappingWorkflows operation
var params = { maxResults: 'NUMBER_VALUE', nextToken: 'STRING_VALUE' }; entityresolution.listIdMappingWorkflows(params, function(err, data) { if (err) console.log(err, err.stack); // an error occurred else console.log(data); // successful response });
Parameters:
-
params
(Object)
(defaults to: {})
—
maxResults
— (Integer
)The maximum number of objects returned per page.
nextToken
— (String
)The pagination token from the previous API call.
Callback (callback):
-
function(err, data) { ... }
Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.
Context (this):
-
(AWS.Response)
—
the response object containing error, data properties, and the original request object.
Parameters:
-
err
(Error)
—
the error object returned from the request. Set to
null
if the request is successful. -
data
(Object)
—
the de-serialized data returned from the request. Set to
null
if a request error occurs. Thedata
object has the following properties:nextToken
— (String
)The pagination token from the previous API call.
workflowSummaries
— (Array<map>
)A list of
IdMappingWorkflowSummary
objects.createdAt
— required — (Date
)The timestamp of when the workflow was created.
updatedAt
— required — (Date
)The timestamp of when the workflow was last updated.
workflowArn
— required — (String
)The ARN (Amazon Resource Name) that Entity Resolution generated for the
IdMappingWorkflow
.workflowName
— required — (String
)The name of the workflow.
-
(AWS.Response)
—
Returns:
listIdNamespaces(params = {}, callback) ⇒ AWS.Request
Returns a list of all ID namespaces.
Service Reference:
Examples:
Calling the listIdNamespaces operation
var params = { maxResults: 'NUMBER_VALUE', nextToken: 'STRING_VALUE' }; entityresolution.listIdNamespaces(params, function(err, data) { if (err) console.log(err, err.stack); // an error occurred else console.log(data); // successful response });
Parameters:
-
params
(Object)
(defaults to: {})
—
maxResults
— (Integer
)The maximum number of
IdNamespace
objects returned per page.nextToken
— (String
)The pagination token from the previous API call.
Callback (callback):
-
function(err, data) { ... }
Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.
Context (this):
-
(AWS.Response)
—
the response object containing error, data properties, and the original request object.
Parameters:
-
err
(Error)
—
the error object returned from the request. Set to
null
if the request is successful. -
data
(Object)
—
the de-serialized data returned from the request. Set to
null
if a request error occurs. Thedata
object has the following properties:idNamespaceSummaries
— (Array<map>
)A list of
IdNamespaceSummaries
objects.createdAt
— required — (Date
)The timestamp of when the ID namespace was created.
description
— (String
)The description of the ID namespace.
idMappingWorkflowProperties
— (Array<map>
)An object which defines any additional configurations required by the ID mapping workflow.
idMappingType
— required — (String
)The type of ID mapping.
Possible values include:"PROVIDER"
"RULE_BASED"
idNamespaceArn
— required — (String
)The Amazon Resource Name (ARN) of the ID namespace.
idNamespaceName
— required — (String
)The name of the ID namespace.
type
— required — (String
)The type of ID namespace. There are two types:
SOURCE
andTARGET
.The
SOURCE
contains configurations forsourceId
data that will be processed in an ID mapping workflow.The
Possible values include:TARGET
contains a configuration oftargetId
which allsourceIds
will resolve to."SOURCE"
"TARGET"
updatedAt
— required — (Date
)The timestamp of when the ID namespace was last updated.
nextToken
— (String
)The pagination token from the previous API call.
-
(AWS.Response)
—
Returns:
listMatchingJobs(params = {}, callback) ⇒ AWS.Request
Lists all jobs for a given workflow.
Service Reference:
Examples:
Calling the listMatchingJobs operation
var params = { workflowName: 'STRING_VALUE', /* required */ maxResults: 'NUMBER_VALUE', nextToken: 'STRING_VALUE' }; entityresolution.listMatchingJobs(params, function(err, data) { if (err) console.log(err, err.stack); // an error occurred else console.log(data); // successful response });
Parameters:
-
params
(Object)
(defaults to: {})
—
maxResults
— (Integer
)The maximum number of objects returned per page.
nextToken
— (String
)The pagination token from the previous API call.
workflowName
— (String
)The name of the workflow to be retrieved.
Callback (callback):
-
function(err, data) { ... }
Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.
Context (this):
-
(AWS.Response)
—
the response object containing error, data properties, and the original request object.
Parameters:
-
err
(Error)
—
the error object returned from the request. Set to
null
if the request is successful. -
data
(Object)
—
the de-serialized data returned from the request. Set to
null
if a request error occurs. Thedata
object has the following properties:jobs
— (Array<map>
)A list of
JobSummary
objects, each of which contain the ID, status, start time, and end time of a job.endTime
— (Date
)The time at which the job has finished.
jobId
— required — (String
)The ID of the job.
startTime
— required — (Date
)The time at which the job was started.
status
— required — (String
)The current status of the job.
Possible values include:"RUNNING"
"SUCCEEDED"
"FAILED"
"QUEUED"
nextToken
— (String
)The pagination token from the previous API call.
-
(AWS.Response)
—
Returns:
listMatchingWorkflows(params = {}, callback) ⇒ AWS.Request
Returns a list of all the
MatchingWorkflows
that have been created for an Amazon Web Services account.Service Reference:
Examples:
Calling the listMatchingWorkflows operation
var params = { maxResults: 'NUMBER_VALUE', nextToken: 'STRING_VALUE' }; entityresolution.listMatchingWorkflows(params, function(err, data) { if (err) console.log(err, err.stack); // an error occurred else console.log(data); // successful response });
Parameters:
-
params
(Object)
(defaults to: {})
—
maxResults
— (Integer
)The maximum number of objects returned per page.
nextToken
— (String
)The pagination token from the previous API call.
Callback (callback):
-
function(err, data) { ... }
Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.
Context (this):
-
(AWS.Response)
—
the response object containing error, data properties, and the original request object.
Parameters:
-
err
(Error)
—
the error object returned from the request. Set to
null
if the request is successful. -
data
(Object)
—
the de-serialized data returned from the request. Set to
null
if a request error occurs. Thedata
object has the following properties:nextToken
— (String
)The pagination token from the previous API call.
workflowSummaries
— (Array<map>
)A list of
MatchingWorkflowSummary
objects, each of which contain the fieldsWorkflowName
,WorkflowArn
,CreatedAt
, andUpdatedAt
.createdAt
— required — (Date
)The timestamp of when the workflow was created.
resolutionType
— required — (String
)The method that has been specified for data matching, either using matching provided by Entity Resolution or through a provider service.
Possible values include:"RULE_MATCHING"
"ML_MATCHING"
"PROVIDER"
updatedAt
— required — (Date
)The timestamp of when the workflow was last updated.
workflowArn
— required — (String
)The ARN (Amazon Resource Name) that Entity Resolution generated for the
MatchingWorkflow
.workflowName
— required — (String
)The name of the workflow.
-
(AWS.Response)
—
Returns:
listProviderServices(params = {}, callback) ⇒ AWS.Request
Returns a list of all the
ProviderServices
that are available in this Amazon Web Services Region.Service Reference:
Examples:
Calling the listProviderServices operation
var params = { maxResults: 'NUMBER_VALUE', nextToken: 'STRING_VALUE', providerName: 'STRING_VALUE' }; entityresolution.listProviderServices(params, function(err, data) { if (err) console.log(err, err.stack); // an error occurred else console.log(data); // successful response });
Parameters:
-
params
(Object)
(defaults to: {})
—
maxResults
— (Integer
)The maximum number of objects returned per page.
nextToken
— (String
)The pagination token from the previous API call.
providerName
— (String
)The name of the provider. This name is typically the company name.
Callback (callback):
-
function(err, data) { ... }
Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.
Context (this):
-
(AWS.Response)
—
the response object containing error, data properties, and the original request object.
Parameters:
-
err
(Error)
—
the error object returned from the request. Set to
null
if the request is successful. -
data
(Object)
—
the de-serialized data returned from the request. Set to
null
if a request error occurs. Thedata
object has the following properties:nextToken
— (String
)The pagination token from the previous API call.
providerServiceSummaries
— (Array<map>
)A list of
ProviderServices
objects.providerName
— required — (String
)The name of the provider. This name is typically the company name.
providerServiceArn
— required — (String
)The ARN (Amazon Resource Name) that Entity Resolution generated for the
providerService
.providerServiceDisplayName
— required — (String
)The display name of the provider service.
providerServiceName
— required — (String
)The name of the product that the provider service provides.
providerServiceType
— required — (String
)The type of provider service.
Possible values include:"ASSIGNMENT"
"ID_MAPPING"
-
(AWS.Response)
—
Returns:
listSchemaMappings(params = {}, callback) ⇒ AWS.Request
Returns a list of all the
SchemaMappings
that have been created for an Amazon Web Services account.Service Reference:
Examples:
Calling the listSchemaMappings operation
var params = { maxResults: 'NUMBER_VALUE', nextToken: 'STRING_VALUE' }; entityresolution.listSchemaMappings(params, function(err, data) { if (err) console.log(err, err.stack); // an error occurred else console.log(data); // successful response });
Parameters:
-
params
(Object)
(defaults to: {})
—
maxResults
— (Integer
)The maximum number of objects returned per page.
nextToken
— (String
)The pagination token from the previous API call.
Callback (callback):
-
function(err, data) { ... }
Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.
Context (this):
-
(AWS.Response)
—
the response object containing error, data properties, and the original request object.
Parameters:
-
err
(Error)
—
the error object returned from the request. Set to
null
if the request is successful. -
data
(Object)
—
the de-serialized data returned from the request. Set to
null
if a request error occurs. Thedata
object has the following properties:nextToken
— (String
)The pagination token from the previous API call.
schemaList
— (Array<map>
)A list of
SchemaMappingSummary
objects, each of which contain the fieldsSchemaName
,SchemaArn
,CreatedAt
,UpdatedAt
.createdAt
— required — (Date
)The timestamp of when the
SchemaMapping
was created.hasWorkflows
— required — (Boolean
)Specifies whether the schema mapping has been applied to a workflow.
schemaArn
— required — (String
)The ARN (Amazon Resource Name) that Entity Resolution generated for the
SchemaMapping
.schemaName
— required — (String
)The name of the schema.
updatedAt
— required — (Date
)The timestamp of when the
SchemaMapping
was last updated.
-
(AWS.Response)
—
Returns:
listTagsForResource(params = {}, callback) ⇒ AWS.Request
Displays the tags associated with an Entity Resolution resource. In Entity Resolution,
SchemaMapping
, andMatchingWorkflow
can be tagged.Service Reference:
Examples:
Calling the listTagsForResource operation
var params = { resourceArn: 'STRING_VALUE' /* required */ }; entityresolution.listTagsForResource(params, function(err, data) { if (err) console.log(err, err.stack); // an error occurred else console.log(data); // successful response });
Parameters:
-
params
(Object)
(defaults to: {})
—
resourceArn
— (String
)The ARN of the resource for which you want to view tags.
Callback (callback):
-
function(err, data) { ... }
Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.
Context (this):
-
(AWS.Response)
—
the response object containing error, data properties, and the original request object.
Parameters:
-
err
(Error)
—
the error object returned from the request. Set to
null
if the request is successful. -
data
(Object)
—
the de-serialized data returned from the request. Set to
null
if a request error occurs. Thedata
object has the following properties:tags
— (map<String>
)The tags used to organize, track, or control access for this resource.
-
(AWS.Response)
—
Returns:
putPolicy(params = {}, callback) ⇒ AWS.Request
Updates the resource-based policy.
Service Reference:
Examples:
Calling the putPolicy operation
var params = { arn: 'STRING_VALUE', /* required */ policy: 'STRING_VALUE', /* required */ token: 'STRING_VALUE' }; entityresolution.putPolicy(params, function(err, data) { if (err) console.log(err, err.stack); // an error occurred else console.log(data); // successful response });
Parameters:
-
params
(Object)
(defaults to: {})
—
arn
— (String
)The Amazon Resource Name (ARN) of the resource for which the policy needs to be updated.
policy
— (String
)The resource-based policy.
If you set the value of the
effect
parameter in thepolicy
toDeny
for thePutPolicy
operation, you must also set the value of theeffect
parameter toDeny
for theAddPolicyStatement
operation.token
— (String
)A unique identifier for the current revision of the policy.
Callback (callback):
-
function(err, data) { ... }
Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.
Context (this):
-
(AWS.Response)
—
the response object containing error, data properties, and the original request object.
Parameters:
-
err
(Error)
—
the error object returned from the request. Set to
null
if the request is successful. -
data
(Object)
—
the de-serialized data returned from the request. Set to
null
if a request error occurs. Thedata
object has the following properties:arn
— (String
)The Entity Resolution resource ARN.
policy
— (String
)The resource-based policy.
token
— (String
)A unique identifier for the current revision of the policy.
-
(AWS.Response)
—
Returns:
startIdMappingJob(params = {}, callback) ⇒ AWS.Request
Starts the
IdMappingJob
of a workflow. The workflow must have previously been created using theCreateIdMappingWorkflow
endpoint.Service Reference:
Examples:
Calling the startIdMappingJob operation
var params = { workflowName: 'STRING_VALUE', /* required */ outputSourceConfig: [ { outputS3Path: 'STRING_VALUE', /* required */ roleArn: 'STRING_VALUE', /* required */ KMSArn: 'STRING_VALUE' }, /* more items */ ] }; entityresolution.startIdMappingJob(params, function(err, data) { if (err) console.log(err, err.stack); // an error occurred else console.log(data); // successful response });
Parameters:
-
params
(Object)
(defaults to: {})
—
outputSourceConfig
— (Array<map>
)A list of
OutputSource
objects.KMSArn
— (String
)Customer KMS ARN for encryption at rest. If not provided, system will use an Entity Resolution managed KMS key.
outputS3Path
— required — (String
)The S3 path to which Entity Resolution will write the output table.
roleArn
— required — (String
)The Amazon Resource Name (ARN) of the IAM role. Entity Resolution assumes this role to access Amazon Web Services resources on your behalf as part of workflow execution.
workflowName
— (String
)The name of the ID mapping job to be retrieved.
Callback (callback):
-
function(err, data) { ... }
Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.
Context (this):
-
(AWS.Response)
—
the response object containing error, data properties, and the original request object.
Parameters:
-
err
(Error)
—
the error object returned from the request. Set to
null
if the request is successful. -
data
(Object)
—
the de-serialized data returned from the request. Set to
null
if a request error occurs. Thedata
object has the following properties:jobId
— (String
)The ID of the job.
outputSourceConfig
— (Array<map>
)A list of
OutputSource
objects.KMSArn
— (String
)Customer KMS ARN for encryption at rest. If not provided, system will use an Entity Resolution managed KMS key.
outputS3Path
— required — (String
)The S3 path to which Entity Resolution will write the output table.
roleArn
— required — (String
)The Amazon Resource Name (ARN) of the IAM role. Entity Resolution assumes this role to access Amazon Web Services resources on your behalf as part of workflow execution.
-
(AWS.Response)
—
Returns:
startMatchingJob(params = {}, callback) ⇒ AWS.Request
Starts the
MatchingJob
of a workflow. The workflow must have previously been created using theCreateMatchingWorkflow
endpoint.Service Reference:
Examples:
Calling the startMatchingJob operation
var params = { workflowName: 'STRING_VALUE' /* required */ }; entityresolution.startMatchingJob(params, function(err, data) { if (err) console.log(err, err.stack); // an error occurred else console.log(data); // successful response });
Parameters:
-
params
(Object)
(defaults to: {})
—
workflowName
— (String
)The name of the matching job to be retrieved.
Callback (callback):
-
function(err, data) { ... }
Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.
Context (this):
-
(AWS.Response)
—
the response object containing error, data properties, and the original request object.
Parameters:
-
err
(Error)
—
the error object returned from the request. Set to
null
if the request is successful. -
data
(Object)
—
the de-serialized data returned from the request. Set to
null
if a request error occurs. Thedata
object has the following properties:jobId
— (String
)The ID of the job.
-
(AWS.Response)
—
Returns:
tagResource(params = {}, callback) ⇒ AWS.Request
Assigns one or more tags (key-value pairs) to the specified Entity Resolution resource. Tags can help you organize and categorize your resources. You can also use them to scope user permissions by granting a user permission to access or change only resources with certain tag values. In Entity Resolution,
SchemaMapping
andMatchingWorkflow
can be tagged. Tags don't have any semantic meaning to Amazon Web Services and are interpreted strictly as strings of characters. You can use theTagResource
action with a resource that already has tags. If you specify a new tag key, this tag is appended to the list of tags associated with the resource. If you specify a tag key that is already associated with the resource, the new tag value that you specify replaces the previous value for that tag.Service Reference:
Examples:
Calling the tagResource operation
var params = { resourceArn: 'STRING_VALUE', /* required */ tags: { /* required */ '<TagKey>': 'STRING_VALUE', /* '<TagKey>': ... */ } }; entityresolution.tagResource(params, function(err, data) { if (err) console.log(err, err.stack); // an error occurred else console.log(data); // successful response });
Parameters:
-
params
(Object)
(defaults to: {})
—
resourceArn
— (String
)The ARN of the resource for which you want to view tags.
tags
— (map<String>
)The tags used to organize, track, or control access for this resource.
Callback (callback):
-
function(err, data) { ... }
Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.
Context (this):
-
(AWS.Response)
—
the response object containing error, data properties, and the original request object.
Parameters:
-
err
(Error)
—
the error object returned from the request. Set to
null
if the request is successful. -
data
(Object)
—
the de-serialized data returned from the request. Set to
null
if a request error occurs.
-
(AWS.Response)
—
Returns:
untagResource(params = {}, callback) ⇒ AWS.Request
Removes one or more tags from the specified Entity Resolution resource. In Entity Resolution,
SchemaMapping
, andMatchingWorkflow
can be tagged.Service Reference:
Examples:
Calling the untagResource operation
var params = { resourceArn: 'STRING_VALUE', /* required */ tagKeys: [ /* required */ 'STRING_VALUE', /* more items */ ] }; entityresolution.untagResource(params, function(err, data) { if (err) console.log(err, err.stack); // an error occurred else console.log(data); // successful response });
Parameters:
-
params
(Object)
(defaults to: {})
—
resourceArn
— (String
)The ARN of the resource for which you want to untag.
tagKeys
— (Array<String>
)The list of tag keys to remove from the resource.
Callback (callback):
-
function(err, data) { ... }
Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.
Context (this):
-
(AWS.Response)
—
the response object containing error, data properties, and the original request object.
Parameters:
-
err
(Error)
—
the error object returned from the request. Set to
null
if the request is successful. -
data
(Object)
—
the de-serialized data returned from the request. Set to
null
if a request error occurs.
-
(AWS.Response)
—
Returns:
updateIdMappingWorkflow(params = {}, callback) ⇒ AWS.Request
Updates an existing
IdMappingWorkflow
. This method is identical toCreateIdMappingWorkflow
, except it uses an HTTPPUT
request instead of aPOST
request, and theIdMappingWorkflow
must already exist for the method to succeed.Service Reference:
Examples:
Calling the updateIdMappingWorkflow operation
var params = { idMappingTechniques: { /* required */ idMappingType: PROVIDER | RULE_BASED, /* required */ providerProperties: { providerServiceArn: 'STRING_VALUE', /* required */ intermediateSourceConfiguration: { intermediateS3Path: 'STRING_VALUE' /* required */ }, providerConfiguration: { } }, ruleBasedProperties: { attributeMatchingModel: ONE_TO_ONE | MANY_TO_MANY, /* required */ recordMatchingModel: ONE_SOURCE_TO_ONE_TARGET | MANY_SOURCE_TO_ONE_TARGET, /* required */ ruleDefinitionType: SOURCE | TARGET, /* required */ rules: [ { matchingKeys: [ /* required */ 'STRING_VALUE', /* more items */ ], ruleName: 'STRING_VALUE' /* required */ }, /* more items */ ] } }, inputSourceConfig: [ /* required */ { inputSourceARN: 'STRING_VALUE', /* required */ schemaName: 'STRING_VALUE', type: SOURCE | TARGET }, /* more items */ ], workflowName: 'STRING_VALUE', /* required */ description: 'STRING_VALUE', outputSourceConfig: [ { outputS3Path: 'STRING_VALUE', /* required */ KMSArn: 'STRING_VALUE' }, /* more items */ ], roleArn: 'STRING_VALUE' }; entityresolution.updateIdMappingWorkflow(params, function(err, data) { if (err) console.log(err, err.stack); // an error occurred else console.log(data); // successful response });
Parameters:
-
params
(Object)
(defaults to: {})
—
description
— (String
)A description of the workflow.
idMappingTechniques
— (map
)An object which defines the ID mapping technique and any additional configurations.
idMappingType
— required — (String
)The type of ID mapping.
Possible values include:"PROVIDER"
"RULE_BASED"
providerProperties
— (map
)An object which defines any additional configurations required by the provider service.
intermediateSourceConfiguration
— (map
)The Amazon S3 location that temporarily stores your data while it processes. Your information won't be saved permanently.
intermediateS3Path
— required — (String
)The Amazon S3 location (bucket and prefix). For example:
s3://provider_bucket/DOC-EXAMPLE-BUCKET
providerConfiguration
— (map
)The required configuration fields to use with the provider service.
providerServiceArn
— required — (String
)The ARN of the provider service.
ruleBasedProperties
— (map
)An object which defines any additional configurations required by rule-based matching.
attributeMatchingModel
— required — (String
)The comparison type. You can either choose
ONE_TO_ONE
orMANY_TO_MANY
as theattributeMatchingModel
.If you choose
MANY_TO_MANY
, the system can match attributes across the sub-types of an attribute type. For example, if the value of theEmail
field of Profile A matches the value of theBusinessEmail
field of Profile B, the two profiles are matched on theEmail
attribute type.If you choose
Possible values include:ONE_TO_ONE
, the system can only match attributes if the sub-types are an exact match. For example, for theEmail
attribute type, the system will only consider it a match if the value of theEmail
field of Profile A matches the value of theEmail
field of Profile B."ONE_TO_ONE"
"MANY_TO_MANY"
recordMatchingModel
— required — (String
)The type of matching record that is allowed to be used in an ID mapping workflow.
If the value is set to
ONE_SOURCE_TO_ONE_TARGET
, only one record in the source can be matched to the same record in the target.If the value is set to
Possible values include:MANY_SOURCE_TO_ONE_TARGET
, multiple records in the source can be matched to one record in the target."ONE_SOURCE_TO_ONE_TARGET"
"MANY_SOURCE_TO_ONE_TARGET"
ruleDefinitionType
— required — (String
)The set of rules you can use in an ID mapping workflow. The limitations specified for the source or target to define the match rules must be compatible.
Possible values include:"SOURCE"
"TARGET"
rules
— (Array<map>
)The rules that can be used for ID mapping.
matchingKeys
— required — (Array<String>
)A list of
MatchingKeys
. TheMatchingKeys
must have been defined in theSchemaMapping
. Two records are considered to match according to this rule if all of theMatchingKeys
match.ruleName
— required — (String
)A name for the matching rule.
inputSourceConfig
— (Array<map>
)A list of
InputSource
objects, which have the fieldsInputSourceARN
andSchemaName
.inputSourceARN
— required — (String
)An Glue table Amazon Resource Name (ARN) or a matching workflow ARN for the input source table.
schemaName
— (String
)The name of the schema to be retrieved.
type
— (String
)The type of ID namespace. There are two types:
SOURCE
andTARGET
.The
SOURCE
contains configurations forsourceId
data that will be processed in an ID mapping workflow.The
Possible values include:TARGET
contains a configuration oftargetId
which allsourceIds
will resolve to."SOURCE"
"TARGET"
outputSourceConfig
— (Array<map>
)A list of
OutputSource
objects, each of which contains fieldsOutputS3Path
andKMSArn
.KMSArn
— (String
)Customer KMS ARN for encryption at rest. If not provided, system will use an Entity Resolution managed KMS key.
outputS3Path
— required — (String
)The S3 path to which Entity Resolution will write the output table.
roleArn
— (String
)The Amazon Resource Name (ARN) of the IAM role. Entity Resolution assumes this role to access Amazon Web Services resources on your behalf.
workflowName
— (String
)The name of the workflow.
Callback (callback):
-
function(err, data) { ... }
Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.
Context (this):
-
(AWS.Response)
—
the response object containing error, data properties, and the original request object.
Parameters:
-
err
(Error)
—
the error object returned from the request. Set to
null
if the request is successful. -
data
(Object)
—
the de-serialized data returned from the request. Set to
null
if a request error occurs. Thedata
object has the following properties:description
— (String
)A description of the workflow.
idMappingTechniques
— (map
)An object which defines the ID mapping technique and any additional configurations.
idMappingType
— required — (String
)The type of ID mapping.
Possible values include:"PROVIDER"
"RULE_BASED"
providerProperties
— (map
)An object which defines any additional configurations required by the provider service.
intermediateSourceConfiguration
— (map
)The Amazon S3 location that temporarily stores your data while it processes. Your information won't be saved permanently.
intermediateS3Path
— required — (String
)The Amazon S3 location (bucket and prefix). For example:
s3://provider_bucket/DOC-EXAMPLE-BUCKET
providerConfiguration
— (map
)The required configuration fields to use with the provider service.
providerServiceArn
— required — (String
)The ARN of the provider service.
ruleBasedProperties
— (map
)An object which defines any additional configurations required by rule-based matching.
attributeMatchingModel
— required — (String
)The comparison type. You can either choose
ONE_TO_ONE
orMANY_TO_MANY
as theattributeMatchingModel
.If you choose
MANY_TO_MANY
, the system can match attributes across the sub-types of an attribute type. For example, if the value of theEmail
field of Profile A matches the value of theBusinessEmail
field of Profile B, the two profiles are matched on theEmail
attribute type.If you choose
Possible values include:ONE_TO_ONE
, the system can only match attributes if the sub-types are an exact match. For example, for theEmail
attribute type, the system will only consider it a match if the value of theEmail
field of Profile A matches the value of theEmail
field of Profile B."ONE_TO_ONE"
"MANY_TO_MANY"
recordMatchingModel
— required — (String
)The type of matching record that is allowed to be used in an ID mapping workflow.
If the value is set to
ONE_SOURCE_TO_ONE_TARGET
, only one record in the source can be matched to the same record in the target.If the value is set to
Possible values include:MANY_SOURCE_TO_ONE_TARGET
, multiple records in the source can be matched to one record in the target."ONE_SOURCE_TO_ONE_TARGET"
"MANY_SOURCE_TO_ONE_TARGET"
ruleDefinitionType
— required — (String
)The set of rules you can use in an ID mapping workflow. The limitations specified for the source or target to define the match rules must be compatible.
Possible values include:"SOURCE"
"TARGET"
rules
— (Array<map>
)The rules that can be used for ID mapping.
matchingKeys
— required — (Array<String>
)A list of
MatchingKeys
. TheMatchingKeys
must have been defined in theSchemaMapping
. Two records are considered to match according to this rule if all of theMatchingKeys
match.ruleName
— required — (String
)A name for the matching rule.
inputSourceConfig
— (Array<map>
)A list of
InputSource
objects, which have the fieldsInputSourceARN
andSchemaName
.inputSourceARN
— required — (String
)An Glue table Amazon Resource Name (ARN) or a matching workflow ARN for the input source table.
schemaName
— (String
)The name of the schema to be retrieved.
type
— (String
)The type of ID namespace. There are two types:
SOURCE
andTARGET
.The
SOURCE
contains configurations forsourceId
data that will be processed in an ID mapping workflow.The
Possible values include:TARGET
contains a configuration oftargetId
which allsourceIds
will resolve to."SOURCE"
"TARGET"
outputSourceConfig
— (Array<map>
)A list of
OutputSource
objects, each of which contains fieldsOutputS3Path
andKMSArn
.KMSArn
— (String
)Customer KMS ARN for encryption at rest. If not provided, system will use an Entity Resolution managed KMS key.
outputS3Path
— required — (String
)The S3 path to which Entity Resolution will write the output table.
roleArn
— (String
)The Amazon Resource Name (ARN) of the IAM role. Entity Resolution assumes this role to access Amazon Web Services resources on your behalf.
workflowArn
— (String
)The Amazon Resource Name (ARN) of the workflow role. Entity Resolution assumes this role to access Amazon Web Services resources on your behalf.
workflowName
— (String
)The name of the workflow.
-
(AWS.Response)
—
Returns:
updateIdNamespace(params = {}, callback) ⇒ AWS.Request
Updates an existing ID namespace.
Service Reference:
Examples:
Calling the updateIdNamespace operation
var params = { idNamespaceName: 'STRING_VALUE', /* required */ description: 'STRING_VALUE', idMappingWorkflowProperties: [ { idMappingType: PROVIDER | RULE_BASED, /* required */ providerProperties: { providerServiceArn: 'STRING_VALUE', /* required */ providerConfiguration: { } }, ruleBasedProperties: { attributeMatchingModel: ONE_TO_ONE | MANY_TO_MANY, recordMatchingModels: [ ONE_SOURCE_TO_ONE_TARGET | MANY_SOURCE_TO_ONE_TARGET, /* more items */ ], ruleDefinitionTypes: [ SOURCE | TARGET, /* more items */ ], rules: [ { matchingKeys: [ /* required */ 'STRING_VALUE', /* more items */ ], ruleName: 'STRING_VALUE' /* required */ }, /* more items */ ] } }, /* more items */ ], inputSourceConfig: [ { inputSourceARN: 'STRING_VALUE', /* required */ schemaName: 'STRING_VALUE' }, /* more items */ ], roleArn: 'STRING_VALUE' }; entityresolution.updateIdNamespace(params, function(err, data) { if (err) console.log(err, err.stack); // an error occurred else console.log(data); // successful response });
Parameters:
-
params
(Object)
(defaults to: {})
—
description
— (String
)The description of the ID namespace.
idMappingWorkflowProperties
— (Array<map>
)Determines the properties of
IdMappingWorkflow
where thisIdNamespace
can be used as aSource
or aTarget
.idMappingType
— required — (String
)The type of ID mapping.
Possible values include:"PROVIDER"
"RULE_BASED"
providerProperties
— (map
)An object which defines any additional configurations required by the provider service.
providerConfiguration
— (map
)An object which defines any additional configurations required by the provider service.
providerServiceArn
— required — (String
)The Amazon Resource Name (ARN) of the provider service.
ruleBasedProperties
— (map
)An object which defines any additional configurations required by rule-based matching.
attributeMatchingModel
— (String
)The comparison type. You can either choose
ONE_TO_ONE
orMANY_TO_MANY
as theattributeMatchingModel
.If you choose
MANY_TO_MANY
, the system can match attributes across the sub-types of an attribute type. For example, if the value of theEmail
field of Profile A matches the value ofBusinessEmail
field of Profile B, the two profiles are matched on theEmail
attribute type.If you choose
Possible values include:ONE_TO_ONE
, the system can only match attributes if the sub-types are an exact match. For example, for theEmail
attribute type, the system will only consider it a match if the value of theEmail
field of Profile A matches the value of theEmail
field of Profile B."ONE_TO_ONE"
"MANY_TO_MANY"
recordMatchingModels
— (Array<String>
)The type of matching record that is allowed to be used in an ID mapping workflow.
If the value is set to
ONE_SOURCE_TO_ONE_TARGET
, only one record in the source is matched to one record in the target.If the value is set to
MANY_SOURCE_TO_ONE_TARGET
, all matching records in the source are matched to one record in the target.ruleDefinitionTypes
— (Array<String>
)The sets of rules you can use in an ID mapping workflow. The limitations specified for the source and target must be compatible.
rules
— (Array<map>
)The rules for the ID namespace.
matchingKeys
— required — (Array<String>
)A list of
MatchingKeys
. TheMatchingKeys
must have been defined in theSchemaMapping
. Two records are considered to match according to this rule if all of theMatchingKeys
match.ruleName
— required — (String
)A name for the matching rule.
idNamespaceName
— (String
)The name of the ID namespace.
inputSourceConfig
— (Array<map>
)A list of
InputSource
objects, which have the fieldsInputSourceARN
andSchemaName
.inputSourceARN
— required — (String
)An Glue table Amazon Resource Name (ARN) or a matching workflow ARN for the input source table.
schemaName
— (String
)The name of the schema.
roleArn
— (String
)The Amazon Resource Name (ARN) of the IAM role. Entity Resolution assumes this role to access the resources defined in this
IdNamespace
on your behalf as part of a workflow run.
Callback (callback):
-
function(err, data) { ... }
Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.
Context (this):
-
(AWS.Response)
—
the response object containing error, data properties, and the original request object.
Parameters:
-
err
(Error)
—
the error object returned from the request. Set to
null
if the request is successful. -
data
(Object)
—
the de-serialized data returned from the request. Set to
null
if a request error occurs. Thedata
object has the following properties:createdAt
— (Date
)The timestamp of when the ID namespace was created.
description
— (String
)The description of the ID namespace.
idMappingWorkflowProperties
— (Array<map>
)Determines the properties of
IdMappingWorkflow
where thisIdNamespace
can be used as aSource
or aTarget
.idMappingType
— required — (String
)The type of ID mapping.
Possible values include:"PROVIDER"
"RULE_BASED"
providerProperties
— (map
)An object which defines any additional configurations required by the provider service.
providerConfiguration
— (map
)An object which defines any additional configurations required by the provider service.
providerServiceArn
— required — (String
)The Amazon Resource Name (ARN) of the provider service.
ruleBasedProperties
— (map
)An object which defines any additional configurations required by rule-based matching.
attributeMatchingModel
— (String
)The comparison type. You can either choose
ONE_TO_ONE
orMANY_TO_MANY
as theattributeMatchingModel
.If you choose
MANY_TO_MANY
, the system can match attributes across the sub-types of an attribute type. For example, if the value of theEmail
field of Profile A matches the value ofBusinessEmail
field of Profile B, the two profiles are matched on theEmail
attribute type.If you choose
Possible values include:ONE_TO_ONE
, the system can only match attributes if the sub-types are an exact match. For example, for theEmail
attribute type, the system will only consider it a match if the value of theEmail
field of Profile A matches the value of theEmail
field of Profile B."ONE_TO_ONE"
"MANY_TO_MANY"
recordMatchingModels
— (Array<String>
)The type of matching record that is allowed to be used in an ID mapping workflow.
If the value is set to
ONE_SOURCE_TO_ONE_TARGET
, only one record in the source is matched to one record in the target.If the value is set to
MANY_SOURCE_TO_ONE_TARGET
, all matching records in the source are matched to one record in the target.ruleDefinitionTypes
— (Array<String>
)The sets of rules you can use in an ID mapping workflow. The limitations specified for the source and target must be compatible.
rules
— (Array<map>
)The rules for the ID namespace.
matchingKeys
— required — (Array<String>
)A list of
MatchingKeys
. TheMatchingKeys
must have been defined in theSchemaMapping
. Two records are considered to match according to this rule if all of theMatchingKeys
match.ruleName
— required — (String
)A name for the matching rule.
idNamespaceArn
— (String
)The Amazon Resource Name (ARN) of the ID namespace.
idNamespaceName
— (String
)The name of the ID namespace.
inputSourceConfig
— (Array<map>
)A list of
InputSource
objects, which have the fieldsInputSourceARN
andSchemaName
.inputSourceARN
— required — (String
)An Glue table Amazon Resource Name (ARN) or a matching workflow ARN for the input source table.
schemaName
— (String
)The name of the schema.
roleArn
— (String
)The Amazon Resource Name (ARN) of the IAM role. Entity Resolution assumes this role to access the resources defined in this
IdNamespace
on your behalf as part of a workflow run.type
— (String
)The type of ID namespace. There are two types:
SOURCE
andTARGET
.The
SOURCE
contains configurations forsourceId
data that will be processed in an ID mapping workflow.The
Possible values include:TARGET
contains a configuration oftargetId
to which allsourceIds
will resolve to."SOURCE"
"TARGET"
updatedAt
— (Date
)The timestamp of when the ID namespace was last updated.
-
(AWS.Response)
—
Returns:
updateMatchingWorkflow(params = {}, callback) ⇒ AWS.Request
Updates an existing
MatchingWorkflow
. This method is identical toCreateMatchingWorkflow
, except it uses an HTTPPUT
request instead of aPOST
request, and theMatchingWorkflow
must already exist for the method to succeed.Service Reference:
Examples:
Calling the updateMatchingWorkflow operation
var params = { inputSourceConfig: [ /* required */ { inputSourceARN: 'STRING_VALUE', /* required */ schemaName: 'STRING_VALUE', /* required */ applyNormalization: true || false }, /* more items */ ], outputSourceConfig: [ /* required */ { output: [ /* required */ { name: 'STRING_VALUE', /* required */ hashed: true || false }, /* more items */ ], outputS3Path: 'STRING_VALUE', /* required */ KMSArn: 'STRING_VALUE', applyNormalization: true || false }, /* more items */ ], resolutionTechniques: { /* required */ resolutionType: RULE_MATCHING | ML_MATCHING | PROVIDER, /* required */ providerProperties: { providerServiceArn: 'STRING_VALUE', /* required */ intermediateSourceConfiguration: { intermediateS3Path: 'STRING_VALUE' /* required */ }, providerConfiguration: { } }, ruleBasedProperties: { attributeMatchingModel: ONE_TO_ONE | MANY_TO_MANY, /* required */ rules: [ /* required */ { matchingKeys: [ /* required */ 'STRING_VALUE', /* more items */ ], ruleName: 'STRING_VALUE' /* required */ }, /* more items */ ], matchPurpose: IDENTIFIER_GENERATION | INDEXING } }, roleArn: 'STRING_VALUE', /* required */ workflowName: 'STRING_VALUE', /* required */ description: 'STRING_VALUE', incrementalRunConfig: { incrementalRunType: IMMEDIATE } }; entityresolution.updateMatchingWorkflow(params, function(err, data) { if (err) console.log(err, err.stack); // an error occurred else console.log(data); // successful response });
Parameters:
-
params
(Object)
(defaults to: {})
—
description
— (String
)A description of the workflow.
incrementalRunConfig
— (map
)An object which defines an incremental run type and has only
incrementalRunType
as a field.incrementalRunType
— (String
)The type of incremental run. It takes only one value:
Possible values include:IMMEDIATE
."IMMEDIATE"
inputSourceConfig
— (Array<map>
)A list of
InputSource
objects, which have the fieldsInputSourceARN
andSchemaName
.applyNormalization
— (Boolean
)Normalizes the attributes defined in the schema in the input data. For example, if an attribute has an
AttributeType
ofPHONE_NUMBER
, and the data in the input table is in a format of 1234567890, Entity Resolution will normalize this field in the output to (123)-456-7890.inputSourceARN
— required — (String
)An Glue table Amazon Resource Name (ARN) for the input source table.
schemaName
— required — (String
)The name of the schema to be retrieved.
outputSourceConfig
— (Array<map>
)A list of
OutputSource
objects, each of which contains fieldsOutputS3Path
,ApplyNormalization
, andOutput
.KMSArn
— (String
)Customer KMS ARN for encryption at rest. If not provided, system will use an Entity Resolution managed KMS key.
applyNormalization
— (Boolean
)Normalizes the attributes defined in the schema in the input data. For example, if an attribute has an
AttributeType
ofPHONE_NUMBER
, and the data in the input table is in a format of 1234567890, Entity Resolution will normalize this field in the output to (123)-456-7890.output
— required — (Array<map>
)A list of
OutputAttribute
objects, each of which have the fieldsName
andHashed
. Each of these objects selects a column to be included in the output table, and whether the values of the column should be hashed.hashed
— (Boolean
)Enables the ability to hash the column values in the output.
name
— required — (String
)A name of a column to be written to the output. This must be an
InputField
name in the schema mapping.
outputS3Path
— required — (String
)The S3 path to which Entity Resolution will write the output table.
resolutionTechniques
— (map
)An object which defines the
resolutionType
and theruleBasedProperties
.providerProperties
— (map
)The properties of the provider service.
intermediateSourceConfiguration
— (map
)The Amazon S3 location that temporarily stores your data while it processes. Your information won't be saved permanently.
intermediateS3Path
— required — (String
)The Amazon S3 location (bucket and prefix). For example:
s3://provider_bucket/DOC-EXAMPLE-BUCKET
providerConfiguration
— (map
)The required configuration fields to use with the provider service.
providerServiceArn
— required — (String
)The ARN of the provider service.
resolutionType
— required — (String
)The type of matching. There are three types of matching:
Possible values include:RULE_MATCHING
,ML_MATCHING
, andPROVIDER
."RULE_MATCHING"
"ML_MATCHING"
"PROVIDER"
ruleBasedProperties
— (map
)An object which defines the list of matching rules to run and has a field
Rules
, which is a list of rule objects.attributeMatchingModel
— required — (String
)The comparison type. You can either choose
ONE_TO_ONE
orMANY_TO_MANY
as theattributeMatchingModel
.If you choose
MANY_TO_MANY
, the system can match attributes across the sub-types of an attribute type. For example, if the value of theEmail
field of Profile A and the value ofBusinessEmail
field of Profile B matches, the two profiles are matched on theEmail
attribute type.If you choose
Possible values include:ONE_TO_ONE
, the system can only match attributes if the sub-types are an exact match. For example, for theEmail
attribute type, the system will only consider it a match if the value of theEmail
field of Profile A matches the value of theEmail
field of Profile B."ONE_TO_ONE"
"MANY_TO_MANY"
matchPurpose
— (String
)An indicator of whether to generate IDs and index the data or not.
If you choose
IDENTIFIER_GENERATION
, the process generates IDs and indexes the data.If you choose
Possible values include:INDEXING
, the process indexes the data without generating IDs."IDENTIFIER_GENERATION"
"INDEXING"
rules
— required — (Array<map>
)A list of
Rule
objects, each of which have fieldsRuleName
andMatchingKeys
.matchingKeys
— required — (Array<String>
)A list of
MatchingKeys
. TheMatchingKeys
must have been defined in theSchemaMapping
. Two records are considered to match according to this rule if all of theMatchingKeys
match.ruleName
— required — (String
)A name for the matching rule.
roleArn
— (String
)The Amazon Resource Name (ARN) of the IAM role. Entity Resolution assumes this role to create resources on your behalf as part of workflow execution.
workflowName
— (String
)The name of the workflow to be retrieved.
Callback (callback):
-
function(err, data) { ... }
Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.
Context (this):
-
(AWS.Response)
—
the response object containing error, data properties, and the original request object.
Parameters:
-
err
(Error)
—
the error object returned from the request. Set to
null
if the request is successful. -
data
(Object)
—
the de-serialized data returned from the request. Set to
null
if a request error occurs. Thedata
object has the following properties:description
— (String
)A description of the workflow.
incrementalRunConfig
— (map
)An object which defines an incremental run type and has only
incrementalRunType
as a field.incrementalRunType
— (String
)The type of incremental run. It takes only one value:
Possible values include:IMMEDIATE
."IMMEDIATE"
inputSourceConfig
— (Array<map>
)A list of
InputSource
objects, which have the fieldsInputSourceARN
andSchemaName
.applyNormalization
— (Boolean
)Normalizes the attributes defined in the schema in the input data. For example, if an attribute has an
AttributeType
ofPHONE_NUMBER
, and the data in the input table is in a format of 1234567890, Entity Resolution will normalize this field in the output to (123)-456-7890.inputSourceARN
— required — (String
)An Glue table Amazon Resource Name (ARN) for the input source table.
schemaName
— required — (String
)The name of the schema to be retrieved.
outputSourceConfig
— (Array<map>
)A list of
OutputSource
objects, each of which contains fieldsOutputS3Path
,ApplyNormalization
, andOutput
.KMSArn
— (String
)Customer KMS ARN for encryption at rest. If not provided, system will use an Entity Resolution managed KMS key.
applyNormalization
— (Boolean
)Normalizes the attributes defined in the schema in the input data. For example, if an attribute has an
AttributeType
ofPHONE_NUMBER
, and the data in the input table is in a format of 1234567890, Entity Resolution will normalize this field in the output to (123)-456-7890.output
— required — (Array<map>
)A list of
OutputAttribute
objects, each of which have the fieldsName
andHashed
. Each of these objects selects a column to be included in the output table, and whether the values of the column should be hashed.hashed
— (Boolean
)Enables the ability to hash the column values in the output.
name
— required — (String
)A name of a column to be written to the output. This must be an
InputField
name in the schema mapping.
outputS3Path
— required — (String
)The S3 path to which Entity Resolution will write the output table.
resolutionTechniques
— (map
)An object which defines the
resolutionType
and theruleBasedProperties
providerProperties
— (map
)The properties of the provider service.
intermediateSourceConfiguration
— (map
)The Amazon S3 location that temporarily stores your data while it processes. Your information won't be saved permanently.
intermediateS3Path
— required — (String
)The Amazon S3 location (bucket and prefix). For example:
s3://provider_bucket/DOC-EXAMPLE-BUCKET
providerConfiguration
— (map
)The required configuration fields to use with the provider service.
providerServiceArn
— required — (String
)The ARN of the provider service.
resolutionType
— required — (String
)The type of matching. There are three types of matching:
Possible values include:RULE_MATCHING
,ML_MATCHING
, andPROVIDER
."RULE_MATCHING"
"ML_MATCHING"
"PROVIDER"
ruleBasedProperties
— (map
)An object which defines the list of matching rules to run and has a field
Rules
, which is a list of rule objects.attributeMatchingModel
— required — (String
)The comparison type. You can either choose
ONE_TO_ONE
orMANY_TO_MANY
as theattributeMatchingModel
.If you choose
MANY_TO_MANY
, the system can match attributes across the sub-types of an attribute type. For example, if the value of theEmail
field of Profile A and the value ofBusinessEmail
field of Profile B matches, the two profiles are matched on theEmail
attribute type.If you choose
Possible values include:ONE_TO_ONE
, the system can only match attributes if the sub-types are an exact match. For example, for theEmail
attribute type, the system will only consider it a match if the value of theEmail
field of Profile A matches the value of theEmail
field of Profile B."ONE_TO_ONE"
"MANY_TO_MANY"
matchPurpose
— (String
)An indicator of whether to generate IDs and index the data or not.
If you choose
IDENTIFIER_GENERATION
, the process generates IDs and indexes the data.If you choose
Possible values include:INDEXING
, the process indexes the data without generating IDs."IDENTIFIER_GENERATION"
"INDEXING"
rules
— required — (Array<map>
)A list of
Rule
objects, each of which have fieldsRuleName
andMatchingKeys
.matchingKeys
— required — (Array<String>
)A list of
MatchingKeys
. TheMatchingKeys
must have been defined in theSchemaMapping
. Two records are considered to match according to this rule if all of theMatchingKeys
match.ruleName
— required — (String
)A name for the matching rule.
roleArn
— (String
)The Amazon Resource Name (ARN) of the IAM role. Entity Resolution assumes this role to create resources on your behalf as part of workflow execution.
workflowName
— (String
)The name of the workflow.
-
(AWS.Response)
—
Returns:
updateSchemaMapping(params = {}, callback) ⇒ AWS.Request
Updates a schema mapping.
Note: 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.Service Reference:
Examples:
Calling the updateSchemaMapping operation
var params = { mappedInputFields: [ /* required */ { fieldName: 'STRING_VALUE', /* required */ 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, /* required */ groupName: 'STRING_VALUE', hashed: true || false, matchKey: 'STRING_VALUE', subType: 'STRING_VALUE' }, /* more items */ ], schemaName: 'STRING_VALUE', /* required */ description: 'STRING_VALUE' }; entityresolution.updateSchemaMapping(params, function(err, data) { if (err) console.log(err, err.stack); // an error occurred else console.log(data); // successful response });
Parameters:
-
params
(Object)
(defaults to: {})
—
description
— (String
)A description of the schema.
mappedInputFields
— (Array<map>
)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.fieldName
— required — (String
)A string containing the field name.
groupName
— (String
)A string that instructs Entity Resolution to combine several columns into a unified column with the identical attribute type.
For example, when working with columns such as
first_name
,middle_name
, andlast_name
, assigning them a commongroupName
will prompt Entity Resolution to concatenate them into a single value.hashed
— (Boolean
)Indicates if the column values are hashed in the schema input. If the value is set to
TRUE
, the column values are hashed. If the value is set toFALSE
, the column values are cleartext.matchKey
— (String
)A key that allows grouping of multiple input attributes into a unified matching group.
For example, consider a scenario where the source table contains various addresses, such as
business_address
andshipping_address
. By assigning amatchKey
calledaddress
to both attributes, Entity Resolution will match records across these fields to create a consolidated matching group.If no
matchKey
is specified for a column, it won't be utilized for matching purposes but will still be included in the output table.subType
— (String
)The subtype of the attribute, selected from a list of values.
type
— required — (String
)The type of the attribute, selected from a list of values.
Possible values include:"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
)The name of the schema. There can't be multiple
SchemaMappings
with the same name.
Callback (callback):
-
function(err, data) { ... }
Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.
Context (this):
-
(AWS.Response)
—
the response object containing error, data properties, and the original request object.
Parameters:
-
err
(Error)
—
the error object returned from the request. Set to
null
if the request is successful. -
data
(Object)
—
the de-serialized data returned from the request. Set to
null
if a request error occurs. Thedata
object has the following properties:description
— (String
)A description of the schema.
mappedInputFields
— (Array<map>
)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.fieldName
— required — (String
)A string containing the field name.
groupName
— (String
)A string that instructs Entity Resolution to combine several columns into a unified column with the identical attribute type.
For example, when working with columns such as
first_name
,middle_name
, andlast_name
, assigning them a commongroupName
will prompt Entity Resolution to concatenate them into a single value.hashed
— (Boolean
)Indicates if the column values are hashed in the schema input. If the value is set to
TRUE
, the column values are hashed. If the value is set toFALSE
, the column values are cleartext.matchKey
— (String
)A key that allows grouping of multiple input attributes into a unified matching group.
For example, consider a scenario where the source table contains various addresses, such as
business_address
andshipping_address
. By assigning amatchKey
calledaddress
to both attributes, Entity Resolution will match records across these fields to create a consolidated matching group.If no
matchKey
is specified for a column, it won't be utilized for matching purposes but will still be included in the output table.subType
— (String
)The subtype of the attribute, selected from a list of values.
type
— required — (String
)The type of the attribute, selected from a list of values.
Possible values include:"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
)The ARN (Amazon Resource Name) that Entity Resolution generated for the
SchemaMapping
.schemaName
— (String
)The name of the schema.
-
(AWS.Response)
—
Returns:
Generated on Wed Nov 6 18:50:50 2024 by yard 0.9.36 (ruby-2.5.1). -
params
(map)
—