WriteTreatmentResource
public struct WriteTreatmentResource : AWSShape
Undocumented
-
Declaration
Swift
public static var _members: [AWSShapeMember] -
The delivery configuration settings for sending the treatment through a custom channel. This object is required if the MessageConfiguration object for the treatment specifies a CustomMessage object.
Declaration
Swift
public let customDeliveryConfiguration: CustomDeliveryConfiguration? -
The message configuration settings for the treatment.
Declaration
Swift
public let messageConfiguration: MessageConfiguration? -
The schedule settings for the treatment.
Declaration
Swift
public let schedule: Schedule? -
The allocated percentage of users (segment members) to send the treatment to.
Declaration
Swift
public let sizePercent: Int -
The message template to use for the treatment.
Declaration
Swift
public let templateConfiguration: TemplateConfiguration? -
A custom description of the treatment.
Declaration
Swift
public let treatmentDescription: String? -
A custom name for the treatment.
Declaration
Swift
public let treatmentName: String? -
init(customDeliveryConfiguration:messageConfiguration:schedule:sizePercent:templateConfiguration:treatmentDescription:treatmentName:)Undocumented
Declaration
Swift
public init(customDeliveryConfiguration: CustomDeliveryConfiguration? = nil, messageConfiguration: MessageConfiguration? = nil, schedule: Schedule? = nil, sizePercent: Int, templateConfiguration: TemplateConfiguration? = nil, treatmentDescription: String? = nil, treatmentName: String? = nil)
View on GitHub
WriteTreatmentResource Structure Reference