From d2ea69b6adb370e52b856813b36c64715b9d1d0a Mon Sep 17 00:00:00 2001 From: alexfrosa Date: Mon, 30 Sep 2019 15:17:29 -0400 Subject: [PATCH 1/2] Updated MethodSettings from API Gateway Make it clear that the property MethodSettings is a list. --- versions/2016-10-31.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/versions/2016-10-31.md b/versions/2016-10-31.md index 82783ab0fb..18ad7936a2 100644 --- a/versions/2016-10-31.md +++ b/versions/2016-10-31.md @@ -8,7 +8,7 @@ The AWS Serverless Application Model (SAM) is licensed under [The Apache License ## Table of contents * [Introduction](#introduction) -* [Specification](#specification) + * [Specification](#specification) * [Format](#format) * [Example: AWS SAM template](#example-aws-sam-template) * [Globals Section](#globals-section) @@ -221,7 +221,7 @@ DefinitionBody | `JSON or YAML Object` | Swagger specification that describes yo CacheClusterEnabled | `boolean` | Indicates whether cache clustering is enabled for the stage. CacheClusterSize | `string` | The stage's cache cluster size. Variables | Map of `string` to `string` | A map (string to string map) that defines the stage variables, where the variable name is the key and the variable value is the value. Variable names are limited to alphanumeric characters. Values must match the following regular expression: `[A-Za-z0-9._~:/?#&=,-]+`. -MethodSettings | [CloudFormation MethodSettings property](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apitgateway-stage-methodsetting.html) | Configures all settings for API stage including Logging, Metrics, CacheTTL, Throttling. This value is passed through to CloudFormation. So any values supported by CloudFormation ``MethodSettings`` property can be used here. +MethodSettings | List of [CloudFormation MethodSettings property](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apitgateway-stage-methodsetting.html) | Configures all settings for API stage including Logging, Metrics, CacheTTL, Throttling. This value is passed through to CloudFormation. So any values supported by CloudFormation ``MethodSettings`` property can be used here. Tags | Map of `string` to `string` | A map (string to string) that specifies the tags to be added to this API Stage. Keys and values are limited to alphanumeric characters. EndpointConfiguration | `string` | Specify the type of endpoint for API endpoint. Value is either `REGIONAL`, `EDGE`, or `PRIVATE`. BinaryMediaTypes | List of `string` | List of MIME types that your API could return. Use this to enable binary support for APIs. Use `~1` instead of `/` in the mime types (See examples in [template.yaml](../examples/2016-10-31/implicit_api_settings/template.yaml)). From 52a72485e4f3553d6f092da28abde5d93fe05069 Mon Sep 17 00:00:00 2001 From: alexfrosa Date: Mon, 30 Sep 2019 16:02:21 -0400 Subject: [PATCH 2/2] Update 2016-10-31.md removed ident --- versions/2016-10-31.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/versions/2016-10-31.md b/versions/2016-10-31.md index 18ad7936a2..a9692ad911 100644 --- a/versions/2016-10-31.md +++ b/versions/2016-10-31.md @@ -8,7 +8,7 @@ The AWS Serverless Application Model (SAM) is licensed under [The Apache License ## Table of contents * [Introduction](#introduction) - * [Specification](#specification) +* [Specification](#specification) * [Format](#format) * [Example: AWS SAM template](#example-aws-sam-template) * [Globals Section](#globals-section)