Amazon Macie Templates API

The Templates API from Amazon Macie — 2 operation(s) for templates.

GitHub OpenAPI

Operations 3

GET /templates/sensitivity-inspections/{id} Get Sensitivity Inspection Template #
PUT /templates/sensitivity-inspections/{id} Update Sensitivity Inspection Template #
GET /templates/sensitivity-inspections List Sensitivity Inspection Templates #

Documentation

Specifications

Schemas & Data

Other Resources

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:amazon-macie-templates-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

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-templates-api-openapi.yml Raw ↑
openapi: 3.1.0
info:
  title: Amazon Macie 2 Templates API
  version: '2020-01-01'
  description: Generated from AWS's published Smithy model for Amazon Macie 2. 3 operation(s).
  contact:
    name: Amazon Web Services
    url: https://aws.amazon.com/contact-us/
  license:
    name: Apache 2.0
    identifier: Apache-2.0
    url: https://github.com/aws/api-models-aws/blob/main/LICENSE
servers:
- url: https://macie2.{region}.amazonaws.com
  variables:
    region:
      default: us-east-1
security:
- sigv4: []
paths:
  /templates/sensitivity-inspections/{id}:
    get:
      operationId: GetSensitivityInspectionTemplate
      summary: Get Sensitivity Inspection Template
      description: Retrieves the settings for the sensitivity inspection template for an account.
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetSensitivityInspectionTemplateResponse'
        '403':
          description: AccessDeniedException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AccessDeniedException'
        '500':
          description: InternalServerException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InternalServerException'
        '404':
          description: ResourceNotFoundException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ResourceNotFoundException'
        '429':
          description: ThrottlingException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ThrottlingException'
        '400':
          description: ValidationException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ValidationException'
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/GetSensitivityInspectionTemplateRequest'
      tags:
      - Templates
    put:
      operationId: UpdateSensitivityInspectionTemplate
      summary: Update Sensitivity Inspection Template
      description: Updates the settings for the sensitivity inspection template for an account.
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/UpdateSensitivityInspectionTemplateResponse'
        '403':
          description: AccessDeniedException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AccessDeniedException'
        '500':
          description: InternalServerException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InternalServerException'
        '404':
          description: ResourceNotFoundException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ResourceNotFoundException'
        '429':
          description: ThrottlingException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ThrottlingException'
        '400':
          description: ValidationException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ValidationException'
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/UpdateSensitivityInspectionTemplateRequest'
      tags:
      - Templates
  /templates/sensitivity-inspections:
    get:
      operationId: ListSensitivityInspectionTemplates
      summary: List Sensitivity Inspection Templates
      description: Retrieves a subset of information about the sensitivity inspection template for an account.
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ListSensitivityInspectionTemplatesResponse'
        '403':
          description: AccessDeniedException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AccessDeniedException'
        '500':
          description: InternalServerException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InternalServerException'
        '402':
          description: ServiceQuotaExceededException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ServiceQuotaExceededException'
        '429':
          description: ThrottlingException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ThrottlingException'
        '400':
          description: ValidationException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ValidationException'
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ListSensitivityInspectionTemplatesRequest'
      tags:
      - Templates
