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 @@ -120,7 +120,7 @@ The `serverless-deploy.sh` script passes through any parameters to the Serverles
120120
1211214 . Testing
122122
123- For the HelloWorld and APIGateway sample:
123+ For the APIGateway sample:
124124
125125The Serverless template will provide an endpoint which you can use to test the Lambda.
126126
@@ -131,25 +131,30 @@ Outuput example:
131131...
132132Serverless: Stack update finished...
133133Service Information
134- service: helloworld -swift-aws
134+ service: apigateway -swift-aws
135135stage: dev
136136region: us-east-1
137- stack: helloworld -swift-aws-dev
138- resources: 11
137+ stack: apigateway -swift-aws-dev
138+ resources: 12
139139api keys:
140140 None
141141endpoints:
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
143143functions:
144- hello: helloworld -swift-aws-dev-hello
144+ httpGet: apigateway -swift-aws-dev-httpGet
145145layers:
146146 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
147152```
148153
149154For example:
150155
151156 ```
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
153158 ```
154159
155160*** 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