Skip to content

Commit e56ef92

Browse files
committed
Switch to HTTP APIs by default for Rust example
1 parent 6fa5658 commit e56ef92

File tree

3 files changed

+5
-6
lines changed

3 files changed

+5
-6
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,4 +81,4 @@ curl https://XXXXXXX.execute-api.us-east-1.amazonaws.com/ping
8181

8282
## Scaling
8383

84-
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).
84+
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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ serverless-state.json
4646
## 4. Invoke deployed function
4747

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

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

Lines changed: 3 additions & 4 deletions
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)