createMessage (method)
Adds a message to a queue.
Syntax
- (NSString*)createMessage:(NSString*)queueId :(NSString*)message;
public func createMessage(_ queueId: String, _ message: String) throws -> String
Remarks
Adds a message to the queue specified. If VisibilityTimeout is specified it is updated for all the messages in the queue.
CreateMessage returns a message id assigned to the message that is added to a queue. This can then be used to ListMessages or DeleteMessage.
Note: When adding a message to a FIFO queue, the MessageGroupId configuration setting must be populated before calling this method.