aws / aws/aws-lambda-go

Add IoTCoreMQTTMessage to aws/aws-lambda-go/events

Open
#542 0 comments 1 reaction 0 assignees View on GitHub
enhancement type/events
Dominant language
Go
Stars
3.8k
Forks
578
Avg merge
8h 18m
Merged PRs (30d)
1

Description

**Is your feature request related to a problem? Please describe.**
Missing type to handle MQTT messages forwarded by IoTCore

**Describe the solution you'd like**
Add a new type to /aws/aws-lambda-go/events, for example:
```
type IoTCoreMQTTMessage struct {
State IoTCoreMQTTState `json:"state"`
Topic string `json:"topic"`
ClientId string `json:"clientd"`
// ...
}
type IoTCoreMQTTState struct {
Reported map[string]interface{} `json:"reported"`
// ...
}
```
**Describe alternatives you've considered**
The user defines the type by himself

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.