Amazon Shield Amazon Shield REST API

The Amazon Shield REST API API from Amazon Shield — 1 operation(s) for amazon shield rest api.

Operations 7

POST / Amazon Shield Create Protection #
POST /#ListProtections Amazon Shield List Protections #
POST /#DescribeProtection Amazon Shield Describe Protection #
POST /#DescribeAttack Amazon Shield Describe Attack #
POST /#CreateSubscription Amazon Shield Create Subscription #
POST /#DescribeSubscription Amazon Shield Describe Subscription #
POST /#CreateProtectionGroup Amazon Shield Create Protection Group #

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

Discovery needs no key. Ratings and market analysis are Pro.

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-shield-amazon-shield-rest-api-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Amazon Shield REST API
  description: AWS Shield is a managed DDoS protection service that safeguards applications running on AWS. This API enables management of DDoS protections, protection groups, subscriptions, attack details, and emergency engagement settings.
  version: '2016-06-02'
  contact:
    name: AWS Support
    url: https://aws.amazon.com/premiumsupport/
  license:
    name: Apache 2.0
    url: https://www.apache.org/licenses/LICENSE-2.0.html
  termsOfService: https://aws.amazon.com/service-terms/
  x-logo:
    url: https://a0.awsstatic.com/libra-css/images/logos/aws_logo_smile_1200x630.png
servers:
- url: https://shield.us-east-1.amazonaws.com
  description: AWS Shield global endpoint (us-east-1 only)
security:
- sigv4: []
tags:
- name: Amazon Shield REST API
paths:
  /:
    post:
      summary: Amazon Shield Create Protection
      description: Enables AWS Shield Advanced for a specific AWS resource.
      operationId: createProtection
      requestBody:
        required: true
        content:
          application/x-amz-json-1.1:
            schema:
              $ref: '#/components/schemas/CreateProtectionRequest'
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CreateProtectionResponse'
      x-amz-target: AWSShield_20160616.CreateProtection
      tags:
      - Amazon Shield REST API
  /#ListProtections:
    post:
      summary: Amazon Shield List Protections
      description: Lists all Protection objects for the account.
      operationId: listProtections
      requestBody:
        content:
          application/x-amz-json-1.1:
            schema:
              $ref: '#/components/schemas/ListProtectionsRequest'
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ListProtectionsResponse'
      x-amz-target: AWSShield_20160616.ListProtections
      tags:
      - Amazon Shield REST API
  /#DescribeProtection:
    post:
      summary: Amazon Shield Describe Protection
      description: Lists the details of a Protection object.
      operationId: describeProtection
      requestBody:
        required: true
        content:
          application/x-amz-json-1.1:
            schema:
              $ref: '#/components/schemas/DescribeProtectionRequest'
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DescribeProtectionResponse'
      x-amz-target: AWSShield_20160616.DescribeProtection
      tags:
      - Amazon Shield REST API
  /#DescribeAttack:
    post:
      summary: Amazon Shield Describe Attack
      description: Describes the details of a DDoS attack that is detected.
      operationId: describeAttack
      requestBody:
        required: true
        content:
          application/x-amz-json-1.1:
            schema:
              $ref: '#/components/schemas/DescribeAttackRequest'
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DescribeAttackResponse'
      x-amz-target: AWSShield_20160616.DescribeAttack
      tags:
      - Amazon Shield REST API
  /#CreateSubscription:
    post:
      summary: Amazon Shield Create Subscription
      description: Activates AWS Shield Advanced for an account.
      operationId: createSubscription
      responses:
        '200':
          description: Successful response
      x-amz-target: AWSShield_20160616.CreateSubscription
      tags:
      - Amazon Shield REST API
  /#DescribeSubscription:
    post:
      summary: Amazon Shield Describe Subscription
      description: Provides details about the AWS Shield Advanced subscription for an account.
      operationId: describeSubscription
      responses:
        '200':
          description: Successful response
      x-amz-target: AWSShield_20160616.DescribeSubscription
      tags:
      - Amazon Shield REST API
  /#CreateProtectionGroup:
    post:
      summary: Amazon Shield Create Protection Group
      description: Creates a grouping of protected resources so they can be handled as a collective.
      operationId: createProtectionGroup
      requestBody:
        required: true
        content:
          application/x-amz-json-1.1:
            schema:
              $ref: '#/components/schemas/CreateProtectionGroupRequest'
      responses:
        '200':
          description: Successful response
      x-amz-target: AWSShield_20160616.CreateProtectionGroup
      tags:
      - Amazon Shield REST API
