SendAnnouncementRequest

public struct SendAnnouncementRequest : AWSShape

Undocumented

  • Declaration

    Swift

    public static var _members: [AWSShapeMember]
  • The unique, user-specified identifier for the request that ensures idempotency.

    Declaration

    Swift

    public let clientRequestToken: String
  • The announcement content. This can contain only one of the three possible announcement types (text, SSML or audio).

    Declaration

    Swift

    public let content: Content
  • The filters to use to send an announcement to a specified list of rooms. The supported filter keys are RoomName, ProfileName, RoomArn, and ProfileArn. To send to all rooms, specify an empty RoomFilters list.

    Declaration

    Swift

    public let roomFilters: [Filter]
  • The time to live for an announcement. Default is 300. If delivery doesn’t occur within this time, the announcement is not delivered.

    Declaration

    Swift

    public let timeToLiveInSeconds: Int?
  • Undocumented

    Declaration

    Swift

    public init(clientRequestToken: String = SendAnnouncementRequest.idempotencyToken(), content: Content, roomFilters: [Filter], timeToLiveInSeconds: Int? = nil)
  • Declaration

    Swift

    public func validate(name: String) throws