BatchPutMessageRequest
public struct BatchPutMessageRequest : AWSShape
Undocumented
-
Declaration
Swift
public static var _members: [AWSShapeMember]
-
The name of the channel where the messages are sent.
Declaration
Swift
public let channelName: String
-
The list of messages to be sent. Each message has format: ‘{ “messageId”: “string”, “payload”: “string”}’. Note that the field names of message payloads (data) that you send to AWS IoT Analytics: Must contain only alphanumeric characters and undescores (); no other special characters are allowed. Must begin with an alphabetic character or single underscore (). Cannot contain hyphens (-). In regular expression terms: “^A-Za-z_$”. Cannot be greater than 255 characters. Are case-insensitive. (Fields named “foo” and “FOO” in the same payload are considered duplicates.) For example, {“temp_01”: 29} or {“temp_01”: 29} are valid, but {“temp-01”: 29}, {“01_temp”: 29} or {“_temp_01”: 29} are invalid in message payloads.
Declaration
Swift
public let messages: [Message]
-
Undocumented
Declaration
Swift
public init(channelName: String, messages: [Message])
-
Declaration
Swift
public func validate(name: String) throws