The topic you need to know for the API GATEWAY

  • Stage variable 
  • Canery Deployment 
  • Integration type
  • Mapping template
  • Uses plan and API Key
  • Security
  • The template mapping uses Velocity Template Language (VTL)
  • Integration request/response -> to manipulate the request and response body, headers
  • Caching
    • Default TTL : 300second (min 0, max 3600)
    • Cache Capacity (0.5GB – 237 GB)
    • Clients can invalidate cache with header : Cache-control:max-age=0
  • Limites 
    • Default Gateway limits : 10,000 requests per second
    • Max Concurrent request/Brust : 5000 across all api’s
    • If go over : 429 Too many requests error 
  • Access Control
    • IAM
    • Authorizer
      • Lamda Authorizer (OAuth, SAML token)
    • User pools 
      • Amazon Cognito 
  • API Gateway Endpoints types:
    • Edge-Optimized Endpoints
    • Ideal for Geographically Distrubuted Clients
    • Regional Endpoints
    • Private Endpoint
  • 4XX and 5XX
    • Metrics to monitor clouldwatch to determine number of client side and server side errors.
  • CacheHitCount and CacheMissCount
    • The number request served from the cache and requests served from the backend
  • createUsagePlanKey :
    • Creates a usage plan key for adding an existing API key to a usage plan
  • importApiKeys
    • Imports API keys to API gateway from a external source such as CSV file
  • IntegrationLatency and Latency
    • as these measure the amount of time between when API Gateway relays a request to the backend and when it receives a response from the backend and the time between when API Gateway receives a request from a client and when it returns a response to the client.