Note:

You are viewing the documentation for an older major version of the AWS CLI (version 1).

AWS CLI version 2, the latest major version of AWS CLI, is now stable and recommended for general use. To view this page for the AWS CLI version 2, click here. For more information see the AWS CLI version 2 installation instructions and migration guide.

[ aws . entityresolution ]

create-matching-workflow

Description

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-existing MatchingWorkflow with the same name. To modify an existing workflow, utilize the UpdateMatchingWorkflow API.

See also: AWS API Documentation

create-matching-workflow uses document type values. Document types follow the JSON data model where valid values are: strings, numbers, booleans, null, arrays, and objects. For command input, options and nested parameters that are labeled with the type document must be provided as JSON. Shorthand syntax does not support document types.

Synopsis

  create-matching-workflow
[--description <value>]
[--incremental-run-config <value>]
--input-source-config <value>
--output-source-config <value>
--resolution-techniques <value>
--role-arn <value>
[--tags <value>]
--workflow-name <value>
[--cli-input-json <value>]
[--generate-cli-skeleton <value>]
[--debug]
[--endpoint-url <value>]
[--no-verify-ssl]
[--no-paginate]
[--output <value>]
[--query <value>]
[--profile <value>]
[--region <value>]
[--version <value>]
[--color <value>]
[--no-sign-request]
[--ca-bundle <value>]
[--cli-read-timeout <value>]
[--cli-connect-timeout <value>]

Options

--description (string)

A description of the workflow.

--incremental-run-config (structure)

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: IMMEDIATE .

Shorthand Syntax:

incrementalRunType=string

JSON Syntax:

{
  "incrementalRunType": "IMMEDIATE"
}

--input-source-config (list)

A list of InputSource objects, which have the fields InputSourceARN and SchemaName .

(structure)

An object containing InputSourceARN , SchemaName , and ApplyNormalization .

applyNormalization -> (boolean)

Normalizes the attributes defined in the schema in the input data. For example, if an attribute has an AttributeType of PHONE_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 -> (string)

An Glue table Amazon Resource Name (ARN) for the input source table.

schemaName -> (string)

The name of the schema to be retrieved.

Shorthand Syntax:

applyNormalization=boolean,inputSourceARN=string,schemaName=string ...

JSON Syntax:

[
  {
    "applyNormalization": true|false,
    "inputSourceARN": "string",
    "schemaName": "string"
  }
  ...
]

--output-source-config (list)

A list of OutputSource objects, each of which contains fields OutputS3Path , ApplyNormalization , and Output .

(structure)

A list of OutputAttribute objects, each of which have the fields Name and Hashed . Each of these objects selects a column to be included in the output table, and whether the values of the column should be hashed.

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 of PHONE_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 -> (list)

A list of OutputAttribute objects, each of which have the fields Name and Hashed . Each of these objects selects a column to be included in the output table, and whether the values of the column should be hashed.

(structure)

A list of OutputAttribute objects, each of which have the fields Name and Hashed . 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 -> (string)

A name of a column to be written to the output. This must be an InputField name in the schema mapping.

outputS3Path -> (string)

The S3 path to which Entity Resolution will write the output table.

Shorthand Syntax:

KMSArn=string,applyNormalization=boolean,output=[{hashed=boolean,name=string},{hashed=boolean,name=string}],outputS3Path=string ...

JSON Syntax:

[
  {
    "KMSArn": "string",
    "applyNormalization": true|false,
    "output": [
      {
        "hashed": true|false,
        "name": "string"
      }
      ...
    ],
    "outputS3Path": "string"
  }
  ...
]

--resolution-techniques (structure)

An object which defines the resolutionType and the ruleBasedProperties .

providerProperties -> (structure)

The properties of the provider service.

intermediateSourceConfiguration -> (structure)

The Amazon S3 location that temporarily stores your data while it processes. Your information won't be saved permanently.

intermediateS3Path -> (string)

The Amazon S3 location (bucket and prefix). For example: s3://provider_bucket/DOC-EXAMPLE-BUCKET

providerConfiguration -> (document)

The required configuration fields to use with the provider service.

providerServiceArn -> (string)

The ARN of the provider service.

resolutionType -> (string)

The type of matching. There are three types of matching: RULE_MATCHING , ML_MATCHING , and PROVIDER .

ruleBasedProperties -> (structure)

An object which defines the list of matching rules to run and has a field Rules , which is a list of rule objects.

attributeMatchingModel -> (string)

The comparison type. You can either choose ONE_TO_ONE or MANY_TO_MANY as the attributeMatchingModel .

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 the Email field of Profile A and the value of BusinessEmail field of Profile B matches, the two profiles are matched on the Email attribute type.

If you choose ONE_TO_ONE , the system can only match attributes if the sub-types are an exact match. For example, for the Email attribute type, the system will only consider it a match if the value of the Email field of Profile A matches the value of the Email field of Profile B.

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 INDEXING , the process indexes the data without generating IDs.

rules -> (list)

A list of Rule objects, each of which have fields RuleName and MatchingKeys .

(structure)

An object containing RuleName , and MatchingKeys .

matchingKeys -> (list)

A list of MatchingKeys . The MatchingKeys must have been defined in the SchemaMapping . Two records are considered to match according to this rule if all of the MatchingKeys match.

(string)

ruleName -> (string)

A name for the matching rule.

JSON Syntax:

