File tree Expand file tree Collapse file tree 2 files changed +13
-13
lines changed Expand file tree Collapse file tree 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
116116
1171174 . Testing
118118
119- For the HelloWorld and APIGateway sample:
119+ For the APIGateway sample:
120120
121121The Serverless template will provide an endpoint which you can use to test the Lambda.
122122
@@ -127,25 +127,30 @@ Outuput example:
127127...
128128Serverless: Stack update finished...
129129Service Information
130- service: helloworld -swift-aws
130+ service: apigateway -swift-aws
131131stage: dev
132132region: us-east-1
133- stack: helloworld -swift-aws-dev
134- resources: 11
133+ stack: apigateway -swift-aws-dev
134+ resources: 12
135135api keys:
136136 None
137137endpoints:
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
139139functions:
140- hello: helloworld -swift-aws-dev-hello
140+ httpGet: apigateway -swift-aws-dev-httpGet
141141layers:
142142 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
143148```
144149
145150For example:
146151
147152 ```
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
149154 ```
150155
151156*** 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:
1717functions :
1818 hello :
1919 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