Amazon GuardDuty Guardduty Malware Protection Plan API

The Guardduty Malware Protection Plan API from Amazon GuardDuty — 2 operation(s) for guardduty malware protection plan.

Business capability
Threat Detection & Response Management BC-620.30

Operations 5

POST /malware-protection-plan Create Malware Protection Plan #
GET /malware-protection-plan List Malware Protection Plans #
DELETE /malware-protection-plan/{MalwareProtectionPlanId} Delete Malware Protection Plan #
GET /malware-protection-plan/{MalwareProtectionPlanId} Get Malware Protection Plan #
PATCH /malware-protection-plan/{MalwareProtectionPlanId} Update Malware Protection Plan #

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-malware-protection-plan-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-malware-protection-plan-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Amazon GuardDuty Malware Protection Plan API
  version: '2017-11-28'
  description: Generated from AWS's published Smithy model for Amazon GuardDuty. 5 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: Malware Protection Plan
paths:
  /malware-protection-plan:
    post:
      operationId: CreateMalwareProtectionPlan
      summary: Create Malware Protection Plan
      description: Creates a new Malware Protection plan for the protected resource. When you create a Malware Protection plan, the Amazon Web Services service terms for GuardDuty Malware Protection apply. For more information, see Amazon Web Services service terms for GuardDuty Malware Protection.
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CreateMalwareProtectionPlanResponse'
        '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'
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CreateMalwareProtectionPlanRequest'
      tags:
      - Malware Protection Plan
    get:
      operationId: ListMalwareProtectionPlans
      summary: List Malware Protection Plans
      description: Lists the Malware Protection plan IDs associated with the protected resources in your Amazon Web Services account.
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ListMalwareProtectionPlansResponse'
        '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'
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ListMalwareProtectionPlansRequest'
      tags:
      - Malware Protection Plan
  /malware-protection-plan/{MalwareProtectionPlanId}:
    delete:
      operationId: DeleteMalwareProtectionPlan
      summary: Delete Malware Protection Plan
      description: Deletes the Malware Protection plan ID associated with the Malware Protection plan resource. Use this API only when you no longer want to protect the resource associated with this Malware Protection plan ID.
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                type: string
        '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/DeleteMalwareProtectionPlanRequest'
      tags:
      - Malware Protection Plan
    get:
      operationId: GetMalwareProtectionPlan
      summary: Get Malware Protection Plan
      description: Retrieves the Malware Protection plan details associated with a Malware Protection plan ID.
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetMalwareProtectionPlanResponse'
        '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/GetMalwareProtectionPlanRequest'
      tags:
      - Malware Protection Plan
    patch:
      operationId: UpdateMalwareProtectionPlan
      summary: Update Malware Protection Plan
      description: Updates an existing Malware Protection plan resource.
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                type: string
        '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/UpdateMalwareProtectionPlanRequest'
      tags:
      - Malware Protection Plan