components:
  schemas:
    Protection:
      type: object
      properties:
        Id:
          type: string
        Name:
          type: string
        ResourceArn:
          type: string
        HealthCheckIds:
          type: array
          items:
            type: string
        ProtectionArn:
          type: string
    ListProtectionsRequest:
      type: object
      properties:
        NextToken:
          type: string
        MaxResults:
          type: integer
    DescribeAttackResponse:
      type: object
      properties:
        Attack:
          $ref: '#/components/schemas/AttackDetail'
    Mitigation:
      type: object
      properties:
        MitigationName:
          type: string
    AttackDetail:
      type: object
      properties:
        AttackId:
          type: string
        ResourceArn:
          type: string
        StartTime:
          type: string
          format: date-time
        EndTime:
          type: string
          format: date-time
        AttackCounters:
          type: array
          items:
            $ref: '#/components/schemas/SummarizedCounter'
        Mitigations:
          type: array
          items:
            $ref: '#/components/schemas/Mitigation'
    CreateProtectionResponse:
      type: object
      properties:
        ProtectionId:
          type: string
    ListProtectionsResponse:
      type: object
      properties:
        Protections:
          type: array
          items:
            $ref: '#/components/schemas/Protection'
        NextToken:
          type: string
    CreateProtectionRequest:
      type: object
      required:
      - Name
      - ResourceArn
      properties:
        Name:
          type: string
        ResourceArn:
          type: string
        Tags:
          type: array
          items:
            $ref: '#/components/schemas/Tag'
    SummarizedCounter:
      type: object
      properties:
        Name:
          type: string
        Max:
          type: number
        Average:
          type: number
        Sum:
          type: number
        N:
          type: integer
        Unit:
          type: string
    CreateProtectionGroupRequest:
      type: object
      required:
      - ProtectionGroupId
      - Aggregation
      - Pattern
      properties:
        ProtectionGroupId:
          type: string
        Aggregation:
          type: string
          enum:
          - SUM
          - MEAN
          - MAX
        Pattern:
          type: string
          enum:
          - ALL
          - ARBITRARY
          - BY_RESOURCE_TYPE
        ResourceType:
          type: string
          enum:
          - CLOUDFRONT_DISTRIBUTION
          - ROUTE_53_HOSTED_ZONE
          - ELASTIC_IP_ALLOCATION
          - CLASSIC_LOAD_BALANCER
          - APPLICATION_LOAD_BALANCER
          - GLOBAL_ACCELERATOR
        Members:
          type: array
          items:
            type: string
    DescribeProtectionResponse:
      type: object
      properties:
        Protection:
          $ref: '#/components/schemas/Protection'
    DescribeProtectionRequest:
      type: object
      properties:
        ProtectionId:
          type: string
        ResourceArn:
          type: string
    DescribeAttackRequest:
      type: object
      required:
      - AttackId
      properties:
        AttackId:
          type: string
    Tag:
      type: object
      properties:
        Key:
          type: string
        Value:
          type: string
  securitySchemes:
    sigv4:
      type: apiKey
      name: Authorization
      in: header
      description: AWS Signature Version 4
externalDocs:
  description: AWS Shield API Reference
  url: https://docs.aws.amazon.com/waf/latest/DDOSAPIReference/Welcome.html