From ecc06ca36f5147e2cbd34e80091dce0170c4c3df Mon Sep 17 00:00:00 2001 From: Gareth McCumskey Date: Wed, 26 Jun 2019 05:50:31 +0200 Subject: [PATCH] Corrected typo in example on documentation page --- docs/providers/aws/events/apigateway.md | 81 +++++++++++++------------ 1 file changed, 41 insertions(+), 40 deletions(-) diff --git a/docs/providers/aws/events/apigateway.md b/docs/providers/aws/events/apigateway.md index 1499502d6..2b9224fba 100644 --- a/docs/providers/aws/events/apigateway.md +++ b/docs/providers/aws/events/apigateway.md @@ -12,45 +12,46 @@ layout: Doc # API Gateway -- [API Gateway](#api-gateway) - - [Lambda Proxy Integration](#lambda-proxy-integration) - - [Simple HTTP Endpoint](#simple-http-endpoint) - - [Example "LAMBDA-PROXY" event (default)](#example-lambda-proxy-event-default) - - [HTTP Endpoint with Extended Options](#http-endpoint-with-extended-options) - - [Enabling CORS](#enabling-cors) - - [HTTP Endpoints with `AWS_IAM` Authorizers](#http-endpoints-with-aws_iam-authorizers) - - [HTTP Endpoints with Custom Authorizers](#http-endpoints-with-custom-authorizers) - - [Catching Exceptions In Your Lambda Function](#catching-exceptions-in-your-lambda-function) - - [Setting API keys for your Rest API](#setting-api-keys-for-your-rest-api) - - [Configuring endpoint types](#configuring-endpoint-types) - - [Request Parameters](#request-parameters) - - [Request Schema Validation](#request-schema-validation) - - [Setting source of API key for metering requests](#setting-source-of-api-key-for-metering-requests) - - [Lambda Integration](#lambda-integration) - - [Example "LAMBDA" event (before customization)](#example-lambda-event-before-customization) - - [Request templates](#request-templates) - - [Default Request Templates](#default-request-templates) - - [Custom Request Templates](#custom-request-templates) - - [Pass Through Behavior](#pass-through-behavior) - - [Responses](#responses) - - [Custom Response Headers](#custom-response-headers) - - [Custom Response Templates](#custom-response-templates) - - [Status Codes](#status-codes) - - [Available Status Codes](#available-status-codes) - - [Using Status Codes](#using-status-codes) - - [Custom Status Codes](#custom-status-codes) - - [Setting an HTTP Proxy on API Gateway](#setting-an-http-proxy-on-api-gateway) - - [Share API Gateway and API Resources](#share-api-gateway-and-api-resources) - - [Easiest and CI/CD friendly example of using shared API Gateway and API Resources.](#easiest-and-cicd-friendly-example-of-using-shared-api-gateway-and-api-resources) - - [Manually Configuring shared API Gateway](#manually-configuring-shared-api-gateway) - - [Note while using authorizers with shared API Gateway](#note-while-using-authorizers-with-shared-api-gateway) - - [Share Authorizer](#share-authorizer) - - [Resource Policy](#resource-policy) - - [Compression](#compression) - - [Binary Media Types](#binary-media-types) - - [AWS X-Ray Tracing](#aws-x-ray-tracing) - - [Tags / Stack Tags](#tags--stack-tags) - - [Logs](#logs) +- [API Gateway](#API-Gateway) + - [Lambda Proxy Integration](#Lambda-Proxy-Integration) + - [Simple HTTP Endpoint](#Simple-HTTP-Endpoint) + - [Example "LAMBDA-PROXY" event (default)](#Example-%22LAMBDA-PROXY%22-event-default) + - [HTTP Endpoint with Extended Options](#HTTP-Endpoint-with-Extended-Options) + - [Enabling CORS](#Enabling-CORS) + - [HTTP Endpoints with `AWS_IAM` Authorizers](#HTTP-Endpoints-with-AWSIAM-Authorizers) + - [HTTP Endpoints with Custom Authorizers](#HTTP-Endpoints-with-Custom-Authorizers) + - [Using asynchronous integration](#Using-asynchronous-integration) + - [Catching Exceptions In Your Lambda Function](#Catching-Exceptions-In-Your-Lambda-Function) + - [Setting API keys for your Rest API](#Setting-API-keys-for-your-Rest-API) + - [Configuring endpoint types](#Configuring-endpoint-types) + - [Request Parameters](#Request-Parameters) + - [Request Schema Validators](#Request-Schema-Validators) + - [Setting source of API key for metering requests](#Setting-source-of-API-key-for-metering-requests) + - [Lambda Integration](#Lambda-Integration) + - [Example "LAMBDA" event (before customization)](#Example-%22LAMBDA%22-event-before-customization) + - [Request templates](#Request-templates) + - [Default Request Templates](#Default-Request-Templates) + - [Custom Request Templates](#Custom-Request-Templates) + - [Pass Through Behavior](#Pass-Through-Behavior) + - [Responses](#Responses) + - [Custom Response Headers](#Custom-Response-Headers) + - [Custom Response Templates](#Custom-Response-Templates) + - [Status Codes](#Status-Codes) + - [Available Status Codes](#Available-Status-Codes) + - [Using Status Codes](#Using-Status-Codes) + - [Custom Status Codes](#Custom-Status-Codes) + - [Setting an HTTP Proxy on API Gateway](#Setting-an-HTTP-Proxy-on-API-Gateway) + - [Share API Gateway and API Resources](#Share-API-Gateway-and-API-Resources) + - [Easiest and CI/CD friendly example of using shared API Gateway and API Resources.](#Easiest-and-CICD-friendly-example-of-using-shared-API-Gateway-and-API-Resources) + - [Manually Configuring shared API Gateway](#Manually-Configuring-shared-API-Gateway) + - [Note while using authorizers with shared API Gateway](#Note-while-using-authorizers-with-shared-API-Gateway) + - [Share Authorizer](#Share-Authorizer) + - [Resource Policy](#Resource-Policy) + - [Compression](#Compression) + - [Binary Media Types](#Binary-Media-Types) + - [AWS X-Ray Tracing](#AWS-X-Ray-Tracing) + - [Tags / Stack Tags](#Tags--Stack-Tags) + - [Logs](#Logs) _Are you looking for tutorials on using API Gateway? Check out the following resources:_ @@ -1157,7 +1158,7 @@ provider: restApiRootResourceId: xxxxxxxxxx description: Some Description restApiResources: - /posts: xxxxxxxxxx + posts: xxxxxxxxxx functions: ...