Subscription
public struct Subscription : AWSShape
Undocumented
-
Declaration
Swift
public static var _members: [AWSShapeMember] -
A descriptive or arbitrary ID for the subscription. This value must be unique within the subscription definition version. Max length is 128 characters with pattern “[a-zA-Z0-9:_-]+”.
Declaration
Swift
public let id: String -
The source of the subscription. Can be a thing ARN, a Lambda function ARN, a connector ARN, ‘cloud’ (which represents the AWS IoT cloud), or ‘GGShadowService’.
Declaration
Swift
public let source: String -
The MQTT topic used to route the message.
Declaration
Swift
public let subject: String -
Where the message is sent to. Can be a thing ARN, a Lambda function ARN, a connector ARN, ‘cloud’ (which represents the AWS IoT cloud), or ‘GGShadowService’.
Declaration
Swift
public let target: String -
Undocumented
Declaration
Swift
public init(id: String, source: String, subject: String, target: String)
View on GitHub
Subscription Structure Reference