Amazon Fraud Detector Event Types API

Event schema definitions

GitHub OpenAPI

Operations 3

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

POST /#DeleteEventType Delete an event type · Delete Event Type #
Ask an LLM
“Can I delete an event type that is still used in a detector?”
“What happens to the data when an event type is deleted?”
Tell an agent destructive · confirm first
Delete event type {name}.
Remove the event type {name} from Fraud Detector.
POST /#GetEventTypes List or get event types · Get Event Types #
Ask an LLM
“What event types are defined in my Fraud Detector?”
“Can I fetch a single event type by name?”
Tell an agent
List all event types.
Get event type {name}.
POST /#PutEventType Create or update an event type · Put Event Type #
Ask an LLM
“How do I define the variables and labels an event type uses?”
“Can I enable event ingestion on an event type?”
Tell an agent
Create event type {name} with variables {eventVariables} and entity type {entityTypes}.
Update event type {name} to use labels {labels}.

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-fraud-detector:amazon-fraud-detector-event-types-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-fraud-detector-event-types-api-openapi.yml Raw ↑
openapi: 3.1.0
info:
  title: Amazon Fraud Detector Event Types API
  version: '2019-11-15'
  description: Generated from AWS's published Smithy model for Amazon Fraud Detector. 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://frauddetector.{region}.amazonaws.com
  variables:
    region:
      default: us-east-1
