File tree 2 files changed +13
-13
lines changed
2 files changed +13
-13
lines changed Original file line number Diff line number Diff line change @@ -120,7 +120,7 @@ The `serverless-deploy.sh` script passes through any parameters to the Serverles
120
120
121
121
4 . Testing
122
122
123
- For the HelloWorld and APIGateway sample:
123
+ For the APIGateway sample:
124
124
125
125
The Serverless template will provide an endpoint which you can use to test the Lambda.
126
126
@@ -131,25 +131,30 @@ Outuput example:
131
131
...
132
132
Serverless: Stack update finished...
133
133
Service Information
134
- service: helloworld -swift-aws
134
+ service: apigateway -swift-aws
135
135
stage: dev
136
136
region: us-east-1
137
- stack: helloworld -swift-aws-dev
138
- resources: 11
137
+ stack: apigateway -swift-aws-dev
138
+ resources: 12
139
139
api keys:
140
140
None
141
141
endpoints:
142
- GET - https://jm3b9p4bu2 .execute-api.us-east-1.amazonaws.com/dev/hello
142
+ GET - https://r39lvhfng3 .execute-api.us-east-1.amazonaws.com/api
143
143
functions:
144
- hello: helloworld -swift-aws-dev-hello
144
+ httpGet: apigateway -swift-aws-dev-httpGet
145
145
layers:
146
146
None
147
+
148
+ Stack Outputs
149
+ HttpGetLambdaFunctionQualifiedArn: arn:aws:lambda:us-east-1:XXXXXXXXX:function:apigateway-swift-aws-dev-httpGet:1
150
+ ServerlessDeploymentBucketName: apigateway-swift-aws-dev-serverlessdeploymentbuck-ud51msgcrj1e
151
+ HttpApiUrl: https://r39lvhfng3.execute-api.us-east-1.amazonaws.com
147
152
```
148
153
149
154
For example:
150
155
151
156
```
152
- curl https://jm3b9p4bu2 .execute-api.us-east-1.amazonaws.com/dev/hello
157
+ curl https://r39lvhfng3 .execute-api.us-east-1.amazonaws.com/api
153
158
```
154
159
155
160
*** Warning:*** This Serverless template is only intended as a sample and creates a publicly accessible HTTP endpoint.
Original file line number Diff line number Diff line change @@ -17,9 +17,4 @@ provider:
17
17
functions :
18
18
hello :
19
19
handler : HelloWorld
20
- memorySize : 128
21
- events :
22
- - http :
23
- method : GET
24
- path : /hello
25
- integration : lambda
20
+ memorySize : 128
You can’t perform that action at this time.
0 commit comments