Amazon Macie Findings API

The Findings API from Amazon Macie — 6 operation(s) for findings.

Operations 6

POST /findings/sample Amazon Macie Create Sample Findings #
POST /findings/statistics Amazon Macie Get Finding Statistics #
POST /findings/describe Amazon Macie Get Findings #
GET /findings/{findingId}/reveal Amazon Macie Get Sensitive Data Occurrences #
GET /findings/{findingId}/reveal/availability Amazon Macie Get Sensitive Data Occurrences Availability #
POST /findings Amazon Macie List Findings #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/amazon-macie-findings-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

amazon-macie-findings-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  version: 2020-01-01
  x-release: v4
  title: Amazon Macie 2 Findings API
  description: Amazon Macie
  x-logo:
    url: https://api.apis.guru/v2/cache/logo/https_twitter.com_awscloud_profile_image.png
    backgroundColor: '#FFFFFF'
  termsOfService: https://aws.amazon.com/service-terms/
  contact:
    name: Mike Ralphson
    email: mike.ralphson@gmail.com
    url: https://github.com/mermade/aws2openapi
    x-twitter: PermittedSoc
  license:
    name: Apache 2.0 License
    url: http://www.apache.org/licenses/
  x-providerName: amazonaws.com
  x-serviceName: macie2
  x-aws-signingName: macie2
  x-origin:
  - contentType: application/json
    url: https://raw.githubusercontent.com/aws/aws-sdk-js/master/apis/macie2-2020-01-01.normal.json
    converter:
      url: https://github.com/mermade/aws2openapi
      version: 1.0.0
    x-apisguru-driver: external
  x-apiClientRegistration:
    url: https://portal.aws.amazon.com/gp/aws/developer/registration/index.html?nc2=h_ct
  x-apisguru-categories:
  - cloud
  x-preferred: true
servers:
- url: http://macie2.{region}.amazonaws.com
  variables:
    region:
      description: The AWS region
      enum:
      - us-east-1
      - us-east-2
      - us-west-1
      - us-west-2
      - us-gov-west-1
      - us-gov-east-1
      - ca-central-1
      - eu-north-1
      - eu-west-1
      - eu-west-2
      - eu-west-3
      - eu-central-1
      - eu-south-1
      - af-south-1
      - ap-northeast-1
      - ap-northeast-2
      - ap-northeast-3
      - ap-southeast-1
      - ap-southeast-2
      - ap-east-1
      - ap-south-1
      - sa-east-1
      - me-south-1
      default: us-east-1
  description: The Amazon Macie 2 multi-region endpoint
- url: https://macie2.{region}.amazonaws.com
  variables:
    region:
      description: The AWS region
      enum:
      - us-east-1
      - us-east-2
      - us-west-1
      - us-west-2
      - us-gov-west-1
      - us-gov-east-1
      - ca-central-1
      - eu-north-1
      - eu-west-1
      - eu-west-2
      - eu-west-3
      - eu-central-1
      - eu-south-1
      - af-south-1
      - ap-northeast-1
      - ap-northeast-2
      - ap-northeast-3
      - ap-southeast-1
      - ap-southeast-2
      - ap-east-1
      - ap-south-1
      - sa-east-1
      - me-south-1
      default: us-east-1
  description: The Amazon Macie 2 multi-region endpoint
- url: http://macie2.{region}.amazonaws.com.cn
  variables:
    region:
      description: The AWS region
      enum:
      - cn-north-1
      - cn-northwest-1
      default: cn-north-1
  description: The Amazon Macie 2 endpoint for China (Beijing) and China (Ningxia)
- url: https://macie2.{region}.amazonaws.com.cn
  variables:
    region:
      description: The AWS region
      enum:
      - cn-north-1
      - cn-northwest-1
      default: cn-north-1
  description: The Amazon Macie 2 endpoint for China (Beijing) and China (Ningxia)
