EventSources

Creates a new EventSource

post/eventsources

Request

  • The document declares no server URL.
  • Auth
    none declared

Request body

idstring

For DynamoDB event sources, this must be provided and represents the DynamoDB table Arn.

For IoTCore event sources, this is a automatically generated unique id, and will be added to all messages originating from this event source.

namestring required

Name of the event source.

sourceType'DynamoDB' | 'IoTCore' required

Event source type

principalstring required

The attribute within the event message that represents the principal (e.g. deviceId, thingName, or username).

Response

Created successfully

Changes

No operation changes recorded.