{
  "providerProperties": {
    "intermediateSourceConfiguration": {
      "intermediateS3Path": "string"
    },
    "providerConfiguration": {...},
    "providerServiceArn": "string"
  },
  "resolutionType": "RULE_MATCHING"|"ML_MATCHING"|"PROVIDER",
  "ruleBasedProperties": {
    "attributeMatchingModel": "ONE_TO_ONE"|"MANY_TO_MANY",
    "matchPurpose": "IDENTIFIER_GENERATION"|"INDEXING",
    "rules": [
      {
        "matchingKeys": ["string", ...],
        "ruleName": "string"
      }
      ...
    ]
  }
}

--role-arn (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)

The tags used to organize, track, or control access for this resource.

key -> (string)

value -> (string)

Shorthand Syntax:

KeyName1=string,KeyName2=string

JSON Syntax:

{"string": "string"
  ...}

--workflow-name (string)

The name of the workflow. There can't be multiple MatchingWorkflows with the same name.

--cli-input-json (string) Performs service operation based on the JSON string provided. The JSON string follows the format provided by --generate-cli-skeleton. If other arguments are provided on the command line, the CLI values will override the JSON-provided values. It is not possible to pass arbitrary binary values using a JSON-provided value as the string will be taken literally.

--generate-cli-skeleton (string) Prints a JSON skeleton to standard output without sending an API request. If provided with no value or the value input, prints a sample input JSON that can be used as an argument for --cli-input-json. If provided with the value output, it validates the command inputs and returns a sample output JSON for that command.

Global Options

--debug (boolean)

Turn on debug logging.

--endpoint-url (string)

Override command's default URL with the given URL.

--no-verify-ssl (boolean)

By default, the AWS CLI uses SSL when communicating with AWS services. For each SSL connection, the AWS CLI will verify SSL certificates. This option overrides the default behavior of verifying SSL certificates.

--no-paginate (boolean)

Disable automatic pagination. If automatic pagination is disabled, the AWS CLI will only make one call, for the first page of results.

--output (string)

The formatting style for command output.

  • json
  • text
  • table

--query (string)

A JMESPath query to use in filtering the response data.

--profile (string)

Use a specific profile from your credential file.

--region (string)

The region to use. Overrides config/env settings.

--version (string)

Display the version of this tool.

--color (string)

Turn on/off color output.

  • on
  • off
  • auto

--no-sign-request (boolean)

Do not sign requests. Credentials will not be loaded if this argument is provided.

--ca-bundle (string)

The CA certificate bundle to use when verifying SSL certificates. Overrides config/env settings.

--cli-read-timeout (int)

The maximum socket read time in seconds. If the value is set to 0, the socket read will be blocking and not timeout. The default value is 60 seconds.

--cli-connect-timeout (int)

The maximum socket connect time in seconds. If the value is set to 0, the socket connect will be blocking and not timeout. The default value is 60 seconds.

Output

description -> (string)

A description of the workflow.

incrementalRunConfig -> (structure)

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: IMMEDIATE .

inputSourceConfig -> (list)

A list of InputSource objects, which have the fields InputSourceARN and SchemaName .

(structure)

An object containing InputSourceARN , SchemaName , and ApplyNormalization .

applyNormalization -> (boolean)

Normalizes the attributes defined in the schema in the input data. For example, if an attribute has an AttributeType of PHONE_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 -> (string)

An Glue table Amazon Resource Name (ARN) for the input source table.

schemaName -> (string)

The name of the schema to be retrieved.

outputSourceConfig -> (list)

A list of OutputSource objects, each of which contains fields OutputS3Path , ApplyNormalization , and Output .

(structure)

A list of OutputAttribute objects, each of which have the fields Name and Hashed . Each of these objects selects a column to be included in the output table, and whether the values of the column should be hashed.

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 of PHONE_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 -> (list)

A list of OutputAttribute objects, each of which have the fields Name and Hashed . Each of these objects selects a column to be included in the output table, and whether the values of the column should be hashed.

(structure)

A list of OutputAttribute objects, each of which have the fields Name and Hashed . 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 -> (string)

A name of a column to be written to the output. This must be an InputField name in the schema mapping.

outputS3Path -> (string)

The S3 path to which Entity Resolution will write the output table.

resolutionTechniques -> (structure)

An object which defines the resolutionType and the ruleBasedProperties .

providerProperties -> (structure)

The properties of the provider service.

intermediateSourceConfiguration -> (structure)

The Amazon S3 location that temporarily stores your data while it processes. Your information won't be saved permanently.

intermediateS3Path -> (string)

The Amazon S3 location (bucket and prefix). For example: s3://provider_bucket/DOC-EXAMPLE-BUCKET

providerConfiguration -> (document)

The required configuration fields to use with the provider service.

providerServiceArn -> (string)

The ARN of the provider service.

resolutionType -> (string)

The type of matching. There are three types of matching: RULE_MATCHING , ML_MATCHING , and PROVIDER .

ruleBasedProperties -> (structure)

An object which defines the list of matching rules to run and has a field Rules , which is a list of rule objects.

attributeMatchingModel -> (string)

The comparison type. You can either choose ONE_TO_ONE or MANY_TO_MANY as the attributeMatchingModel .

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 the Email field of Profile A and the value of BusinessEmail field of Profile B matches, the two profiles are matched on the Email attribute type.

If you choose ONE_TO_ONE , the system can only match attributes if the sub-types are an exact match. For example, for the Email attribute type, the system will only consider it a match if the value of the Email field of Profile A matches the value of the Email field of Profile B.

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 INDEXING , the process indexes the data without generating IDs.

rules -> (list)

A list of Rule objects, each of which have fields RuleName and MatchingKeys .

(structure)

An object containing RuleName , and MatchingKeys .

matchingKeys -> (list)

A list of MatchingKeys . The MatchingKeys must have been defined in the SchemaMapping . Two records are considered to match according to this rule if all of the MatchingKeys match.

(string)

ruleName -> (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.