Amazon GuardDuty Guardduty Association API

The Guardduty Association API from Amazon GuardDuty — 1 operation(s) for guardduty association.

Business capability
Threat Detection & Response Management BC-620.30

Operations 3

DELETE /custom-detection-rule/rule/{RuleId}/association/{AssociationId} Delete Custom Detection Rule Association #
GET /custom-detection-rule/rule/{RuleId}/association/{AssociationId} Get Custom Detection Rule Association #
PUT /custom-detection-rule/rule/{RuleId}/association/{AssociationId} Update Custom Detection Rule Association #

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-guardduty:amazon-guardduty-association-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-guardduty-association-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Amazon GuardDuty Association API
  version: '2017-11-28'
  description: Generated from AWS's published Smithy model for Amazon GuardDuty. 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://guardduty.{region}.amazonaws.com
  variables:
    region:
      default: us-east-1
security:
- sigv4: []
tags:
- name: Association
paths:
  /custom-detection-rule/rule/{RuleId}/association/{AssociationId}:
    delete:
      operationId: DeleteCustomDetectionRuleAssociation
      summary: Delete Custom Detection Rule Association
      description: Disables a custom detection rule by deleting its association. This operation is idempotent.
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DeleteCustomDetectionRuleAssociationResponse'
        '403':
          description: AccessDeniedException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AccessDeniedException'
        '400':
          description: BadRequestException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BadRequestException'
        '500':
          description: InternalServerErrorException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InternalServerErrorException'
        '404':
          description: ResourceNotFoundException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ResourceNotFoundException'
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/DeleteCustomDetectionRuleAssociationRequest'
      tags:
      - Association
    get:
      operationId: GetCustomDetectionRuleAssociation
      summary: Get Custom Detection Rule Association
      description: Returns details for a custom detection rule association.
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetCustomDetectionRuleAssociationResponse'
        '403':
          description: AccessDeniedException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AccessDeniedException'
        '400':
          description: BadRequestException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BadRequestException'
        '500':
          description: InternalServerErrorException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InternalServerErrorException'
        '404':
          description: ResourceNotFoundException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ResourceNotFoundException'
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/GetCustomDetectionRuleAssociationRequest'
      tags:
      - Association
    put:
      operationId: UpdateCustomDetectionRuleAssociation
      summary: Update Custom Detection Rule Association
      description: Updates the mode of an existing custom detection rule association.
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/UpdateCustomDetectionRuleAssociationResponse'
        '403':
          description: AccessDeniedException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AccessDeniedException'
        '400':
          description: BadRequestException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BadRequestException'
        '409':
          description: ConflictException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ConflictException'
        '500':
          description: InternalServerErrorException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InternalServerErrorException'
        '404':
          description: ResourceNotFoundException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ResourceNotFoundException'
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/UpdateCustomDetectionRuleAssociationRequest'
      tags:
      - Association
components:
  schemas:
    DeleteCustomDetectionRuleAssociationRequest:
      type: object
      properties:
        RuleId:
          type: string
          description: The unique identifier for the custom detection rule.
        AssociationId:
          type: string
          description: The unique identifier for the association to delete.
      required:
      - RuleId
      - AssociationId
    InternalServerErrorException:
      type: object
      properties:
        Message:
          type: string
          description: The error message.
        Type:
          type: string
          description: The error type.
    ResourceNotFoundException:
      type: object
      properties:
        Message:
          type: string
          description: The error message.
        Type:
          type: string
          description: The error type.
    AssociationDetail:
      type: object
      properties:
        AssociationId:
          type: string
          description: The unique identifier for the association.
        Arn:
          type: string
          description: The Amazon Resource Name (ARN) of the association.
        RuleId:
          type: string
          description: The unique identifier for the custom detection rule.
        AccountId:
          type: string
          description: The Amazon Web Services account ID associated with this rule association.
        Mode:
          type: string
          enum:
          - LIVE
          - DRY_RUN
          description: 'The rule execution mode. Valid values: LIVE | DRY_RUN.'
        CreatedAt:
          type: string
          format: date-time
          description: The timestamp when the association was created.
        UpdatedAt:
          type: string
          format: date-time
          description: The timestamp when the association was last updated.
        ExpiresAt:
          type: string
          format: date-time
          description: The timestamp when the association expires.
      required:
      - AssociationId
      - Arn
      - RuleId
      - AccountId
      - Mode
      - CreatedAt
      - UpdatedAt
    UpdateCustomDetectionRuleAssociationRequest:
      type: object
      properties:
        RuleId:
          type: string
          description: The unique identifier for the custom detection rule.
        AssociationId:
          type: string
          description: The unique identifier for the association to update.
        Mode:
          type: string
          enum:
          - LIVE
          - DRY_RUN
          description: 'The rule execution mode. Valid values: LIVE | DRY_RUN.'
      required:
      - RuleId
      - AssociationId
      - Mode
    AccessDeniedException:
      type: object
      properties:
        Message:
          type: string
          description: The error message.
        Type:
          type: string
          description: The error type.
    UpdateCustomDetectionRuleAssociationResponse:
      type: object
      properties: {}
    GetCustomDetectionRuleAssociationResponse:
      type: object
      properties:
        RuleAssociation:
          $ref: '#/components/schemas/AssociationDetail'
        Tags:
          type: object
          additionalProperties:
            type: string
          description: The tags associated with the custom detection rule association resource.
      required:
      - RuleAssociation
    DeleteCustomDetectionRuleAssociationResponse:
      type: object
      properties: {}
    BadRequestException:
      type: object
      properties:
        Message:
          type: string
          description: The error message.
        Type:
          type: string
          description: The error type.
    GetCustomDetectionRuleAssociationRequest:
      type: object
      properties:
        RuleId:
          type: string
          description: The unique identifier for the custom detection rule.
        AssociationId:
          type: string
          description: The unique identifier for the association.
      required:
      - RuleId
      - AssociationId
    ConflictException:
      type: object
      properties:
        Message:
          type: string
          description: The error message.
        Type:
          type: string
          description: The error type.
  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: guardduty
x-provenance:
  method: harvested
  publisher: Amazon Web Services
  source: https://raw.githubusercontent.com/aws/api-models-aws/582e55931c45b944739742a2c1620b6026dd2d13/models/guardduty/service/2017-11-28/guardduty-2017-11-28.json
  note: converted by smithy-to-openapi.py from AWS's Smithy model (roadmap#1001)