File tree Expand file tree Collapse file tree 2 files changed +9
-9
lines changed
rust-runtime/aws-smithy-http-server/examples Expand file tree Collapse file tree 2 files changed +9
-9
lines changed Original file line number Diff line number Diff line change @@ -30,7 +30,7 @@ lambda_watch:
3030 cargo lambda watch
3131
3232lambda_invoke :
33- cargo lambda invoke lambda --data-file pokemon-service/tests/fixtures/example-apigw-request.json
33+ cargo lambda invoke pokemon-service- lambda --data-file pokemon-service/tests/fixtures/example-apigw-request.json
3434
3535distclean : clean
3636 rm -rf $(SERVER_SDK_DST ) $(CLIENT_SDK_DST ) Cargo.lock
Original file line number Diff line number Diff line change @@ -11,6 +11,14 @@ default-run = "pokemon-service"
1111name = " pokemon-service-tls"
1212path = " src/bin/pokemon-service-tls.rs"
1313
14+ [[bin ]]
15+ name = " pokemon-service"
16+ path = " src/main.rs"
17+
18+ [[bin ]]
19+ name = " pokemon-service-lambda"
20+ path = " src/lambda.rs"
21+
1422[dependencies ]
1523async-stream = " 0.3"
1624clap = { version = " ~3.2.1" , features = [" derive" ] }
@@ -46,11 +54,3 @@ hyper-rustls = { version = "0.23.0", features = ["http2"] }
4654aws-smithy-client = { path = " ../../../aws-smithy-client/" , features = [" rustls" ] }
4755aws-smithy-http = { path = " ../../../aws-smithy-http/" }
4856pokemon-service-client = { path = " ../pokemon-service-client/" }
49-
50- [[bin ]]
51- name = " bootstrap"
52- path = " src/main.rs"
53-
54- [[bin ]]
55- name = " lambda"
56- path = " src/lambda.rs"
You can’t perform that action at this time.
0 commit comments