security:
- hmac: []
tags:
- name: Findings
paths:
  /findings/sample:
    parameters:
    - $ref: '#/components/parameters/X-Amz-Content-Sha256'
    - $ref: '#/components/parameters/X-Amz-Date'
    - $ref: '#/components/parameters/X-Amz-Algorithm'
    - $ref: '#/components/parameters/X-Amz-Credential'
    - $ref: '#/components/parameters/X-Amz-Security-Token'
    - $ref: '#/components/parameters/X-Amz-Signature'
    - $ref: '#/components/parameters/X-Amz-SignedHeaders'
    post:
      operationId: CreateSampleFindings
      description: Creates sample findings.
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CreateSampleFindingsResponse'
        '480':
          description: ValidationException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ValidationException'
        '481':
          description: InternalServerException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InternalServerException'
        '482':
          description: ServiceQuotaExceededException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ServiceQuotaExceededException'
        '483':
          description: AccessDeniedException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AccessDeniedException'
        '484':
          description: ResourceNotFoundException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ResourceNotFoundException'
        '485':
          description: ThrottlingException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ThrottlingException'
        '486':
          description: ConflictException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ConflictException'
      parameters: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                findingTypes:
                  description: An array of finding types, one for each type of sample finding to create. To create a sample of every type of finding that Amazon Macie supports, don't include this array in your request.
                  type: array
                  items:
                    $ref: '#/components/schemas/FindingType'
      summary: Amazon Macie Create Sample Findings
      tags:
      - Findings
  /findings/statistics:
    parameters:
    - $ref: '#/components/parameters/X-Amz-Content-Sha256'
    - $ref: '#/components/parameters/X-Amz-Date'
    - $ref: '#/components/parameters/X-Amz-Algorithm'
    - $ref: '#/components/parameters/X-Amz-Credential'
    - $ref: '#/components/parameters/X-Amz-Security-Token'
    - $ref: '#/components/parameters/X-Amz-Signature'
    - $ref: '#/components/parameters/X-Amz-SignedHeaders'
    post:
      operationId: GetFindingStatistics
      description: ' <p>Retrieves (queries) aggregated statistical data about findings.</p>'
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetFindingStatisticsResponse'
        '480':
          description: ValidationException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ValidationException'
        '481':
          description: InternalServerException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InternalServerException'
        '482':
          description: ServiceQuotaExceededException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ServiceQuotaExceededException'
        '483':
          description: AccessDeniedException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AccessDeniedException'
        '484':
          description: ResourceNotFoundException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ResourceNotFoundException'
        '485':
          description: ThrottlingException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ThrottlingException'
        '486':
          description: ConflictException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ConflictException'
      parameters: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
              - groupBy
              properties:
                findingCriteria:
                  description: Specifies, as a map, one or more property-based conditions that filter the results of a query for findings.
                  type: object
                  properties:
                    criterion:
                      allOf:
                      - $ref: '#/components/schemas/Criterion'
                      - description: A condition that specifies the property, operator, and one or more values to use to filter the results.
                groupBy:
                  description: <p>The finding property to use to group the query results. Valid values are:</p> <ul><li><p>classificationDetails.jobId - The unique identifier for the classification job that produced the finding.</p></li> <li><p>resourcesAffected.s3Bucket.name - The name of the S3 bucket that the finding applies to.</p></li> <li><p>severity.description - The severity level of the finding, such as High or Medium.</p></li> <li><p>type - The type of finding, such as Policy:IAMUser/S3BucketPublic and SensitiveData:S3Object/Personal.</p></li></ul>
                  type: string
                  enum:
                  - resourcesAffected.s3Bucket.name
                  - type
                  - classificationDetails.jobId
                  - severity.description
                size:
                  description: The maximum number of items to include in each page of the response.
                  type: integer
                sortCriteria:
                  description: Specifies criteria for sorting the results of a query that retrieves aggregated statistical data about findings.
                  type: object
                  properties:
                    attributeName:
                      allOf:
                      - $ref: '#/components/schemas/FindingStatisticsSortAttributeName'
                      - description: 'The grouping to sort the results by. Valid values are: count, sort the results by the number of findings in each group of results; and, groupKey, sort the results by the name of each group of results.'
                    orderBy:
                      allOf:
                      - $ref: '#/components/schemas/OrderBy'
                      - description: 'The sort order to apply to the results, based on the value for the property specified by the attributeName property. Valid values are: ASC, sort the results in ascending order; and, DESC, sort the results in descending order.'
      summary: Amazon Macie Get Finding Statistics
      tags:
      - Findings
  /findings/describe:
    parameters:
    - $ref: '#/components/parameters/X-Amz-Content-Sha256'
    - $ref: '#/components/parameters/X-Amz-Date'
    - $ref: '#/components/parameters/X-Amz-Algorithm'
    - $ref: '#/components/parameters/X-Amz-Credential'
    - $ref: '#/components/parameters/X-Amz-Security-Token'
    - $ref: '#/components/parameters/X-Amz-Signature'
    - $ref: '#/components/parameters/X-Amz-SignedHeaders'
    post:
      operationId: GetFindings
      description: Retrieves the details of one or more findings.
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetFindingsResponse'
        '480':
          description: ValidationException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ValidationException'
        '481':
          description: InternalServerException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InternalServerException'
        '482':
          description: ServiceQuotaExceededException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ServiceQuotaExceededException'
        '483':
          description: AccessDeniedException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AccessDeniedException'
        '484':
          description: ResourceNotFoundException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ResourceNotFoundException'
        '485':
          description: ThrottlingException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ThrottlingException'
        '486':
          description: ConflictException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ConflictException'
      parameters: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
              - findingIds
              properties:
                findingIds:
                  description: An array of strings that lists the unique identifiers for the findings to retrieve. You can specify as many as 50 unique identifiers in this array.
                  type: array
                  items:
                    $ref: '#/components/schemas/__string'
                sortCriteria:
                  description: Specifies criteria for sorting the results of a request for findings.
                  type: object
                  properties:
                    attributeName:
                      allOf:
                      - $ref: '#/components/schemas/__string'
                      - description: The name of the property to sort the results by. This value can be the name of any property that Amazon Macie defines for a finding.
                    orderBy:
                      allOf:
                      - $ref: '#/components/schemas/OrderBy'
                      - description: 'The sort order to apply to the results, based on the value for the property specified by the attributeName property. Valid values are: ASC, sort the results in ascending order; and, DESC, sort the results in descending order.'
      summary: Amazon Macie Get Findings
      tags:
      - Findings
  /findings/{findingId}/reveal:
    parameters:
    - $ref: '#/components/parameters/X-Amz-Content-Sha256'
    - $ref: '#/components/parameters/X-Amz-Date'
    - $ref: '#/components/parameters/X-Amz-Algorithm'
    - $ref: '#/components/parameters/X-Amz-Credential'
    - $ref: '#/components/parameters/X-Amz-Security-Token'
    - $ref: '#/components/parameters/X-Amz-Signature'
    - $ref: '#/components/parameters/X-Amz-SignedHeaders'
    get:
      operationId: GetSensitiveDataOccurrences
      description: Retrieves occurrences of sensitive data reported by a finding.
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetSensitiveDataOccurrencesResponse'
        '480':
          description: UnprocessableEntityException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/UnprocessableEntityException'
        '481':
          description: InternalServerException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InternalServerException'
        '482':
          description: ServiceQuotaExceededException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ServiceQuotaExceededException'
        '483':
          description: AccessDeniedException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AccessDeniedException'
        '484':
          description: ResourceNotFoundException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ResourceNotFoundException'
        '485':
          description: ThrottlingException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ThrottlingException'
      parameters:
      - name: findingId
        in: path
        required: true
        description: The unique identifier for the finding.
        schema:
          type: string
      summary: Amazon Macie Get Sensitive Data Occurrences
      tags:
      - Findings
  /findings/{findingId}/reveal/availability:
    parameters:
    - $ref: '#/components/parameters/X-Amz-Content-Sha256'
    - $ref: '#/components/parameters/X-Amz-Date'
    - $ref: '#/components/parameters/X-Amz-Algorithm'
    - $ref: '#/components/parameters/X-Amz-Credential'
    - $ref: '#/components/parameters/X-Amz-Security-Token'
    - $ref: '#/components/parameters/X-Amz-Signature'
    - $ref: '#/components/parameters/X-Amz-SignedHeaders'
    get:
      operationId: GetSensitiveDataOccurrencesAvailability
      description: Checks whether occurrences of sensitive data can be retrieved for a finding.
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetSensitiveDataOccurrencesAvailabilityResponse'
        '480':
          description: ResourceNotFoundException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ResourceNotFoundException'
        '481':
          description: ThrottlingException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ThrottlingException'
        '482':
          description: InternalServerException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InternalServerException'
        '483':
          description: AccessDeniedException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AccessDeniedException'
      parameters:
      - name: findingId
        in: path
        required: true
        description: The unique identifier for the finding.
        schema:
          type: string
      summary: Amazon Macie Get Sensitive Data Occurrences Availability
      tags:
      - Findings
  /findings:
    parameters:
    - $ref: '#/components/parameters/X-Amz-Content-Sha256'
    - $ref: '#/components/parameters/X-Amz-Date'
    - $ref: '#/components/parameters/X-Amz-Algorithm'
    - $ref: '#/components/parameters/X-Amz-Credential'
    - $ref: '#/components/parameters/X-Amz-Security-Token'
    - $ref: '#/components/parameters/X-Amz-Signature'
    - $ref: '#/components/parameters/X-Amz-SignedHeaders'
    post:
      operationId: ListFindings
      description: Retrieves a subset of information about one or more findings.
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ListFindingsResponse'
        '480':
          description: ValidationException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ValidationException'
        '481':
          description: InternalServerException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InternalServerException'
        '482':
          description: ServiceQuotaExceededException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ServiceQuotaExceededException'
        '483':
          description: AccessDeniedException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AccessDeniedException'
        '484':
          description: ResourceNotFoundException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ResourceNotFoundException'
        '485':
          description: ThrottlingException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ThrottlingException'
        '486':
          description: ConflictException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ConflictException'
      parameters:
      - name: maxResults
        in: query
        schema:
          type: string
        description: Pagination limit
        required: false
      - name: nextToken
        in: query
        schema:
          type: string
        description: Pagination token
        required: false
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                findingCriteria:
                  description: Specifies, as a map, one or more property-based conditions that filter the results of a query for findings.
                  type: object
                  properties:
                    criterion:
                      allOf:
                      - $ref: '#/components/schemas/Criterion'
                      - description: A condition that specifies the property, operator, and one or more values to use to filter the results.
                maxResults:
                  description: The maximum number of items to include in each page of the response.
                  type: integer
                nextToken:
                  description: The nextToken string that specifies which page of results to return in a paginated response.
                  type: string
                sortCriteria:
                  description: Specifies criteria for sorting the results of a request for findings.
                  type: object
                  properties:
                    attributeName:
                      allOf:
                      - $ref: '#/components/schemas/__string'
                      - description: The name of the property to sort the results by. This value can be the name of any property that Amazon Macie defines for a finding.
                    orderBy:
                      allOf:
                      - $ref: '#/components/schemas/OrderBy'
                      - description: 'The sort order to apply to the results, based on the value for the property specified by the attributeName property. Valid values are: ASC, sort the results in ascending order; and, DESC, sort the results in descending order.'
      summary: Amazon Macie List Findings
      tags:
      - Findings
