Skip to content

Commit cb20b5c

Browse files
mnapolipgrzesik
authored andcommitted
Switch to HTTP APIs by default for Rust example
1 parent cc17756 commit cb20b5c

File tree

3 files changed

+5
-6
lines changed

3 files changed

+5
-6
lines changed

aws-node-simple-http-endpoint/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -82,4 +82,4 @@ curl https://XXXXXXX.execute-api.us-east-1.amazonaws.com/ping
8282

8383
## Scaling
8484

85-
By default, AWS Lambda limits the total concurrent executions across all functions within a given region to 100. The default limit is a safety limit that protects you from costs due to potential runaway or recursive functions during initial development and testing. To increase this limit above the default, follow the steps in [To request a limit increase for concurrent executions](http://docs.aws.amazon.com/lambda/latest/dg/concurrent-executions.html#increase-concurrent-executions-limit).
85+
By default, AWS Lambda limits the total concurrent executions across all functions within a given region to 1000. The default limit is a safety limit that protects you from costs due to potential runaway or recursive functions during initial development and testing. To increase this limit above the default, follow the steps in [To request a limit increase for concurrent executions](http://docs.aws.amazon.com/lambda/latest/dg/concurrent-executions.html#increase-concurrent-executions-limit).

aws-rust-simple-http-endpoint/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ serverless-state.json
4747
## 4. Invoke deployed function
4848

4949
```bash
50-
$ curl https://***.execute-api.us-east-1.amazonaws.com/dev/test/test
50+
$ curl https://***.execute-api.us-east-1.amazonaws.com/test/test
5151
{"message":"Serverless Rust Hello"}
5252
```
5353

aws-rust-simple-http-endpoint/serverless.yml

+3-4
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
service: aws-rust-simple-http-endpoint
2-
3-
#frameworkVersion: ">=1.28.0 <2.0.0"
2+
frameworkVersion: '2'
43

54
provider:
65
name: aws
@@ -23,8 +22,8 @@ functions:
2322
test_test:
2423
handler: test
2524
events:
26-
- http:
27-
path: test/test
25+
- httpApi:
26+
path: /test/test
2827
method: get
2928

3029
custom:

0 commit comments

Comments
 (0)