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.
27
27
Define settings of the AWS services you want to integrate under ` custom > apiGatewayServiceProxy` and run `serverless deploy`.
28
28
29
29
# ## Kinesis
30
- Here is syntax for Kinesis proxy in serverless.yml.
30
+ Sample syntax for Kinesis proxy in serverless.yml.
31
31
` ` ` yaml
32
32
custom:
33
33
apiGatewayServiceProxy:
@@ -45,13 +45,14 @@ resources:
45
45
ShardCount: 1
46
46
` ` `
47
47
48
- Here is a sample request after deploying.
48
+ Sample request after deploying.
49
49
```
50
50
curl -XPOST https://xxxxxxx.execute-api.us-east-1.amazonaws.com/dev/kinesis -d '{"Data": "some data","PartitionKey": "some key"}' -H 'Content-Type: application /json'
51
51
```
52
52
53
53
### SQS
54
- Here is syntax for SQS proxy in serverless.yml.
54
+
55
+ Sample syntax for SQS proxy in serverless.yml.
55
56
```yaml
56
57
custom:
57
58
apiGatewayServiceProxy:
@@ -67,7 +68,7 @@ resources:
67
68
Type: "AWS::SQS::Queue"
68
69
```
69
70
70
- Here is a sample request after deploying.
71
+ Sample request after deploying.
71
72
```
72
73
curl -XPOST https://xxxxxx.execute-api.us-east-1.amazonaws.com/dev/sqs -d '{"message": "testtest"}' -H 'Content-Type:application/json'
73
74
```
You can’t perform that action at this time.
0 commit comments