components:
  schemas:
    Range:
      type: object
      properties:
        end:
          allOf:
          - $ref: '#/components/schemas/__long'
          - description: '<p>The number of lines from the beginning of the file to the end of the sensitive data.</p> '
        start:
          allOf:
          - $ref: '#/components/schemas/__long'
          - description: '<p>The number of lines from the beginning of the file to the beginning of the sensitive data.</p> '
        startColumn:
          allOf:
          - $ref: '#/components/schemas/__long'
          - description: The number of characters, with spaces and starting from 1, from the beginning of the first line that contains the sensitive data (start) to the beginning of the sensitive data.
      description: Specifies the location of an occurrence of sensitive data in an email message or a non-binary text file such as an HTML, TXT, or XML file.
    S3Object:
      type: object
      properties:
        bucketArn:
          allOf:
          - $ref: '#/components/schemas/__string'
          - description: The Amazon Resource Name (ARN) of the bucket that contains the object.
        eTag:
          allOf:
          - $ref: '#/components/schemas/__string'
          - description: The entity tag (ETag) that identifies the affected version of the object. If the object was overwritten or changed after Amazon Macie produced the finding, this value might be different from the current ETag for the object.
        extension:
          allOf:
          - $ref: '#/components/schemas/__string'
          - description: The file name extension of the object. If the object doesn't have a file name extension, this value is "".
        key:
          allOf:
          - $ref: '#/components/schemas/__string'
          - description: The full key (name) that's assigned to the object.
        lastModified:
          allOf:
          - $ref: '#/components/schemas/__timestampIso8601'
          - description: The date and time, in UTC and extended ISO 8601 format, when the object was last modified.
        path:
          allOf:
          - $ref: '#/components/schemas/__string'
          - description: The path to the object, including the full key (name).
        publicAccess:
          allOf:
          - $ref: '#/components/schemas/__boolean'
          - description: Specifies whether the object is publicly accessible due to the combination of permissions settings that apply to the object.
        serverSideEncryption:
          allOf:
          - $ref: '#/components/schemas/ServerSideEncryption'
          - description: The type of server-side encryption that was used to encrypt the object.
        size:
          allOf:
          - $ref: '#/components/schemas/__long'
          - description: The total storage size, in bytes, of the object.
        storageClass:
          allOf:
          - $ref: '#/components/schemas/StorageClass'
          - description: The storage class of the object.
        tags:
          allOf:
          - $ref: '#/components/schemas/KeyValuePairList'
          - description: The tags that are associated with the object.
        versionId:
          allOf:
          - $ref: '#/components/schemas/__string'
          - description: The identifier for the affected version of the object.
      description: Provides information about the S3 object that a finding applies to.
    __timestampIso8601:
      type: string
      format: date-time
    AccessDeniedException: {}
    CustomDataIdentifiers:
      type: object
      properties:
        detections:
          allOf:
          - $ref: '#/components/schemas/CustomDetections'
          - description: The custom data identifiers that detected the data, and the number of occurrences of the data that each identifier detected.
        totalCount:
          allOf:
          - $ref: '#/components/schemas/__long'
          - description: The total number of occurrences of the data that was detected by the custom data identifiers and produced the finding.
      description: Provides information about custom data identifiers that produced a sensitive data finding, and the number of occurrences of the data that they detected for the finding.
    __listOfDetectedDataDetails:
      type: array
      items:
        $ref: '#/components/schemas/DetectedDataDetails'
    AccessControlList:
      type: object
      properties:
        allowsPublicReadAccess:
          allOf:
          - $ref: '#/components/schemas/__boolean'
          - description: Specifies whether the ACL grants the general public with read access permissions for the bucket.
        allowsPublicWriteAccess:
          allOf:
          - $ref: '#/components/schemas/__boolean'
          - description: Specifies whether the ACL grants the general public with write access permissions for the bucket.
      description: Provides information about the permissions settings of the bucket-level access control list (ACL) for an S3 bucket.
    Cells:
      type: array
      description: Specifies the location of occurrences of sensitive data in a Microsoft Excel workbook, CSV file, or TSV file.
      items:
        $ref: '#/components/schemas/Cell'
    Records:
      type: array
      description: Specifies the locations of occurrences of sensitive data in an Apache Avro object container or a structured data file.
      items:
        $ref: '#/components/schemas/Record'
    KeyValuePair:
      type: object
      properties:
        key:
          allOf:
          - $ref: '#/components/schemas/__string'
          - description: One part of a key-value pair that comprises a tag. A tag key is a general label that acts as a category for more specific tag values.
        value:
          allOf:
          - $ref: '#/components/schemas/__string'
          - description: One part of a key-value pair that comprises a tag. A tag value acts as a descriptor for a tag key. A tag value can be an empty string.
      description: Provides information about the tags that are associated with an S3 bucket or object. Each tag consists of a required tag key and an associated tag value.
    EffectivePermission:
      type: string
      enum:
      - PUBLIC
      - NOT_PUBLIC
      - UNKNOWN
    __listOfFinding:
      type: array
      items:
        $ref: '#/components/schemas/Finding'
    Record:
      type: object
      properties:
        jsonPath:
          allOf:
          - $ref: '#/components/schemas/__string'
          - description: <p>The path, as a JSONPath expression, to the sensitive data. For an Avro object container or Parquet file, this is the path to the field in the record (recordIndex) that contains the data. For a JSON or JSON Lines file, this is the path to the field or array that contains the data. If the data is a value in an array, the path also indicates which value contains the data.</p> <p>If Amazon Macie detects sensitive data in the name of any element in the path, Macie omits this field. If the name of an element exceeds 20 characters, Macie truncates the name by removing characters from the beginning of the name. If the resulting full path exceeds 250 characters, Macie also truncates the path, starting with the first element in the path, until the path contains 250 or fewer characters.</p>
        recordIndex:
          allOf:
          - $ref: '#/components/schemas/__long'
          - description: For an Avro object container or Parquet file, the record index, starting from 0, for the record that contains the sensitive data. For a JSON Lines file, the line index, starting from 0, for the line that contains the sensitive data. This value is always 0 for JSON files.
      description: Specifies the location of an occurrence of sensitive data in an Apache Avro object container, Apache Parquet file, JSON file, or JSON Lines file.
    __listOfUnavailabilityReasonCode:
      type: array
      items:
        $ref: '#/components/schemas/UnavailabilityReasonCode'
      minItems: 0
    IpCity:
      type: object
      properties:
        name:
          allOf:
          - $ref: '#/components/schemas/__string'
          - description: The name of the city.
      description: Provides information about the city that an IP address originated from.
    AwsService:
      type: object
      properties:
        invokedBy:
          allOf:
          - $ref: '#/components/schemas/__string'
          - description: The name of the Amazon Web Service that performed the action.
      description: Provides information about an Amazon Web Service that performed an action on an affected resource.
    SensitiveDataOccurrences:
      type: object
      description: Specifies a type of sensitive data reported by a finding and provides occurrences of the specified type of sensitive data.
      additionalProperties:
        $ref: '#/components/schemas/__listOfDetectedDataDetails'
    EncryptionType:
      type: string
      enum:
      - NONE
      - AES256
      - aws:kms
      - UNKNOWN
      description: 'The server-side encryption algorithm that was used to encrypt an S3 object or is used by default to encrypt objects that are added to an S3 bucket. Possible values are:'
    CriterionAdditionalProperties:
      type: object
      properties:
        eq:
          allOf:
          - $ref: '#/components/schemas/__listOf__string'
          - description: The value for the property matches (equals) the specified value. If you specify multiple values, Macie uses OR logic to join the values.
        eqExactMatch:
          allOf:
          - $ref: '#/components/schemas/__listOf__string'
          - description: '<p>The value for the property exclusively matches (equals an exact match for) all the specified values. If you specify multiple values, Amazon Macie uses AND logic to join the values.</p> <p>You can use this operator with the following properties: customD

# --- truncated at 32 KB (91 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/amazon-macie/refs/heads/main/openapi/amazon-macie-findings-api-openapi.yml