Skip to content

Creates an ID namespace object which will help customers provide metadata explaining their dataset and how to use it

Description

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.

Usage

entityresolution_create_id_namespace(idNamespaceName, description,
  inputSourceConfig, idMappingWorkflowProperties, type, roleArn, tags)

Arguments

  • idNamespaceName

    [required] The name of the ID namespace.

  • description

    The description of the ID namespace.

  • inputSourceConfig

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

  • idMappingWorkflowProperties

    Determines the properties of IdMappingWorflow where this IdNamespace can be used as a Source or a Target.

  • type

    [required] The type of ID namespace. There are two types: SOURCE and TARGET.

    The SOURCE contains configurations for sourceId data that will be processed in an ID mapping workflow.

    The TARGET contains a configuration of targetId to which all sourceIds will resolve to.

  • roleArn

    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

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

Value

A list with the following syntax:

list(
  idNamespaceName = "string",
  idNamespaceArn = "string",
  description = "string",
  inputSourceConfig = list(
    list(
      inputSourceARN = "string",
      schemaName = "string"
    )
  ),
  idMappingWorkflowProperties = list(
    list(
      idMappingType = "PROVIDER"|"RULE_BASED",
      ruleBasedProperties = list(
        rules = list(
          list(
            ruleName = "string",
            matchingKeys = list(
              "string"
            )
          )
        ),
        ruleDefinitionTypes = list(
          "SOURCE"|"TARGET"
        ),
        attributeMatchingModel = "ONE_TO_ONE"|"MANY_TO_MANY",
        recordMatchingModels = list(
          "ONE_SOURCE_TO_ONE_TARGET"|"MANY_SOURCE_TO_ONE_TARGET"
        )
      ),
      providerProperties = list(
        providerServiceArn = "string",
        providerConfiguration = list()
      )
    )
  ),
  type = "SOURCE"|"TARGET",
  roleArn = "string",
  createdAt = as.POSIXct(
    "2015-01-01"
  ),
  updatedAt = as.POSIXct(
    "2015-01-01"
  ),
  tags = list(
    "string"
  )
)

Request syntax

svc$create_id_namespace(
  idNamespaceName = "string",
  description = "string",
  inputSourceConfig = list(
    list(
      inputSourceARN = "string",
      schemaName = "string"
    )
  ),
  idMappingWorkflowProperties = list(
    list(
      idMappingType = "PROVIDER"|"RULE_BASED",
      ruleBasedProperties = list(
        rules = list(
          list(
            ruleName = "string",
            matchingKeys = list(
              "string"
            )
          )
        ),
        ruleDefinitionTypes = list(
          "SOURCE"|"TARGET"
        ),
        attributeMatchingModel = "ONE_TO_ONE"|"MANY_TO_MANY",
        recordMatchingModels = list(
          "ONE_SOURCE_TO_ONE_TARGET"|"MANY_SOURCE_TO_ONE_TARGET"
        )
      ),
      providerProperties = list(
        providerServiceArn = "string",
        providerConfiguration = list()
      )
    )
  ),
  type = "SOURCE"|"TARGET",
  roleArn = "string",
  tags = list(
    "string"
  )
)