components:
  schemas:
    ResourceNotFoundException:
      type: object
      properties:
        Message:
          type: string
          description: The error message.
        Type:
          type: string
          description: The error type.
    UpdateProtectedResource:
      type: object
      properties:
        S3Bucket:
          $ref: '#/components/schemas/UpdateS3BucketResource'
    AccessDeniedException:
      type: object
      properties:
        Message:
          type: string
          description: The error message.
        Type:
          type: string
          description: The error type.
    MalwareProtectionPlanTaggingAction:
      type: object
      properties:
        Status:
          type: string
          enum:
          - ENABLED
          - DISABLED
          description: Indicates whether or not the tags will added.
    BadRequestException:
      type: object
      properties:
        Message:
          type: string
          description: The error message.
        Type:
          type: string
          description: The error type.
    ConflictException:
      type: object
      properties:
        Message:
          type: string
          description: The error message.
        Type:
          type: string
          description: The error type.
    CreateProtectedResource:
      type: object
      properties:
        S3Bucket:
          $ref: '#/components/schemas/CreateS3BucketResource'
    GetMalwareProtectionPlanRequest:
      type: object
      properties:
        MalwareProtectionPlanId:
          type: string
          description: A unique identifier associated with Malware Protection plan resource.
      required:
      - MalwareProtectionPlanId
    MalwareProtectionPlanActions:
      type: object
      properties:
        Tagging:
          $ref: '#/components/schemas/MalwareProtectionPlanTaggingAction'
    UpdateMalwareProtectionPlanRequest:
      type: object
      properties:
        MalwareProtectionPlanId:
          type: string
          description: A unique identifier associated with the Malware Protection plan.
        Role:
          type: string
          description: Amazon Resource Name (ARN) of the IAM role with permissions to scan and add tags to the associated protected resource.
        Actions:
          $ref: '#/components/schemas/MalwareProtectionPlanActions'
        ProtectedResource:
          $ref: '#/components/schemas/UpdateProtectedResource'
      required:
      - MalwareProtectionPlanId
    CreateMalwareProtectionPlanRequest:
      type: object
      properties:
        ClientToken:
          type: string
          description: The idempotency token for the create request.
        Role:
          type: string
          description: Amazon Resource Name (ARN) of the IAM role that has the permissions to scan and add tags to the associated protected resource.
        ProtectedResource:
          $ref: '#/components/schemas/CreateProtectedResource'
        Actions:
          $ref: '#/components/schemas/MalwareProtectionPlanActions'
        Tags:
          type: object
          additionalProperties:
            type: string
          description: Tags added to the Malware Protection plan resource.
      required:
      - Role
      - ProtectedResource
    MalwareProtectionPlanSummary:
      type: object
      properties:
        MalwareProtectionPlanId:
          type: string
          description: A unique identifier associated with Malware Protection plan.
    CreateS3BucketResource:
      type: object
      properties:
        BucketName:
          type: string
          description: Name of the S3 bucket.
        ObjectPrefixes:
          type: array
          items:
            type: string
          description: Information about the specified object prefixes. The S3 object will be scanned only if it belongs to any of the specified object prefixes.
    MalwareProtectionPlanStatusReason:
      type: object
      properties:
        Code:
          type: string
          description: Issue code.
        Message:
          type: string
          description: Issue message that specifies the reason. For information about potential troubleshooting steps, see Troubleshooting Malware Protection for S3 status issues in the Amazon GuardDuty User Guide.
    CreateMalwareProtectionPlanResponse:
      type: object
      properties:
        MalwareProtectionPlanId:
          type: string
          description: A unique identifier associated with the Malware Protection plan resource.
    InternalServerErrorException:
      type: object
      properties:
        Message:
          type: string
          description: The error message.
        Type:
          type: string
          description: The error type.
    GetMalwareProtectionPlanResponse:
      type: object
      properties:
        Arn:
          type: string
          description: Amazon Resource Name (ARN) of the protected resource.
        Role:
          type: string
          description: Amazon Resource Name (ARN) of the IAM role that includes the permissions to scan and add tags to the associated protected resource.
        ProtectedResource:
          $ref: '#/components/schemas/CreateProtectedResource'
        Actions:
          $ref: '#/components/schemas/MalwareProtectionPlanActions'
        CreatedAt:
          type: string
          format: date-time
          description: The timestamp when the Malware Protection plan resource was created.
        Status:
          type: string
          enum:
          - ACTIVE
          - WARNING
          - ERROR
          description: Malware Protection plan status.
        StatusReasons:
          type: array
          items:
            $ref: '#/components/schemas/MalwareProtectionPlanStatusReason'
          description: Information about the issue code and message associated to the status of your Malware Protection plan.
        Tags:
          type: object
          additionalProperties:
            type: string
          description: Tags added to the Malware Protection plan resource.
    ListMalwareProtectionPlansResponse:
      type: object
      properties:
        MalwareProtectionPlans:
          type: array
          items:
            $ref: '#/components/schemas/MalwareProtectionPlanSummary'
          description: A list of unique identifiers associated with each Malware Protection plan.
        NextToken:
          type: string
          description: You can use this parameter when paginating results. Set the value of this parameter to null on your first call to the list action. For subsequent calls to the action, fill nextToken in the request with the value of NextToken from the previous response to continue listing data.
    DeleteMalwareProtectionPlanRequest:
      type: object
      properties:
        MalwareProtectionPlanId:
          type: string
          description: A unique identifier associated with Malware Protection plan resource.
      required:
      - MalwareProtectionPlanId
    ListMalwareProtectionPlansRequest:
      type: object
      properties:
        NextToken:
          type: string
          description: You can use this parameter when paginating results. Set the value of this parameter to null on your first call to the list action. For subsequent calls to the action, fill nextToken in the request with the value of NextToken from the previous response to continue listing data. The default page size is 100 plans.
    UpdateS3BucketResource:
      type: object
      properties:
        ObjectPrefixes:
          type: array
          items:
            type: string
          description: Information about the specified object prefixes. The S3 object will be scanned only if it belongs to any of the specified object prefixes.
  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)