TreatmentResource
public struct TreatmentResource : 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 unique identifier for the treatment.
Declaration
Swift
public let id: String
-
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) that the treatment is sent to.
Declaration
Swift
public let sizePercent: Int
-
The current status of the treatment.
Declaration
Swift
public let state: CampaignState?
-
The message template to use for the treatment.
Declaration
Swift
public let templateConfiguration: TemplateConfiguration?
-
The custom description of the treatment.
Declaration
Swift
public let treatmentDescription: String?
-
The custom name of the treatment.
Declaration
Swift
public let treatmentName: String?
-
init(customDeliveryConfiguration:id:messageConfiguration:schedule:sizePercent:state:templateConfiguration:treatmentDescription:treatmentName:)
Undocumented
Declaration
Swift
public init(customDeliveryConfiguration: CustomDeliveryConfiguration? = nil, id: String, messageConfiguration: MessageConfiguration? = nil, schedule: Schedule? = nil, sizePercent: Int, state: CampaignState? = nil, templateConfiguration: TemplateConfiguration? = nil, treatmentDescription: String? = nil, treatmentName: String? = nil)