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 @@ -116,7 +116,7 @@ The `serverless-deploy.sh` script passes through any parameters to the Serverles
116
116
117
117
4 . Testing
118
118
119
- For the HelloWorld and APIGateway sample:
119
+ For the APIGateway sample:
120
120
121
121
The Serverless template will provide an endpoint which you can use to test the Lambda.
122
122
@@ -127,25 +127,30 @@ Outuput example:
127
127
...
128
128
Serverless: Stack update finished...
129
129
Service Information
130
- service: helloworld -swift-aws
130
+ service: apigateway -swift-aws
131
131
stage: dev
132
132
region: us-east-1
133
- stack: helloworld -swift-aws-dev
134
- resources: 11
133
+ stack: apigateway -swift-aws-dev
134
+ resources: 12
135
135
api keys:
136
136
None
137
137
endpoints:
138
- GET - https://jm3b9p4bu2 .execute-api.us-east-1.amazonaws.com/dev/hello
138
+ GET - https://r39lvhfng3 .execute-api.us-east-1.amazonaws.com/api
139
139
functions:
140
- hello: helloworld -swift-aws-dev-hello
140
+ httpGet: apigateway -swift-aws-dev-httpGet
141
141
layers:
142
142
None
143
+
144
+ Stack Outputs
145
+ HttpGetLambdaFunctionQualifiedArn: arn:aws:lambda:us-east-1:XXXXXXXXX:function:apigateway-swift-aws-dev-httpGet:1
146
+ ServerlessDeploymentBucketName: apigateway-swift-aws-dev-serverlessdeploymentbuck-ud51msgcrj1e
147
+ HttpApiUrl: https://r39lvhfng3.execute-api.us-east-1.amazonaws.com
143
148
```
144
149
145
150
For example:
146
151
147
152
```
148
- curl https://jm3b9p4bu2 .execute-api.us-east-1.amazonaws.com/dev/hello
153
+ curl https://r39lvhfng3 .execute-api.us-east-1.amazonaws.com/api
149
154
```
150
155
151
156
*** 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