Skip to content

updateCustomDataType

Update a custom data type.

Arguments

Argument Type Description
input (required) UpdateCustomDataTypeInput! Input to update a data type that will be used to run sensitive data classification on workloads.

Returns

UpdateCustomDataTypeReply!

Sample

mutation UpdateCustomDataType($input: UpdateCustomDataTypeInput!) {
  updateCustomDataType(input: $input)
}
{
  "input": {
    "dataCategoryIds": [
      "example-string"
    ],
    "dataType": {
      "name": "example-string",
      "ruleTypes": [
        "STRUCTURED"
      ]
    },
    "id": "example-string"
  }
}
{
  "data": {
    "updateCustomDataType": {
      "dataType": {
        "analyzerType": "ABA_ROUTING_NUMBER",
        "dictionary": [
          "example-string"
        ],
        "dictionaryCsv": "example-string",
        "excludeFieldNamePattern": "example-string",
        "excludePathPattern": "example-string",
        "excludeValueRegex": "example-string"
      }
    }
  }
}