security:
- sigv4: []
paths:
  /#DeleteEventType:
    post:
      operationId: DeleteEventType
      summary: Delete Event Type
      description: Deletes an event type. You cannot delete an event type that is used in a detector or a model. When you
        delete an event type, Amazon Fraud Detector permanently deletes that event type and the data is no longer stored in
        Amazon Fraud Detector.
      responses:
        '200':
          description: Success
          content:
            application/x-amz-json-1.1:
              schema:
                $ref: '#/components/schemas/DeleteEventTypeResult'
        '403':
          description: AccessDeniedException
          content:
            application/x-amz-json-1.1:
              schema:
                $ref: '#/components/schemas/AccessDeniedException'
        '409':
          description: ConflictException
          content:
            application/x-amz-json-1.1:
              schema:
                $ref: '#/components/schemas/ConflictException'
        '500':
          description: InternalServerException
          content:
            application/x-amz-json-1.1:
              schema:
                $ref: '#/components/schemas/InternalServerException'
        '429':
          description: ThrottlingException
          content:
            application/x-amz-json-1.1:
              schema:
                $ref: '#/components/schemas/ThrottlingException'
        '400':
          description: ValidationException
          content:
            application/x-amz-json-1.1:
              schema:
                $ref: '#/components/schemas/ValidationException'
      parameters:
      - name: X-Amz-Target
        in: header
        required: true
        schema:
          type: string
          enum:
          - AWSHawksNestServiceFacade.DeleteEventType
      requestBody:
        required: true
        content:
          application/x-amz-json-1.1:
            schema:
              $ref: '#/components/schemas/DeleteEventTypeRequest'
      tags:
      - Event Types
  /#GetEventTypes:
    post:
      operationId: GetEventTypes
      summary: Get Event Types
      description: Gets all event types or a specific event type if name is provided. This is a paginated API. If you provide
        a null maxResults, this action retrieves a maximum of 10 records per page. If you provide a maxResults, the value
        must be between 5 and 10. To get the next page results, provide the pagination token from the GetEventTypesResponse
        as part of your request. A null pagination token fetches the records from the beginning.
      responses:
        '200':
          description: Success
          content:
            application/x-amz-json-1.1:
              schema:
                $ref: '#/components/schemas/GetEventTypesResult'
        '403':
          description: AccessDeniedException
          content:
            application/x-amz-json-1.1:
              schema:
                $ref: '#/components/schemas/AccessDeniedException'
        '500':
          description: InternalServerException
          content:
            application/x-amz-json-1.1:
              schema:
                $ref: '#/components/schemas/InternalServerException'
        '404':
          description: ResourceNotFoundException
          content:
            application/x-amz-json-1.1:
              schema:
                $ref: '#/components/schemas/ResourceNotFoundException'
        '429':
          description: ThrottlingException
          content:
            application/x-amz-json-1.1:
              schema:
                $ref: '#/components/schemas/ThrottlingException'
        '400':
          description: ValidationException
          content:
            application/x-amz-json-1.1:
              schema:
                $ref: '#/components/schemas/ValidationException'
      parameters:
      - name: X-Amz-Target
        in: header
        required: true
        schema:
          type: string
          enum:
          - AWSHawksNestServiceFacade.GetEventTypes
      requestBody:
        required: true
        content:
          application/x-amz-json-1.1:
            schema:
              $ref: '#/components/schemas/GetEventTypesRequest'
      tags:
      - Event Types
  /#PutEventType:
    post:
      operationId: PutEventType
      summary: Put Event Type
      description: Creates or updates an event type. An event is a business activity that is evaluated for fraud risk. With
        Amazon Fraud Detector, you generate fraud predictions for events. An event type defines the structure for an event
        sent to Amazon Fraud Detector. This includes the variables sent as part of the event, the entity performing the event
        (such as a customer), and the labels that classify the event. Example event types include online payment transactions,
        account registrations, and authentications.
      responses:
        '200':
          description: Success
          content:
            application/x-amz-json-1.1:
              schema:
                $ref: '#/components/schemas/PutEventTypeResult'
        '403':
          description: AccessDeniedException
          content:
            application/x-amz-json-1.1:
              schema:
                $ref: '#/components/schemas/AccessDeniedException'
        '409':
          description: ConflictException
          content:
            application/x-amz-json-1.1:
              schema:
                $ref: '#/components/schemas/ConflictException'
        '500':
          description: InternalServerException
          content:
            application/x-amz-json-1.1:
              schema:
                $ref: '#/components/schemas/InternalServerException'
        '429':
          description: ThrottlingException
          content:
            application/x-amz-json-1.1:
              schema:
                $ref: '#/components/schemas/ThrottlingException'
        '400':
          description: ValidationException
          content:
            application/x-amz-json-1.1:
              schema:
                $ref: '#/components/schemas/ValidationException'
      parameters:
      - name: X-Amz-Target
        in: header
        required: true
        schema:
          type: string
          enum:
          - AWSHawksNestServiceFacade.PutEventType
      requestBody:
        required: true
        content:
          application/x-amz-json-1.1:
            schema:
              $ref: '#/components/schemas/PutEventTypeRequest'
      tags:
      - Event Types
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: frauddetector
  schemas:
    AccessDeniedException:
      type: object
      properties:
        message:
          type: string
      required:
      - message
    ConflictException:
      type: object
      properties:
        message:
          type: string
      required:
      - message
    DeleteEventTypeRequest:
      type: object
      properties:
        name:
          type: string
          description: The name of the event type to delete.
      required:
      - name
    DeleteEventTypeResult:
      type: object
      properties: {}
    EventOrchestration:
      type: object
      properties:
        eventBridgeEnabled:
          type: boolean
          description: Specifies if event orchestration is enabled through Amazon EventBridge.
      required:
      - eventBridgeEnabled
    EventType:
      type: object
      properties:
        name:
          type: string
          description: The event type name.
        description:
          type: string
          description: The event type description.
        eventVariables:
          type: array
          items:
            type: string
          description: The event type event variables.
        labels:
          type: array
          items:
            type: string
          description: The event type labels.
        entityTypes:
          type: array
          items:
            type: string
          description: The event type entity types.
        eventIngestion:
          type: string
          enum:
          - ENABLED
          - DISABLED
          description: If Enabled, Amazon Fraud Detector stores event data when you generate a prediction and uses that data
            to update calculated variables in near real-time. Amazon Fraud Detector uses this data, known as INGESTED_EVENTS,
            to train your model and improve fraud predictions.
        ingestedEventStatistics:
          $ref: '#/components/schemas/IngestedEventStatistics'
        lastUpdatedTime:
          type: string
          description: Timestamp of when the event type was last updated.
        createdTime:
          type: string
          description: Timestamp of when the event type was created.
        arn:
          type: string
          description: The entity type ARN.
        eventOrchestration:
          $ref: '#/components/schemas/EventOrchestration'
    GetEventTypesRequest:
      type: object
      properties:
        name:
          type: string
          description: The name.
        nextToken:
          type: string
          description: The next token for the subsequent request.
        maxResults:
          type: integer
          description: The maximum number of objects to return for the request.
    GetEventTypesResult:
      type: object
      properties:
        eventTypes:
          type: array
          items:
            $ref: '#/components/schemas/EventType'
          description: An array of event types.
        nextToken:
          type: string
          description: The next page token.
    IngestedEventStatistics:
      type: object
      properties:
        numberOfEvents:
          type: integer
          description: The number of stored events.
        eventDataSizeInBytes:
          type: integer
          description: The total size of the stored events.
        leastRecentEvent:
          type: string
          description: The oldest stored event.
        mostRecentEvent:
          type: string
          description: The newest stored event.
        lastUpdatedTime:
          type: string
          description: Timestamp of when the stored event was last updated.
    InternalServerException:
      type: object
      properties:
        message:
          type: string
      required:
      - message
    PutEventTypeRequest:
      type: object
      properties:
        name:
          type: string
          description: The name.
        description:
          type: string
          description: The description of the event type.
        eventVariables:
          type: array
          items:
            type: string
          description: The event type variables.
        labels:
          type: array
          items:
            type: string
          description: The event type labels.
        entityTypes:
          type: array
          items:
            type: string
          description: 'The entity type for the event type. Example entity types: customer, merchant, account.'
        eventIngestion:
          type: string
          enum:
          - ENABLED
          - DISABLED
          description: Specifies if ingestion is enabled or disabled.
        tags:
          type: array
          items:
            $ref: '#/components/schemas/Tag'
          description: A collection of key and value pairs.
        eventOrchestration:
          $ref: '#/components/schemas/EventOrchestration'
      required:
      - name
      - eventVariables
      - entityTypes
    PutEventTypeResult:
      type: object
      properties: {}
    ResourceNotFoundException:
      type: object
      properties:
        message:
          type: string
      required:
      - message
    Tag:
      type: object
      properties:
        key:
          type: string
          description: A tag key.
        value:
          type: string
          description: A value assigned to a tag key.
      required:
      - key
      - value
    ThrottlingException:
      type: object
      properties:
        message:
          type: string
      required:
      - message
    ValidationException:
      type: object
      properties:
        message:
          type: string
      required:
      - message
x-provenance:
  method: harvested
  publisher: Amazon Web Services
  source: https://raw.githubusercontent.com/aws/api-models-aws/3cd98287b471c106254abd89279cc87308d38bfd/models/frauddetector/service/2019-11-15/frauddetector-2019-11-15.json
  note: converted by smithy-to-openapi.py from AWS's Smithy model (roadmap#1001)