File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ Please pull request if you are intersted in it.
2727Define settings of the AWS services you want to integrate under ` custom > apiGatewayServiceProxy` and run `serverless deploy`.
2828
2929# ## Kinesis
30- Here is syntax for Kinesis proxy in serverless.yml.
30+ Sample syntax for Kinesis proxy in serverless.yml.
3131` ` ` yaml
3232custom:
3333 apiGatewayServiceProxy:
@@ -45,13 +45,14 @@ resources:
4545 ShardCount: 1
4646` ` `
4747
48- Here is a sample request after deploying.
48+ Sample request after deploying.
4949```
5050curl -XPOST https://xxxxxxx.execute-api.us-east-1.amazonaws.com/dev/kinesis -d '{"Data": "some data","PartitionKey": "some key"}' -H 'Content-Type: application /json'
5151```
5252
5353### SQS
54- Here is syntax for SQS proxy in serverless.yml.
54+
55+ Sample syntax for SQS proxy in serverless.yml.
5556```yaml
5657custom:
5758 apiGatewayServiceProxy:
@@ -67,7 +68,7 @@ resources:
6768 Type: "AWS::SQS::Queue"
6869```
6970
70- Here is a sample request after deploying.
71+ Sample request after deploying.
7172```
7273curl -XPOST https://xxxxxx.execute-api.us-east-1.amazonaws.com/dev/sqs -d '{"message": "testtest"}' -H 'Content-Type:application/json'
7374```
You can’t perform that action at this time.
0 commit comments