Skip to content

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

Open
@lucamarchiori

Description

@lucamarchiori

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementtype/eventsissue or feature request related to the events package

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions