Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

Occurrences

import type { Occurrences } from "https://aws-api.deno.dev/v0.3/services/macie2.ts?docs=full";

Specifies the location of 1-15 occurrences of sensitive data that was detected by a managed data identifier or a custom data identifier and produced a sensitive data finding.

interface Occurrences {
cells?: Cell[] | null;
lineRanges?: Range[] | null;
offsetRanges?: Range[] | null;
pages?: Page[] | null;
records?: Record[] | null;
}

§Properties

§
cells?: Cell[] | null
[src]

An array of objects, one for each occurrence of sensitive data in a Microsoft Excel workbook, CSV file, or TSV file. This value is null for all other types of files.

Each Cell object specifies a cell or field that contains the sensitive data.

§
lineRanges?: Range[] | null
[src]

An array of objects, one for each occurrence of sensitive data in a non-binary text file, such as an HTML, TXT, or XML file. Each Range object specifies a line or inclusive range of lines that contains the sensitive data, and the position of the data on the specified line or lines.

This value is often null for file types that are supported by Cell, Page, or Record objects. Exceptions are the location of sensitive data in: unstructured sections of an otherwise structured file, such as a comment in a file; a malformed file that Amazon Macie analyzes as plain text; and, a CSV or TSV file that has any column names that contain sensitive data.

§
offsetRanges?: Range[] | null
[src]

Reserved for future use.

§
pages?: Page[] | null
[src]

An array of objects, one for each occurrence of sensitive data in an Adobe Portable Document Format file. This value is null for all other types of files.

Each Page object specifies a page that contains the sensitive data.

§
records?: Record[] | null
[src]

An array of objects, one for each occurrence of sensitive data in an Apache Avro object container, Apache Parquet file, JSON file, or JSON Lines file. This value is null for all other types of files.

For an Avro object container or Parquet file, each Record object specifies a record index and the path to a field in a record that contains the sensitive data. For a JSON or JSON Lines file, each Record object specifies the path to a field or array that contains the sensitive data. For a JSON Lines file, it also specifies the index of the line that contains the data.