Amazon Macie Reveal Configuration API

The Reveal Configuration API from Amazon Macie — 1 operation(s) for reveal configuration.

GitHub OpenAPI

Operations 2

GET /reveal-configuration Get Reveal Configuration #
PUT /reveal-configuration Update Reveal Configuration #

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-reveal-configuration-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. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

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

OpenAPI Specification

amazon-macie-reveal-configuration-api-openapi.yml Raw ↑
openapi: 3.1.0
info:
  title: Amazon Macie 2 Reveal Configuration API
  version: '2020-01-01'
  description: Generated from AWS's published Smithy model for Amazon Macie 2. 2 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:
  /reveal-configuration:
    get:
      operationId: GetRevealConfiguration
      summary: Get Reveal Configuration
      description: Retrieves the status and configuration settings for retrieving occurrences of sensitive data reported by
        findings.
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetRevealConfigurationResponse'
        '403':
          description: AccessDeniedException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AccessDeniedException'
        '500':
          description: InternalServerException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InternalServerException'
        '429':
          description: ThrottlingException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ThrottlingException'
        '400':
          description: ValidationException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ValidationException'
      tags:
      - Reveal Configuration
    put:
      operationId: UpdateRevealConfiguration
      summary: Update Reveal Configuration
      description: Updates the status and configuration settings for retrieving occurrences of sensitive data reported by
        findings.
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/UpdateRevealConfigurationResponse'
        '403':
          description: AccessDeniedException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AccessDeniedException'
        '500':
          description: InternalServerException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InternalServerException'
        '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:
              type: object
              properties:
                configuration:
                  $ref: '#/components/schemas/RevealConfiguration'
                retrievalConfiguration:
                  $ref: '#/components/schemas/UpdateRetrievalConfiguration'
              required:
              - configuration
      tags:
      - Reveal Configuration
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.
    GetRevealConfigurationResponse:
      type: object
      properties:
        configuration:
          $ref: '#/components/schemas/RevealConfiguration'
        retrievalConfiguration:
          $ref: '#/components/schemas/RetrievalConfiguration'
    InternalServerException:
      type: object
      properties:
        message:
          type: string
          description: The explanation of the error that occurred.
    RetrievalConfiguration:
      type: object
      properties:
        externalId:
          type: string
          description: The external ID to specify in the trust policy for the IAM role to assume when retrieving sensitive
            data from affected S3 objects (roleName). This value is null if the value for retrievalMode is CALLER_CREDENTIALS.
            This ID is a unique alphanumeric string that Amazon Macie generates automatically after you configure it to assume
            an IAM role. For a Macie administrator to retrieve sensitive data from an affected S3 object for a member account,
            the trust policy for the role in the member account must include an sts:ExternalId condition that requires this
            ID.
        retrievalMode:
          type: string
          enum:
          - CALLER_CREDENTIALS
          - ASSUME_ROLE
          description: 'The access method that''s used to retrieve sensitive data from affected S3 objects. Valid values are:
            ASSUME_ROLE, assume an IAM role that is in the affected Amazon Web Services account and delegates access to Amazon
            Macie (roleName); and, CALLER_CREDENTIALS, use the credentials of the IAM user who requests the sensitive data.'
        roleName:
          type: string
          description: The name of the IAM role that is in the affected Amazon Web Services account and Amazon Macie is allowed
            to assume when retrieving sensitive data from affected S3 objects for the account. This value is null if the value
            for retrievalMode is CALLER_CREDENTIALS.
      required:
      - retrievalMode
    RevealConfiguration:
      type: object
      properties:
        kmsKeyId:
          type: string
          description: 'The Amazon Resource Name (ARN), ID, or alias of the KMS key to use to encrypt sensitive data that''s
            retrieved. The key must be an existing, customer managed, symmetric encryption key that''s enabled in the same
            Amazon Web Services Region as the Amazon Macie account. If this value specifies an alias, it must include the
            following prefix: alias/. If this value specifies a key that''s owned by another Amazon Web Services account,
            it must specify the ARN of the key or the ARN of the key''s alias.'
        status:
          type: string
          enum:
          - ENABLED
          - DISABLED
          description: 'The status of the configuration for the Amazon Macie account. In a response, possible values are:
            ENABLED, the configuration is currently enabled for the account; and, DISABLED, the configuration is currently
            disabled for the account. In a request, valid values are: ENABLED, enable the configuration for the account; and,
            DISABLED, disable the configuration for the account. If you disable the configuration, you also permanently delete
            current settings that specify how to access affected S3 objects. If your current access method is ASSUME_ROLE,
            Macie also deletes the external ID and role name cu'
      required:
      - status
    ThrottlingException:
      type: object
      properties:
        message:
          type: string
          description: The explanation of the error that occurred.
    UpdateRetrievalConfiguration:
      type: object
      properties:
        retrievalMode:
          type: string
          enum:
          - CALLER_CREDENTIALS
          - ASSUME_ROLE
          description: 'The access method to use when retrieving sensitive data from affected S3 objects. Valid values are:
            ASSUME_ROLE, assume an IAM role that is in the affected Amazon Web Services account and delegates access to Amazon
            Macie; and, CALLER_CREDENTIALS, use the credentials of the IAM user who requests the sensitive data. If you specify
            ASSUME_ROLE, also specify the name of an existing IAM role for Macie to assume (roleName). If you change this
            value from ASSUME_ROLE to CALLER_CREDENTIALS for an existing configuration, Macie permanently deletes the external
            ID and role name currently specified for the'
        roleName:
          type: string
          description: The name of the IAM role that is in the affected Amazon Web Services account and Amazon Macie is allowed
            to assume when retrieving sensitive data from affected S3 objects for the account. The trust and permissions policies
            for the role must meet all requirements for Macie to assume the role.
      required:
      - retrievalMode
    UpdateRevealConfigurationResponse:
      type: object
      properties:
        configuration:
          $ref: '#/components/schemas/RevealConfiguration'
        retrievalConfiguration:
          $ref: '#/components/schemas/RetrievalConfiguration'
    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)