components:
  securitySchemes:
    sigv4:
      type: apiKey
      in: header
      name: Authorization
      description: AWS Signature Version 4. The Authorization header carries an AWS4-HMAC-SHA256 signature over the canonical
        request, with X-Amz-Date (and X-Amz-Security-Token for temporary credentials). Not a bearer token.
      x-aws-sigv4:
        signingName: macie2
  schemas:
    AccessDeniedException:
      type: object
      properties:
        message:
          type: string
          description: The explanation of the error that occurred.
    GetSensitivityInspectionTemplateRequest:
      type: object
      properties:
        id:
          type: string
          description: The unique identifier for the Amazon Macie resource that the request applies to.
      required:
      - id
    GetSensitivityInspectionTemplateResponse:
      type: object
      properties:
        description:
          type: string
          description: The custom description of the template.
        excludes:
          $ref: '#/components/schemas/SensitivityInspectionTemplateExcludes'
        includes:
          $ref: '#/components/schemas/SensitivityInspectionTemplateIncludes'
        name:
          type: string
          description: 'The name of the template: automated-sensitive-data-discovery.'
        sensitivityInspectionTemplateId:
          type: string
          description: The unique identifier for the template.
    InternalServerException:
      type: object
      properties:
        message:
          type: string
          description: The explanation of the error that occurred.
    ListSensitivityInspectionTemplatesRequest:
      type: object
      properties:
        maxResults:
          type: integer
          description: The maximum number of items to include in each page of a paginated response.
        nextToken:
          type: string
          description: The nextToken string that specifies which page of results to return in a paginated response.
    ListSensitivityInspectionTemplatesResponse:
      type: object
      properties:
        nextToken:
          type: string
          description: The string to use in a subsequent request to get the next page of results in a paginated response.
            This value is null if there are no additional pages.
        sensitivityInspectionTemplates:
          type: array
          items:
            $ref: '#/components/schemas/SensitivityInspectionTemplatesEntry'
          description: An array that specifies the unique identifier and name of the sensitivity inspection template for the
            account.
    ResourceNotFoundException:
      type: object
      properties:
        message:
          type: string
          description: The explanation of the error that occurred.
    SensitivityInspectionTemplateExcludes:
      type: object
      properties:
        managedDataIdentifierIds:
          type: array
          items:
            type: string
          description: An array of unique identifiers, one for each managed data identifier to exclude. To retrieve a list
            of valid values, use the ListManagedDataIdentifiers operation.
    SensitivityInspectionTemplateIncludes:
      type: object
      properties:
        allowListIds:
          type: array
          items:
            type: string
          description: An array of unique identifiers, one for each allow list to include.
        customDataIdentifierIds:
          type: array
          items:
            type: string
          description: An array of unique identifiers, one for each custom data identifier to include.
        managedDataIdentifierIds:
          type: array
          items:
            type: string
          description: An array of unique identifiers, one for each managed data identifier to include. Amazon Macie uses
            these managed data identifiers in addition to managed data identifiers that are subsequently released and recommended
            for automated sensitive data discovery. To retrieve a list of valid values for the managed data identifiers that
            are currently available, use the ListManagedDataIdentifiers operation.
    SensitivityInspectionTemplatesEntry:
      type: object
      properties:
        id:
          type: string
          description: The unique identifier for the sensitivity inspection template.
        name:
          type: string
          description: 'The name of the sensitivity inspection template: automated-sensitive-data-discovery.'
    ServiceQuotaExceededException:
      type: object
      properties:
        message:
          type: string
          description: The explanation of the error that occurred.
    ThrottlingException:
      type: object
      properties:
        message:
          type: string
          description: The explanation of the error that occurred.
    UpdateSensitivityInspectionTemplateRequest:
      type: object
      properties:
        description:
          type: string
          description: A custom description of the template. The description can contain as many as 200 characters.
        excludes:
          $ref: '#/components/schemas/SensitivityInspectionTemplateExcludes'
        id:
          type: string
          description: The unique identifier for the Amazon Macie resource that the request applies to.
        includes:
          $ref: '#/components/schemas/SensitivityInspectionTemplateIncludes'
      required:
      - id
    UpdateSensitivityInspectionTemplateResponse:
      type: object
      properties: {}
    ValidationException:
      type: object
      properties:
        message:
          type: string
          description: The explanation of the error that occurred.
x-provenance:
  method: harvested
  publisher: Amazon Web Services
  source: https://raw.githubusercontent.com/aws/api-models-aws/3cd98287b471c106254abd89279cc87308d38bfd/models/macie2/service/2020-01-01/macie2-2020-01-01.json
  note: converted by smithy-to-openapi.py from AWS's Smithy model (roadmap#1001)