Skip to main content

publishToGroup

Gives information to group subscription channels. This mutation is IAM-authenticated (@aws_iam) and is used internally by the system to push real-time notifications.

Arguments

ArgumentTypeRequiredDescription
groupIdID!YesThe group to publish to
dataAWSJSON!YesJSON payload

Return Type

GroupFeedback — contains groupId and data.

Example

mutation PublishToGroup {
publishToGroup(
groupId: "Z3JwMTIzNDU2"
data: "{\"event\":\"UPLOAD\",\"success\":true}"
) {
groupId
data
}
}

Export This Article

Save a copy of this page as PDF or plain text.